summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-12-16 03:58:55 +0100
committerinfirit <[email protected]>2013-12-16 04:02:57 +0100
commitf0965794d300f4bd780d171bf46ef35588ee7930 (patch)
treeccc5674632ae04f4ab2083492b7ee33db4d8e2ad /configure.ac
parent0b629124de727303fd6d6ed8d6df6de2109664ab (diff)
downloadmate-themes-f0965794d300f4bd780d171bf46ef35588ee7930.tar.bz2
mate-themes-f0965794d300f4bd780d171bf46ef35588ee7930.tar.xz
Don't use localedir + small gettext cleanup
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 3 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 453a769e..2b0b4b85 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}")