#REGEX="yes" # use distributed regular expression package
#UTMP="utmpx" # type of utmp+wtmp handling (auto|utmp|utmpx)
#DBLIB="no" # use distributed libdb distribution
+#NLS="auto" # enable NLS support (auto|yes|no)
#
# Directory parameters.
#LIBDB=" " # linkage convention for libdb package
#DBLIBINC="/usr/include" # place to find db.h
+# NLS (gettext) library support
+LIBINTL="" # configure will try LIBINTL="-lintl"
+
#
# Parameters to control various workarounds for system bugs.
#
eval "${ac_with}='$ac_optarg'"
WITHARGS=yes
;;
- -enable-nls|--enable-nls) CHECK_NLS=yes;;
- -disable-nls|--disable-nls) CHECK_NLS=no;;
+ -enable-nls|--enable-nls) NLS=yes;;
+ -disable-nls|--disable-nls) NLS=no;;
-quiet|--quiet) QUIET=yes;;
-nointeractive|--nointeractive) INTERACTIVE=no;;
-verbose|--verbose) QUIET=no;;
Note "Disabling JBIG support"
fi
ENABLE_NLS="/* #define ENABLE_NLS 1 */"
-if [ "$CHECK_NLS" != "no" ]; then
+if [ "$NLS" != "no" ]; then
Note "Checking for NLS (gettext) library support"
CheckForIncludeFile locale.h &&
CheckForIncludeFile libintl.h && {