diff options
author | rbuj <[email protected]> | 2021-02-08 13:36:28 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-10 23:58:25 +0100 |
commit | 66de6ed56647df275f2844eb6106349932991579 (patch) | |
tree | 56b68e1244af645727ece13032f2ba89fe6cb68f /configure.ac | |
parent | 6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff) | |
download | atril-66de6ed56647df275f2844eb6106349932991579.tar.bz2 atril-66de6ed56647df275f2844eb6106349932991579.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0fe2eaed..096fce8e 100644 --- a/configure.ac +++ b/configure.ac @@ -74,9 +74,10 @@ dnl FIXME: remove this when required gtk+ >= 2.19.7 DISABLE_DEPRECATED= AC_SUBST([DISABLE_DEPRECATED]) +AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) -AM_GNU_GETTEXT([external]) +AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"]) GETTEXT_PACKAGE=AC_PACKAGE_NAME AC_SUBST(GETTEXT_PACKAGE) @@ -796,6 +797,7 @@ Configure summary: Gtk-Doc Support.....: $enable_gtk_doc Debug mode..........: $enable_debug GObj. Introspection.: $enable_introspection + Use NLS.............: ${USE_NLS} Tests...............: $enable_tests PDF Backend.........: $enable_pdf |