summaryrefslogtreecommitdiff
path: root/gettext-tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/configure')
-rwxr-xr-xgettext-tools/configure669
1 files changed, 569 insertions, 100 deletions
diff --git a/gettext-tools/configure b/gettext-tools/configure
index b7c3868..0fa4093 100755
--- a/gettext-tools/configure
+++ b/gettext-tools/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gettext-tools 0.19.7.
+# Generated by GNU Autoconf 2.69 for gettext-tools 0.19.8.1.
#
# Report bugs to <bug-gnu-gettext@gnu.org>.
#
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='gettext-tools'
PACKAGE_TARNAME='gettext-tools'
-PACKAGE_VERSION='0.19.7'
-PACKAGE_STRING='gettext-tools 0.19.7'
+PACKAGE_VERSION='0.19.8.1'
+PACKAGE_STRING='gettext-tools 0.19.8.1'
PACKAGE_BUGREPORT='bug-gnu-gettext@gnu.org'
PACKAGE_URL=''
@@ -1911,6 +1911,8 @@ GMSGFMT
MSGFMT
GETTEXT_MACRO_VERSION
USE_NLS
+OS2_FALSE
+OS2_TRUE
WOE32_FALSE
WOE32_TRUE
RC
@@ -2699,7 +2701,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures gettext-tools 0.19.7 to adapt to many kinds of systems.
+\`configure' configures gettext-tools 0.19.8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -2770,7 +2772,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of gettext-tools 0.19.7:";;
+ short | recursive ) echo "Configuration of gettext-tools 0.19.8.1:";;
esac
cat <<\_ACEOF
@@ -2948,7 +2950,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-gettext-tools configure 0.19.7
+gettext-tools configure 0.19.8.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -3778,7 +3780,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by gettext-tools $as_me 0.19.7, which was
+It was created by gettext-tools $as_me 0.19.8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -4721,7 +4723,7 @@ fi
# Define the identity of the package.
PACKAGE='gettext-tools'
- VERSION='0.19.7'
+ VERSION='0.19.8.1'
cat >>confdefs.h <<_ACEOF
@@ -6598,7 +6600,7 @@ EOF
> conftestver.class
target_version=`{
unset JAVA_HOME
- echo "$as_me:6601: CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver" >&5
+ echo "$as_me:6603: CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver" >&5
CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver 2>&5
}`
case "$target_version" in
@@ -6666,23 +6668,23 @@ EOF
if $JAVAC --version 2>/dev/null | sed -e 1q | grep gcj > /dev/null; then
if $JAVAC --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^4\.[012]/d' | grep '^[4-9]' >/dev/null; then
rm -f conftest.class
- if { echo "$as_me:6669: $JAVAC -d . conftest.java" >&5
+ if { echo "$as_me:6671: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:6676: $JAVAC -fsource=$source_version -d . conftest.java" >&5
+ if { echo "$as_me:6678: $JAVAC -fsource=$source_version -d . conftest.java" >&5
$JAVAC -fsource="$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
- && { echo "$as_me:6681: $JAVAC -d . conftestfail.java" >&5
+ && { echo "$as_me:6683: $JAVAC -d . conftestfail.java" >&5
$JAVAC -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:6685: $JAVAC -fsource=$source_version -d . conftestfail.java" >&5
+ && ! { echo "$as_me:6687: $JAVAC -fsource=$source_version -d . conftestfail.java" >&5
$JAVAC -fsource="$source_version" -d . conftestfail.java >&5 2>&1
}; then
CONF_JAVAC="$JAVAC -fsource=$source_version"
@@ -6696,7 +6698,7 @@ EOF
else
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:6699: $JAVAC -fsource=$source_version -ftarget=$target_version -d . conftest.java" >&5
+ if { echo "$as_me:6701: $JAVAC -fsource=$source_version -ftarget=$target_version -d . conftest.java" >&5
$JAVAC -fsource="$source_version" -ftarget="$target_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
@@ -6709,7 +6711,7 @@ EOF
else
if test "$target_version" = 1.4 && test "$source_version" = 1.4; then
rm -f conftest.class
- if { echo "$as_me:6712: $JAVAC -d . conftest.java" >&5
+ if { echo "$as_me:6714: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class; then
@@ -6721,7 +6723,7 @@ EOF
if test "$target_version" = 1.4 && test "$source_version" = 1.3; then
javac_works=
rm -f conftest.class
- if { echo "$as_me:6724: $JAVAC -d . conftest.java" >&5
+ if { echo "$as_me:6726: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class; then
@@ -6729,7 +6731,7 @@ EOF
fi
javac_noassert_works=
rm -f conftest.class
- if { echo "$as_me:6732: $JAVAC -fno-assert -d . conftest.java" >&5
+ if { echo "$as_me:6734: $JAVAC -fno-assert -d . conftest.java" >&5
$JAVAC -fno-assert -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class; then
@@ -6737,11 +6739,11 @@ EOF
fi
if test -n "$javac_works" && test -n "$javac_noassert_works"; then
rm -f conftestfail.class
- if { echo "$as_me:6740: $JAVAC -d . conftestfail.java" >&5
+ if { echo "$as_me:6742: $JAVAC -d . conftestfail.java" >&5
$JAVAC -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:6744: $JAVAC -fno-assert -d . conftestfail.java" >&5
+ && ! { echo "$as_me:6746: $JAVAC -fno-assert -d . conftestfail.java" >&5
$JAVAC -fno-assert -d . conftestfail.java >&5 2>&1
}; then
javac_works=
@@ -6763,23 +6765,23 @@ EOF
fi
else
rm -f conftest.class
- if { echo "$as_me:6766: $JAVAC -d . conftest.java" >&5
+ if { echo "$as_me:6768: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:6773: $JAVAC -source $source_version -d . conftest.java" >&5
+ if { echo "$as_me:6775: $JAVAC -source $source_version -d . conftest.java" >&5
$JAVAC -source "$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
- && { echo "$as_me:6778: $JAVAC -d . conftestfail.java" >&5
+ && { echo "$as_me:6780: $JAVAC -d . conftestfail.java" >&5
$JAVAC -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:6782: $JAVAC -source $source_version -d . conftestfail.java" >&5
+ && ! { echo "$as_me:6784: $JAVAC -source $source_version -d . conftestfail.java" >&5
$JAVAC -source "$source_version" -d . conftestfail.java >&5 2>&1
}; then
CONF_JAVAC="$JAVAC -source $source_version"
@@ -6792,23 +6794,23 @@ EOF
fi
else
rm -f conftest.class
- if { echo "$as_me:6795: $JAVAC -target $target_version -d . conftest.java" >&5
+ if { echo "$as_me:6797: $JAVAC -target $target_version -d . conftest.java" >&5
$JAVAC -target "$target_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:6802: $JAVAC -target $target_version -source $source_version -d . conftest.java" >&5
+ if { echo "$as_me:6804: $JAVAC -target $target_version -source $source_version -d . conftest.java" >&5
$JAVAC -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
- && { echo "$as_me:6807: $JAVAC -target $target_version -d . conftestfail.java" >&5
+ && { echo "$as_me:6809: $JAVAC -target $target_version -d . conftestfail.java" >&5
$JAVAC -target "$target_version" -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:6811: $JAVAC -target $target_version -source $source_version -d . conftestfail.java" >&5
+ && ! { echo "$as_me:6813: $JAVAC -target $target_version -source $source_version -d . conftestfail.java" >&5
$JAVAC -target "$target_version" -source "$source_version" -d . conftestfail.java >&5 2>&1
}; then
CONF_JAVAC="$JAVAC -target $target_version -source $source_version"
@@ -6821,7 +6823,7 @@ EOF
fi
else
rm -f conftest.class
- if { echo "$as_me:6824: $JAVAC -target $target_version -source $source_version -d . conftest.java" >&5
+ if { echo "$as_me:6826: $JAVAC -target $target_version -source $source_version -d . conftest.java" >&5
$JAVAC -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
@@ -6939,28 +6941,28 @@ fi
if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_GCJ_IN_PATH"; then
if gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^3\.[01]/d' | grep '^[3-9]' >/dev/null; then
- if { echo "$as_me:6942: gcj -C -d . conftestlib.java" >&5
+ if { echo "$as_me:6944: gcj -C -d . conftestlib.java" >&5
gcj -C -d . conftestlib.java >&5 2>&1
}; then
if gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^4\.[012]/d' | grep '^[4-9]' >/dev/null; then
rm -f conftest.class
- if { echo "$as_me:6947: gcj -C -d . conftest.java" >&5
+ if { echo "$as_me:6949: gcj -C -d . conftest.java" >&5
gcj -C -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:6954: gcj -C -fsource=$source_version -d . conftest.java" >&5
+ if { echo "$as_me:6956: gcj -C -fsource=$source_version -d . conftest.java" >&5
gcj -C -fsource="$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
- && { echo "$as_me:6959: gcj -C -d . conftestfail.java" >&5
+ && { echo "$as_me:6961: gcj -C -d . conftestfail.java" >&5
gcj -C -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:6963: gcj -C -fsource=$source_version -d . conftestfail.java" >&5
+ && ! { echo "$as_me:6965: gcj -C -fsource=$source_version -d . conftestfail.java" >&5
gcj -C -fsource="$source_version" -d . conftestfail.java >&5 2>&1
}; then
CONF_JAVAC="gcj -C -fsource=$source_version"
@@ -6974,7 +6976,7 @@ fi
else
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:6977: gcj -C -fsource=$source_version -ftarget=$target_version -d . conftest.java" >&5
+ if { echo "$as_me:6979: gcj -C -fsource=$source_version -ftarget=$target_version -d . conftest.java" >&5
gcj -C -fsource="$source_version" -ftarget="$target_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
@@ -6987,7 +6989,7 @@ fi
else
if test "$target_version" = 1.4 && test "$source_version" = 1.4; then
rm -f conftest.class
- if { echo "$as_me:6990: gcj -C -d . conftest.java" >&5
+ if { echo "$as_me:6992: gcj -C -d . conftest.java" >&5
gcj -C -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class; then
@@ -6998,7 +7000,7 @@ fi
else
if test "$target_version" = 1.4 && test "$source_version" = 1.3; then
rm -f conftest.class
- if { echo "$as_me:7001: gcj -C -fno-assert -d . conftest.java" >&5
+ if { echo "$as_me:7003: gcj -C -fno-assert -d . conftest.java" >&5
gcj -C -fno-assert -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class; then
@@ -7007,7 +7009,7 @@ fi
HAVE_JAVACOMP=1
else
rm -f conftest.class
- if { echo "$as_me:7010: gcj -C -d . conftest.java" >&5
+ if { echo "$as_me:7012: gcj -C -d . conftest.java" >&5
gcj -C -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class; then
@@ -7026,23 +7028,23 @@ fi
if { javac -version >/dev/null 2>/dev/null || test $? -le 2; } \
&& ( if javac -help 2>&1 >/dev/null | grep at.dms.kjc.Main >/dev/null && javac -help 2>/dev/null | grep 'released.*2000' >/dev/null ; then exit 1; else exit 0; fi ); then
rm -f conftest.class
- if { echo "$as_me:7029: javac -d . conftest.java" >&5
+ if { echo "$as_me:7031: javac -d . conftest.java" >&5
javac -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:7036: javac -source $source_version -d . conftest.java" >&5
+ if { echo "$as_me:7038: javac -source $source_version -d . conftest.java" >&5
javac -source "$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
- && { echo "$as_me:7041: javac -d . conftestfail.java" >&5
+ && { echo "$as_me:7043: javac -d . conftestfail.java" >&5
javac -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:7045: javac -source $source_version -d . conftestfail.java" >&5
+ && ! { echo "$as_me:7047: javac -source $source_version -d . conftestfail.java" >&5
javac -source "$source_version" -d . conftestfail.java >&5 2>&1
}; then
CONF_JAVAC="javac -source $source_version"
@@ -7055,23 +7057,23 @@ fi
fi
else
rm -f conftest.class
- if { echo "$as_me:7058: javac -target $target_version -d . conftest.java" >&5
+ if { echo "$as_me:7060: javac -target $target_version -d . conftest.java" >&5
javac -target "$target_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
rm -f conftest.class
rm -f conftestfail.class
- if { echo "$as_me:7065: javac -target $target_version -source $source_version -d . conftest.java" >&5
+ if { echo "$as_me:7067: javac -target $target_version -source $source_version -d . conftest.java" >&5
javac -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
- && { echo "$as_me:7070: javac -target $target_version -d . conftestfail.java" >&5
+ && { echo "$as_me:7072: javac -target $target_version -d . conftestfail.java" >&5
javac -target "$target_version" -d . conftestfail.java >&5 2>&1
} \
&& test -f conftestfail.class \
- && ! { echo "$as_me:7074: javac -target $target_version -source $source_version -d . conftestfail.java" >&5
+ && ! { echo "$as_me:7076: javac -target $target_version -source $source_version -d . conftestfail.java" >&5
javac -target "$target_version" -source "$source_version" -d . conftestfail.java >&5 2>&1
}; then
CONF_JAVAC="javac -target $target_version -source $source_version"
@@ -7084,7 +7086,7 @@ fi
fi
else
rm -f conftest.class
- if { echo "$as_me:7087: javac -target $target_version -source $source_version -d . conftest.java" >&5
+ if { echo "$as_me:7089: javac -target $target_version -source $source_version -d . conftest.java" >&5
javac -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1
} \
&& test -f conftest.class \
@@ -9003,6 +9005,7 @@ fi
# Code from module diffseq:
# Code from module dirent:
# Code from module dirent-tests:
+ # Code from module dirfd:
# Code from module dosname:
# Code from module double-slash-root:
# Code from module dup:
@@ -9080,6 +9083,7 @@ fi
# Code from module gettimeofday:
# Code from module gettimeofday-tests:
# Code from module gperf:
+ # Code from module hard-locale:
# Code from module hash:
# Code from module havelib:
# Code from module html-ostream:
@@ -9424,6 +9428,8 @@ fi
# Code from module xerror:
# Code from module xlist:
# Code from module xmalloca:
+ # Code from module xmemdup0:
+ # Code from module xmemdup0-tests:
# Code from module xreadlink:
# Code from module xsetenv:
# Code from module xsize:
@@ -9497,6 +9503,7 @@ fi
# Code from module gettext-h:
# Code from module gettimeofday:
# Code from module gperf:
+ # Code from module hard-locale:
# Code from module hash:
# Code from module havelib:
# Code from module iconv:
@@ -17726,10 +17733,11 @@ CFLAGS=$lt_save_CFLAGS
case "$host_os" in
- mingw* | cygwin*) is_woe32=yes ;;
- *) is_woe32=no ;;
+ mingw* | cygwin*) special_makefile_rules=woe32 ;;
+ os2*) special_makefile_rules=os2 ;;
+ *) special_makefile_rules=none ;;
esac
- if test $is_woe32 = yes; then
+ if test $special_makefile_rules = woe32; then
WOE32_TRUE=
WOE32_FALSE='#'
else
@@ -17737,6 +17745,14 @@ else
WOE32_FALSE=
fi
+ if test $special_makefile_rules = os2; then
+ OS2_TRUE=
+ OS2_FALSE='#'
+else
+ OS2_TRUE='#'
+ OS2_FALSE=
+fi
+
case "$host_os" in
cygwin*) ac_cv_lib_error_at_line=no ;;
@@ -18677,7 +18693,7 @@ static void
sigfpe_handler (int sig)
{
/* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
- exit (sig != SIGFPE);
+ _exit (sig != SIGFPE);
}
int x = 1;
@@ -22142,16 +22158,21 @@ else
/* end confdefs.h. */
#include <libintl.h>
-$gt_revision_test_code
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
+#else
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
+#endif
+$gt_revision_test_code
int
main ()
{
bindtextdomain ("", "");
-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
+return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
;
return 0;
@@ -22645,20 +22666,25 @@ else
/* end confdefs.h. */
#include <libintl.h>
-$gt_revision_test_code
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias (const char *);
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
+#else
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
+#endif
+$gt_revision_test_code
int
main ()
{
bindtextdomain ("", "");
-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
+return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
;
return 0;
@@ -22677,20 +22703,25 @@ rm -f core conftest.err conftest.$ac_objext \
/* end confdefs.h. */
#include <libintl.h>
-$gt_revision_test_code
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias (const char *);
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
+#else
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
+#endif
+$gt_revision_test_code
int
main ()
{
bindtextdomain ("", "");
-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
+return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
;
return 0;
@@ -23226,11 +23257,12 @@ nocrash_init (void)
#else
/* Avoid a crash on POSIX systems. */
#include <signal.h>
+#include <unistd.h>
/* A POSIX signal handler. */
static void
exception_handler (int sig)
{
- exit (1);
+ _exit (1);
}
static void
nocrash_init (void)
@@ -23256,22 +23288,27 @@ main ()
char *name = realpath ("conftest.a", NULL);
if (!(name && *name == '/'))
result |= 1;
+ free (name);
}
{
char *name = realpath ("conftest.b/../conftest.a", NULL);
if (name != NULL)
result |= 2;
+ free (name);
}
{
char *name = realpath ("conftest.a/", NULL);
if (name != NULL)
result |= 4;
+ free (name);
}
{
char *name1 = realpath (".", NULL);
char *name2 = realpath ("conftest.d//./..", NULL);
- if (strcmp (name1, name2) != 0)
+ if (! (name1 && name2 && strcmp (name1, name2) != 0))
result |= 8;
+ free (name1);
+ free (name2);
}
return result;
@@ -25074,11 +25111,12 @@ nocrash_init (void)
#else
/* Avoid a crash on POSIX systems. */
#include <signal.h>
+#include <unistd.h>
/* A POSIX signal handler. */
static void
exception_handler (int sig)
{
- exit (1);
+ _exit (1);
}
static void
nocrash_init (void)
@@ -30319,7 +30357,10 @@ else
int
main ()
{
-return ! malloc (0);
+char *p = malloc (0);
+ int result = !p;
+ free (p);
+ return result;
;
return 0;
}
@@ -31303,6 +31344,9 @@ $as_echo "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h
+
+
+
gl_cv_c_multiarch=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -32242,7 +32286,7 @@ EOF
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; } >/dev/null 2>&1
- if grep _foo conftest.$gl_asmext >/dev/null ; then
+ if LC_ALL=C grep -E '(^|^a-zA-Z0-9_)_foo(^a-zA-Z0-9_|$)' conftest.$gl_asmext >/dev/null; then
gl_cv_prog_as_underscore=yes
else
gl_cv_prog_as_underscore=no
@@ -32595,6 +32639,8 @@ else
#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
+#define __STDC_CONSTANT_MACROS 1
+#define __STDC_LIMIT_MACROS 1
#include <stdint.h>
/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
#if !(defined WCHAR_MIN && defined WCHAR_MAX)
@@ -32763,6 +32809,8 @@ else
#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
+#define __STDC_CONSTANT_MACROS 1
+#define __STDC_LIMIT_MACROS 1
#include <stdint.h>
@@ -32849,6 +32897,58 @@ fi
$as_echo "$gl_cv_header_working_stdint_h" >&6; }
fi
if test "$gl_cv_header_working_stdint_h" = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5
+$as_echo_n "checking whether stdint.h predates C++11... " >&6; }
+if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ gl_cv_header_stdint_predates_cxx11_h=yes
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
+#include <stdint.h>
+
+
+ /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
+ included before <wchar.h>. */
+ #include <stddef.h>
+ #include <signal.h>
+ #if HAVE_WCHAR_H
+ # include <stdio.h>
+ # include <time.h>
+ # include <wchar.h>
+ #endif
+
+
+intmax_t im = INTMAX_MAX;
+int32_t i32 = INT32_C (0x7fffffff);
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ gl_cv_header_stdint_predates_cxx11_h=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5
+$as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; }
+
+ if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then
+
+$as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h
+
+
+$as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h
+
+ fi
STDINT_H=
else
for ac_header in sys/inttypes.h sys/bitypes.h
@@ -36809,6 +36909,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+# include <stdlib.h>
# if HAVE_UNISTD_H
# include <unistd.h>
# else /* on Windows with MSVC */
@@ -36837,6 +36938,7 @@ main ()
return 3;
if (f[1] != '\0')
return 4;
+ free (f);
return 0;
}
#endif
@@ -37180,9 +37282,8 @@ else
int
main ()
{
-if (!acl_get_file (".", ACL_TYPE_ACCESS) && errno == ENOENT)
- return 1;
- return 0;
+acl_t acl = acl_get_file (".", ACL_TYPE_ACCESS);
+ return acl ? acl_free (acl) != 0 : errno == ENOENT;
;
return 0;
@@ -38211,6 +38312,10 @@ done
HAVE_CLOSEDIR=0
fi
+ case $host_os,$HAVE_CLOSEDIR in
+ os2*,1)
+ REPLACE_CLOSEDIR=1;;
+ esac
if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
@@ -38432,6 +38537,153 @@ fi
+
+
+
+ for ac_func in dirfd
+do :
+ ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
+if test "x$ac_cv_func_dirfd" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DIRFD 1
+_ACEOF
+
+fi
+done
+
+ ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
+ #include <dirent.h>
+"
+if test "x$ac_cv_have_decl_dirfd" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_DIRFD $ac_have_decl
+_ACEOF
+
+ if test $ac_cv_have_decl_dirfd = no; then
+ HAVE_DECL_DIRFD=0
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5
+$as_echo_n "checking whether dirfd is a macro... " >&6; }
+if ${gl_cv_func_dirfd_macro+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <sys/types.h>
+#include <dirent.h>
+#ifdef dirfd
+ dirent_header_defines_dirfd
+#endif
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "dirent_header_defines_dirfd" >/dev/null 2>&1; then :
+ gl_cv_func_dirfd_macro=yes
+else
+ gl_cv_func_dirfd_macro=no
+fi
+rm -f conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5
+$as_echo "$gl_cv_func_dirfd_macro" >&6; }
+
+ # Use the replacement if we have no function or macro with that name,
+ # or if OS/2 kLIBC whose dirfd() does not work.
+ # Replace only if the system declares dirfd already.
+ case $ac_cv_func_dirfd,$gl_cv_func_dirfd_macro,$host_os,$ac_cv_have_decl_dirfd in
+ no,no,*,yes | *,*,os2*,yes)
+ REPLACE_DIRFD=1
+
+$as_echo "#define REPLACE_DIRFD 1" >>confdefs.h
+;;
+ esac
+
+ if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
+ || test $REPLACE_DIRFD = 1; then
+
+
+
+
+
+
+
+
+ gl_LIBOBJS="$gl_LIBOBJS dirfd.$ac_objext"
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5
+$as_echo_n "checking how to get the file descriptor associated with an open DIR*... " >&6; }
+if ${gl_cv_sys_dir_fd_member_name+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ dirfd_save_CFLAGS=$CFLAGS
+ for ac_expr in d_fd dd_fd; do
+
+ CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <sys/types.h>
+ #include <dirent.h>
+int
+main ()
+{
+DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ dir_fd_found=yes
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$dirfd_save_CFLAGS
+ test "$dir_fd_found" = yes && break
+ done
+ test "$dir_fd_found" = yes || ac_expr=no_such_member
+
+ gl_cv_sys_dir_fd_member_name=$ac_expr
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5
+$as_echo "$gl_cv_sys_dir_fd_member_name" >&6; }
+ if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
+
+cat >>confdefs.h <<_ACEOF
+#define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name
+_ACEOF
+
+ fi
+
+
+ fi
+
+
+
+
+
+ GNULIB_DIRFD=1
+
+
+
+
+
+$as_echo "#define GNULIB_TEST_DIRFD 1" >>confdefs.h
+
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
$as_echo_n "checking whether // is distinct from /... " >&6; }
if ${gl_cv_double_slash_root+:} false; then :
@@ -38497,6 +38749,8 @@ else
gl_cv_func_dup2_works="guessing no" ;;
*-android*) # implemented using dup3(), which fails if oldfd == newfd
gl_cv_func_dup2_works="guessing no" ;;
+ os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd.
+ gl_cv_func_dup2_works="guessing no" ;;
*) gl_cv_func_dup2_works="guessing yes" ;;
esac
else
@@ -38548,6 +38802,16 @@ int result = 0;
result |= 32;
dup2 (2, 255);
dup2 (2, 256);
+ /* On OS/2 kLIBC, dup2() does not work on a directory fd. */
+ {
+ int fd = open (".", O_RDONLY);
+ if (fd == -1)
+ result |= 64;
+ else if (dup2 (fd, fd + 1) == -1)
+ result |= 128;
+
+ close (fd);
+ }
return result;
;
return 0;
@@ -38851,6 +39115,17 @@ int result = 0;
if (errno != EINVAL) result |= 2;
if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4;
if (errno != EINVAL) result |= 8;
+ /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */
+ {
+ int fd;
+ fd = open (".", O_RDONLY);
+ if (fd == -1)
+ result |= 16;
+ else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1)
+ result |= 32;
+
+ close (fd);
+ }
return result;
;
return 0;
@@ -39852,7 +40127,9 @@ else
size_t siz = (size_t)(~0) / 4;
if (getdelim (&line, &siz, '\n', in) == -1)
return 3;
+ free (line);
}
+ fclose (in);
return 0;
}
@@ -40085,6 +40362,7 @@ else
int len = getline (&line, &siz, in);
if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
return 2;
+ free (line);
}
{
/* Test result for a NULL buffer and a non-zero size.
@@ -40093,7 +40371,9 @@ else
size_t siz = (size_t)(~0) / 4;
if (getline (&line, &siz, in) == -1)
return 3;
+ free (line);
}
+ fclose (in);
return 0;
}
@@ -40441,6 +40721,9 @@ $as_echo "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
+ :
+
+
@@ -44591,11 +44874,15 @@ fi
/* end confdefs.h. */
#include <libxml/xmlversion.h>
#include <libxml/xmlmemory.h>
+ #include <libxml/xpath.h>
int
main ()
{
-xmlCheckVersion (0); xmlFree ((void *) 0);
+xmlCheckVersion (0);
+ xmlFree ((void *) 0);
+ xmlXPathSetContextNode ((void *)0, (void *)0);
+
;
return 0;
}
@@ -44615,11 +44902,15 @@ rm -f core conftest.err conftest.$ac_objext \
/* end confdefs.h. */
#include <libxml/xmlversion.h>
#include <libxml/xmlmemory.h>
+ #include <libxml/xpath.h>
int
main ()
{
-xmlCheckVersion (0); xmlFree ((void *) 0);
+xmlCheckVersion (0);
+ xmlFree ((void *) 0);
+ xmlXPathSetContextNode ((void *)0, (void *)0);
+
;
return 0;
}
@@ -44759,11 +45050,15 @@ rm -f conftest.err conftest.i conftest.$ac_ext
/* end confdefs.h. */
#include <libxml/xmlversion.h>
#include <libxml/xmlmemory.h>
+ #include <libxml/xpath.h>
int
main ()
{
-xmlCheckVersion (0); xmlFree ((void *) 0);
+xmlCheckVersion (0);
+ xmlFree ((void *) 0);
+ xmlXPathSetContextNode ((void *)0, (void *)0);
+
;
return 0;
}
@@ -46209,6 +46504,60 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5
$as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5
+$as_echo_n "checking whether the C locale is free of encoding errors... " >&6; }
+if ${gl_cv_C_locale_sans_EILSEQ+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ gl_cv_C_locale_sans_EILSEQ="guessing no"
+
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <limits.h>
+ #include <locale.h>
+ #include <wchar.h>
+
+int
+main ()
+{
+
+ int i;
+ char *locale = setlocale (LC_ALL, "C");
+ if (! locale)
+ return 1;
+ for (i = CHAR_MIN; i <= CHAR_MAX; i++)
+ {
+ char c = i;
+ wchar_t wc;
+ mbstate_t mbs = { 0, };
+ size_t ss = mbrtowc (&wc, &c, 1, &mbs);
+ if (1 < ss)
+ return 1;
+ }
+ return 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ gl_cv_C_locale_sans_EILSEQ=yes
+else
+ gl_cv_C_locale_sans_EILSEQ=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_C_locale_sans_EILSEQ" >&5
+$as_echo "$gl_cv_C_locale_sans_EILSEQ" >&6; }
+
case "$gl_cv_func_mbrtowc_null_arg1" in
*yes) ;;
*)
@@ -46249,6 +46598,14 @@ $as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
esac
+ case $gl_cv_C_locale_sans_EILSEQ in
+ *yes) ;;
+ *)
+$as_echo "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h
+
+ REPLACE_MBRTOWC=1
+ ;;
+ esac
fi
fi
@@ -47172,17 +47529,6 @@ $as_echo "#define IS_CPLUSPLUS 1" >>confdefs.h
fi
-
- if test $ac_cv_func__set_invalid_parameter_handler = yes; then
- HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
-
-$as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
-
- else
- HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
- fi
-
-
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
@@ -47196,8 +47542,6 @@ $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
fi
-
-
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
@@ -47415,6 +47759,10 @@ done
HAVE_OPENDIR=0
fi
+ case $host_os,$HAVE_OPENDIR in
+ os2*,1)
+ REPLACE_OPENDIR=1;;
+ esac
if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
@@ -51948,7 +52296,7 @@ else
#include <string.h> /* for strstr */
#include <stdlib.h> /* for malloc */
#include <unistd.h> /* for alarm */
-static void quit (int sig) { exit (sig + 128); }
+static void quit (int sig) { _exit (sig + 128); }
int
main ()
@@ -54713,7 +55061,7 @@ _ACEOF
if test $ac_cv_func_wcwidth = yes; then
HAVE_WCWIDTH=1
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
$as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
if ${gl_cv_func_wcwidth_works+:} false; then :
$as_echo_n "(cached) " >&6
@@ -54760,6 +55108,8 @@ int main ()
result |= 2;
if (wcwidth (0x200B) > 0)
result |= 4;
+ if (wcwidth (0xFF1A) == 0)
+ result |= 8;
}
return result;
}
@@ -54858,6 +55208,16 @@ $as_echo "#define GNULIB_TEST_WRITE 1" >>confdefs.h
+
+
+
+
+
+
+ gl_LIBOBJS="$gl_LIBOBJS xmemdup0.$ac_objext"
+
+
+
for ac_header in stdint.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
@@ -55715,6 +56075,50 @@ fi
REPLACE_DUP=1
fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup works" >&5
+$as_echo_n "checking whether dup works... " >&6; }
+if ${gl_cv_func_dup_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ gl_cv_func_dup_works='guessing yes'
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
+int
+main ()
+{
+/* On OS/2 kLIBC, dup does not work on a directory fd. */
+ int fd = open (".", O_RDONLY);
+ return fd < 0 ? 1 : dup (fd) < 0 ? 2 : 0;
+
+ ;
+ return 0;
+}
+
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ gl_cv_func_dup_works=yes
+else
+ gl_cv_func_dup_works=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup_works" >&5
+$as_echo "$gl_cv_func_dup_works" >&6; }
+ case "$gl_cv_func_dup_works" in
+ *yes) ;;
+ *)
+ REPLACE_DUP=1
+ ;;
+ esac
if test $REPLACE_DUP = 1; then
@@ -63880,6 +64284,7 @@ int result = 0;
0, sizeof data - 1, &regs)
!= -1)
result |= 1;
+ regfree (&regex);
}
{
@@ -63911,6 +64316,7 @@ int result = 0;
if (i != 0 && i != 21)
result |= 1;
}
+ regfree (&regex);
}
if (! setlocale (LC_ALL, "C"))
@@ -65248,7 +65654,9 @@ else
size_t siz = (size_t)(~0) / 4;
if (getdelim (&line, &siz, '\n', in) == -1)
return 3;
+ free (line);
}
+ fclose (in);
return 0;
}
@@ -65393,6 +65801,7 @@ else
int len = getline (&line, &siz, in);
if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
return 2;
+ free (line);
}
{
/* Test result for a NULL buffer and a non-zero size.
@@ -65401,7 +65810,9 @@ else
size_t siz = (size_t)(~0) / 4;
if (getline (&line, &siz, in) == -1)
return 3;
+ free (line);
}
+ fclose (in);
return 0;
}
@@ -65664,6 +66075,9 @@ $as_echo "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
+ :
+
+
@@ -66583,6 +66997,60 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5
$as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5
+$as_echo_n "checking whether the C locale is free of encoding errors... " >&6; }
+if ${gl_cv_C_locale_sans_EILSEQ+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ gl_cv_C_locale_sans_EILSEQ="guessing no"
+
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <limits.h>
+ #include <locale.h>
+ #include <wchar.h>
+
+int
+main ()
+{
+
+ int i;
+ char *locale = setlocale (LC_ALL, "C");
+ if (! locale)
+ return 1;
+ for (i = CHAR_MIN; i <= CHAR_MAX; i++)
+ {
+ char c = i;
+ wchar_t wc;
+ mbstate_t mbs = { 0, };
+ size_t ss = mbrtowc (&wc, &c, 1, &mbs);
+ if (1 < ss)
+ return 1;
+ }
+ return 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ gl_cv_C_locale_sans_EILSEQ=yes
+else
+ gl_cv_C_locale_sans_EILSEQ=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_C_locale_sans_EILSEQ" >&5
+$as_echo "$gl_cv_C_locale_sans_EILSEQ" >&6; }
+
case "$gl_cv_func_mbrtowc_null_arg1" in
*yes) ;;
*)
@@ -66623,6 +67091,14 @@ $as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
esac
+ case $gl_cv_C_locale_sans_EILSEQ in
+ *yes) ;;
+ *)
+$as_echo "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h
+
+ REPLACE_MBRTOWC=1
+ ;;
+ esac
fi
fi
@@ -67055,17 +67531,6 @@ $as_echo "#define IS_CPLUSPLUS 1" >>confdefs.h
fi
-
- if test $ac_cv_func__set_invalid_parameter_handler = yes; then
- HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
-
-$as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
-
- else
- HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
- fi
-
-
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
@@ -67079,8 +67544,6 @@ $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
fi
-
-
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
@@ -69086,7 +69549,7 @@ else
#include <string.h> /* for strstr */
#include <stdlib.h> /* for malloc */
#include <unistd.h> /* for alarm */
-static void quit (int sig) { exit (sig + 128); }
+static void quit (int sig) { _exit (sig + 128); }
int
main ()
@@ -70984,7 +71447,7 @@ _ACEOF
if test $ac_cv_func_wcwidth = yes; then
HAVE_WCWIDTH=1
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
$as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
if ${gl_cv_func_wcwidth_works+:} false; then :
$as_echo_n "(cached) " >&6
@@ -71031,6 +71494,8 @@ int main ()
result |= 2;
if (wcwidth (0x200B) > 0)
result |= 4;
+ if (wcwidth (0xFF1A) == 0)
+ result |= 8;
}
return result;
}
@@ -72487,7 +72952,7 @@ else
fi
-ARCHIVE_VERSION=0.19.7
+ARCHIVE_VERSION=0.19.8
PACKAGE_SUFFIX="-$ARCHIVE_VERSION"
@@ -77301,6 +77766,10 @@ if test -z "${WOE32_TRUE}" && test -z "${WOE32_FALSE}"; then
as_fn_error $? "conditional \"WOE32\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
+ as_fn_error $? "conditional \"OS2\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -78096,7 +78565,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by gettext-tools $as_me 0.19.7, which was
+This file was extended by gettext-tools $as_me 0.19.8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -78162,7 +78631,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-gettext-tools config.status 0.19.7
+gettext-tools config.status 0.19.8.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"