summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-18 10:59:50 +0100
committerraveit65 <[email protected]>2021-02-24 16:05:39 +0100
commitd105267f775b4371a670f016c9fbce7e81b2632a (patch)
treed3085f4d43d7fdcb41d80636404ac15720388ce3 /configure.ac
parent036594c5542272f719994a62a4663fce998e26f2 (diff)
downloadmate-session-manager-d105267f775b4371a670f016c9fbce7e81b2632a.tar.bz2
mate-session-manager-d105267f775b4371a670f016c9fbce7e81b2632a.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 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}
"