From d105267f775b4371a670f016c9fbce7e81b2632a Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 18 Feb 2021 10:59:50 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index def5524..0af4f01 100644 --- a/configure.ac +++ b/configure.ac @@ -17,8 +17,10 @@ AC_STDC_HEADERS AM_PROG_LIBTOOL AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) -AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.19.8]) +AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"]) + dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}") @@ -375,5 +377,6 @@ echo " XSync support: ${have_xsync} XTest support: ${have_xtest} Build documentation: ${enable_docbook_docs} + Native Language support: ${USE_NLS} " -- cgit v1.2.1