summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-12-16 03:58:55 +0100
committerraveit65 <[email protected]>2014-10-16 20:47:15 +0200
commitf4f37f2e758792b44b0cbc41e69fe4b36a2e230d (patch)
tree0b00826b87d0e3b2f6b36cb09ba18df6568b869d
parenta8a565977bab452f0687e4ec14fe46e44588bd53 (diff)
downloadmate-themes-f4f37f2e758792b44b0cbc41e69fe4b36a2e230d.tar.bz2
mate-themes-f4f37f2e758792b44b0cbc41e69fe4b36a2e230d.tar.xz
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 7c3a1056..f6192845 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}")