summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-27 18:03:29 +0100
committerraveit65 <[email protected]>2021-02-08 20:39:25 +0100
commit5af31646583faedf3d16746f19e4d7d679852ac4 (patch)
treefd63bcbdb1a45bc8dbe08ce4c772eaea0c6e49f8 /configure.ac
parent1397f530214fe111405d98687d4b50b4ad23da45 (diff)
downloadmate-utils-5af31646583faedf3d16746f19e4d7d679852ac4.tar.bz2
mate-utils-5af31646583faedf3d16746f19e4d7d679852ac4.tar.xz
build: allow users to disable gettext support (--disable-nls)
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 af76f948..2b1dbb37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,8 +318,10 @@ AS_IF([test "x$enable_zlib" != "xno"],
AC_SUBST(Z_LIBS)
dnl Internationalization
-AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.19.8])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
+AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"])
GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Define the gettext package to use])
@@ -409,4 +411,5 @@ mate-utils $VERSION configuration summary:
API Reference (libmatedict) : $enable_gtk_doc
Logview built with ZLib support : $msg_zlib
Dictionary mate-panel applet : $enable_gdict_applet
+ Native Language support : ${USE_NLS}
"