From 6127af25367a6c423826eea09be9307fcc08d615 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 9 Feb 2021 14:46:52 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1eea39d0..38ce192f 100644 --- a/configure.ac +++ b/configure.ac @@ -10,9 +10,10 @@ AM_INIT_AUTOMAKE([1.9 tar-ustar dist-xz no-dist-gzip check-news]) # configure or passing V=1 to make m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +AM_GNU_GETTEXT([external]) PKG_PROG_PKG_CONFIG([0.19]) AM_GNU_GETTEXT_VERSION([0.19.8]) -AM_GNU_GETTEXT([external]) +AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"]) # Workaround to make aclocal get the right flags AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}") @@ -234,8 +235,11 @@ AC_OUTPUT dnl ========================================================================== echo " -mate-themes-$VERSION: +Configure summary: - Installation prefix: ${prefix} + ${PACKAGE_STRING} + `echo $PACKAGE_STRING | sed "s/./=/g"` + Installation prefix ........: ${prefix} + Native Language support ....: ${USE_NLS} " -- cgit v1.2.1