about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e5ac216a3..b975a158c 100644
--- a/configure.in
+++ b/configure.in
@@ -201,6 +201,15 @@ fi],
 AC_DEFINE(RESTRICTED_R)
 )
 
+dnl Do you want to disable use of locale functions
+AC_ARG_ENABLE([locale],
+[  --disable-locale           turn off locale features],
+[if test x$enableval = xyes; then
+  AC_DEFINE(CONFIG_LOCALE)
+fi],
+AC_DEFINE(CONFIG_LOCALE)
+)
+
 undefine([fndir])dnl
 AC_ARG_ENABLE(fndir,
 [  --enable-fndir=DIR        where functions go (default DATADIR/zsh/functions)],
@@ -774,7 +783,7 @@ AC_CHECK_FUNCS(memcpy memmove \
               sigprocmask setuid seteuid setreuid setresuid setsid strerror \
               nis_list initgroups fchdir cap_get_proc readlink nice \
 	      getgrgid getgrnam getpwent getpwnam getpwuid setpgrp \
-	      fseeko ftello mmap munmap msync ftruncate)
+	      fseeko ftello mmap munmap msync ftruncate setlocale)
 
 dnl ---------------
 dnl CHECK FUNCTIONS