diff options
author | rbuj <[email protected]> | 2021-01-25 21:55:28 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-07 14:10:56 +0100 |
commit | 7578472e39bbf4f23985a30858e1b7d324b39c9a (patch) | |
tree | 049de08e10e7ca08520a1a32594555dd0bfe1340 /configure.ac | |
parent | e1431577975f16550213502f5e6767db240c5124 (diff) | |
download | mate-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.ac | 5 |
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} " |