summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2013-12-16 06:51:54 -0800
committerWolfgang Ulbrich <[email protected]>2013-12-16 06:51:54 -0800
commit282d38a96086bd46dfd748018b4cdc71e60a19fd (patch)
treee45d68431b15a6b699737f8e1ce13106853b8a50
parent52ee2045f861302d54230c49d1de60005e23533c (diff)
parent88a9c9ea01d645668be7af6ea7c08e4bbb7361cd (diff)
downloadmate-themes-282d38a96086bd46dfd748018b4cdc71e60a19fd.tar.bz2
mate-themes-282d38a96086bd46dfd748018b4cdc71e60a19fd.tar.xz
Merge pull request #59 from infirit/1.6
Don't use localedir + small gettext cleanup
-rw-r--r--configure.ac11
1 files changed, 3 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index a7840f42..ba62a5ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,15 +13,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
IT_PROG_INTLTOOL([0.35.0])
PKG_PROG_PKG_CONFIG([0.19])
-GETTEXT_PACKAGE="${PACKAGE}"
-AC_SUBST(GETTEXT_PACKAGE)
-
AM_GLIB_GNU_GETTEXT
-
-# AM_GLIB_GNU_GETTEXT above subst. $DATADIRNAME
-# this is the directory where the *.{mo,gmo} files are installed
-localedir='${prefix}/${DATADIRNAME}/locale'
-AC_SUBST(localedir)
+GETTEXT_PACKAGE=AC_PACKAGE_NAME
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package.])
# Workaround to make aclocal get the right flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")