From 7d40ada688b7b311eb1aa842dc8b15fe9f247d89 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sat, 20 May 2000 12:11:02 +0000 Subject: [PATCH] More build system work git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2366 57a11ea4-9604-0410-9ed3-97b8803252fd --- Makefile.init.in | 4 +++- configure | 2 +- configure.in | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.init.in b/Makefile.init.in index f292a0395b..fd37250906 100644 --- a/Makefile.init.in +++ b/Makefile.init.in @@ -28,7 +28,9 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ # datadir is usually /usr/share/ -datadir=$(prefix)/@DATADIRNAME@ +datadir=@datadir@ + +localedatadir=$(prefix)/@DATADIRNAME@ # localstatedir is usually /var/ localstatedir=@localstatedir@ diff --git a/configure b/configure index 83f990c3a2..a98e24e246 100755 --- a/configure +++ b/configure @@ -1661,7 +1661,7 @@ if test "${with_locale_dir+set}" = set; then withval="$with_locale_dir" LOCALE_DIR="$with_locale_dir" else - LOCALE_DIR="$datadir/locale" + LOCALE_DIR="\${localedatadir}/locale" fi diff --git a/configure.in b/configure.in index 09b1a23675..1f041e269e 100644 --- a/configure.in +++ b/configure.in @@ -89,7 +89,7 @@ AC_ARG_ENABLE( warnings, AC_ARG_WITH( locale-dir, [ --with-locale-dir=PATH specify where to look for locale-specific information], LOCALE_DIR="$with_locale_dir", - LOCALE_DIR="$datadir/locale") + LOCALE_DIR="\${localedatadir}/locale") AC_SUBST(LOCALE_DIR)