From 7578472e39bbf4f23985a30858e1b7d324b39c9a Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 25 Jan 2021 21:55:28 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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} " -- cgit v1.2.1