summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-25 23:12:55 +0100
committerraveit65 <[email protected]>2021-02-02 22:44:05 +0100
commit18a34d78737374627f1128be3b66c8ddd95bdb0e (patch)
treec705eae27bae7aba53eb685d90fe6d8018c64ae1 /configure.ac
parent2111e64a46ae956bdac3242f490d4fb252113c4a (diff)
downloadmate-calc-18a34d78737374627f1128be3b66c8ddd95bdb0e.tar.bz2
mate-calc-18a34d78737374627f1128be3b66c8ddd95bdb0e.tar.xz
build: Use config.h which defines GETTEXT_PACKAGE & VERSION
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 616f28c..c1c7203 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,10 @@ dnl ###########################################################################
AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
-AC_SUBST(GETTEXT_PACKAGE, mate-calc)
+
+GETTEXT_PACKAGE=AC_PACKAGE_NAME
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[the gettext translation domain])
# **********************
# GLIB_COMPILE_RESOURCES