From 2a38a0a1c10547522009a8aed515f618d50851fc Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 11 Aug 2014 09:37:05 +0100 Subject: Add support for building with NLS --- conf_macros.m4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'conf_macros.m4') diff --git a/conf_macros.m4 b/conf_macros.m4 index 0f1c641..93ac60d 100644 --- a/conf_macros.m4 +++ b/conf_macros.m4 @@ -51,6 +51,18 @@ AC_DEFUN([WITH_TEST_DIR], AC_DEFINE_UNQUOTED(TEST_DIR, "$with_test_dir", [Directory used for 'make check' temporary files]) ]) +AC_ARG_ENABLE([nls], + [AS_HELP_STRING([--disable-nls], + [do not use Native Language Support])], + [use_nls=$enableval], + [use_nls=yes]) +if test x"$use_nls" = "xyes"; then + HAVE_NLS=1 + AC_SUBST(HAVE_NLS) + AC_DEFINE_UNQUOTED(HAVE_NLS, 1, [Buils with Native Language Support]) +fi +AM_CONDITIONAL([HAVE_NLS], [test x"$use_nls" = xyes]) + AC_ARG_ENABLE([all-experimental-features], [AS_HELP_STRING([--enable-all-experimental-features], [build all experimental features])], -- cgit