Remove configure argument --with-locale-dir because it is unused anyway

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15134 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-11-24 14:04:43 +00:00
parent 7852857000
commit 29c158335a
3 changed files with 2 additions and 10 deletions

View File

@ -837,19 +837,13 @@ AC_SUBST(HBCI_DIR)
### i18n
# This variable is set by GLIB_WITH_NLS, called through
# AM_GLIB_GNU_GETTEXT above, and it is "lib" on e.g. windows
# AM_GLIB_GNU_GETTEXT above. Usually it is "share", but on some
# platforms it is "lib". Make sure it is set.
if test "x$DATADIRNAME" = "x"; then
DATADIRNAME="share"
AC_SUBST(DATADIRNAME)
fi
AC_ARG_WITH( locale-dir,
[ --with-locale-dir=PATH specify where to look for locale-specific information],
LOCALE_DIR="$with_locale_dir",
LOCALE_DIR="\${prefix}/${DATADIRNAME}/locale")
AC_SUBST(LOCALE_DIR)
dnl check for nl_langinfo(D_FMT) which is missing on FreeBSD
LANGINFO_D_FMT_CHECK

View File

@ -181,7 +181,6 @@ iso-4217-currencies.c: iso-4217-currencies.scm iso-currencies-to-c
gncla-dir.h: gncla-dir.h.in ${top_builddir}/config.status Makefile
rm -f $@.tmp
sed < $< > $@.tmp \
-e 's#@-LOCALE_DIR-@#${LOCALE_DIR}#g' \
-e 's#@-DATADIRNAME-@#${DATADIRNAME}#g' \
-e 's#@-GNC_ACCOUNTS_DIR-@#${GNC_ACCOUNTS_DIR}#g' \
-e 's#@-GNC_GLADE_DIR-@#${GNC_GLADE_DIR}#g' \

View File

@ -30,7 +30,6 @@
#define LIBDIR "@-libdir-@"
#define PKGLIBDIR "@-pkglibdir-@"
#define LOCALE_DIR "@-LOCALE_DIR-@"
#define LOCALE_DATADIRNAME "@-DATADIRNAME-@"
#define GNC_ACCOUNTS_DIR "@-GNC_ACCOUNTS_DIR-@"