From 29c158335a56093cded4c4c371355b8ed3d705e7 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Fri, 24 Nov 2006 14:04:43 +0000 Subject: [PATCH] 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 --- configure.in | 10 ++-------- src/engine/Makefile.am | 1 - src/engine/gncla-dir.h.in | 1 - 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/configure.in b/configure.in index 996e00f19d..11de7db846 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am index 97c93c6101..ac553ee122 100644 --- a/src/engine/Makefile.am +++ b/src/engine/Makefile.am @@ -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' \ diff --git a/src/engine/gncla-dir.h.in b/src/engine/gncla-dir.h.in index 4e1fdaa38a..2b598a2a1a 100644 --- a/src/engine/gncla-dir.h.in +++ b/src/engine/gncla-dir.h.in @@ -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-@"