summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1999-01-20 23:43:08 +0000
committerRaja R Harinath <harinath@src.gnome.org>1999-01-20 23:43:08 +0000
commit255005f0e9d36d3bc04ff0f6d8d368b0a6c0a7a9 (patch)
tree57ddb8656a92e051d3f708a8c34ce00fef9b7f65 /configure.in
parent5ce6bea6603d40223f09481a1de12d51d9735d5d (diff)
downloadgtk+-255005f0e9d36d3bc04ff0f6d8d368b0a6c0a7a9.tar.gz
New variable. Define to $prefix/$DATADIRNAME/locale. This will point to
* configure.in (gtklocaledir): New variable. Define to $prefix/$DATADIRNAME/locale. This will point to the directory where po/Makefile actually installs the message translation tables. * gtk/Makefile.am (INCLUDES): Define GTK_LOCALEDIR to $(gtklocaledir) rather than $prefix/share/locale.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 40b941c482..b75cbdd239 100644
--- a/configure.in
+++ b/configure.in
@@ -136,6 +136,10 @@ AC_CHECK_FUNC(gettext,
,
AC_CHECK_LIB(intl, gettext)
)
+# AM_GTK_GNU_GETTEXT above substs $DATADIRNAME
+# this is the directory where the *.{mo,gmo} files are installed
+gtklocaledir='${prefix}/${DATADIRNAME}/locale'
+AC_SUBST(gtklocaledir)
dnl The DU4 header files don't provide library prototypes unless
dnl -std1 is given to the native cc.