From 865a07f6753c23190a18c1a1429be144bf7069b2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Nov 2008 08:25:51 +0100 Subject: [PATCH] configure.ac: added --disable-nls Option --disable-nls disables all NLS features, even if the system supports it. --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index 4dec858..212b618 100644 --- a/configure.ac +++ b/configure.ac @@ -155,6 +155,19 @@ fi dnl i18n + +AC_MSG_CHECKING([national language support]) +AC_ARG_ENABLE([nls], + AS_HELP_STRING([--enable-nls], [Enable national language support]), + [enable_nls=$enableval], + [enable_nls=$disable_mini]) +AC_MSG_RESULT([$enable_nls]) + +if test "x$enable_nls" = xno; then + glib24=no + nls=no +fi + AM_NLS if test "x$glib24" = "xyes"; then nls=$USE_NLS -- 2.30.2