summaryrefslogtreecommitdiffstats
path: root/conf_macros.m4
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-08-11 09:37:05 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-08-11 17:51:50 +0100
commit2a38a0a1c10547522009a8aed515f618d50851fc (patch)
tree7288d164e8b8c8b8373b8dec6feea8a6f5725b77 /conf_macros.m4
parentdb07992146bd8cbde311178361ffa2335b92ef82 (diff)
downloadgss-ntlmssp-2a38a0a1c10547522009a8aed515f618d50851fc.tar.gz
gss-ntlmssp-2a38a0a1c10547522009a8aed515f618d50851fc.tar.xz
gss-ntlmssp-2a38a0a1c10547522009a8aed515f618d50851fc.zip
Add support for building with NLS
Diffstat (limited to 'conf_macros.m4')
-rw-r--r--conf_macros.m412
1 files changed, 12 insertions, 0 deletions
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])],