summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-25 21:55:28 +0100
committerraveit65 <[email protected]>2021-02-07 14:10:56 +0100
commit7578472e39bbf4f23985a30858e1b7d324b39c9a (patch)
tree049de08e10e7ca08520a1a32594555dd0bfe1340 /configure.ac
parente1431577975f16550213502f5e6767db240c5124 (diff)
downloadmate-menus-7578472e39bbf4f23985a30858e1b7d324b39c9a.tar.bz2
mate-menus-7578472e39bbf4f23985a30858e1b7d324b39c9a.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1a3713e..f6c2a8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,9 +24,9 @@ MATE_COMPILE_WARNINGS
LIB_MENU_LT_VERSION=6:9:4
AC_SUBST(LIB_MENU_LT_VERSION)
-AM_GNU_GETTEXT_VERSION([0.19.8])
-AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_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", [Name of default gettext domain])
@@ -103,5 +103,6 @@ echo "
Turn on debugging: ${ax_enable_debug}
Build introspection support: ${found_introspection}
+ Native Language support: ${USE_NLS}
"