From 3102de1e866e5f716baad9c6ead4162a5b393ceb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 4 Sep 2013 15:24:26 +0200 Subject: fix musl compile --- package/m4/patches/musl.patch | 109879 +++++++++++++++++++++++++++ package/m4/patches/patch-lib_freadahead_c | 15 + package/m4/patches/patch-lib_freadahead_h | 38 + package/m4/patches/patch-lib_stdio_in_h | 4 +- 4 files changed, 109934 insertions(+), 2 deletions(-) create mode 100644 package/m4/patches/musl.patch create mode 100644 package/m4/patches/patch-lib_freadahead_c create mode 100644 package/m4/patches/patch-lib_freadahead_h (limited to 'package') diff --git a/package/m4/patches/musl.patch b/package/m4/patches/musl.patch new file mode 100644 index 000000000..f8bc4560d --- /dev/null +++ b/package/m4/patches/musl.patch @@ -0,0 +1,109879 @@ +diff -Nur m4-1.4.16.orig/aclocal.m4 m4-1.4.16/aclocal.m4 +--- m4-1.4.16.orig/aclocal.m4 2011-03-01 17:57:30.000000000 +0100 ++++ m4-1.4.16/aclocal.m4 2013-09-04 14:47:42.000000000 +0200 +@@ -1,7 +1,7 @@ +-# generated automatically by aclocal 1.11.1 -*- Autoconf -*- ++# generated automatically by aclocal 1.13.2 -*- Autoconf -*- ++ ++# Copyright (C) 1996-2013 Free Software Foundation, Inc. + +-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -11,16 +11,17 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + ++m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) + m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],, +-[m4_warning([this file was generated for autoconf 2.66. ++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, ++[m4_warning([this file was generated for autoconf 2.69. + You have another version of autoconf. It may work, but is not guaranteed to. + If you have problems, you may need to regenerate the build system entirely. +-To do so, use the procedure documented by the package, typically `autoreconf'.])]) ++To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +-# po.m4 serial 17 (gettext-0.18) +-dnl Copyright (C) 1995-2010 Free Software Foundation, Inc. ++# po.m4 serial 20 (gettext-0.18.2) ++dnl Copyright (C) 1995-2013 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. +@@ -38,14 +39,14 @@ + dnl Ulrich Drepper , 1995-2000. + dnl Bruno Haible , 2000-2003. + +-AC_PREREQ([2.50]) ++AC_PREREQ([2.60]) + + dnl Checks for all prerequisites of the po subdirectory. + AC_DEFUN([AM_PO_SUBDIRS], + [ + AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_INSTALL])dnl +- AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake ++ AC_REQUIRE([AC_PROG_MKDIR_P])dnl + AC_REQUIRE([AM_NLS])dnl + + dnl Release version of the gettext macros. This is used to ensure that +@@ -123,7 +124,7 @@ + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` +- ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. +@@ -139,7 +140,8 @@ + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" +- cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ gt_tab=`printf '\t'` ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration +@@ -150,12 +152,12 @@ + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` +- # Hide the ALL_LINGUAS assigment from automake < 1.5. ++ # Hide the ALL_LINGUAS assignment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. +- # Hide the ALL_LINGUAS assigment from automake < 1.5. ++ # Hide the ALL_LINGUAS assignment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES +@@ -247,7 +249,7 @@ + changequote(,)dnl + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` +- ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ++ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. +@@ -275,6 +277,7 @@ + fi + + # A sed script that extracts the value of VARIABLE from a Makefile. ++ tab=`printf '\t'` + sed_x_variable=' + # Test if the hold space is empty. + x +@@ -282,9 +285,9 @@ + x + ta + # Yes it was empty. Look if we have the expected variable definition. +-/^[ ]*VARIABLE[ ]*=/{ ++/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{ + # Seen the first line of the variable definition. +- s/^[ ]*VARIABLE[ ]*=// ++ s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=// + ba + } + bd +@@ -336,7 +339,7 @@ + sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` + ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` + fi +- # Hide the ALL_LINGUAS assigment from automake < 1.5. ++ # Hide the ALL_LINGUAS assignment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +@@ -426,14 +429,15 @@ + fi + + sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" ++ tab=`printf '\t'` + if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then + # Add dependencies that cannot be formulated as a simple suffix rule. + for lang in $ALL_LINGUAS; do + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` + cat >> "$ac_file.tmp" <> "$ac_file.tmp" < sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c +- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with +- # Solaris 8's {/usr,}/bin/sh. +- touch sub/conftst$i.h ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + +- # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly +- # handle `-M -o', and we need to detect this. Also, some Intel +- # versions had trouble with output in subdirs ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in +@@ -697,16 +698,16 @@ + test "$am__universal" = false || continue + ;; + nosideeffect) +- # after this tag, mechanisms are not by side-effect, so they'll +- # only be used when explicitly requested ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; +- msvisualcpp | msvcmsys) +- # This compiler won't grok `-c -o', but also, the minuso test has ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} +@@ -754,7 +755,7 @@ + # AM_SET_DEPDIR + # ------------- + # Choose a directory name for dependency files. +-# This macro is AC_REQUIREd in _AM_DEPENDENCIES ++# This macro is AC_REQUIREd in _AM_DEPENDENCIES. + AC_DEFUN([AM_SET_DEPDIR], + [AC_REQUIRE([AM_SET_LEADING_DOT])dnl + AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +@@ -764,34 +765,39 @@ + # AM_DEP_TRACK + # ------------ + AC_DEFUN([AM_DEP_TRACK], +-[AC_ARG_ENABLE(dependency-tracking, +-[ --disable-dependency-tracking speeds up one-time build +- --enable-dependency-tracking do not reject slow dependency extractors]) ++[AC_ARG_ENABLE([dependency-tracking], [dnl ++AS_HELP_STRING( ++ [--enable-dependency-tracking], ++ [do not reject slow dependency extractors]) ++AS_HELP_STRING( ++ [--disable-dependency-tracking], ++ [speeds up one-time build])]) + if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' ++ am__nodep='_no' + fi + AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) + AC_SUBST([AMDEPBACKSLASH])dnl + _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ++AC_SUBST([am__nodep])dnl ++_AM_SUBST_NOTMAKE([am__nodep])dnl + ]) + + # Generate code to set up dependency tracking. -*- Autoconf -*- + +-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 +-# Free Software Foundation, Inc. ++# Copyright (C) 1999-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-#serial 5 + + # _AM_OUTPUT_DEPENDENCY_COMMANDS + # ------------------------------ + AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], + [{ +- # Autoconf 2.62 quotes --file arguments for eval, but not when files ++ # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in +@@ -804,7 +810,7 @@ + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. +- # We used to match only the files named `Makefile.in', but ++ # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. +@@ -816,21 +822,19 @@ + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote +- # from the Makefile without running `make'. ++ # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` +- test -z "am__include" && continue ++ test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` +- # When using ansi2knr, U may be empty or an underscore; expand it +- U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ +- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` +@@ -848,7 +852,7 @@ + # This macro should only be invoked once -- use via AC_REQUIRE. + # + # This code is only required when automatic dependency tracking +-# is enabled. FIXME. This creates each `.P' file that we will ++# is enabled. FIXME. This creates each '.P' file that we will + # need in order to bootstrap the dependency handling code. + AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], + [AC_CONFIG_COMMANDS([depfiles], +@@ -858,15 +862,12 @@ + + # Do all the work for Automake. -*- Autoconf -*- + +-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. ++# Copyright (C) 1996-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 16 +- + # This macro actually does too much. Some checks are only needed if + # your package does certain things. But this isn't really a big deal. + +@@ -882,7 +883,7 @@ + # arguments mandatory, and then we can depend on a new Autoconf + # release and drop the old call support. + AC_DEFUN([AM_INIT_AUTOMAKE], +-[AC_PREREQ([2.62])dnl ++[AC_PREREQ([2.65])dnl + dnl Autoconf wants to disallow AM_ names. We explicitly allow + dnl the ones we care about. + m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +@@ -911,31 +912,40 @@ + # Define the identity of the package. + dnl Distinguish between old-style and new-style calls. + m4_ifval([$2], +-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl ++[AC_DIAGNOSE([obsolete], ++ [$0: two- and three-arguments forms are deprecated.]) ++m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], + [_AM_SET_OPTIONS([$1])dnl + dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, ++m4_if( ++ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), ++ [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + + _AM_IF_OPTION([no-define],, +-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) +- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl ++[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) ++ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + + # Some tools Automake needs. + AC_REQUIRE([AM_SANITY_CHECK])dnl + AC_REQUIRE([AC_ARG_PROGRAM])dnl +-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +-AM_MISSING_PROG(AUTOCONF, autoconf) +-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +-AM_MISSING_PROG(AUTOHEADER, autoheader) +-AM_MISSING_PROG(MAKEINFO, makeinfo) ++AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) ++AM_MISSING_PROG([AUTOCONF], [autoconf]) ++AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) ++AM_MISSING_PROG([AUTOHEADER], [autoheader]) ++AM_MISSING_PROG([MAKEINFO], [makeinfo]) + AC_REQUIRE([AM_PROG_INSTALL_SH])dnl + AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +-AC_REQUIRE([AM_PROG_MKDIR_P])dnl ++AC_REQUIRE([AC_PROG_MKDIR_P])dnl ++# For better backward compatibility. To be removed once Automake 1.9.x ++# dies out for good. For more background, see: ++# ++# ++AC_SUBST([mkdir_p], ['$(MKDIR_P)']) + # We need awk for the "check" target. The system "awk" is bad on + # some platforms. + AC_REQUIRE([AC_PROG_AWK])dnl +@@ -946,28 +956,32 @@ + [_AM_PROG_TAR([v7])])]) + _AM_IF_OPTION([no-dependencies],, + [AC_PROVIDE_IFELSE([AC_PROG_CC], +- [_AM_DEPENDENCIES(CC)], +- [define([AC_PROG_CC], +- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl ++ [_AM_DEPENDENCIES([CC])], ++ [m4_define([AC_PROG_CC], ++ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl + AC_PROVIDE_IFELSE([AC_PROG_CXX], +- [_AM_DEPENDENCIES(CXX)], +- [define([AC_PROG_CXX], +- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ++ [_AM_DEPENDENCIES([CXX])], ++ [m4_define([AC_PROG_CXX], ++ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl + AC_PROVIDE_IFELSE([AC_PROG_OBJC], +- [_AM_DEPENDENCIES(OBJC)], +- [define([AC_PROG_OBJC], +- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ++ [_AM_DEPENDENCIES([OBJC])], ++ [m4_define([AC_PROG_OBJC], ++ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], ++ [_AM_DEPENDENCIES([OBJCXX])], ++ [m4_define([AC_PROG_OBJCXX], ++ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl + ]) +-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. ++AC_REQUIRE([AM_SILENT_RULES])dnl ++dnl The testsuite driver may need to know about EXEEXT, so add the ++dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This ++dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. + AC_CONFIG_COMMANDS_PRE(dnl + [m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + ]) + +-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not ++dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not + dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further + dnl mangled by Autoconf and run in a shell conditional statement. + m4_define([_AC_COMPILER_EXEEXT], +@@ -995,7 +1009,7 @@ + done + echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +-# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. ++# Copyright (C) 2001-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, +@@ -1014,16 +1028,14 @@ + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac + fi +-AC_SUBST(install_sh)]) ++AC_SUBST([install_sh])]) + +-# Copyright (C) 2003, 2005 Free Software Foundation, Inc. ++# Copyright (C) 2003-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 2 +- + # Check whether the underlying file-system supports filenames + # with a leading dot. For instance MS-DOS doesn't. + AC_DEFUN([AM_SET_LEADING_DOT], +@@ -1039,14 +1051,12 @@ + + # Check to see how 'make' treats includes. -*- Autoconf -*- + +-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. ++# Copyright (C) 2001-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 4 +- + # AM_MAKE_INCLUDE() + # ----------------- + # Check to see how make treats includes. +@@ -1064,7 +1074,7 @@ + _am_result=none + # First try GNU make style include. + echo "include confinc" > confmf +-# Ignore all kinds of additional output from `make'. ++# Ignore all kinds of additional output from 'make'. + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=include +@@ -1089,15 +1099,12 @@ + rm -f confinc confmf + ]) + +-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 +-# Free Software Foundation, Inc. ++# Copyright (C) 1999-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 6 +- + # AM_PROG_CC_C_O + # -------------- + # Like AC_PROG_CC_C_O, but changed for automake. +@@ -1126,15 +1133,12 @@ + + # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 +-# Free Software Foundation, Inc. ++# Copyright (C) 1997-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 6 +- + # AM_MISSING_PROG(NAME, PROGRAM) + # ------------------------------ + AC_DEFUN([AM_MISSING_PROG], +@@ -1142,11 +1146,10 @@ + $1=${$1-"${am_missing_run}$2"} + AC_SUBST($1)]) + +- + # AM_MISSING_HAS_RUN + # ------------------ +-# Define MISSING if not defined so far and test if it supports --run. +-# If it does, set am_missing_run to use it, otherwise, to nothing. ++# Define MISSING if not defined so far and test if it is modern enough. ++# If it is, set am_missing_run to use it, otherwise, to nothing. + AC_DEFUN([AM_MISSING_HAS_RUN], + [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl + AC_REQUIRE_AUX_FILE([missing])dnl +@@ -1159,63 +1162,35 @@ + esac + fi + # Use eval to expand $SHELL +-if eval "$MISSING --run true"; then +- am_missing_run="$MISSING --run " ++if eval "$MISSING --is-lightweight"; then ++ am_missing_run="$MISSING " + else + am_missing_run= +- AC_MSG_WARN([`missing' script is too old or missing]) ++ AC_MSG_WARN(['missing' script is too old or missing]) + fi + ]) + +-# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +-# +-# This file is free software; the Free Software Foundation +-# gives unlimited permission to copy and/or distribute it, +-# with or without modifications, as long as this notice is preserved. +- +-# AM_PROG_MKDIR_P +-# --------------- +-# Check for `mkdir -p'. +-AC_DEFUN([AM_PROG_MKDIR_P], +-[AC_PREREQ([2.60])dnl +-AC_REQUIRE([AC_PROG_MKDIR_P])dnl +-dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +-dnl while keeping a definition of mkdir_p for backward compatibility. +-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +-dnl Makefile.ins that do not define MKDIR_P, so we do our own +-dnl adjustment using top_builddir (which is defined more often than +-dnl MKDIR_P). +-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +-case $mkdir_p in +- [[\\/$]]* | ?:[[\\/]]*) ;; +- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +-esac +-]) +- + # Helper functions for option handling. -*- Autoconf -*- + +-# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. ++# Copyright (C) 2001-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 4 +- + # _AM_MANGLE_OPTION(NAME) + # ----------------------- + AC_DEFUN([_AM_MANGLE_OPTION], + [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + + # _AM_SET_OPTION(NAME) +-# ------------------------------ ++# -------------------- + # Set option NAME. Presently that only means defining a flag for this option. + AC_DEFUN([_AM_SET_OPTION], +-[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) ++[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + + # _AM_SET_OPTIONS(OPTIONS) +-# ---------------------------------- ++# ------------------------ + # OPTIONS is a space-separated list of Automake options. + AC_DEFUN([_AM_SET_OPTIONS], + [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) +@@ -1228,22 +1203,16 @@ + + # Check to make sure that the build environment is sane. -*- Autoconf -*- + +-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 +-# Free Software Foundation, Inc. ++# Copyright (C) 1996-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 5 +- + # AM_SANITY_CHECK + # --------------- + AC_DEFUN([AM_SANITY_CHECK], + [AC_MSG_CHECKING([whether build environment is sane]) +-# Just in case +-sleep 1 +-echo timestamp > conftest.file + # Reject unsafe characters in $srcdir or the absolute working directory + # name. Accept space and tab only in the latter. + am_lf=' +@@ -1254,32 +1223,40 @@ + esac + case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) +- AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; ++ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; + esac + +-# Do `set' in a subshell so we don't clobber the current shell's ++# Do 'set' in a subshell so we don't clobber the current shell's + # arguments. Must try -L first in case configure is actually a + # symlink; some systems play weird games with the mod time of symlinks + # (eg FreeBSD returns the mod time of the symlink's containing + # directory). + if ( +- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` +- if test "$[*]" = "X"; then +- # -L didn't work. +- set X `ls -t "$srcdir/configure" conftest.file` +- fi +- rm -f conftest.file +- if test "$[*]" != "X $srcdir/configure conftest.file" \ +- && test "$[*]" != "X conftest.file $srcdir/configure"; then +- +- # If neither matched, then we have a broken ls. This can happen +- # if, for instance, CONFIG_SHELL is bash and it inherits a +- # broken ls alias from the environment. This has actually +- # happened. Such a system could not be considered "sane". +- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +-alias in your environment]) +- fi +- ++ am_has_slept=no ++ for am_try in 1 2; do ++ echo "timestamp, slept: $am_has_slept" > conftest.file ++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ if test "$[*]" = "X"; then ++ # -L didn't work. ++ set X `ls -t "$srcdir/configure" conftest.file` ++ fi ++ if test "$[*]" != "X $srcdir/configure conftest.file" \ ++ && test "$[*]" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken ++ alias in your environment]) ++ fi ++ if test "$[2]" = conftest.file || test $am_try -eq 2; then ++ break ++ fi ++ # Just in case. ++ sleep 1 ++ am_has_slept=yes ++ done + test "$[2]" = conftest.file + ) + then +@@ -1289,36 +1266,85 @@ + AC_MSG_ERROR([newly created file is older than distributed files! + Check your system clock]) + fi +-AC_MSG_RESULT(yes)]) ++AC_MSG_RESULT([yes]) ++# If we didn't sleep, we still need to ensure time stamps of config.status and ++# generated files are strictly newer. ++am_sleep_pid= ++if grep 'slept: no' conftest.file >/dev/null 2>&1; then ++ ( sleep 1 ) & ++ am_sleep_pid=$! ++fi ++AC_CONFIG_COMMANDS_PRE( ++ [AC_MSG_CHECKING([that generated files are newer than configure]) ++ if test -n "$am_sleep_pid"; then ++ # Hide warnings about reused PIDs. ++ wait $am_sleep_pid 2>/dev/null ++ fi ++ AC_MSG_RESULT([done])]) ++rm -f conftest.file ++]) + +-# Copyright (C) 2009 Free Software Foundation, Inc. ++# Copyright (C) 2009-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 1 +- + # AM_SILENT_RULES([DEFAULT]) + # -------------------------- + # Enable less verbose build rules; with the default set to DEFAULT +-# (`yes' being less verbose, `no' or empty being verbose). ++# ("yes" being less verbose, "no" or empty being verbose). + AC_DEFUN([AM_SILENT_RULES], +-[AC_ARG_ENABLE([silent-rules], +-[ --enable-silent-rules less verbose build output (undo: `make V=1') +- --disable-silent-rules verbose build output (undo: `make V=0')]) +-case $enable_silent_rules in +-yes) AM_DEFAULT_VERBOSITY=0;; +-no) AM_DEFAULT_VERBOSITY=1;; +-*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; ++[AC_ARG_ENABLE([silent-rules], [dnl ++AS_HELP_STRING( ++ [--enable-silent-rules], ++ [less verbose build output (undo: "make V=1")]) ++AS_HELP_STRING( ++ [--disable-silent-rules], ++ [verbose build output (undo: "make V=0")])dnl ++]) ++case $enable_silent_rules in @%:@ ((( ++ yes) AM_DEFAULT_VERBOSITY=0;; ++ no) AM_DEFAULT_VERBOSITY=1;; ++ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; + esac ++dnl ++dnl A few 'make' implementations (e.g., NonStop OS and NextStep) ++dnl do not support nested variable expansions. ++dnl See automake bug#9928 and bug#10237. ++am_make=${MAKE-make} ++AC_CACHE_CHECK([whether $am_make supports nested variables], ++ [am_cv_make_support_nested_variables], ++ [if AS_ECHO([['TRUE=$(BAR$(V)) ++BAR0=false ++BAR1=true ++V=1 ++am__doit: ++ @$(TRUE) ++.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then ++ am_cv_make_support_nested_variables=yes ++else ++ am_cv_make_support_nested_variables=no ++fi]) ++if test $am_cv_make_support_nested_variables = yes; then ++ dnl Using '$V' instead of '$(V)' breaks IRIX make. ++ AM_V='$(V)' ++ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ++else ++ AM_V=$AM_DEFAULT_VERBOSITY ++ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY ++fi ++AC_SUBST([AM_V])dnl ++AM_SUBST_NOTMAKE([AM_V])dnl ++AC_SUBST([AM_DEFAULT_V])dnl ++AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl + AC_SUBST([AM_DEFAULT_VERBOSITY])dnl + AM_BACKSLASH='\' + AC_SUBST([AM_BACKSLASH])dnl + _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl + ]) + +-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. ++# Copyright (C) 2001-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, +@@ -1326,34 +1352,32 @@ + + # AM_PROG_INSTALL_STRIP + # --------------------- +-# One issue with vendor `install' (even GNU) is that you can't ++# One issue with vendor 'install' (even GNU) is that you can't + # specify the program used to strip binaries. This is especially + # annoying in cross-compiling environments, where the build's strip + # is unlikely to handle the host's binaries. + # Fortunately install-sh will honor a STRIPPROG variable, so we +-# always use install-sh in `make install-strip', and initialize ++# always use install-sh in "make install-strip", and initialize + # STRIPPROG with the value of the STRIP variable (set by the user). + AC_DEFUN([AM_PROG_INSTALL_STRIP], + [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +-# Installed binaries are usually stripped using `strip' when the user +-# run `make install-strip'. However `strip' might not be the right ++# Installed binaries are usually stripped using 'strip' when the user ++# run "make install-strip". However 'strip' might not be the right + # tool to use in cross-compilation environments, therefore Automake +-# will honor the `STRIP' environment variable to overrule this program. +-dnl Don't test for $cross_compiling = yes, because it might be `maybe'. ++# will honor the 'STRIP' environment variable to overrule this program. ++dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. + if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) + fi + INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +-# Copyright (C) 2006, 2008 Free Software Foundation, Inc. ++# Copyright (C) 2006-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 2 +- + # _AM_SUBST_NOTMAKE(VARIABLE) + # --------------------------- + # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +@@ -1361,24 +1385,22 @@ + AC_DEFUN([_AM_SUBST_NOTMAKE]) + + # AM_SUBST_NOTMAKE(VARIABLE) +-# --------------------------- ++# -------------------------- + # Public sister of _AM_SUBST_NOTMAKE. + AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + + # Check how to create a tarball. -*- Autoconf -*- + +-# Copyright (C) 2004, 2005 Free Software Foundation, Inc. ++# Copyright (C) 2004-2013 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 2 +- + # _AM_PROG_TAR(FORMAT) + # -------------------- + # Check how to create a tarball in format FORMAT. +-# FORMAT should be one of `v7', `ustar', or `pax'. ++# FORMAT should be one of 'v7', 'ustar', or 'pax'. + # + # Substitute a variable $(am__tar) that is a command + # writing to stdout a FORMAT-tarball containing the directory +@@ -1388,75 +1410,114 @@ + # Substitute a variable $(am__untar) that extract such + # a tarball read from stdin. + # $(am__untar) < result.tar ++# + AC_DEFUN([_AM_PROG_TAR], +-[# Always define AMTAR for backward compatibility. +-AM_MISSING_PROG([AMTAR], [tar]) +-m4_if([$1], [v7], +- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], +- [m4_case([$1], [ustar],, [pax],, +- [m4_fatal([Unknown tar format])]) +-AC_MSG_CHECKING([how to create a $1 tar archive]) +-# Loop over all known methods to create a tar archive until one works. ++[# Always define AMTAR for backward compatibility. Yes, it's still used ++# in the wild :-( We should find a proper way to deprecate it ... ++AC_SUBST([AMTAR], ['$${TAR-tar}']) ++ ++# We'll loop over all known methods to create a tar archive until one works. + _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +-_am_tools=${am_cv_prog_tar_$1-$_am_tools} +-# Do not fold the above two line into one, because Tru64 sh and +-# Solaris sh will not grok spaces in the rhs of `-'. +-for _am_tool in $_am_tools +-do +- case $_am_tool in +- gnutar) +- for _am_tar in tar gnutar gtar; +- do +- AM_RUN_LOG([$_am_tar --version]) && break +- done +- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' +- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' +- am__untar="$_am_tar -xf -" +- ;; +- plaintar) +- # Must skip GNU tar: if it does not support --format= it doesn't create +- # ustar tarball either. +- (tar --version) >/dev/null 2>&1 && continue +- am__tar='tar chf - "$$tardir"' +- am__tar_='tar chf - "$tardir"' +- am__untar='tar xf -' +- ;; +- pax) +- am__tar='pax -L -x $1 -w "$$tardir"' +- am__tar_='pax -L -x $1 -w "$tardir"' +- am__untar='pax -r' +- ;; +- cpio) +- am__tar='find "$$tardir" -print | cpio -o -H $1 -L' +- am__tar_='find "$tardir" -print | cpio -o -H $1 -L' +- am__untar='cpio -i -H $1 -d' +- ;; +- none) +- am__tar=false +- am__tar_=false +- am__untar=false +- ;; +- esac + +- # If the value was cached, stop now. We just wanted to have am__tar +- # and am__untar set. +- test -n "${am_cv_prog_tar_$1}" && break ++m4_if([$1], [v7], ++ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + +- # tar/untar a dummy directory, and stop if the command works +- rm -rf conftest.dir +- mkdir conftest.dir +- echo GrepMe > conftest.dir/file +- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) ++ [m4_case([$1], ++ [ustar], ++ [# The POSIX 1988 'ustar' format is defined with fixed-size fields. ++ # There is notably a 21 bits limit for the UID and the GID. In fact, ++ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 ++ # and bug#13588). ++ am_max_uid=2097151 # 2^21 - 1 ++ am_max_gid=$am_max_uid ++ # The $UID and $GID variables are not portable, so we need to resort ++ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls ++ # below are definitely unexpected, so allow the users to see them ++ # (that is, avoid stderr redirection). ++ am_uid=`id -u || echo unknown` ++ am_gid=`id -g || echo unknown` ++ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) ++ if test $am_uid -le $am_max_uid; then ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ _am_tools=none ++ fi ++ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) ++ if test $am_gid -le $am_max_gid; then ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ _am_tools=none ++ fi], ++ ++ [pax], ++ [], ++ ++ [m4_fatal([Unknown tar format])]) ++ ++ AC_MSG_CHECKING([how to create a $1 tar archive]) ++ ++ # Go ahead even if we have the value already cached. We do so because we ++ # need to set the values for the 'am__tar' and 'am__untar' variables. ++ _am_tools=${am_cv_prog_tar_$1-$_am_tools} ++ ++ for _am_tool in $_am_tools; do ++ case $_am_tool in ++ gnutar) ++ for _am_tar in tar gnutar gtar; do ++ AM_RUN_LOG([$_am_tar --version]) && break ++ done ++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' ++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' ++ am__untar="$_am_tar -xf -" ++ ;; ++ plaintar) ++ # Must skip GNU tar: if it does not support --format= it doesn't create ++ # ustar tarball either. ++ (tar --version) >/dev/null 2>&1 && continue ++ am__tar='tar chf - "$$tardir"' ++ am__tar_='tar chf - "$tardir"' ++ am__untar='tar xf -' ++ ;; ++ pax) ++ am__tar='pax -L -x $1 -w "$$tardir"' ++ am__tar_='pax -L -x $1 -w "$tardir"' ++ am__untar='pax -r' ++ ;; ++ cpio) ++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' ++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' ++ am__untar='cpio -i -H $1 -d' ++ ;; ++ none) ++ am__tar=false ++ am__tar_=false ++ am__untar=false ++ ;; ++ esac ++ ++ # If the value was cached, stop now. We just wanted to have am__tar ++ # and am__untar set. ++ test -n "${am_cv_prog_tar_$1}" && break ++ ++ # tar/untar a dummy directory, and stop if the command works. ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ echo GrepMe > conftest.dir/file ++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) ++ rm -rf conftest.dir ++ if test -s conftest.tar; then ++ AM_RUN_LOG([$am__untar /dev/null 2>&1 && break ++ fi ++ done + rm -rf conftest.dir +- if test -s conftest.tar; then +- AM_RUN_LOG([$am__untar /dev/null 2>&1 && break +- fi +-done +-rm -rf conftest.dir + +-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +-AC_MSG_RESULT([$am_cv_prog_tar_$1])]) ++ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) ++ AC_MSG_RESULT([$am_cv_prog_tar_$1])]) ++ + AC_SUBST([am__tar]) + AC_SUBST([am__untar]) + ]) # _AM_PROG_TAR +diff -Nur m4-1.4.16.orig/autom4te.cache/output.0 m4-1.4.16/autom4te.cache/output.0 +--- m4-1.4.16.orig/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/autom4te.cache/output.0 2013-09-04 14:47:42.000000000 +0200 +@@ -0,0 +1,35907 @@ ++@%:@! /bin/sh ++@%:@ Guess values for system-dependent variables and create Makefiles. ++@%:@ Generated by GNU Autoconf 2.69 for GNU M4 1.4.16. ++@%:@ ++@%:@ Report bugs to . ++@%:@ ++@%:@ ++@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. ++@%:@ ++@%:@ ++@%:@ This configure script is free software; the Free Software Foundation ++@%:@ gives unlimited permission to copy, distribute and modify it. ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++# Use a proper internal environment variable to ensure we don't fall ++ # into an infinite loop, continuously re-executing ourselves. ++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then ++ _as_can_reexec=no; export _as_can_reexec; ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in @%:@ (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++as_fn_exit 255 ++ fi ++ # We don't want this to propagate to other subprocesses. ++ { _as_can_reexec=; unset _as_can_reexec;} ++if test "x$CONFIG_SHELL" = x; then ++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST ++else ++ case \`(set -o) 2>/dev/null\` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } ++ ++exitcode=0 ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++ ++else ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1 ++test -x / || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null; then : ++ as_have_required=yes ++else ++ as_have_required=no ++fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ++ ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ as_found=: ++ case $as_dir in @%:@( ++ /*) ++ for as_base in sh bash ksh sh5; do ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir/$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ break 2 ++fi ++fi ++ done;; ++ esac ++ as_found=false ++done ++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi; } ++IFS=$as_save_IFS ++ ++ ++ if test "x$CONFIG_SHELL" != x; then : ++ export CONFIG_SHELL ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in @%:@ (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 ++fi ++ ++ if test x$as_have_required = xno; then : ++ $as_echo "$0: This script requires a shell more modern than all" ++ $as_echo "$0: the shells that I found on your system." ++ if test x${ZSH_VERSION+set} = xset ; then ++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-m4@gnu.org ++$0: about your system, including any error possibly output ++$0: before this message. Then install a modern shell, or ++$0: manually run the script under such a shell if you do ++$0: have one." ++ fi ++ exit 1 ++fi ++fi ++fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ ++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have ++ # already done that, so ensure we don't try to do so again and fall ++ # in an infinite loop. This has already happened in practice. ++ _as_can_reexec=no; export _as_can_reexec ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++test -n "$DJDIR" || exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIB@&t@OBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++ ++# Identity of this package. ++PACKAGE_NAME='GNU M4' ++PACKAGE_TARNAME='m4' ++PACKAGE_VERSION='1.4.16' ++PACKAGE_STRING='GNU M4 1.4.16' ++PACKAGE_BUGREPORT='bug-m4@gnu.org' ++PACKAGE_URL='http://www.gnu.org/software/m4/' ++ ++ac_unique_file="src/m4.h" ++# Factoring default headers for most tests. ++ac_includes_default="\ ++#include ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif ++#ifdef STDC_HEADERS ++# include ++# include ++#else ++# ifdef HAVE_STDLIB_H ++# include ++# endif ++#endif ++#ifdef HAVE_STRING_H ++# if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++# include ++# endif ++# include ++#endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_INTTYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++#ifdef HAVE_UNISTD_H ++# include ++#endif" ++ ++gl_use_threads_default= ++ac_func_list= ++ac_header_list= ++gl_getopt_required=POSIX ++gl_getopt_required=POSIX ++ac_subst_vars='M4tests_LTLIBOBJS ++M4tests_LIBOBJS ++M4_LTLIBOBJS ++M4_LIBOBJS ++CONFIG_INCLUDE ++am__EXEEXT_FALSE ++am__EXEEXT_TRUE ++LTLIBOBJS ++LIB@&t@OBJS ++LIBTESTS_LIBDEPS ++LIBM4_LTLIBDEPS ++LIBM4_LIBDEPS ++abs_aux_dir ++POSIX_SPAWN_PORTED_FALSE ++POSIX_SPAWN_PORTED_TRUE ++INTL_MACOSX_LIBS ++NEXT_AS_FIRST_DIRECTIVE_LOCALE_H ++NEXT_LOCALE_H ++HAVE_XLOCALE_H ++REPLACE_DUPLOCALE ++REPLACE_SETLOCALE ++HAVE_DUPLOCALE ++GNULIB_DUPLOCALE ++GNULIB_SETLOCALE ++LOCALE_TR_UTF8 ++am__fastdepCXX_FALSE ++am__fastdepCXX_TRUE ++CXXDEPMODE ++ANSICXX_FALSE ++ANSICXX_TRUE ++CXXFLAGS ++ac_ct_CXX ++CXX ++CXX_CHOICE ++M4tests_WITNESS ++REPLACE_ISWCNTRL ++HAVE_WCTYPE_H ++NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H ++NEXT_WCTYPE_H ++HAVE_ISWCNTRL ++REPLACE_ISWBLANK ++HAVE_WCTRANS_T ++HAVE_WCTYPE_T ++HAVE_ISWBLANK ++GNULIB_TOWCTRANS ++GNULIB_WCTRANS ++GNULIB_ISWCTYPE ++GNULIB_WCTYPE ++GNULIB_ISWBLANK ++HAVE_WINT_T ++NEXT_AS_FIRST_DIRECTIVE_WCHAR_H ++NEXT_WCHAR_H ++HAVE_FEATURES_H ++HAVE_UNISTD_H ++NEXT_AS_FIRST_DIRECTIVE_UNISTD_H ++NEXT_UNISTD_H ++PTHREAD_H_DEFINES_STRUCT_TIMESPEC ++SYS_TIME_H_DEFINES_STRUCT_TIMESPEC ++TIME_H_DEFINES_STRUCT_TIMESPEC ++NEXT_AS_FIRST_DIRECTIVE_TIME_H ++NEXT_TIME_H ++REPLACE_TIMEGM ++REPLACE_NANOSLEEP ++REPLACE_MKTIME ++REPLACE_LOCALTIME_R ++HAVE_TIMEGM ++HAVE_STRPTIME ++HAVE_NANOSLEEP ++HAVE_DECL_LOCALTIME_R ++GNULIB_TIME_R ++GNULIB_TIMEGM ++GNULIB_STRPTIME ++GNULIB_NANOSLEEP ++GNULIB_MKTIME ++NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H ++NEXT_SYS_WAIT_H ++GNULIB_WAITPID ++NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H ++NEXT_SYS_STAT_H ++NEXT_AS_FIRST_DIRECTIVE_STRING_H ++NEXT_STRING_H ++NEXT_AS_FIRST_DIRECTIVE_STDLIB_H ++NEXT_STDLIB_H ++NEXT_AS_FIRST_DIRECTIVE_STDIO_H ++NEXT_STDIO_H ++STDINT_H ++WINT_T_SUFFIX ++WCHAR_T_SUFFIX ++SIG_ATOMIC_T_SUFFIX ++SIZE_T_SUFFIX ++PTRDIFF_T_SUFFIX ++HAVE_SIGNED_WINT_T ++HAVE_SIGNED_WCHAR_T ++HAVE_SIGNED_SIG_ATOMIC_T ++BITSIZEOF_WINT_T ++BITSIZEOF_WCHAR_T ++BITSIZEOF_SIG_ATOMIC_T ++BITSIZEOF_SIZE_T ++BITSIZEOF_PTRDIFF_T ++HAVE_SYS_BITYPES_H ++HAVE_SYS_INTTYPES_H ++HAVE_STDINT_H ++NEXT_AS_FIRST_DIRECTIVE_STDINT_H ++NEXT_STDINT_H ++HAVE_SYS_TYPES_H ++HAVE_INTTYPES_H ++HAVE_WCHAR_H ++HAVE_UNSIGNED_LONG_LONG_INT ++HAVE_LONG_LONG_INT ++NEXT_AS_FIRST_DIRECTIVE_STDDEF_H ++NEXT_STDDEF_H ++STDDEF_H ++HAVE_WCHAR_T ++REPLACE_NULL ++HAVE__BOOL ++STDBOOL_H ++NEXT_AS_FIRST_DIRECTIVE_STDARG_H ++NEXT_STDARG_H ++STDARG_H ++HAVE_SPAWN_H ++NEXT_AS_FIRST_DIRECTIVE_SPAWN_H ++NEXT_SPAWN_H ++NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H ++NEXT_SIGNAL_H ++HAVE_TYPE_VOLATILE_SIG_ATOMIC_T ++HAVE_STRUCT_SIGACTION_SA_SIGACTION ++HAVE_SIGACTION ++HAVE_SIGINFO_T ++HAVE_SIGSET_T ++HAVE_POSIX_SIGNALBLOCKING ++GNULIB_SIGACTION ++GNULIB_SIGPROCMASK ++GNULIB_SIGNAL_H_SIGPIPE ++SCHED_H ++HAVE_STRUCT_SCHED_PARAM ++HAVE_SCHED_H ++NEXT_AS_FIRST_DIRECTIVE_SCHED_H ++NEXT_SCHED_H ++REPLACE_POSIX_SPAWN ++HAVE_POSIX_SPAWN_FILE_ACTIONS_T ++HAVE_POSIX_SPAWNATTR_T ++HAVE_POSIX_SPAWN ++GNULIB_POSIX_SPAWNATTR_DESTROY ++GNULIB_POSIX_SPAWNATTR_SETSIGMASK ++GNULIB_POSIX_SPAWNATTR_GETSIGMASK ++GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT ++GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT ++GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY ++GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY ++GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM ++GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM ++GNULIB_POSIX_SPAWNATTR_SETPGROUP ++GNULIB_POSIX_SPAWNATTR_GETPGROUP ++GNULIB_POSIX_SPAWNATTR_SETFLAGS ++GNULIB_POSIX_SPAWNATTR_GETFLAGS ++GNULIB_POSIX_SPAWNATTR_INIT ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT ++GNULIB_POSIX_SPAWNP ++GNULIB_POSIX_SPAWN ++APPLE_UNIVERSAL_BUILD ++UNDEFINE_STRTOK_R ++REPLACE_STRTOK_R ++REPLACE_STRSIGNAL ++REPLACE_STRNLEN ++REPLACE_STRNDUP ++REPLACE_STRNCAT ++REPLACE_STRERROR_R ++REPLACE_STRERROR ++REPLACE_STRCASESTR ++REPLACE_STRSTR ++REPLACE_STRDUP ++REPLACE_STPNCPY ++REPLACE_MEMMEM ++REPLACE_MEMCHR ++HAVE_STRVERSCMP ++HAVE_DECL_STRSIGNAL ++HAVE_DECL_STRERROR_R ++HAVE_DECL_STRTOK_R ++HAVE_STRCASESTR ++HAVE_STRSEP ++HAVE_STRPBRK ++HAVE_DECL_STRNLEN ++HAVE_DECL_STRNDUP ++HAVE_DECL_STRDUP ++HAVE_STRCHRNUL ++HAVE_STPNCPY ++HAVE_STPCPY ++HAVE_RAWMEMCHR ++HAVE_DECL_MEMRCHR ++HAVE_MEMPCPY ++HAVE_DECL_MEMMEM ++HAVE_MEMCHR ++HAVE_MBSLEN ++GNULIB_STRVERSCMP ++GNULIB_STRSIGNAL ++GNULIB_STRERROR_R ++GNULIB_STRERROR ++GNULIB_MBSTOK_R ++GNULIB_MBSSEP ++GNULIB_MBSSPN ++GNULIB_MBSPBRK ++GNULIB_MBSCSPN ++GNULIB_MBSCASESTR ++GNULIB_MBSPCASECMP ++GNULIB_MBSNCASECMP ++GNULIB_MBSCASECMP ++GNULIB_MBSSTR ++GNULIB_MBSRCHR ++GNULIB_MBSCHR ++GNULIB_MBSNLEN ++GNULIB_MBSLEN ++GNULIB_STRTOK_R ++GNULIB_STRCASESTR ++GNULIB_STRSTR ++GNULIB_STRSEP ++GNULIB_STRPBRK ++GNULIB_STRNLEN ++GNULIB_STRNDUP ++GNULIB_STRNCAT ++GNULIB_STRDUP ++GNULIB_STRCHRNUL ++GNULIB_STPNCPY ++GNULIB_STPCPY ++GNULIB_RAWMEMCHR ++GNULIB_MEMRCHR ++GNULIB_MEMPCPY ++GNULIB_MEMMEM ++GNULIB_MEMCHR ++LOCALE_FR_UTF8 ++LOCALE_ZH_CN ++LOCALE_JA ++NEXT_AS_FIRST_DIRECTIVE_MATH_H ++NEXT_MATH_H ++REPLACE_UTIMENSAT ++REPLACE_STAT ++REPLACE_MKNOD ++REPLACE_MKFIFO ++REPLACE_MKDIR ++REPLACE_LSTAT ++REPLACE_FUTIMENS ++REPLACE_FSTATAT ++REPLACE_FSTAT ++HAVE_UTIMENSAT ++HAVE_MKNODAT ++HAVE_MKNOD ++HAVE_MKFIFOAT ++HAVE_MKFIFO ++HAVE_MKDIRAT ++HAVE_LSTAT ++HAVE_LCHMOD ++HAVE_FUTIMENS ++HAVE_FSTATAT ++HAVE_FCHMODAT ++GNULIB_UTIMENSAT ++GNULIB_STAT ++GNULIB_MKNODAT ++GNULIB_MKNOD ++GNULIB_MKFIFOAT ++GNULIB_MKFIFO ++GNULIB_MKDIRAT ++GNULIB_LSTAT ++GNULIB_LCHMOD ++GNULIB_FUTIMENS ++GNULIB_FSTATAT ++GNULIB_FCHMODAT ++LTLIBMULTITHREAD ++LIBMULTITHREAD ++LTLIBTHREAD ++LIBTHREAD ++LIBPTH_PREFIX ++LTLIBPTH ++LIBPTH ++LOCALCHARSET_TESTS_ENVIRONMENT ++GLIBC21 ++HAVE_LANGINFO_YESEXPR ++HAVE_LANGINFO_ERA ++HAVE_LANGINFO_T_FMT_AMPM ++HAVE_LANGINFO_CODESET ++HAVE_LANGINFO_H ++NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H ++NEXT_LANGINFO_H ++REPLACE_NL_LANGINFO ++HAVE_NL_LANGINFO ++GNULIB_NL_LANGINFO ++NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H ++NEXT_SYS_TIME_H ++REPLACE_GETTIMEOFDAY ++HAVE_SYS_TIME_H ++HAVE_STRUCT_TIMEVAL ++HAVE_GETTIMEOFDAY ++GNULIB_GETTIMEOFDAY ++LTLIBINTL ++LIBINTL ++GETOPT_H ++HAVE_GETOPT_H ++NEXT_AS_FIRST_DIRECTIVE_GETOPT_H ++NEXT_GETOPT_H ++REPLACE_TRUNCL ++REPLACE_TRUNCF ++REPLACE_TRUNC ++REPLACE_SIGNBIT_USING_GCC ++REPLACE_SIGNBIT ++REPLACE_ROUNDL ++REPLACE_ROUNDF ++REPLACE_ROUND ++REPLACE_NAN ++REPLACE_LDEXPL ++REPLACE_ISNAN ++REPLACE_ISINF ++REPLACE_ISFINITE ++REPLACE_HUGE_VAL ++REPLACE_FREXPL ++REPLACE_FREXP ++REPLACE_FLOORL ++REPLACE_FLOORF ++REPLACE_FLOOR ++REPLACE_CEILL ++REPLACE_CEILF ++REPLACE_CEIL ++HAVE_DECL_TRUNCL ++HAVE_DECL_TRUNCF ++HAVE_DECL_TRUNC ++HAVE_DECL_TANL ++HAVE_DECL_SQRTL ++HAVE_DECL_SINL ++HAVE_DECL_ROUNDL ++HAVE_DECL_ROUNDF ++HAVE_DECL_ROUND ++HAVE_DECL_LOGL ++HAVE_DECL_LOGB ++HAVE_DECL_LDEXPL ++HAVE_DECL_FREXPL ++HAVE_DECL_FLOORL ++HAVE_DECL_FLOORF ++HAVE_DECL_EXPL ++HAVE_DECL_COSL ++HAVE_DECL_CEILL ++HAVE_DECL_CEILF ++HAVE_DECL_ATANL ++HAVE_DECL_ASINL ++HAVE_DECL_ACOSL ++HAVE_TANL ++HAVE_SQRTL ++HAVE_SINL ++HAVE_LOGL ++HAVE_ISNANL ++HAVE_ISNAND ++HAVE_ISNANF ++HAVE_EXPL ++HAVE_COSL ++HAVE_ATANL ++HAVE_ASINL ++HAVE_ACOSL ++GNULIB_TRUNCL ++GNULIB_TRUNCF ++GNULIB_TRUNC ++GNULIB_TANL ++GNULIB_SQRTL ++GNULIB_SINL ++GNULIB_SIGNBIT ++GNULIB_ROUNDL ++GNULIB_ROUNDF ++GNULIB_ROUND ++GNULIB_LOGL ++GNULIB_LOGB ++GNULIB_LDEXPL ++GNULIB_ISNANL ++GNULIB_ISNAND ++GNULIB_ISNANF ++GNULIB_ISNAN ++GNULIB_ISINF ++GNULIB_ISFINITE ++GNULIB_FREXPL ++GNULIB_FREXP ++GNULIB_FLOORL ++GNULIB_FLOORF ++GNULIB_FLOOR ++GNULIB_EXPL ++GNULIB_COSL ++GNULIB_CEILL ++GNULIB_CEILF ++GNULIB_CEIL ++GNULIB_ATANL ++GNULIB_ASINL ++GNULIB_ACOSL ++FLOAT_H ++NEXT_AS_FIRST_DIRECTIVE_FLOAT_H ++NEXT_FLOAT_H ++NEXT_AS_FIRST_DIRECTIVE_FCNTL_H ++NEXT_FCNTL_H ++REPLACE_OPENAT ++REPLACE_OPEN ++REPLACE_FCNTL ++HAVE_OPENAT ++HAVE_FCNTL ++GNULIB_OPENAT ++GNULIB_OPEN ++GNULIB_FCNTL ++REPLACE_VSPRINTF ++REPLACE_VSNPRINTF ++REPLACE_VPRINTF ++REPLACE_VFPRINTF ++REPLACE_VDPRINTF ++REPLACE_VASPRINTF ++REPLACE_TMPFILE ++REPLACE_STDIO_WRITE_FUNCS ++REPLACE_SPRINTF ++REPLACE_SNPRINTF ++REPLACE_RENAMEAT ++REPLACE_RENAME ++REPLACE_REMOVE ++REPLACE_PRINTF ++REPLACE_POPEN ++REPLACE_PERROR ++REPLACE_OBSTACK_PRINTF ++REPLACE_GETLINE ++REPLACE_GETDELIM ++REPLACE_FTELLO ++REPLACE_FTELL ++REPLACE_FSEEKO ++REPLACE_FSEEK ++REPLACE_FREOPEN ++REPLACE_FPURGE ++REPLACE_FPRINTF ++REPLACE_FOPEN ++REPLACE_FFLUSH ++REPLACE_FCLOSE ++REPLACE_DPRINTF ++HAVE_VDPRINTF ++HAVE_VASPRINTF ++HAVE_RENAMEAT ++HAVE_FTELLO ++HAVE_FSEEKO ++HAVE_DPRINTF ++HAVE_DECL_VSNPRINTF ++HAVE_DECL_SNPRINTF ++HAVE_DECL_OBSTACK_PRINTF ++HAVE_DECL_GETLINE ++HAVE_DECL_GETDELIM ++HAVE_DECL_FTELLO ++HAVE_DECL_FSEEKO ++HAVE_DECL_FPURGE ++GNULIB_VSPRINTF_POSIX ++GNULIB_VSNPRINTF ++GNULIB_VPRINTF_POSIX ++GNULIB_VPRINTF ++GNULIB_VFPRINTF_POSIX ++GNULIB_VFPRINTF ++GNULIB_VDPRINTF ++GNULIB_VASPRINTF ++GNULIB_TMPFILE ++GNULIB_STDIO_H_SIGPIPE ++GNULIB_SPRINTF_POSIX ++GNULIB_SNPRINTF ++GNULIB_RENAMEAT ++GNULIB_RENAME ++GNULIB_REMOVE ++GNULIB_PUTS ++GNULIB_PUTCHAR ++GNULIB_PUTC ++GNULIB_PRINTF_POSIX ++GNULIB_PRINTF ++GNULIB_POPEN ++GNULIB_PERROR ++GNULIB_OBSTACK_PRINTF_POSIX ++GNULIB_OBSTACK_PRINTF ++GNULIB_GETLINE ++GNULIB_GETDELIM ++GNULIB_FWRITE ++GNULIB_FTELLO ++GNULIB_FTELL ++GNULIB_FSEEKO ++GNULIB_FSEEK ++GNULIB_FREOPEN ++GNULIB_FPUTS ++GNULIB_FPUTC ++GNULIB_FPURGE ++GNULIB_FPRINTF_POSIX ++GNULIB_FPRINTF ++GNULIB_FOPEN ++GNULIB_FFLUSH ++GNULIB_FCLOSE ++GNULIB_DPRINTF ++EOVERFLOW_VALUE ++EOVERFLOW_HIDDEN ++ENOLINK_VALUE ++ENOLINK_HIDDEN ++EMULTIHOP_VALUE ++EMULTIHOP_HIDDEN ++ERRNO_H ++NEXT_AS_FIRST_DIRECTIVE_ERRNO_H ++NEXT_ERRNO_H ++PRAGMA_COLUMNS ++PRAGMA_SYSTEM_HEADER ++INCLUDE_NEXT_AS_FIRST_DIRECTIVE ++INCLUDE_NEXT ++pkglibexecdir ++lispdir ++UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS ++UNISTD_H_HAVE_WINSOCK2_H ++REPLACE_WRITE ++REPLACE_USLEEP ++REPLACE_UNLINKAT ++REPLACE_UNLINK ++REPLACE_TTYNAME_R ++REPLACE_SYMLINK ++REPLACE_SLEEP ++REPLACE_RMDIR ++REPLACE_READLINK ++REPLACE_PWRITE ++REPLACE_PREAD ++REPLACE_LSEEK ++REPLACE_LINKAT ++REPLACE_LINK ++REPLACE_LCHOWN ++REPLACE_GETPAGESIZE ++REPLACE_GETGROUPS ++REPLACE_GETLOGIN_R ++REPLACE_GETDOMAINNAME ++REPLACE_GETCWD ++REPLACE_FCHOWNAT ++REPLACE_DUP2 ++REPLACE_DUP ++REPLACE_CLOSE ++REPLACE_CHOWN ++HAVE_SYS_PARAM_H ++HAVE_OS_H ++HAVE_DECL_TTYNAME_R ++HAVE_DECL_GETUSERSHELL ++HAVE_DECL_GETPAGESIZE ++HAVE_DECL_GETLOGIN_R ++HAVE_DECL_GETDOMAINNAME ++HAVE_DECL_FCHDIR ++HAVE_DECL_ENVIRON ++HAVE_USLEEP ++HAVE_UNLINKAT ++HAVE_SYMLINKAT ++HAVE_SYMLINK ++HAVE_SLEEP ++HAVE_READLINKAT ++HAVE_READLINK ++HAVE_PWRITE ++HAVE_PREAD ++HAVE_PIPE2 ++HAVE_PIPE ++HAVE_LINKAT ++HAVE_LINK ++HAVE_LCHOWN ++HAVE_GETPAGESIZE ++HAVE_GETLOGIN ++HAVE_GETHOSTNAME ++HAVE_GETGROUPS ++HAVE_GETDTABLESIZE ++HAVE_FTRUNCATE ++HAVE_FSYNC ++HAVE_FCHOWNAT ++HAVE_FCHDIR ++HAVE_FACCESSAT ++HAVE_EUIDACCESS ++HAVE_DUP3 ++HAVE_DUP2 ++HAVE_CHOWN ++GNULIB_WRITE ++GNULIB_USLEEP ++GNULIB_UNLINKAT ++GNULIB_UNLINK ++GNULIB_UNISTD_H_SIGPIPE ++GNULIB_UNISTD_H_GETOPT ++GNULIB_TTYNAME_R ++GNULIB_SYMLINKAT ++GNULIB_SYMLINK ++GNULIB_SLEEP ++GNULIB_RMDIR ++GNULIB_READLINKAT ++GNULIB_READLINK ++GNULIB_PWRITE ++GNULIB_PREAD ++GNULIB_PIPE2 ++GNULIB_PIPE ++GNULIB_LSEEK ++GNULIB_LINKAT ++GNULIB_LINK ++GNULIB_LCHOWN ++GNULIB_GETUSERSHELL ++GNULIB_GETPAGESIZE ++GNULIB_GETLOGIN_R ++GNULIB_GETLOGIN ++GNULIB_GETHOSTNAME ++GNULIB_GETGROUPS ++GNULIB_GETDTABLESIZE ++GNULIB_GETDOMAINNAME ++GNULIB_GETCWD ++GNULIB_FTRUNCATE ++GNULIB_FSYNC ++GNULIB_FCHOWNAT ++GNULIB_FCHDIR ++GNULIB_FACCESSAT ++GNULIB_EUIDACCESS ++GNULIB_ENVIRON ++GNULIB_DUP3 ++GNULIB_DUP2 ++GNULIB_CLOSE ++GNULIB_CHOWN ++REPLACE_WCTOMB ++REPLACE_UNSETENV ++REPLACE_STRTOD ++REPLACE_SETENV ++REPLACE_REALPATH ++REPLACE_REALLOC ++REPLACE_PUTENV ++REPLACE_MKSTEMP ++REPLACE_MBTOWC ++REPLACE_MALLOC ++REPLACE_CANONICALIZE_FILE_NAME ++REPLACE_CALLOC ++HAVE_DECL_UNSETENV ++HAVE_UNLOCKPT ++HAVE_SYS_LOADAVG_H ++HAVE_STRUCT_RANDOM_DATA ++HAVE_STRTOULL ++HAVE_STRTOLL ++HAVE_STRTOD ++HAVE_DECL_SETENV ++HAVE_SETENV ++HAVE_RPMATCH ++HAVE_REALPATH ++HAVE_RANDOM_R ++HAVE_RANDOM_H ++HAVE_PTSNAME ++HAVE_MKSTEMPS ++HAVE_MKSTEMP ++HAVE_MKOSTEMPS ++HAVE_MKOSTEMP ++HAVE_MKDTEMP ++HAVE_GRANTPT ++HAVE_GETSUBOPT ++HAVE_DECL_GETLOADAVG ++HAVE_CANONICALIZE_FILE_NAME ++HAVE_ATOLL ++HAVE__EXIT ++GNULIB_WCTOMB ++GNULIB_UNSETENV ++GNULIB_UNLOCKPT ++GNULIB_SYSTEM_POSIX ++GNULIB_STRTOULL ++GNULIB_STRTOLL ++GNULIB_STRTOD ++GNULIB_SETENV ++GNULIB_RPMATCH ++GNULIB_REALPATH ++GNULIB_REALLOC_POSIX ++GNULIB_RANDOM_R ++GNULIB_PUTENV ++GNULIB_PTSNAME ++GNULIB_MKSTEMPS ++GNULIB_MKSTEMP ++GNULIB_MKOSTEMPS ++GNULIB_MKOSTEMP ++GNULIB_MKDTEMP ++GNULIB_MBTOWC ++GNULIB_MALLOC_POSIX ++GNULIB_GRANTPT ++GNULIB_GETSUBOPT ++GNULIB_GETLOADAVG ++GNULIB_CANONICALIZE_FILE_NAME ++GNULIB_CALLOC_POSIX ++GNULIB_ATOLL ++GNULIB__EXIT ++LTLIBCSTACK ++LIBCSTACK ++LIBSIGSEGV_PREFIX ++LTLIBSIGSEGV ++LIBSIGSEGV ++HAVE_LIBSIGSEGV ++LOCALE_FR ++REPLACE_WCSWIDTH ++REPLACE_WCWIDTH ++REPLACE_WCSNRTOMBS ++REPLACE_WCSRTOMBS ++REPLACE_WCRTOMB ++REPLACE_MBSNRTOWCS ++REPLACE_MBSRTOWCS ++REPLACE_MBRLEN ++REPLACE_MBRTOWC ++REPLACE_MBSINIT ++REPLACE_WCTOB ++REPLACE_BTOWC ++REPLACE_MBSTATE_T ++HAVE_DECL_WCWIDTH ++HAVE_DECL_WCTOB ++HAVE_WCSWIDTH ++HAVE_WCSTOK ++HAVE_WCSSTR ++HAVE_WCSPBRK ++HAVE_WCSSPN ++HAVE_WCSCSPN ++HAVE_WCSRCHR ++HAVE_WCSCHR ++HAVE_WCSDUP ++HAVE_WCSXFRM ++HAVE_WCSCOLL ++HAVE_WCSNCASECMP ++HAVE_WCSCASECMP ++HAVE_WCSNCMP ++HAVE_WCSCMP ++HAVE_WCSNCAT ++HAVE_WCSCAT ++HAVE_WCPNCPY ++HAVE_WCSNCPY ++HAVE_WCPCPY ++HAVE_WCSCPY ++HAVE_WCSNLEN ++HAVE_WCSLEN ++HAVE_WMEMSET ++HAVE_WMEMMOVE ++HAVE_WMEMCPY ++HAVE_WMEMCMP ++HAVE_WMEMCHR ++HAVE_WCSNRTOMBS ++HAVE_WCSRTOMBS ++HAVE_WCRTOMB ++HAVE_MBSNRTOWCS ++HAVE_MBSRTOWCS ++HAVE_MBRLEN ++HAVE_MBRTOWC ++HAVE_MBSINIT ++HAVE_BTOWC ++GNULIB_WCSWIDTH ++GNULIB_WCSTOK ++GNULIB_WCSSTR ++GNULIB_WCSPBRK ++GNULIB_WCSSPN ++GNULIB_WCSCSPN ++GNULIB_WCSRCHR ++GNULIB_WCSCHR ++GNULIB_WCSDUP ++GNULIB_WCSXFRM ++GNULIB_WCSCOLL ++GNULIB_WCSNCASECMP ++GNULIB_WCSCASECMP ++GNULIB_WCSNCMP ++GNULIB_WCSCMP ++GNULIB_WCSNCAT ++GNULIB_WCSCAT ++GNULIB_WCPNCPY ++GNULIB_WCSNCPY ++GNULIB_WCPCPY ++GNULIB_WCSCPY ++GNULIB_WCSNLEN ++GNULIB_WCSLEN ++GNULIB_WMEMSET ++GNULIB_WMEMMOVE ++GNULIB_WMEMCPY ++GNULIB_WMEMCMP ++GNULIB_WMEMCHR ++GNULIB_WCWIDTH ++GNULIB_WCSNRTOMBS ++GNULIB_WCSRTOMBS ++GNULIB_WCRTOMB ++GNULIB_MBSNRTOWCS ++GNULIB_MBSRTOWCS ++GNULIB_MBRLEN ++GNULIB_MBRTOWC ++GNULIB_MBSINIT ++GNULIB_WCTOB ++GNULIB_BTOWC ++ALLOCA_H ++ALLOCA ++GL_COND_LIBTOOL_FALSE ++GL_COND_LIBTOOL_TRUE ++WARN_CFLAGS ++WERROR_CFLAGS ++EGREP ++GREP ++CPP ++host_os ++host_vendor ++host_cpu ++host ++build_os ++build_vendor ++build_cpu ++build ++RANLIB ++am__fastdepCC_FALSE ++am__fastdepCC_TRUE ++CCDEPMODE ++am__nodep ++AMDEPBACKSLASH ++AMDEP_FALSE ++AMDEP_TRUE ++am__quote ++am__include ++DEPDIR ++OBJEXT ++EXEEXT ++ac_ct_CC ++CPPFLAGS ++LDFLAGS ++CFLAGS ++CC ++AM_BACKSLASH ++AM_DEFAULT_VERBOSITY ++AM_DEFAULT_V ++AM_V ++am__untar ++am__tar ++AMTAR ++am__leading_dot ++SET_MAKE ++AWK ++mkdir_p ++MKDIR_P ++INSTALL_STRIP_PROGRAM ++STRIP ++install_sh ++MAKEINFO ++AUTOHEADER ++AUTOMAKE ++AUTOCONF ++ACLOCAL ++VERSION ++PACKAGE ++CYGPATH_W ++am__isrc ++INSTALL_DATA ++INSTALL_SCRIPT ++INSTALL_PROGRAM ++target_alias ++host_alias ++build_alias ++LIBS ++ECHO_T ++ECHO_N ++ECHO_C ++DEFS ++mandir ++localedir ++libdir ++psdir ++pdfdir ++dvidir ++htmldir ++infodir ++docdir ++oldincludedir ++includedir ++localstatedir ++sharedstatedir ++sysconfdir ++datadir ++datarootdir ++libexecdir ++sbindir ++bindir ++program_transform_name ++prefix ++exec_prefix ++PACKAGE_URL ++PACKAGE_BUGREPORT ++PACKAGE_STRING ++PACKAGE_VERSION ++PACKAGE_TARNAME ++PACKAGE_NAME ++PATH_SEPARATOR ++SHELL' ++ac_subst_files='' ++ac_user_opts=' ++enable_option_checking ++enable_silent_rules ++enable_dependency_tracking ++enable_threads ++enable_gcc_warnings ++enable_assert ++with_gnu_ld ++enable_rpath ++with_libsigsegv_prefix ++with_libpth_prefix ++enable_largefile ++with_included_regex ++with_packager ++with_packager_version ++with_packager_bug_reports ++enable_c__ ++enable_changeword ++with_syscmd_shell ++with_dmalloc ++' ++ ac_precious_vars='build_alias ++host_alias ++target_alias ++CC ++CFLAGS ++LDFLAGS ++LIBS ++CPPFLAGS ++CPP ++CXX ++CXXFLAGS' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++ac_unrecognized_opts= ++ac_unrecognized_sep= ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *=) ac_optarg= ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ # Accept the important Cygnus configure options, so we can diagnose typos. ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_optarg ;; ++ ++ -nfp | --nfp | --nf) ++ # Obsolete; use --without-fp. ++ with_fp=no ;; ++ ++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ++ | --no-cr | --no-c | -n) ++ no_create=yes ;; ++ ++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ++ no_recursion=yes ;; ++ ++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ++ | --oldin | --oldi | --old | --ol | --o) ++ ac_prev=oldincludedir ;; ++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ++ oldincludedir=$ac_optarg ;; ++ ++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ++ ac_prev=prefix ;; ++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ++ prefix=$ac_optarg ;; ++ ++ -program-prefix | --program-prefix | --program-prefi | --program-pref \ ++ | --program-pre | --program-pr | --program-p) ++ ac_prev=program_prefix ;; ++ -program-prefix=* | --program-prefix=* | --program-prefi=* \ ++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ++ program_prefix=$ac_optarg ;; ++ ++ -program-suffix | --program-suffix | --program-suffi | --program-suff \ ++ | --program-suf | --program-su | --program-s) ++ ac_prev=program_suffix ;; ++ -program-suffix=* | --program-suffix=* | --program-suffi=* \ ++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ++ program_suffix=$ac_optarg ;; ++ ++ -program-transform-name | --program-transform-name \ ++ | --program-transform-nam | --program-transform-na \ ++ | --program-transform-n | --program-transform- \ ++ | --program-transform | --program-transfor \ ++ | --program-transfo | --program-transf \ ++ | --program-trans | --program-tran \ ++ | --progr-tra | --program-tr | --program-t) ++ ac_prev=program_transform_name ;; ++ -program-transform-name=* | --program-transform-name=* \ ++ | --program-transform-nam=* | --program-transform-na=* \ ++ | --program-transform-n=* | --program-transform-=* \ ++ | --program-transform=* | --program-transfor=* \ ++ | --program-transfo=* | --program-transf=* \ ++ | --program-trans=* | --program-tran=* \ ++ | --progr-tra=* | --program-tr=* | --program-t=*) ++ program_transform_name=$ac_optarg ;; ++ ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ++ ac_prev=pdfdir ;; ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ++ pdfdir=$ac_optarg ;; ++ ++ -psdir | --psdir | --psdi | --psd | --ps) ++ ac_prev=psdir ;; ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ++ psdir=$ac_optarg ;; ++ ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ silent=yes ;; ++ ++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ++ ac_prev=sbindir ;; ++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ++ | --sbi=* | --sb=*) ++ sbindir=$ac_optarg ;; ++ ++ -sharedstatedir | --sharedstatedir | --sharedstatedi \ ++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ++ | --sharedst | --shareds | --shared | --share | --shar \ ++ | --sha | --sh) ++ ac_prev=sharedstatedir ;; ++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ++ | --sha=* | --sh=*) ++ sharedstatedir=$ac_optarg ;; ++ ++ -site | --site | --sit) ++ ac_prev=site ;; ++ -site=* | --site=* | --sit=*) ++ site=$ac_optarg ;; ++ ++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ++ ac_prev=srcdir ;; ++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ++ srcdir=$ac_optarg ;; ++ ++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ++ | --syscon | --sysco | --sysc | --sys | --sy) ++ ac_prev=sysconfdir ;; ++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ++ sysconfdir=$ac_optarg ;; ++ ++ -target | --target | --targe | --targ | --tar | --ta | --t) ++ ac_prev=target_alias ;; ++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ++ target_alias=$ac_optarg ;; ++ ++ -v | -verbose | --verbose | --verbos | --verbo | --verb) ++ verbose=yes ;; ++ ++ -version | --version | --versio | --versi | --vers | -V) ++ ac_init_version=: ;; ++ ++ -with-* | --with-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=\$ac_optarg ;; ++ ++ -without-* | --without-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=no ;; ++ ++ --x) ++ # Obsolete; use --with-x. ++ with_x=yes ;; ++ ++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ++ | --x-incl | --x-inc | --x-in | --x-i) ++ ac_prev=x_includes ;; ++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ++ x_includes=$ac_optarg ;; ++ ++ -x-libraries | --x-libraries | --x-librarie | --x-librari \ ++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ++ ac_prev=x_libraries ;; ++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ++ x_libraries=$ac_optarg ;; ++ ++ -*) as_fn_error $? "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information" ++ ;; ++ ++ *=*) ++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ++ # Reject names that are not valid shell variable names. ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; ++ esac ++ eval $ac_envvar=\$ac_optarg ++ export $ac_envvar ;; ++ ++ *) ++ # FIXME: should be removed in autoconf 3.0. ++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ++ ;; ++ ++ esac ++done ++ ++if test -n "$ac_prev"; then ++ ac_option=--`echo $ac_prev | sed 's/_/-/g'` ++ as_fn_error $? "missing argument to $ac_option" ++fi ++ ++if test -n "$ac_unrecognized_opts"; then ++ case $enable_option_checking in ++ no) ;; ++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; ++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ esac ++fi ++ ++# Check all directory arguments for consistency. ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ++ datadir sysconfdir sharedstatedir localstatedir includedir \ ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ++ libdir localedir mandir ++do ++ eval ac_val=\$$ac_var ++ # Remove trailing slashes. ++ case $ac_val in ++ */ ) ++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ++ eval $ac_var=\$ac_val;; ++ esac ++ # Be sure to have absolute directory names. ++ case $ac_val in ++ [\\/$]* | ?:[\\/]* ) continue;; ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ++ esac ++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" ++done ++ ++# There might be people who depend on the old broken behavior: `$host' ++# used to hold the argument of --host etc. ++# FIXME: To remove some day. ++build=$build_alias ++host=$host_alias ++target=$target_alias ++ ++# FIXME: To remove some day. ++if test "x$host_alias" != x; then ++ if test "x$build_alias" = x; then ++ cross_compiling=maybe ++ elif test "x$build_alias" != "x$host_alias"; then ++ cross_compiling=yes ++ fi ++fi ++ ++ac_tool_prefix= ++test -n "$host_alias" && ac_tool_prefix=$host_alias- ++ ++test "$silent" = yes && exec 6>/dev/null ++ ++ ++ac_pwd=`pwd` && test -n "$ac_pwd" && ++ac_ls_di=`ls -di .` && ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ++ as_fn_error $? "working directory cannot be determined" ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ++ as_fn_error $? "pwd does not report name of working directory" ++ ++ ++# Find the source files, if location was not specified. ++if test -z "$srcdir"; then ++ ac_srcdir_defaulted=yes ++ # Try the directory containing this script, then the parent directory. ++ ac_confdir=`$as_dirname -- "$as_myself" || ++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_myself" : 'X\(//\)[^/]' \| \ ++ X"$as_myself" : 'X\(//\)$' \| \ ++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_myself" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ srcdir=$ac_confdir ++ if test ! -r "$srcdir/$ac_unique_file"; then ++ srcdir=.. ++ fi ++else ++ ac_srcdir_defaulted=no ++fi ++if test ! -r "$srcdir/$ac_unique_file"; then ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" ++fi ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ++ac_abs_confdir=`( ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" ++ pwd)` ++# When building in place, set srcdir=. ++if test "$ac_abs_confdir" = "$ac_pwd"; then ++ srcdir=. ++fi ++# Remove unnecessary trailing slashes from srcdir. ++# Double slashes in file names in object file debugging info ++# mess up M-x gdb in Emacs. ++case $srcdir in ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ++esac ++for ac_var in $ac_precious_vars; do ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_env_${ac_var}_value=\$${ac_var} ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} ++done ++ ++# ++# Report the --help message. ++# ++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 GNU M4 1.4.16 to adapt to many kinds of systems. ++ ++Usage: $0 [OPTION]... [VAR=VALUE]... ++ ++To assign environment variables (e.g., CC, CFLAGS...), specify them as ++VAR=VALUE. See below for descriptions of some of the useful variables. ++ ++Defaults for the options are specified in brackets. ++ ++Configuration: ++ -h, --help display this help and exit ++ --help=short display options specific to this package ++ --help=recursive display the short help of all the included packages ++ -V, --version display version information and exit ++ -q, --quiet, --silent do not print \`checking ...' messages ++ --cache-file=FILE cache test results in FILE [disabled] ++ -C, --config-cache alias for \`--cache-file=config.cache' ++ -n, --no-create do not create output files ++ --srcdir=DIR find the sources in DIR [configure dir or \`..'] ++ ++Installation directories: ++ --prefix=PREFIX install architecture-independent files in PREFIX ++ @<:@@S|@ac_default_prefix@:>@ ++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ++ @<:@PREFIX@:>@ ++ ++By default, \`make install' will install all the files in ++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ++an installation prefix other than \`$ac_default_prefix' using \`--prefix', ++for instance \`--prefix=\$HOME'. ++ ++For better control, use the options below. ++ ++Fine tuning of the installation directories: ++ --bindir=DIR user executables [EPREFIX/bin] ++ --sbindir=DIR system admin executables [EPREFIX/sbin] ++ --libexecdir=DIR program executables [EPREFIX/libexec] ++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --libdir=DIR object code libraries [EPREFIX/lib] ++ --includedir=DIR C header files [PREFIX/include] ++ --oldincludedir=DIR C header files for non-gcc [/usr/include] ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ++ --infodir=DIR info documentation [DATAROOTDIR/info] ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ++ --mandir=DIR man documentation [DATAROOTDIR/man] ++ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/m4@:>@ ++ --htmldir=DIR html documentation [DOCDIR] ++ --dvidir=DIR dvi documentation [DOCDIR] ++ --pdfdir=DIR pdf documentation [DOCDIR] ++ --psdir=DIR ps documentation [DOCDIR] ++_ACEOF ++ ++ cat <<\_ACEOF ++ ++Program names: ++ --program-prefix=PREFIX prepend PREFIX to installed program names ++ --program-suffix=SUFFIX append SUFFIX to installed program names ++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names ++ ++System types: ++ --build=BUILD configure for building on BUILD [guessed] ++ --host=HOST cross-compile to build programs to run on HOST [BUILD] ++_ACEOF ++fi ++ ++if test -n "$ac_init_help"; then ++ case $ac_init_help in ++ short | recursive ) echo "Configuration of GNU M4 1.4.16:";; ++ esac ++ cat <<\_ACEOF ++ ++Optional Features: ++ --disable-option-checking ignore unrecognized --enable/--with options ++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ++ --enable-silent-rules less verbose build output (undo: "make V=1") ++ --disable-silent-rules verbose build output (undo: "make V=0") ++ --enable-dependency-tracking ++ do not reject slow dependency extractors ++ --disable-dependency-tracking ++ speeds up one-time build ++ --enable-threads={posix|solaris|pth|win32} ++ specify multithreading API ++ --disable-threads build without multithread safety ++ --enable-gcc-warnings turn on lots of GCC warnings (for developers) ++ --disable-assert turn off assertions ++ --disable-rpath do not hardcode runtime library paths ++ --disable-largefile omit support for large files ++ --enable-c++ also build C++ sources ++ --enable-changeword enable -W and changeword() builtin ++ ++Optional Packages: ++ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ++ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ++ --with-gnu-ld assume the C compiler uses GNU ld default=no ++ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib ++ --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir ++ --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib ++ --without-libpth-prefix don't search for libpth in includedir and libdir ++ --without-included-regex ++ don't compile regex; this is the default on systems ++ with recent-enough versions of the GNU C Library ++ (use with caution on other systems). ++ --with-packager String identifying the packager of this software ++ --with-packager-version Packager-specific version information ++ --with-packager-bug-reports ++ Packager info for bug reports (URL/e-mail/...) ++ --with-syscmd-shell shell used by syscmd @<:@/bin/sh@:>@ ++ --with-dmalloc use dmalloc, as in dmalloc.tar.gz from ++ @/ftp.antaire.com:antaire/src/dmalloc. ++ ++Some influential environment variables: ++ CC C compiler command ++ CFLAGS C compiler flags ++ LDFLAGS linker flags, e.g. -L if you have libraries in a ++ nonstandard directory ++ LIBS libraries to pass to the linker, e.g. -l ++ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if ++ you have headers in a nonstandard directory ++ CPP C preprocessor ++ CXX C++ compiler command ++ CXXFLAGS C++ compiler flags ++ ++Use these variables to override the choices made by `configure' or to help ++it to find libraries and programs with nonstandard names/locations. ++ ++Report bugs to . ++GNU M4 home page: . ++General help using GNU software: . ++_ACEOF ++ac_status=$? ++fi ++ ++if test "$ac_init_help" = "recursive"; then ++ # If there are subdirs, report their specific --help. ++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ++ test -d "$ac_dir" || ++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ++ continue ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ cd "$ac_dir" || { ac_status=$?; continue; } ++ # Check for guested configure. ++ if test -f "$ac_srcdir/configure.gnu"; then ++ echo && ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive ++ elif test -f "$ac_srcdir/configure"; then ++ echo && ++ $SHELL "$ac_srcdir/configure" --help=recursive ++ else ++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ fi || ac_status=$? ++ cd "$ac_pwd" || { ac_status=$?; break; } ++ done ++fi ++ ++test -n "$ac_init_help" && exit $ac_status ++if $ac_init_version; then ++ cat <<\_ACEOF ++GNU M4 configure 1.4.16 ++generated by GNU Autoconf 2.69 ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This configure script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it. ++_ACEOF ++ exit ++fi ++ ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++@%:@ ac_fn_c_try_compile LINENO ++@%:@ -------------------------- ++@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext ++ if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_compile ++ ++@%:@ ac_fn_c_try_cpp LINENO ++@%:@ ---------------------- ++@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } > conftest.i && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_cpp ++ ++@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using ++@%:@ the include files in INCLUDES and setting the cache variable VAR ++@%:@ accordingly. ++ac_fn_c_check_header_mongrel () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if eval \${$3+:} false; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ++$as_echo_n "checking $2 usability... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_header_compiler=yes ++else ++ ac_header_compiler=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ++$as_echo_n "checking $2 presence... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ac_header_preproc=yes ++else ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( ++ yes:no: ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++( $as_echo "## ----------------------------- ## ++## Report this to bug-m4@gnu.org ## ++## ----------------------------- ##" ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=\$ac_header_compiler" ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_header_mongrel ++ ++@%:@ ac_fn_c_try_run LINENO ++@%:@ ---------------------- ++@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes ++@%:@ that executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_run ++ ++@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists and can be compiled using the include files in ++@%:@ INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_header_compile ++ ++@%:@ ac_fn_c_try_link LINENO ++@%:@ ----------------------- ++@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ test -x conftest$ac_exeext ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_link ++ ++@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++@%:@ ------------------------------------------- ++@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache ++@%:@ variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_type ++ ++@%:@ ac_fn_c_check_func LINENO FUNC VAR ++@%:@ ---------------------------------- ++@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main () ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_func ++ ++@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES ++@%:@ --------------------------------------------- ++@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR ++@%:@ accordingly. ++ac_fn_c_check_decl () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ as_decl_name=`echo $2|sed 's/ *(.*//'` ++ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 ++$as_echo_n "checking whether $as_decl_name is declared... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++@%:@ifndef $as_decl_name ++@%:@ifdef __cplusplus ++ (void) $as_decl_use; ++@%:@else ++ (void) $as_decl_name; ++@%:@endif ++@%:@endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_decl ++ ++@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES ++@%:@ -------------------------------------------- ++@%:@ Tries to find the compile-time value of EXPR in a program that includes ++@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be ++@%:@ computed ++ac_fn_c_compute_int () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid; break ++else ++ as_fn_arith $ac_mid + 1 && ac_lo=$as_val ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=$ac_mid; break ++else ++ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ ac_lo= ac_hi= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid ++else ++ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in @%:@(( ++?*) eval "$3=\$ac_lo"; ac_retval=0 ;; ++'') ac_retval=1 ;; ++esac ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++static long int longval () { return $2; } ++static unsigned long int ulongval () { return $2; } ++@%:@include ++@%:@include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (($2) < 0) ++ { ++ long int i = longval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ echo >>conftest.val; read $3 &5 ++$as_echo_n "checking for $2.$3... " >&6; } ++if eval \${$4+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (sizeof ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ eval "$4=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$4 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_member ++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 GNU M4 $as_me 1.4.16, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ $ $0 $@ ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ $as_echo "## ---------------- ## ++## Cache variables. ## ++## ---------------- ##" ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ $as_echo "## ----------------- ## ++## Output variables. ## ++## ----------------- ##" ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ $as_echo "## ------------------- ## ++## File substitutions. ## ++## ------------------- ##" ++ echo ++ for ac_var in $ac_subst_files ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ fi ++ ++ if test -s confdefs.h; then ++ $as_echo "## ----------- ## ++## confdefs.h. ## ++## ----------- ##" ++ echo ++ cat confdefs.h ++ echo ++ fi ++ test "$ac_signal" != 0 && ++ $as_echo "$as_me: caught signal $ac_signal" ++ $as_echo "$as_me: exit $exit_status" ++ } >&5 ++ rm -f core *.core core.conftest.* && ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ++ exit $exit_status ++' 0 ++for ac_signal in 1 2 13 15; do ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++done ++ac_signal=0 ++ ++# confdefs.h avoids OS command line length limits that DEFS can exceed. ++rm -f -r conftest* confdefs.h ++ ++$as_echo "/* confdefs.h */" > confdefs.h ++ ++# Predefined preprocessor variables. ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_NAME "$PACKAGE_NAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_STRING "$PACKAGE_STRING" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_URL "$PACKAGE_URL" ++_ACEOF ++ ++ ++# Let the site file select an alternate cache file if it wants to. ++# Prefer an explicitly selected file to automatically selected ones. ++ac_site_file1=NONE ++ac_site_file2=NONE ++if test -n "$CONFIG_SITE"; then ++ # We do not want a PATH search for config.site. ++ case $CONFIG_SITE in @%:@(( ++ -*) ac_site_file1=./$CONFIG_SITE;; ++ */*) ac_site_file1=$CONFIG_SITE;; ++ *) ac_site_file1=./$CONFIG_SITE;; ++ esac ++elif test "x$prefix" != xNONE; then ++ ac_site_file1=$prefix/share/config.site ++ ac_site_file2=$prefix/etc/config.site ++else ++ ac_site_file1=$ac_default_prefix/share/config.site ++ ac_site_file2=$ac_default_prefix/etc/config.site ++fi ++for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++do ++ test "x$ac_site_file" = xNONE && continue ++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++$as_echo "$as_me: loading site script $ac_site_file" >&6;} ++ sed 's/^/| /' "$ac_site_file" >&5 ++ . "$ac_site_file" \ ++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "failed to load site script $ac_site_file ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++done ++ ++if test -r "$cache_file"; then ++ # Some versions of bash will fail to source /dev/null (special files ++ # actually), so we avoid doing that. DJGPP emulates it as a regular file. ++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++$as_echo "$as_me: loading cache $cache_file" >&6;} ++ case $cache_file in ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; ++ *) . "./$cache_file";; ++ esac ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++$as_echo "$as_me: creating cache $cache_file" >&6;} ++ >$cache_file ++fi ++ ++gl_use_threads_default=no ++as_fn_append ac_func_list " btowc" ++as_fn_append ac_func_list " setrlimit" ++as_fn_append ac_header_list " ucontext.h" ++as_fn_append ac_func_list " sigaltstack" ++as_fn_append ac_header_list " unistd.h" ++as_fn_append ac_func_list " canonicalize_file_name" ++as_fn_append ac_func_list " getcwd" ++as_fn_append ac_func_list " readlink" ++as_fn_append ac_func_list " realpath" ++as_fn_append ac_header_list " sys/param.h" ++as_fn_append ac_func_list " dup2" ++as_fn_append ac_func_list " fcntl" ++as_fn_append ac_func_list " mempcpy" ++as_fn_append ac_header_list " stdio_ext.h" ++as_fn_append ac_func_list " __fpending" ++as_fn_append ac_func_list " fpurge" ++as_fn_append ac_func_list " __fpurge" ++as_fn_append ac_func_list " __freading" ++as_fn_append ac_func_list " getdtablesize" ++gl_getopt_required=GNU ++as_fn_append ac_header_list " getopt.h" ++as_fn_append ac_header_list " sys/time.h" ++as_fn_append ac_func_list " gettimeofday" ++as_fn_append ac_header_list " langinfo.h" ++as_fn_append ac_func_list " lstat" ++as_fn_append ac_header_list " math.h" ++as_fn_append ac_func_list " mbsinit" ++as_fn_append ac_func_list " mbrtowc" ++as_fn_append ac_header_list " sys/mman.h" ++as_fn_append ac_func_list " mprotect" ++as_fn_append ac_func_list " memchr" ++as_fn_append ac_func_list " mkstemp" ++as_fn_append ac_func_list " nl_langinfo" ++as_fn_append ac_func_list " pathconf" ++as_fn_append ac_func_list " pipe2" ++as_fn_append ac_func_list " posix_spawn" ++gl_printf_safe=yes ++as_fn_append ac_func_list " isblank" ++as_fn_append ac_func_list " iswctype" ++as_fn_append ac_func_list " wcscoll" ++as_fn_append ac_header_list " sched.h" ++as_fn_append ac_func_list " sigaction" ++as_fn_append ac_func_list " siginterrupt" ++as_fn_append ac_header_list " spawn.h" ++as_fn_append ac_header_list " wchar.h" ++as_fn_append ac_header_list " stdint.h" ++as_fn_append ac_header_list " sys/socket.h" ++as_fn_append ac_func_list " strndup" ++as_fn_append ac_header_list " sys/stat.h" ++as_fn_append ac_header_list " sys/wait.h" ++as_fn_append ac_func_list " pipe" ++as_fn_append ac_func_list " vasnprintf" ++as_fn_append ac_header_list " features.h" ++as_fn_append ac_func_list " wcrtomb" ++as_fn_append ac_func_list " iswcntrl" ++as_fn_append ac_header_list " wctype.h" ++as_fn_append ac_func_list " link" ++as_fn_append ac_header_list " xlocale.h" ++as_fn_append ac_func_list " newlocale" ++as_fn_append ac_func_list " setenv" ++as_fn_append ac_func_list " strdup" ++as_fn_append ac_func_list " symlink" ++as_fn_append ac_func_list " wctob" ++# Check that the precious variables saved in the cache have kept the same ++# value. ++ac_cache_corrupted=false ++for ac_var in $ac_precious_vars; do ++ eval ac_old_set=\$ac_cv_env_${ac_var}_set ++ eval ac_new_set=\$ac_env_${ac_var}_set ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value ++ eval ac_new_val=\$ac_env_${ac_var}_value ++ case $ac_old_set,$ac_new_set in ++ set,) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,set) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,);; ++ *) ++ if test "x$ac_old_val" != "x$ac_new_val"; then ++ # differences in whitespace do not lead to failure. ++ ac_old_val_w=`echo x $ac_old_val` ++ ac_new_val_w=`echo x $ac_new_val` ++ if test "$ac_old_val_w" != "$ac_new_val_w"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ ac_cache_corrupted=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ eval $ac_var=\$ac_old_val ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ++ fi;; ++ esac ++ # Pass precious variables to config.status. ++ if test "$ac_new_set" = set; then ++ case $ac_new_val in ++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *) ac_arg=$ac_var=$ac_new_val ;; ++ esac ++ case " $ac_configure_args " in ++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ esac ++ fi ++done ++if $ac_cache_corrupted; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++fi ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ac_aux_dir= ++for ac_dir in build-aux "$srcdir"/build-aux; do ++ if test -f "$ac_dir/install-sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install-sh -c" ++ break ++ elif test -f "$ac_dir/install.sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install.sh -c" ++ break ++ elif test -f "$ac_dir/shtool"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/shtool install -c" ++ break ++ fi ++done ++if test -z "$ac_aux_dir"; then ++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 ++fi ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ++ ++ ++ ++am__api_version='1.13' ++ ++# Find a good install program. We prefer a C program (faster), ++# so one script is as good as another. But avoid the broken or ++# incompatible versions: ++# SysV /etc/install, /usr/sbin/install ++# SunOS /usr/etc/install ++# IRIX /sbin/install ++# AIX /bin/install ++# AmigaOS /C/install, which installs bootblocks on floppy discs ++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag ++# AFS /usr/afsws/bin/install, which mishandles nonexistent args ++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" ++# OS/2's system install, which has a completely different semantic ++# ./install, which can be erroneously created by make from ./install.sh. ++# Reject install programs that cannot install multiple files. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 ++$as_echo_n "checking for a BSD-compatible install... " >&6; } ++if test -z "$INSTALL"; then ++if ${ac_cv_path_install+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ # Account for people who put trailing slashes in PATH elements. ++case $as_dir/ in @%:@(( ++ ./ | .// | /[cC]/* | \ ++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ ++ /usr/ucb/* ) ;; ++ *) ++ # OSF1 and SCO ODT 3.0 have their own names for install. ++ # Don't use installbsd from OSF since it installs stuff as root ++ # by default. ++ for ac_prog in ginstall scoinst install; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then ++ if test $ac_prog = install && ++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # AIX install. It has an incompatible calling convention. ++ : ++ elif test $ac_prog = install && ++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # program-specific install script used by HP pwplus--don't use. ++ : ++ else ++ rm -rf conftest.one conftest.two conftest.dir ++ echo one > conftest.one ++ echo two > conftest.two ++ mkdir conftest.dir ++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && ++ test -s conftest.one && test -s conftest.two && ++ test -s conftest.dir/conftest.one && ++ test -s conftest.dir/conftest.two ++ then ++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" ++ break 3 ++ fi ++ fi ++ fi ++ done ++ done ++ ;; ++esac ++ ++ done ++IFS=$as_save_IFS ++ ++rm -rf conftest.one conftest.two conftest.dir ++ ++fi ++ if test "${ac_cv_path_install+set}" = set; then ++ INSTALL=$ac_cv_path_install ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for INSTALL within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ INSTALL=$ac_install_sh ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 ++$as_echo "$INSTALL" >&6; } ++ ++# Use test -z because SunOS4 sh mishandles braces in ${var-val}. ++# It thinks the first close brace ends the variable substitution. ++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' ++ ++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' ++ ++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 ++$as_echo_n "checking whether build environment is sane... " >&6; } ++# Reject unsafe characters in $srcdir or the absolute working directory ++# name. Accept space and tab only in the latter. ++am_lf=' ++' ++case `pwd` in ++ *[\\\"\#\$\&\'\`$am_lf]*) ++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; ++esac ++case $srcdir in ++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) ++ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; ++esac ++ ++# Do 'set' in a subshell so we don't clobber the current shell's ++# arguments. Must try -L first in case configure is actually a ++# symlink; some systems play weird games with the mod time of symlinks ++# (eg FreeBSD returns the mod time of the symlink's containing ++# directory). ++if ( ++ am_has_slept=no ++ for am_try in 1 2; do ++ echo "timestamp, slept: $am_has_slept" > conftest.file ++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ if test "$*" = "X"; then ++ # -L didn't work. ++ set X `ls -t "$srcdir/configure" conftest.file` ++ fi ++ if test "$*" != "X $srcdir/configure conftest.file" \ ++ && test "$*" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken ++ alias in your environment" "$LINENO" 5 ++ fi ++ if test "$2" = conftest.file || test $am_try -eq 2; then ++ break ++ fi ++ # Just in case. ++ sleep 1 ++ am_has_slept=yes ++ done ++ test "$2" = conftest.file ++ ) ++then ++ # Ok. ++ : ++else ++ as_fn_error $? "newly created file is older than distributed files! ++Check your system clock" "$LINENO" 5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++# If we didn't sleep, we still need to ensure time stamps of config.status and ++# generated files are strictly newer. ++am_sleep_pid= ++if grep 'slept: no' conftest.file >/dev/null 2>&1; then ++ ( sleep 1 ) & ++ am_sleep_pid=$! ++fi ++ ++rm -f conftest.file ++ ++test "$program_prefix" != NONE && ++ program_transform_name="s&^&$program_prefix&;$program_transform_name" ++# Use a double $ so make ignores it. ++test "$program_suffix" != NONE && ++ program_transform_name="s&\$&$program_suffix&;$program_transform_name" ++# Double any \ or $. ++# By default was `s,x,x', remove it if useless. ++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' ++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` ++ ++# expand $ac_aux_dir to an absolute path ++am_aux_dir=`cd $ac_aux_dir && pwd` ++ ++if test x"${MISSING+set}" != xset; then ++ case $am_aux_dir in ++ *\ * | *\ *) ++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ++ *) ++ MISSING="\${SHELL} $am_aux_dir/missing" ;; ++ esac ++fi ++# Use eval to expand $SHELL ++if eval "$MISSING --is-lightweight"; then ++ am_missing_run="$MISSING " ++else ++ am_missing_run= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 ++$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} ++fi ++ ++if test x"${install_sh}" != xset; then ++ case $am_aux_dir in ++ *\ * | *\ *) ++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; ++ *) ++ install_sh="\${SHELL} $am_aux_dir/install-sh" ++ esac ++fi ++ ++# Installed binaries are usually stripped using 'strip' when the user ++# run "make install-strip". However 'strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the 'STRIP' environment variable to overrule this program. ++if test "$cross_compiling" != no; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_STRIP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_STRIP="${ac_tool_prefix}strip" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_STRIP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_STRIP="strip" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 ++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } ++if test -z "$MKDIR_P"; then ++ if ${ac_cv_path_mkdir+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in mkdir gmkdir; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue ++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( ++ 'mkdir (GNU coreutils) '* | \ ++ 'mkdir (coreutils) '* | \ ++ 'mkdir (fileutils) '4.1*) ++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext ++ break 3;; ++ esac ++ done ++ done ++ done ++IFS=$as_save_IFS ++ ++fi ++ ++ test -d ./--version && rmdir ./--version ++ if test "${ac_cv_path_mkdir+set}" = set; then ++ MKDIR_P="$ac_cv_path_mkdir -p" ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for MKDIR_P within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ MKDIR_P="$ac_install_sh -d" ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 ++$as_echo "$MKDIR_P" >&6; } ++ ++ ++for ac_prog in gawk mawk nawk awk ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_AWK+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AWK"; then ++ ac_cv_prog_AWK="$AWK" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_AWK="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++AWK=$ac_cv_prog_AWK ++if test -n "$AWK"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++$as_echo "$AWK" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$AWK" && break ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 ++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } ++set x ${MAKE-make} ++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.make <<\_ACEOF ++SHELL = /bin/sh ++all: ++ @echo '@@@%%%=$(MAKE)=@@@%%%' ++_ACEOF ++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. ++case `${MAKE-make} -f conftest.make 2>/dev/null` in ++ *@@@%%%=?*=@@@%%%*) ++ eval ac_cv_prog_make_${ac_make}_set=yes;; ++ *) ++ eval ac_cv_prog_make_${ac_make}_set=no;; ++esac ++rm -f conftest.make ++fi ++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ SET_MAKE= ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ SET_MAKE="MAKE=${MAKE-make}" ++fi ++ ++rm -rf .tst 2>/dev/null ++mkdir .tst 2>/dev/null ++if test -d .tst; then ++ am__leading_dot=. ++else ++ am__leading_dot=_ ++fi ++rmdir .tst 2>/dev/null ++ ++@%:@ Check whether --enable-silent-rules was given. ++if test "${enable_silent_rules+set}" = set; then : ++ enableval=$enable_silent_rules; ++fi ++ ++case $enable_silent_rules in @%:@ ((( ++ yes) AM_DEFAULT_VERBOSITY=0;; ++ no) AM_DEFAULT_VERBOSITY=1;; ++ *) AM_DEFAULT_VERBOSITY=1;; ++esac ++am_make=${MAKE-make} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 ++$as_echo_n "checking whether $am_make supports nested variables... " >&6; } ++if ${am_cv_make_support_nested_variables+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if $as_echo 'TRUE=$(BAR$(V)) ++BAR0=false ++BAR1=true ++V=1 ++am__doit: ++ @$(TRUE) ++.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then ++ am_cv_make_support_nested_variables=yes ++else ++ am_cv_make_support_nested_variables=no ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 ++$as_echo "$am_cv_make_support_nested_variables" >&6; } ++if test $am_cv_make_support_nested_variables = yes; then ++ AM_V='$(V)' ++ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ++else ++ AM_V=$AM_DEFAULT_VERBOSITY ++ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY ++fi ++AM_BACKSLASH='\' ++ ++if test "`cd $srcdir && pwd`" != "`pwd`"; then ++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output ++ # is not polluted with repeated "-I." ++ am__isrc=' -I$(srcdir)' ++ # test to see if srcdir already configured ++ if test -f $srcdir/config.status; then ++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 ++ fi ++fi ++ ++# test whether we have cygpath ++if test -z "$CYGPATH_W"; then ++ if (cygpath --version) >/dev/null 2>/dev/null; then ++ CYGPATH_W='cygpath -w' ++ else ++ CYGPATH_W=echo ++ fi ++fi ++ ++ ++# Define the identity of the package. ++ PACKAGE='m4' ++ VERSION='1.4.16' ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE "$PACKAGE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VERSION "$VERSION" ++_ACEOF ++ ++# Some tools Automake needs. ++ ++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} ++ ++ ++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} ++ ++ ++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} ++ ++ ++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} ++ ++ ++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} ++ ++# For better backward compatibility. To be removed once Automake 1.9.x ++# dies out for good. For more background, see: ++# ++# ++mkdir_p='$(MKDIR_P)' ++ ++# We need awk for the "check" target. The system "awk" is bad on ++# some platforms. ++# Always define AMTAR for backward compatibility. Yes, it's still used ++# in the wild :-( We should find a proper way to deprecate it ... ++AMTAR='$${TAR-tar}' ++ ++ ++# We'll loop over all known methods to create a tar archive until one works. ++_am_tools='gnutar pax cpio none' ++ ++am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin" ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}gcc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="${ac_tool_prefix}gcc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_CC"; then ++ ac_ct_CC=$CC ++ # Extract the first word of "gcc", so it can be a program name with args. ++set dummy gcc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CC="gcc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++else ++ CC="$ac_cv_prog_CC" ++fi ++ ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}cc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="${ac_tool_prefix}cc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++fi ++if test -z "$CC"; then ++ # Extract the first word of "cc", so it can be a program name with args. ++set dummy cc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++ ac_prog_rejected=no ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ++ ac_prog_rejected=yes ++ continue ++ fi ++ ac_cv_prog_CC="cc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++if test $ac_prog_rejected = yes; then ++ # We found a bogon in the path, so make sure we never use it. ++ set dummy $ac_cv_prog_CC ++ shift ++ if test $@%:@ != 0; then ++ # We chose a different compiler from the bogus one. ++ # However, it has the same basename, so the bogon will be chosen ++ # first if we set CC to just the basename; use the full file name. ++ shift ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ++ fi ++fi ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in cl.exe ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in cl.exe ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CC="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "no acceptable C compiler found in \$PATH ++See \`config.log' for more details" "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ fi ++ rm -f conftest.er1 conftest.err ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" ++# Try to create an executable without -o first, disregard a.out. ++# It will help us diagnose broken compilers, and finding out an intuition ++# of exeext. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++$as_echo_n "checking whether the C compiler works... " >&6; } ++ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++ ++# The possible output files: ++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ++ ++ac_rmfiles= ++for ac_file in $ac_files ++do ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; ++ esac ++done ++rm -f $ac_rmfiles ++ ++if { { ac_try="$ac_link_default" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link_default") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ++# in a Makefile. We should not override ac_cv_exeext if it was cached, ++# so that the user can short-circuit this test for compilers unknown to ++# Autoconf. ++for ac_file in $ac_files '' ++do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ++ ;; ++ [ab].out ) ++ # We found the default executable, but exeext='' is most ++ # certainly right. ++ break;; ++ *.* ) ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ then :; else ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ fi ++ # We set ac_cv_exeext here because the later test for it is not ++ # safe: cross compilers may not add the suffix if given an `-o' ++ # argument, so we may need to know it at that point already. ++ # Even if this section looks crufty: it has the advantage of ++ # actually working. ++ break;; ++ * ) ++ break;; ++ esac ++done ++test "$ac_cv_exeext" = no && ac_cv_exeext= ++ ++else ++ ac_file='' ++fi ++if test -z "$ac_file"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error 77 "C compiler cannot create executables ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++$as_echo_n "checking for C compiler default output file name... " >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++$as_echo "$ac_file" >&6; } ++ac_exeext=$ac_cv_exeext ++ ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ++ac_clean_files=$ac_clean_files_save ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++$as_echo_n "checking for suffix of executables... " >&6; } ++if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # If both `conftest.exe' and `conftest' are `present' (well, observable) ++# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ++# work properly (i.e., refer to `conftest.exe'), while it won't with ++# `rm'. ++for ac_file in conftest.exe conftest conftest.*; do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ break;; ++ * ) break;; ++ esac ++done ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest conftest$ac_cv_exeext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++$as_echo "$ac_cv_exeext" >&6; } ++ ++rm -f conftest.$ac_ext ++EXEEXT=$ac_cv_exeext ++ac_exeext=$EXEEXT ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files="$ac_clean_files conftest.out" ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++$as_echo_n "checking whether we are cross compiling... " >&6; } ++if test "$cross_compiling" != yes; then ++ { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++ if { ac_try='./conftest$ac_cv_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ cross_compiling=no ++ else ++ if test "$cross_compiling" = maybe; then ++ cross_compiling=yes ++ else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++$as_echo "$cross_compiling" >&6; } ++ ++rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ++ac_clean_files=$ac_clean_files_save ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++$as_echo_n "checking for suffix of object files... " >&6; } ++if ${ac_cv_objext+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.o conftest.obj ++if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ for ac_file in conftest.o conftest.obj conftest.*; do ++ test -f "$ac_file" || continue; ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ++ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ++ break;; ++ esac ++done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest.$ac_cv_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++$as_echo "$ac_cv_objext" >&6; } ++OBJEXT=$ac_cv_objext ++ac_objext=$OBJEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if ${ac_cv_c_compiler_gnu+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if ${ac_cv_prog_cc_g+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if ${ac_cv_prog_cc_c89+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++DEPDIR="${am__leading_dot}deps" ++ ++ac_config_commands="$ac_config_commands depfiles" ++ ++ ++am_make=${MAKE-make} ++cat > confinc << 'END' ++am__doit: ++ @echo this is the am__doit target ++.PHONY: am__doit ++END ++# If we don't find an include directive, just comment out the code. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 ++$as_echo_n "checking for style of include used by $am_make... " >&6; } ++am__include="#" ++am__quote= ++_am_result=none ++# First try GNU make style include. ++echo "include confinc" > confmf ++# Ignore all kinds of additional output from 'make'. ++case `$am_make -s -f confmf 2> /dev/null` in #( ++*the\ am__doit\ target*) ++ am__include=include ++ am__quote= ++ _am_result=GNU ++ ;; ++esac ++# Now try BSD make style include. ++if test "$am__include" = "#"; then ++ echo '.include "confinc"' > confmf ++ case `$am_make -s -f confmf 2> /dev/null` in #( ++ *the\ am__doit\ target*) ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ ;; ++ esac ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 ++$as_echo "$_am_result" >&6; } ++rm -f confinc confmf ++ ++@%:@ Check whether --enable-dependency-tracking was given. ++if test "${enable_dependency_tracking+set}" = set; then : ++ enableval=$enable_dependency_tracking; ++fi ++ ++if test "x$enable_dependency_tracking" != xno; then ++ am_depcomp="$ac_aux_dir/depcomp" ++ AMDEPBACKSLASH='\' ++ am__nodep='_no' ++fi ++ if test "x$enable_dependency_tracking" != xno; then ++ AMDEP_TRUE= ++ AMDEP_FALSE='#' ++else ++ AMDEP_TRUE='#' ++ AMDEP_FALSE= ++fi ++ ++ ++ ++depcc="$CC" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if ${am_cv_CC_dependencies_compiler_type+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CC_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ am__universal=false ++ case " $depcc " in #( ++ *\ -arch\ *\ -arch\ *) am__universal=true ;; ++ esac ++ ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. ++ am__obj=sub/conftest.${OBJEXT-o} ++ am__minus_obj="-o $am__obj" ++ case $depmode in ++ gcc) ++ # This depmode causes a compiler race in universal mode. ++ test "$am__universal" = false || continue ++ ;; ++ nosideeffect) ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has ++ # not run yet. These depmodes are late enough in the game, and ++ # so weak that their functioning should not be impacted. ++ am__obj=conftest.${OBJEXT-o} ++ am__minus_obj= ++ ;; ++ none) break ;; ++ esac ++ if depmode=$depmode \ ++ source=sub/conftest.c object=$am__obj \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CC_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CC_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } ++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then ++ am__fastdepCC_TRUE= ++ am__fastdepCC_FALSE='#' ++else ++ am__fastdepCC_TRUE='#' ++ am__fastdepCC_FALSE= ++fi ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ranlib; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_RANLIB+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RANLIB"; then ++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++RANLIB=$ac_cv_prog_RANLIB ++if test -n "$RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++$as_echo "$RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_RANLIB"; then ++ ac_ct_RANLIB=$RANLIB ++ # Extract the first word of "ranlib", so it can be a program name with args. ++set dummy ranlib; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_RANLIB"; then ++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_RANLIB="ranlib" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ++if test -n "$ac_ct_RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++$as_echo "$ac_ct_RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_RANLIB" = x; then ++ RANLIB=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ RANLIB=$ac_ct_RANLIB ++ fi ++else ++ RANLIB="$ac_cv_prog_RANLIB" ++fi ++ ++if test "x$CC" != xcc; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 ++$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 ++$as_echo_n "checking whether cc understands -c and -o together... " >&6; } ++fi ++set dummy $CC; ac_cc=`$as_echo "$2" | ++ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++# Make sure it works both with $CC and with simple cc. ++# We do the test twice because some compilers refuse to overwrite an ++# existing .o file with -o, though they will create one. ++ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++rm -f conftest2.* ++if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++then ++ eval ac_cv_prog_cc_${ac_cc}_c_o=yes ++ if test "x$CC" != xcc; then ++ # Test first that cc exists at all. ++ if { ac_try='cc -c conftest.$ac_ext >&5' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++ rm -f conftest2.* ++ if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++ then ++ # cc works too. ++ : ++ else ++ # cc exists but doesn't like -o. ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++ fi ++ fi ++ fi ++else ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++fi ++rm -f core conftest* ++ ++fi ++if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h ++ ++fi ++ ++# FIXME: we rely on the cache variable name because ++# there is no other way. ++set dummy $CC ++am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o ++if test "$am_t" != yes; then ++ # Losing compiler, so override with the script. ++ # FIXME: It is wrong to rewrite CC. ++ # But if we don't then we get into trouble of one sort or another. ++ # A longer-term fix would be to have automake use am__CC in this case, ++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" ++ CC="$am_aux_dir/compile $CC" ++fi ++ ++ ++# Make sure we can run config.sub. ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++$as_echo_n "checking build system type... " >&6; } ++if ${ac_cv_build+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_build_alias=$build_alias ++test "x$ac_build_alias" = x && ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ++test "x$ac_build_alias" = x && ++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++$as_echo "$ac_cv_build" >&6; } ++case $ac_cv_build in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ++esac ++build=$ac_cv_build ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_build ++shift ++build_cpu=$1 ++build_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++build_os=$* ++IFS=$ac_save_IFS ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++$as_echo_n "checking host system type... " >&6; } ++if ${ac_cv_host+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "x$host_alias" = x; then ++ ac_cv_host=$ac_cv_build ++else ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++$as_echo "$ac_cv_host" >&6; } ++case $ac_cv_host in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ++esac ++host=$ac_cv_host ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_host ++shift ++host_cpu=$1 ++host_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++host_os=$* ++IFS=$ac_save_IFS ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++$as_echo_n "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if ${ac_cv_prog_CPP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Double quotes because CPP needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++$as_echo "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++$as_echo_n "checking for grep that handles long lines and -e... " >&6; } ++if ${ac_cv_path_GREP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$GREP"; then ++ ac_path_GREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in grep ggrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_GREP" || continue ++# Check for GNU ac_path_GREP and select it if it is found. ++ # Check for GNU $ac_path_GREP ++case `"$ac_path_GREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'GREP' >> "conftest.nl" ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_GREP="$ac_path_GREP" ++ ac_path_GREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_GREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_GREP"; then ++ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_GREP=$GREP ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++$as_echo "$ac_cv_path_GREP" >&6; } ++ GREP="$ac_cv_path_GREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++$as_echo_n "checking for egrep... " >&6; } ++if ${ac_cv_path_EGREP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in egrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_EGREP" || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++$as_echo "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++$as_echo_n "checking for ANSI C header files... " >&6; } ++if ${ac_cv_header_stdc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdc=yes ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++if test $ac_cv_header_stdc = yes; then ++ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "free" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#if ((' ' & 0x0FF) == 0x020) ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ++#else ++# define ISLOWER(c) \ ++ (('a' <= (c) && (c) <= 'i') \ ++ || ('j' <= (c) && (c) <= 'r') \ ++ || ('s' <= (c) && (c) <= 'z')) ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ++#endif ++ ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ++int ++main () ++{ ++ int i; ++ for (i = 0; i < 256; i++) ++ if (XOR (islower (i), ISLOWER (i)) ++ || toupper (i) != TOUPPER (i)) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_header_stdc=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 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++$as_echo "$ac_cv_header_stdc" >&6; } ++if test $ac_cv_header_stdc = yes; then ++ ++$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ ++# On IRIX 5.3, sys/types and inttypes.h are conflicting. ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ++ inttypes.h stdint.h unistd.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" ++if test "x$ac_cv_header_minix_config_h" = xyes; then : ++ MINIX=yes ++else ++ MINIX= ++fi ++ ++ ++ if test "$MINIX" = yes; then ++ ++$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h ++ ++ ++$as_echo "@%:@define _MINIX 1" >>confdefs.h ++ ++ fi ++ ++ case "$host_os" in ++ hpux*) ++ ++$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 ++$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } ++if ${ac_cv_safe_to_define___extensions__+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# define __EXTENSIONS__ 1 ++ $ac_includes_default ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_safe_to_define___extensions__=yes ++else ++ ac_cv_safe_to_define___extensions__=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 ++$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } ++ test $ac_cv_safe_to_define___extensions__ = yes && ++ $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h ++ ++ $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h ++ ++ $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } ++if ${ac_cv_sys_largefile_source+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGEFILE_SOURCE 1 ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_cv_sys_largefile_source=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 ++$as_echo "$ac_cv_sys_largefile_source" >&6; } ++case $ac_cv_sys_largefile_source in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ ++# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug ++# in glibc 2.1.3, but that breaks too many other things. ++# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. ++if test $ac_cv_sys_largefile_source != unknown; then ++ ++$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ # IEEE behaviour is the default on all CPUs except Alpha and SH ++ # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 ++ # and the GCC 4.1.2 manual). ++ case "$host_cpu" in ++ alpha*) ++ # On Alpha systems, a compiler option provides the behaviour. ++ # See the ieee(3) manual page, also available at ++ # ++ if test -n "$GCC"; then ++ # GCC has the option -mieee. ++ CPPFLAGS="$CPPFLAGS -mieee" ++ else ++ # Compaq (ex-DEC) C has the option -ieee. ++ CPPFLAGS="$CPPFLAGS -ieee" ++ fi ++ ;; ++ sh*) ++ if test -n "$GCC"; then ++ # GCC has the option -mieee. ++ CPPFLAGS="$CPPFLAGS -mieee" ++ fi ++ ;; ++ esac ++ ++ case $ac_cv_prog_cc_stdc in @%:@( ++ no) : ++ ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@( ++ *) : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 ++$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } ++if ${ac_cv_prog_cc_c99+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c99=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++#include ++ ++// Check varargs macros. These examples are taken from C99 6.10.3.5. ++#define debug(...) fprintf (stderr, __VA_ARGS__) ++#define showlist(...) puts (#__VA_ARGS__) ++#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) ++static void ++test_varargs_macros (void) ++{ ++ int x = 1234; ++ int y = 5678; ++ debug ("Flag"); ++ debug ("X = %d\n", x); ++ showlist (The first, second, and third items.); ++ report (x>y, "x is %d but y is %d", x, y); ++} ++ ++// Check long long types. ++#define BIG64 18446744073709551615ull ++#define BIG32 4294967295ul ++#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) ++#if !BIG_OK ++ your preprocessor is broken; ++#endif ++#if BIG_OK ++#else ++ your preprocessor is broken; ++#endif ++static long long int bignum = -9223372036854775807LL; ++static unsigned long long int ubignum = BIG64; ++ ++struct incomplete_array ++{ ++ int datasize; ++ double data[]; ++}; ++ ++struct named_init { ++ int number; ++ const wchar_t *name; ++ double average; ++}; ++ ++typedef const char *ccp; ++ ++static inline int ++test_restrict (ccp restrict text) ++{ ++ // See if C++-style comments work. ++ // Iterate through items via the restricted pointer. ++ // Also check for declarations in for loops. ++ for (unsigned int i = 0; *(text+i) != '\0'; ++i) ++ continue; ++ return 0; ++} ++ ++// Check varargs and va_copy. ++static void ++test_varargs (const char *format, ...) ++{ ++ va_list args; ++ va_start (args, format); ++ va_list args_copy; ++ va_copy (args_copy, args); ++ ++ const char *str; ++ int number; ++ float fnumber; ++ ++ while (*format) ++ { ++ switch (*format++) ++ { ++ case 's': // string ++ str = va_arg (args_copy, const char *); ++ break; ++ case 'd': // int ++ number = va_arg (args_copy, int); ++ break; ++ case 'f': // float ++ fnumber = va_arg (args_copy, double); ++ break; ++ default: ++ break; ++ } ++ } ++ va_end (args_copy); ++ va_end (args); ++} ++ ++int ++main () ++{ ++ ++ // Check bool. ++ _Bool success = false; ++ ++ // Check restrict. ++ if (test_restrict ("String literal") == 0) ++ success = true; ++ char *restrict newvar = "Another string"; ++ ++ // Check varargs. ++ test_varargs ("s, d' f .", "string", 65, 34.234); ++ test_varargs_macros (); ++ ++ // Check flexible array members. ++ struct incomplete_array *ia = ++ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ++ ia->datasize = 10; ++ for (int i = 0; i < ia->datasize; ++i) ++ ia->data[i] = i * 1.234; ++ ++ // Check named initializers. ++ struct named_init ni = { ++ .number = 34, ++ .name = L"Test wide string", ++ .average = 543.34343, ++ }; ++ ++ ni.number = 58; ++ ++ int dynamic_array[ni.number]; ++ dynamic_array[ni.number - 1] = 543; ++ ++ // work around unused variable warnings ++ return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ++ || dynamic_array[ni.number - 1] != 543); ++ ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c99=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c99" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c99" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c99" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 ++$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c99" != xno; then : ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if ${ac_cv_prog_cc_c89+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ++else ++ ac_cv_prog_cc_stdc=no ++fi ++ ++fi ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 ++$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } ++ if ${ac_cv_prog_cc_stdc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++fi ++ ++ case $ac_cv_prog_cc_stdc in @%:@( ++ no) : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; @%:@( ++ '') : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; @%:@( ++ *) : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 ++$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; ++esac ++ ++ ++ ++ ++ ++ ++ @%:@ Check whether --enable-threads was given. ++if test "${enable_threads+set}" = set; then : ++ enableval=$enable_threads; gl_use_threads=$enableval ++else ++ if test -n "$gl_use_threads_default"; then ++ gl_use_threads="$gl_use_threads_default" ++ else ++ case "$host_os" in ++ osf*) gl_use_threads=no ;; ++ cygwin*) ++ case `uname -r` in ++ 1.[0-5].*) gl_use_threads=no ;; ++ *) gl_use_threads=yes ;; ++ esac ++ ;; ++ *) gl_use_threads=yes ;; ++ esac ++ fi ++ ++fi ++ ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then ++ # For using : ++ case "$host_os" in ++ osf*) ++ # On OSF/1, the compiler needs the flag -D_REENTRANT so that it ++ # groks . cc also understands the flag -pthread, but ++ # we don't use it because 1. gcc-2.95 doesn't understand -pthread, ++ # 2. putting a flag into CPPFLAGS that has an effect on the linker ++ # causes the AC_LINK_IFELSE test below to succeed unexpectedly, ++ # leading to wrong values of LIBTHREAD and LTLIBTHREAD. ++ CPPFLAGS="$CPPFLAGS -D_REENTRANT" ++ ;; ++ esac ++ # Some systems optimize for single-threaded programs by default, and ++ # need special flags to disable these optimizations. For example, the ++ # definition of 'errno' in . ++ case "$host_os" in ++ aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; ++ solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; ++ esac ++ fi ++ ++ ++ ++ ++ # Code from module alloca-opt: ++ # Code from module alloca-opt-tests: ++ # Code from module announce-gen: ++ # Code from module ansi-c++-opt: ++ # Code from module arg-nonnull: ++ # Code from module array-list: ++ # Code from module array-list-tests: ++ # Code from module array-oset: ++ # Code from module array-oset-tests: ++ # Code from module assert: ++ # Code from module autobuild: ++ ++ ++ ++ ++ if test -z "$AB_PACKAGE"; then ++ AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5 ++$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;} ++ ++ if test -z "$AB_VERSION"; then ++ AB_VERSION=${PACKAGE_VERSION:-$VERSION} ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5 ++$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;} ++ ++ hostname=`hostname` ++ if test "$hostname"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5 ++$as_echo "$as_me: autobuild hostname... $hostname" >&6;} ++ fi ++ ++ ++ ++ date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ` ++ if test "$?" != 0; then ++ date=`date` ++ fi ++ if test "$date"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5 ++$as_echo "$as_me: autobuild timestamp... $date" >&6;} ++ fi ++ ++ # Code from module avltree-oset: ++ # Code from module avltree-oset-tests: ++ # Code from module binary-io: ++ # Code from module binary-io-tests: ++ # Code from module btowc: ++ # Code from module btowc-tests: ++ # Code from module c++defs: ++ # Code from module c-ctype: ++ # Code from module c-ctype-tests: ++ # Code from module c-stack: ++ # Code from module c-stack-tests: ++ # Code from module c-strcase: ++ # Code from module c-strcase-tests: ++ # Code from module canonicalize-lgpl: ++ # Code from module canonicalize-lgpl-tests: ++ # Code from module clean-temp: ++ # Code from module cloexec: ++ # Code from module cloexec-tests: ++ # Code from module close: ++ # Code from module close-hook: ++ # Code from module close-stream: ++ # Code from module closein: ++ # Code from module closein-tests: ++ # Code from module closeout: ++ # Code from module config-h: ++ # Code from module configmake: ++ # Code from module dirname: ++ # Code from module dirname-lgpl: ++ # Code from module dirname-tests: ++ # Code from module dosname: ++ # Code from module double-slash-root: ++ # Code from module dup2: ++ # Code from module dup2-tests: ++ # Code from module environ: ++ # Code from module environ-tests: ++ # Code from module errno: ++ # Code from module errno-tests: ++ # Code from module error: ++ # Code from module execute: ++ # Code from module exitfail: ++ # Code from module extensions: ++ ++ # Code from module fatal-signal: ++ # Code from module fclose: ++ # Code from module fcntl: ++ # Code from module fcntl-h: ++ # Code from module fcntl-h-c++-tests: ++ # Code from module fcntl-h-tests: ++ # Code from module fcntl-tests: ++ # Code from module fd-safer-flag: ++ # Code from module fdl-1.3: ++ # Code from module fflush: ++ ++ # Code from module fflush-tests: ++ # Code from module filenamecat: ++ # Code from module filenamecat-lgpl: ++ # Code from module filenamecat-tests: ++ # Code from module float: ++ # Code from module fopen: ++ # Code from module fopen-safer: ++ # Code from module fopen-safer-tests: ++ # Code from module fopen-tests: ++ # Code from module fpending: ++ # Code from module fpending-tests: ++ # Code from module fpieee: ++ ++ # Code from module fpucw: ++ # Code from module fpurge: ++ # Code from module fpurge-tests: ++ # Code from module freadahead: ++ # Code from module freadahead-tests: ++ # Code from module freading: ++ # Code from module freading-tests: ++ # Code from module frexp-nolibm: ++ # Code from module frexp-nolibm-tests: ++ # Code from module frexpl-nolibm: ++ # Code from module frexpl-nolibm-tests: ++ # Code from module fseeko: ++ ++ # Code from module fseeko-tests: ++ # Code from module ftell: ++ # Code from module ftell-tests: ++ # Code from module ftello: ++ ++ # Code from module ftello-tests: ++ # Code from module gendocs: ++ # Code from module getdtablesize: ++ # Code from module getdtablesize-tests: ++ # Code from module getopt-gnu: ++ # Code from module getopt-posix: ++ # Code from module getopt-posix-tests: ++ # Code from module getpagesize: ++ # Code from module gettext-h: ++ # Code from module gettimeofday: ++ # Code from module gettimeofday-tests: ++ # Code from module git-version-gen: ++ # Code from module gnu-web-doc-update: ++ # Code from module gnumakefile: ++ # Code from module gnupload: ++ # Code from module gpl-3.0: ++ # Code from module havelib: ++ # Code from module ignore-value: ++ # Code from module ignore-value-tests: ++ # Code from module include_next: ++ # Code from module inline: ++ # Code from module intprops: ++ # Code from module isnand-nolibm: ++ # Code from module isnand-nolibm-tests: ++ # Code from module isnanf-nolibm: ++ # Code from module isnanf-nolibm-tests: ++ # Code from module isnanl-nolibm: ++ # Code from module isnanl-nolibm-tests: ++ # Code from module langinfo: ++ # Code from module langinfo-c++-tests: ++ # Code from module langinfo-tests: ++ # Code from module libsigsegv: ++ # Code from module link: ++ # Code from module link-tests: ++ # Code from module linkedhash-list: ++ # Code from module linkedhash-list-tests: ++ # Code from module list: ++ # Code from module localcharset: ++ # Code from module locale: ++ # Code from module locale-c++-tests: ++ # Code from module locale-tests: ++ # Code from module localename: ++ # Code from module localename-tests: ++ # Code from module lock: ++ # Code from module lseek: ++ # Code from module lseek-tests: ++ # Code from module lstat: ++ # Code from module lstat-tests: ++ # Code from module maintainer-makefile: ++ # Code from module malloc-gnu: ++ # Code from module malloc-gnu-tests: ++ # Code from module malloc-posix: ++ # Code from module malloca: ++ # Code from module malloca-tests: ++ # Code from module manywarnings: ++ # Code from module math: ++ # Code from module math-c++-tests: ++ # Code from module math-tests: ++ # Code from module mbrtowc: ++ # Code from module mbrtowc-tests: ++ # Code from module mbsinit: ++ # Code from module mbsinit-tests: ++ # Code from module mbtowc: ++ # Code from module memchr: ++ # Code from module memchr-tests: ++ # Code from module memchr2: ++ # Code from module memchr2-tests: ++ # Code from module mkdtemp: ++ # Code from module mkstemp: ++ # Code from module multiarch: ++ # Code from module nl_langinfo: ++ # Code from module nl_langinfo-tests: ++ # Code from module nocrash: ++ # Code from module obstack: ++ # Code from module open: ++ # Code from module open-tests: ++ # Code from module oset: ++ # Code from module pathmax: ++ # Code from module pipe2: ++ # Code from module pipe2-safer: ++ # Code from module pipe2-tests: ++ # Code from module posix_spawn-internal: ++ # Code from module posix_spawn_file_actions_addclose: ++ # Code from module posix_spawn_file_actions_adddup2: ++ # Code from module posix_spawn_file_actions_addopen: ++ # Code from module posix_spawn_file_actions_destroy: ++ # Code from module posix_spawn_file_actions_init: ++ # Code from module posix_spawnattr_destroy: ++ # Code from module posix_spawnattr_init: ++ # Code from module posix_spawnattr_setflags: ++ # Code from module posix_spawnattr_setsigmask: ++ # Code from module posix_spawnp: ++ # Code from module posix_spawnp-tests: ++ # Code from module printf-frexp: ++ # Code from module printf-frexp-tests: ++ # Code from module printf-frexpl: ++ # Code from module printf-frexpl-tests: ++ # Code from module printf-safe: ++ # Code from module progname: ++ # Code from module putenv: ++ # Code from module quotearg: ++ # Code from module quotearg-simple: ++ # Code from module quotearg-simple-tests: ++ # Code from module rawmemchr: ++ # Code from module rawmemchr-tests: ++ # Code from module readlink: ++ # Code from module readlink-tests: ++ # Code from module regex: ++ # Code from module rename: ++ # Code from module rename-tests: ++ # Code from module rmdir: ++ # Code from module rmdir-tests: ++ # Code from module same-inode: ++ # Code from module sched: ++ # Code from module sched-tests: ++ # Code from module setenv: ++ # Code from module setenv-tests: ++ # Code from module setlocale: ++ # Code from module setlocale-tests: ++ # Code from module sigaction: ++ # Code from module sigaction-tests: ++ # Code from module signal: ++ # Code from module signal-c++-tests: ++ # Code from module signal-tests: ++ # Code from module signbit: ++ # Code from module signbit-tests: ++ # Code from module sigprocmask: ++ # Code from module size_max: ++ # Code from module snprintf: ++ # Code from module snprintf-tests: ++ # Code from module spawn: ++ # Code from module spawn-c++-tests: ++ # Code from module spawn-pipe: ++ # Code from module spawn-pipe-tests: ++ # Code from module spawn-tests: ++ # Code from module ssize_t: ++ # Code from module stat: ++ # Code from module stat-tests: ++ # Code from module stdarg: ++ ++ # Code from module stdbool: ++ # Code from module stdbool-tests: ++ # Code from module stddef: ++ # Code from module stddef-tests: ++ # Code from module stdint: ++ # Code from module stdint-tests: ++ # Code from module stdio: ++ # Code from module stdio-c++-tests: ++ # Code from module stdio-tests: ++ # Code from module stdlib: ++ # Code from module stdlib-c++-tests: ++ # Code from module stdlib-safer: ++ # Code from module stdlib-tests: ++ # Code from module strchrnul: ++ # Code from module strchrnul-tests: ++ # Code from module strdup-posix: ++ # Code from module streq: ++ # Code from module strerror: ++ # Code from module strerror-tests: ++ # Code from module string: ++ # Code from module string-c++-tests: ++ # Code from module string-tests: ++ # Code from module strndup: ++ # Code from module strnlen: ++ # Code from module strnlen-tests: ++ # Code from module strsignal: ++ # Code from module strsignal-tests: ++ # Code from module strstr: ++ # Code from module strstr-simple: ++ # Code from module strstr-tests: ++ # Code from module strtod: ++ # Code from module strtod-tests: ++ # Code from module strtol: ++ # Code from module symlink: ++ # Code from module symlink-tests: ++ # Code from module sys_stat: ++ # Code from module sys_stat-c++-tests: ++ # Code from module sys_stat-tests: ++ # Code from module sys_time: ++ # Code from module sys_time-c++-tests: ++ # Code from module sys_time-tests: ++ # Code from module sys_wait: ++ # Code from module sys_wait-c++-tests: ++ # Code from module sys_wait-tests: ++ # Code from module tempname: ++ # Code from module threadlib: ++ ++ ++ ++ # Code from module time: ++ # Code from module time-c++-tests: ++ # Code from module time-tests: ++ # Code from module tls: ++ # Code from module tmpdir: ++ # Code from module unistd: ++ # Code from module unistd-c++-tests: ++ # Code from module unistd-safer: ++ # Code from module unistd-safer-tests: ++ # Code from module unistd-tests: ++ # Code from module unlocked-io: ++ # Code from module unsetenv: ++ # Code from module unsetenv-tests: ++ # Code from module update-copyright: ++ # Code from module update-copyright-tests: ++ # Code from module useless-if-before-free: ++ # Code from module vasnprintf: ++ # Code from module vasnprintf-tests: ++ # Code from module vasprintf: ++ # Code from module vasprintf-posix: ++ # Code from module vasprintf-posix-tests: ++ # Code from module vasprintf-tests: ++ # Code from module vc-list-files: ++ # Code from module vc-list-files-tests: ++ # Code from module verify: ++ # Code from module verify-tests: ++ # Code from module verror: ++ # Code from module version-etc: ++ # Code from module version-etc-fsf: ++ # Code from module version-etc-tests: ++ # Code from module wait-process: ++ # Code from module waitpid: ++ # Code from module warn-on-use: ++ # Code from module warnings: ++ # Code from module wchar: ++ # Code from module wchar-c++-tests: ++ # Code from module wchar-tests: ++ # Code from module wcrtomb: ++ # Code from module wcrtomb-tests: ++ # Code from module wctob: ++ # Code from module wctomb: ++ # Code from module wctype-h: ++ # Code from module wctype-h-c++-tests: ++ # Code from module wctype-h-tests: ++ # Code from module xalloc: ++ # Code from module xalloc-die: ++ # Code from module xalloc-die-tests: ++ # Code from module xlist: ++ # Code from module xmalloca: ++ # Code from module xoset: ++ # Code from module xprintf: ++ # Code from module xsize: ++ # Code from module xstrndup: ++ # Code from module xvasprintf: ++ # Code from module xvasprintf-posix: ++ # Code from module xvasprintf-tests: ++ ++ ++# Maintainer note - comment this line out if you plan to rerun ++# GNULIB_POSIXCHECK testing to see if M4 should be using more modules. ++# Leave it uncommented for normal releases, for faster ./configure. ++ ++ ++ ++ ++# M4 is single-threaded; so we can optimize gnulib code by using this: ++ ++ ++ ++ ++@%:@ Check whether --enable-gcc-warnings was given. ++if test "${enable_gcc_warnings+set}" = set; then : ++ enableval=$enable_gcc_warnings; case $enableval in ++ yes|no) ;; ++ *) as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;; ++ esac ++ gl_gcc_warnings=$enableval ++else ++ gl_gcc_warnings=no ++ ++fi ++ ++ ++if test "$gl_gcc_warnings" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5 ++$as_echo_n "checking whether compiler handles -Werror... " >&6; } ++if ${gl_cv_warn__Werror+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} -Werror" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ gl_cv_warn__Werror=yes ++else ++ gl_cv_warn__Werror=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5 ++$as_echo "$gl_cv_warn__Werror" >&6; } ++if test "x$gl_cv_warn__Werror" = xyes; then : ++ as_fn_append WERROR_CFLAGS " -Werror" ++fi ++ ++ ++ ++ nw= ++ nw="$nw -Waggregate-return" # C90 is anachronistic ++ nw="$nw -Wlong-long" # C90 is anachronistic ++ nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib ++ nw="$nw -Wtraditional" # Warns on #elif which we use often ++ nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings ++ nw="$nw -Wpadded" # Our structs are not packed ++ nw="$nw -Wredundant-decls" # Gnulib has multiple decls ++ nw="$nw -Wformat-nonliteral" # Needed in builtin.c ++ nw="$nw -Wunreachable-code" # Needed in output.c ++ nw="$nw -Wconversion" # Too many warnings for now ++ nw="$nw -Wsign-conversion" # Too many warnings for now ++ nw="$nw -Wtraditional-conversion" # Too many warnings for now ++ nw="$nw -Wcast-qual" # Too many warnings for now ++ nw="$nw -Wswitch-enum" # Too many warnings for now ++ # This, $nw, is the list of warnings we disable. ++ ++ ++ gl_manywarn_set= ++ for gl_manywarn_item in \ ++ -Wall \ ++ -W \ ++ -Wformat-y2k \ ++ -Wformat-nonliteral \ ++ -Wformat-security \ ++ -Winit-self \ ++ -Wmissing-include-dirs \ ++ -Wswitch-default \ ++ -Wswitch-enum \ ++ -Wunused \ ++ -Wunknown-pragmas \ ++ -Wstrict-aliasing \ ++ -Wstrict-overflow \ ++ -Wsystem-headers \ ++ -Wfloat-equal \ ++ -Wtraditional \ ++ -Wtraditional-conversion \ ++ -Wdeclaration-after-statement \ ++ -Wundef \ ++ -Wshadow \ ++ -Wunsafe-loop-optimizations \ ++ -Wpointer-arith \ ++ -Wbad-function-cast \ ++ -Wc++-compat \ ++ -Wcast-qual \ ++ -Wcast-align \ ++ -Wwrite-strings \ ++ -Wconversion \ ++ -Wsign-conversion \ ++ -Wlogical-op \ ++ -Waggregate-return \ ++ -Wstrict-prototypes \ ++ -Wold-style-definition \ ++ -Wmissing-prototypes \ ++ -Wmissing-declarations \ ++ -Wmissing-noreturn \ ++ -Wmissing-format-attribute \ ++ -Wpacked \ ++ -Wpadded \ ++ -Wredundant-decls \ ++ -Wnested-externs \ ++ -Wunreachable-code \ ++ -Winline \ ++ -Winvalid-pch \ ++ -Wlong-long \ ++ -Wvla \ ++ -Wvolatile-register-var \ ++ -Wdisabled-optimization \ ++ -Wstack-protector \ ++ -Woverlength-strings \ ++ -Wbuiltin-macro-redefined \ ++ -Wmudflap \ ++ -Wpacked-bitfield-compat \ ++ -Wsync-nand \ ++ ; do ++ gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" ++ done ++ # The following are not documented in the manual but are included in ++ # output from gcc --help=warnings. ++ for gl_manywarn_item in \ ++ -Wattributes \ ++ -Wcoverage-mismatch \ ++ -Wmultichar \ ++ -Wunused-macros \ ++ ; do ++ gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" ++ done ++ ws=$gl_manywarn_set ++ ++ ++ gl_warn_set= ++ set x $ws; shift ++ for gl_warn_item ++ do ++ case " $nw " in ++ *" $gl_warn_item "*) ++ ;; ++ *) ++ gl_warn_set="$gl_warn_set $gl_warn_item" ++ ;; ++ esac ++ done ++ ws=$gl_warn_set ++ ++ for w in $ws; do ++ as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh` ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5 ++$as_echo_n "checking whether compiler handles $w... " >&6; } ++if eval \${$as_gl_Warn+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} $w" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ eval "$as_gl_Warn=yes" ++else ++ eval "$as_gl_Warn=no" ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++eval ac_res=\$$as_gl_Warn ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : ++ as_fn_append WARN_CFLAGS " $w" ++fi ++ ++ done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5 ++$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; } ++if ${gl_cv_warn__fdiagnostics_show_option+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ gl_cv_warn__fdiagnostics_show_option=yes ++else ++ gl_cv_warn__fdiagnostics_show_option=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5 ++$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; } ++if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then : ++ as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5 ++$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; } ++if ${gl_cv_warn__funit_at_a_time+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} -funit-at-a-time" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ gl_cv_warn__funit_at_a_time=yes ++else ++ gl_cv_warn__funit_at_a_time=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5 ++$as_echo "$gl_cv_warn__funit_at_a_time" >&6; } ++if test "x$gl_cv_warn__funit_at_a_time" = xyes; then : ++ as_fn_append WARN_CFLAGS " -funit-at-a-time" ++fi ++ ++ ++ ++ ++ ++$as_echo "@%:@define _FORTIFY_SOURCE 2" >>confdefs.h ++ ++fi ++ ++# Tandem/NSK is broken - it has 'long long int' but not ++# 'unsigned long long int', which confuses assumptions made by gnulib. ++# Simply pretend that neither type exists if both do not work. ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if ${ac_cv_type_unsigned_long_long_int+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_unsigned_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 ++$as_echo_n "checking for long long int... " >&6; } ++if ${ac_cv_type_long_long_int+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int ++ if test $ac_cv_type_long_long_int = yes; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ @%:@ifndef LLONG_MAX ++ @%:@ define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ @%:@ define LLONG_MAX (HALF - 1 + HALF) ++ @%:@endif ++int ++main () ++{ ++long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_type_long_long_int=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 ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 ++$as_echo "$ac_cv_type_long_long_int" >&6; } ++ if test $ac_cv_type_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if ${ac_cv_type_unsigned_long_long_int+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_unsigned_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++if test $ac_cv_type_long_long_int:$ac_cv_type_unsigned_long_long_int = yes:no ++then ++ ac_cv_type_long_long_int=no ++ ++$as_echo "@%:@define HAVE_LONG_LONG_INT 0" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ LIBC_FATAL_STDERR_=1 ++ export LIBC_FATAL_STDERR_ ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define size_t unsigned int ++_ACEOF ++ ++fi ++ ++# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works ++# for constant arguments. Useless! ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 ++$as_echo_n "checking for working alloca.h... " >&6; } ++if ${ac_cv_working_alloca_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++char *p = (char *) alloca (2 * sizeof (int)); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_working_alloca_h=yes ++else ++ ac_cv_working_alloca_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 ++$as_echo "$ac_cv_working_alloca_h" >&6; } ++if test $ac_cv_working_alloca_h = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 ++$as_echo_n "checking for alloca... " >&6; } ++if ${ac_cv_func_alloca_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __GNUC__ ++# define alloca __builtin_alloca ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# ifdef HAVE_ALLOCA_H ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca /* predefined by HP cc +Olibcalls */ ++void *alloca (size_t); ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++int ++main () ++{ ++char *p = (char *) alloca (1); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_alloca_works=yes ++else ++ ac_cv_func_alloca_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 ++$as_echo "$ac_cv_func_alloca_works" >&6; } ++ ++if test $ac_cv_func_alloca_works = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++else ++ # The SVR3 libPW and SVR4 libucb both contain incompatible functions ++# that cause trouble. Some versions do not even contain alloca or ++# contain a buggy version. If you still want to use their alloca, ++# use ar to extract alloca.o from them instead of compiling alloca.c. ++ ++ ++ ++ ++ ++ALLOCA=\${LIBOBJDIR}alloca.$ac_objext ++ ++$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 ++$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } ++if ${ac_cv_os_cray+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined CRAY && ! defined CRAY2 ++webecray ++#else ++wenotbecray ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "webecray" >/dev/null 2>&1; then : ++ ac_cv_os_cray=yes ++else ++ ac_cv_os_cray=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 ++$as_echo "$ac_cv_os_cray" >&6; } ++if test $ac_cv_os_cray = yes; then ++ for ac_func in _getb67 GETB67 getb67; do ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define CRAY_STACKSEG_END $ac_func ++_ACEOF ++ ++ break ++fi ++ ++ done ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 ++$as_echo_n "checking stack direction for C alloca... " >&6; } ++if ${ac_cv_c_stack_direction+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_c_stack_direction=0 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++find_stack_direction (int *addr, int depth) ++{ ++ int dir, dummy = 0; ++ if (! addr) ++ addr = &dummy; ++ *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; ++ dir = depth ? find_stack_direction (addr, depth - 1) : 0; ++ return dir + dummy; ++} ++ ++int ++main (int argc, char **argv) ++{ ++ return find_stack_direction (0, argc + !argv + 20) < 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_stack_direction=1 ++else ++ ac_cv_c_stack_direction=-1 ++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: $ac_cv_c_stack_direction" >&5 ++$as_echo "$ac_cv_c_stack_direction" >&6; } ++cat >>confdefs.h <<_ACEOF ++@%:@define STACK_DIRECTION $ac_cv_c_stack_direction ++_ACEOF ++ ++ ++fi ++ ++ ++ GNULIB_BTOWC=0; ++ GNULIB_WCTOB=0; ++ GNULIB_MBSINIT=0; ++ GNULIB_MBRTOWC=0; ++ GNULIB_MBRLEN=0; ++ GNULIB_MBSRTOWCS=0; ++ GNULIB_MBSNRTOWCS=0; ++ GNULIB_WCRTOMB=0; ++ GNULIB_WCSRTOMBS=0; ++ GNULIB_WCSNRTOMBS=0; ++ GNULIB_WCWIDTH=0; ++ GNULIB_WMEMCHR=0; ++ GNULIB_WMEMCMP=0; ++ GNULIB_WMEMCPY=0; ++ GNULIB_WMEMMOVE=0; ++ GNULIB_WMEMSET=0; ++ GNULIB_WCSLEN=0; ++ GNULIB_WCSNLEN=0; ++ GNULIB_WCSCPY=0; ++ GNULIB_WCPCPY=0; ++ GNULIB_WCSNCPY=0; ++ GNULIB_WCPNCPY=0; ++ GNULIB_WCSCAT=0; ++ GNULIB_WCSNCAT=0; ++ GNULIB_WCSCMP=0; ++ GNULIB_WCSNCMP=0; ++ GNULIB_WCSCASECMP=0; ++ GNULIB_WCSNCASECMP=0; ++ GNULIB_WCSCOLL=0; ++ GNULIB_WCSXFRM=0; ++ GNULIB_WCSDUP=0; ++ GNULIB_WCSCHR=0; ++ GNULIB_WCSRCHR=0; ++ GNULIB_WCSCSPN=0; ++ GNULIB_WCSSPN=0; ++ GNULIB_WCSPBRK=0; ++ GNULIB_WCSSTR=0; ++ GNULIB_WCSTOK=0; ++ GNULIB_WCSWIDTH=0; ++ HAVE_BTOWC=1; ++ HAVE_MBSINIT=1; ++ HAVE_MBRTOWC=1; ++ HAVE_MBRLEN=1; ++ HAVE_MBSRTOWCS=1; ++ HAVE_MBSNRTOWCS=1; ++ HAVE_WCRTOMB=1; ++ HAVE_WCSRTOMBS=1; ++ HAVE_WCSNRTOMBS=1; ++ HAVE_WMEMCHR=1; ++ HAVE_WMEMCMP=1; ++ HAVE_WMEMCPY=1; ++ HAVE_WMEMMOVE=1; ++ HAVE_WMEMSET=1; ++ HAVE_WCSLEN=1; ++ HAVE_WCSNLEN=1; ++ HAVE_WCSCPY=1; ++ HAVE_WCPCPY=1; ++ HAVE_WCSNCPY=1; ++ HAVE_WCPNCPY=1; ++ HAVE_WCSCAT=1; ++ HAVE_WCSNCAT=1; ++ HAVE_WCSCMP=1; ++ HAVE_WCSNCMP=1; ++ HAVE_WCSCASECMP=1; ++ HAVE_WCSNCASECMP=1; ++ HAVE_WCSCOLL=1; ++ HAVE_WCSXFRM=1; ++ HAVE_WCSDUP=1; ++ HAVE_WCSCHR=1; ++ HAVE_WCSRCHR=1; ++ HAVE_WCSCSPN=1; ++ HAVE_WCSSPN=1; ++ HAVE_WCSPBRK=1; ++ HAVE_WCSSTR=1; ++ HAVE_WCSTOK=1; ++ HAVE_WCSWIDTH=1; ++ HAVE_DECL_WCTOB=1; ++ HAVE_DECL_WCWIDTH=1; ++ REPLACE_MBSTATE_T=0; ++ REPLACE_BTOWC=0; ++ REPLACE_WCTOB=0; ++ REPLACE_MBSINIT=0; ++ REPLACE_MBRTOWC=0; ++ REPLACE_MBRLEN=0; ++ REPLACE_MBSRTOWCS=0; ++ REPLACE_MBSNRTOWCS=0; ++ REPLACE_WCRTOMB=0; ++ REPLACE_WCSRTOMBS=0; ++ REPLACE_WCSNRTOMBS=0; ++ REPLACE_WCWIDTH=0; ++ REPLACE_WCSWIDTH=0; ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 ++$as_echo_n "checking whether uses 'inline' correctly... " >&6; } ++if ${gl_cv_header_wchar_h_correct_inline+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_header_wchar_h_correct_inline=yes ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #define wcstod renamed_wcstod ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++extern int zero (void); ++int main () { return zero(); } ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ mv conftest.$ac_objext conftest1.$ac_objext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #define wcstod renamed_wcstod ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int zero (void) { return 0; } ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ mv conftest.$ac_objext conftest2.$ac_objext ++ if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then ++ : ++ else ++ gl_cv_header_wchar_h_correct_inline=no ++ fi ++ fi ++ fi ++ rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 ++$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } ++ if test $gl_cv_header_wchar_h_correct_inline = no; then ++ as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). ++This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in ++C99 mode. You have four options: ++ - Add the flag -fgnu89-inline to CC and reconfigure, or ++ - Fix your include files, using parts of ++ , or ++ - Use a gcc version older than 4.3, or ++ - Don't use the flags -std=c99 or -std=gnu99. ++Configuration aborted." "$LINENO" 5 ++ fi ++ ++ ++ ++ ++ for ac_func in $ac_func_list ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 ++$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } ++if ${am_cv_langinfo_codeset+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++char* cs = nl_langinfo(CODESET); return !cs; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ am_cv_langinfo_codeset=yes ++else ++ am_cv_langinfo_codeset=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 ++$as_echo "$am_cv_langinfo_codeset" >&6; } ++ if test $am_cv_langinfo_codeset = yes; then ++ ++$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ ++ ++ ++ for ac_header in $ac_header_list ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++# for STACK_DIRECTION ++ ++ ++ ++ ++ ++ case "$host_os" in ++ sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems ++ FAULT_YIELDS_SIGBUS=1 ;; ++ hpux*) # HP-UX ++ FAULT_YIELDS_SIGBUS=1 ;; ++ macos* | darwin*) # MacOS X ++ FAULT_YIELDS_SIGBUS=1 ;; ++ gnu*) # Hurd ++ FAULT_YIELDS_SIGBUS=1 ;; ++ *) ++ FAULT_YIELDS_SIGBUS=0 ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FAULT_YIELDS_SIGBUS $FAULT_YIELDS_SIGBUS ++_ACEOF ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C stack overflow detection" >&5 ++$as_echo_n "checking for working C stack overflow detection... " >&6; } ++if ${ac_cv_sys_stack_overflow_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_sys_stack_overflow_works=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #if HAVE_SETRLIMIT ++ # include ++ # include ++ # include ++ #endif ++ #ifndef SIGSTKSZ ++ # define SIGSTKSZ 16384 ++ #endif ++ ++ static union ++ { ++ char buffer[2 * SIGSTKSZ]; ++ long double ld; ++ long u; ++ void *p; ++ } alternate_signal_stack; ++ ++ static void ++ segv_handler (int signo) ++ { ++ _exit (0); ++ } ++ ++ static int ++ c_stack_action () ++ { ++ stack_t st; ++ struct sigaction act; ++ int r; ++ ++ st.ss_flags = 0; ++ /* Use the midpoint to avoid Irix sigaltstack bug. */ ++ st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ; ++ st.ss_size = SIGSTKSZ; ++ r = sigaltstack (&st, 0); ++ if (r != 0) ++ return 1; ++ ++ sigemptyset (&act.sa_mask); ++ act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND; ++ act.sa_handler = segv_handler; ++ #if FAULT_YIELDS_SIGBUS ++ if (sigaction (SIGBUS, &act, 0) < 0) ++ return 2; ++ #endif ++ if (sigaction (SIGSEGV, &act, 0) < 0) ++ return 3; ++ return 0; ++ } ++ static volatile int * ++ recurse_1 (volatile int n, volatile int *p) ++ { ++ if (n >= 0) ++ *recurse_1 (n + 1, p) += n; ++ return p; ++ } ++ static int ++ recurse (volatile int n) ++ { ++ int sum = 0; ++ return *recurse_1 (n, &sum); ++ } ++ int ++ main () ++ { ++ int result; ++ #if HAVE_SETRLIMIT && defined RLIMIT_STACK ++ /* Before starting the endless recursion, try to be friendly ++ to the user's machine. On some Linux 2.2.x systems, there ++ is no stack limit for user processes at all. We don't want ++ to kill such systems. */ ++ struct rlimit rl; ++ rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */ ++ setrlimit (RLIMIT_STACK, &rl); ++ #endif ++ ++ result = c_stack_action (); ++ if (result != 0) ++ return result; ++ return recurse (0); ++ } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_sys_stack_overflow_works=yes ++else ++ ac_cv_sys_stack_overflow_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: $ac_cv_sys_stack_overflow_works" >&5 ++$as_echo "$ac_cv_sys_stack_overflow_works" >&6; } ++ ++ if test $ac_cv_sys_stack_overflow_works = yes; then ++ ++$as_echo "@%:@define HAVE_STACK_OVERFLOW_HANDLING 1" >>confdefs.h ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct stack_t interpretation" >&5 ++$as_echo_n "checking for correct stack_t interpretation... " >&6; } ++if ${gl_cv_sigaltstack_low_base+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_sigaltstack_low_base=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++#include ++#if HAVE_SYS_SIGNAL_H ++# include ++#endif ++#ifndef SIGSTKSZ ++# define SIGSTKSZ 16384 ++#endif ++volatile char *stack_lower_bound; ++volatile char *stack_upper_bound; ++static void check_stack_location (volatile char *addr) ++{ ++ if (addr >= stack_lower_bound && addr <= stack_upper_bound) ++ exit (0); ++ else ++ exit (1); ++} ++static void stackoverflow_handler (int sig) ++{ ++ char dummy; ++ check_stack_location (&dummy); ++} ++int main () ++{ ++ char mystack[2 * SIGSTKSZ]; ++ stack_t altstack; ++ struct sigaction action; ++ /* Install the alternate stack. */ ++ altstack.ss_sp = mystack + SIGSTKSZ; ++ altstack.ss_size = SIGSTKSZ; ++ stack_lower_bound = (char *) altstack.ss_sp; ++ stack_upper_bound = (char *) altstack.ss_sp + altstack.ss_size - 1; ++ altstack.ss_flags = 0; /* no SS_DISABLE */ ++ if (sigaltstack (&altstack, NULL) < 0) ++ exit (2); ++ /* Install the SIGSEGV handler. */ ++ sigemptyset (&action.sa_mask); ++ action.sa_handler = &stackoverflow_handler; ++ action.sa_flags = SA_ONSTACK; ++ if (sigaction (SIGSEGV, &action, (struct sigaction *) NULL) < 0) ++ exit(3); ++ /* Provoke a SIGSEGV. */ ++ raise (SIGSEGV); ++ exit (4); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_sigaltstack_low_base=yes ++else ++ gl_cv_sigaltstack_low_base=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_sigaltstack_low_base" >&5 ++$as_echo "$gl_cv_sigaltstack_low_base" >&6; } ++ if test "$gl_cv_sigaltstack_low_base" = no; then ++ ++$as_echo "@%:@define SIGALTSTACK_SS_REVERSED 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for precise C stack overflow detection" >&5 ++$as_echo_n "checking for precise C stack overflow detection... " >&6; } ++if ${ac_cv_sys_xsi_stack_overflow_heuristic+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #if HAVE_UCONTEXT_H ++ # include ++ #endif ++ #if HAVE_SETRLIMIT ++ # include ++ # include ++ # include ++ #endif ++ #ifndef SIGSTKSZ ++ # define SIGSTKSZ 16384 ++ #endif ++ ++ static union ++ { ++ char buffer[2 * SIGSTKSZ]; ++ long double ld; ++ long u; ++ void *p; ++ } alternate_signal_stack; ++ ++ #if STACK_DIRECTION ++ # define find_stack_direction(ptr) STACK_DIRECTION ++ #else ++ static int ++ find_stack_direction (char const *addr) ++ { ++ char dummy; ++ return (! addr ? find_stack_direction (&dummy) ++ : addr < &dummy ? 1 : -1); ++ } ++ #endif ++ ++ static void ++ segv_handler (int signo, siginfo_t *info, void *context) ++ { ++ if (0 < info->si_code) ++ { ++ /* For XSI heuristics to work, we need uc_stack to describe ++ the interrupted stack (as on Solaris), and not the ++ currently executing stack (as on Linux). */ ++ ucontext_t const *user_context = context; ++ char const *stack_min = user_context->uc_stack.ss_sp; ++ size_t stack_size = user_context->uc_stack.ss_size; ++ char const *faulting_address = info->si_addr; ++ size_t s = faulting_address - stack_min; ++ size_t page_size = sysconf (_SC_PAGESIZE); ++ if (find_stack_direction (0) < 0) ++ s += page_size; ++ if (s < stack_size + page_size) ++ _exit (0); ++ _exit (4); ++ } ++ _exit (5); ++ } ++ ++ static int ++ c_stack_action () ++ { ++ stack_t st; ++ struct sigaction act; ++ int r; ++ ++ st.ss_flags = 0; ++ /* Use the midpoint to avoid Irix sigaltstack bug. */ ++ st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ; ++ st.ss_size = SIGSTKSZ; ++ r = sigaltstack (&st, 0); ++ if (r != 0) ++ return 1; ++ ++ sigemptyset (&act.sa_mask); ++ act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO; ++ act.sa_sigaction = segv_handler; ++ #if FAULT_YIELDS_SIGBUS ++ if (sigaction (SIGBUS, &act, 0) < 0) ++ return 2; ++ #endif ++ if (sigaction (SIGSEGV, &act, 0) < 0) ++ return 3; ++ return 0; ++ } ++ static volatile int * ++ recurse_1 (volatile int n, volatile int *p) ++ { ++ if (n >= 0) ++ *recurse_1 (n + 1, p) += n; ++ return p; ++ } ++ static int ++ recurse (volatile int n) ++ { ++ int sum = 0; ++ return *recurse_1 (n, &sum); ++ } ++ int ++ main () ++ { ++ int result; ++ #if HAVE_SETRLIMIT && defined RLIMIT_STACK ++ /* Before starting the endless recursion, try to be friendly ++ to the user's machine. On some Linux 2.2.x systems, there ++ is no stack limit for user processes at all. We don't want ++ to kill such systems. */ ++ struct rlimit rl; ++ rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */ ++ setrlimit (RLIMIT_STACK, &rl); ++ #endif ++ ++ result = c_stack_action (); ++ if (result != 0) ++ return result; ++ return recurse (0); ++ } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_sys_xsi_stack_overflow_heuristic=yes ++else ++ ac_cv_sys_xsi_stack_overflow_heuristic=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: $ac_cv_sys_xsi_stack_overflow_heuristic" >&5 ++$as_echo "$ac_cv_sys_xsi_stack_overflow_heuristic" >&6; } ++ ++ if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then ++ ++$as_echo "@%:@define HAVE_XSI_STACK_OVERFLOW_HEURISTIC 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-gnu-ld was given. ++if test "${with_gnu_ld+set}" = set; then : ++ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ++else ++ with_gnu_ld=no ++fi ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which ++ # contains only /bin. Note that ksh looks also at the FPATH variable, ++ # so we have to set that as well for the test. ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ ++ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ ++ || PATH_SEPARATOR=';' ++ } ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 ++$as_echo_n "checking for ld used by GCC... " >&6; } ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [\\/]* | [A-Za-z]:[\\/]*) ++ re_direlt='/[^/][^/]*/\.\./' ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++$as_echo_n "checking for GNU ld... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++$as_echo_n "checking for non-GNU ld... " >&6; } ++fi ++if ${acl_cv_path_LD+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi ++fi ++ ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ++if ${acl_cv_prog_gnu_ld+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 &5 ++$as_echo "$acl_cv_prog_gnu_ld" >&6; } ++with_gnu_ld=$acl_cv_prog_gnu_ld ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 ++$as_echo_n "checking for shared library run path origin... " >&6; } ++if ${acl_cv_rpath+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 ++$as_echo "$acl_cv_rpath" >&6; } ++ wl="$acl_cv_wl" ++ acl_libext="$acl_cv_libext" ++ acl_shlibext="$acl_cv_shlibext" ++ acl_libname_spec="$acl_cv_libname_spec" ++ acl_library_names_spec="$acl_cv_library_names_spec" ++ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ acl_hardcode_direct="$acl_cv_hardcode_direct" ++ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ @%:@ Check whether --enable-rpath was given. ++if test "${enable_rpath+set}" = set; then : ++ enableval=$enable_rpath; : ++else ++ enable_rpath=yes ++fi ++ ++ ++ ++ ++ acl_libdirstem=lib ++ acl_libdirstem2= ++ case "$host_os" in ++ solaris*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 ++$as_echo_n "checking for 64-bit host... " >&6; } ++if ${gl_cv_solaris_64bit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef _LP64 ++sixtyfour bits ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "sixtyfour bits" >/dev/null 2>&1; then : ++ gl_cv_solaris_64bit=yes ++else ++ gl_cv_solaris_64bit=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 ++$as_echo "$gl_cv_solaris_64bit" >&6; } ++ if test $gl_cv_solaris_64bit = yes; then ++ acl_libdirstem=lib/64 ++ case "$host_cpu" in ++ sparc*) acl_libdirstem2=lib/sparcv9 ;; ++ i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; ++ esac ++ fi ++ ;; ++ *) ++ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` ++ if test -n "$searchpath"; then ++ acl_save_IFS="${IFS= }"; IFS=":" ++ for searchdir in $searchpath; do ++ if test -d "$searchdir"; then ++ case "$searchdir" in ++ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; ++ */../ | */.. ) ++ # Better ignore directories of this form. They are misleading. ++ ;; ++ *) searchdir=`cd "$searchdir" && pwd` ++ case "$searchdir" in ++ */lib64 ) acl_libdirstem=lib64 ;; ++ esac ;; ++ esac ++ fi ++ done ++ IFS="$acl_save_IFS" ++ fi ++ ;; ++ esac ++ test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libsigsegv-prefix was given. ++if test "${with_libsigsegv_prefix+set}" = set; then : ++ withval=$with_libsigsegv_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++ ++fi ++ ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ INCSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ HAVE_LIBSIGSEGV= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='sigsegv ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$acl_hardcode_direct" = yes; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ ++ for element in $INCSIGSEGV; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 ++$as_echo_n "checking for libsigsegv... " >&6; } ++if ${ac_cv_libsigsegv+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_save_LIBS="$LIBS" ++ case " $LIBSIGSEGV" in ++ *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;; ++ *) LIBS="$LIBSIGSEGV $LIBS" ;; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++sigsegv_deinstall_handler(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_libsigsegv=yes ++else ++ ac_cv_libsigsegv='no, consider installing GNU libsigsegv' ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$ac_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5 ++$as_echo "$ac_cv_libsigsegv" >&6; } ++ if test "$ac_cv_libsigsegv" = yes; then ++ HAVE_LIBSIGSEGV=yes ++ ++$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5 ++$as_echo_n "checking how to link with libsigsegv... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5 ++$as_echo "$LIBSIGSEGV" >&6; } ++ else ++ HAVE_LIBSIGSEGV=no ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ fi ++ ++ ++ ++ ++ ++ ++ ++ gl_cv_lib_sigsegv="$ac_cv_libsigsegv" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $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 : ++ $as_echo_n "(cached) " >&6 ++else ++ if test x"$cross_compiling" = xyes ; then ++ # When cross-compiling, there is no way to tell whether // is special ++ # short of a list of hosts. However, the only known hosts to date ++ # that have a distinct // are Apollo DomainOS (too old to port to), ++ # Cygwin, and z/OS. If anyone knows of another system for which // has ++ # special semantics and is distinct from /, please report it to ++ # . ++ case $host in ++ *-cygwin | i370-ibm-openedition) ++ gl_cv_double_slash_root=yes ;; ++ *) ++ # Be optimistic and assume that / and // are the same when we ++ # don't know. ++ gl_cv_double_slash_root='unknown, assuming no' ;; ++ esac ++ else ++ set x `ls -di / // 2>/dev/null` ++ if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then ++ gl_cv_double_slash_root=no ++ else ++ gl_cv_double_slash_root=yes ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 ++$as_echo "$gl_cv_double_slash_root" >&6; } ++ if test "$gl_cv_double_slash_root" = yes; then ++ ++$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5 ++$as_echo_n "checking whether realpath works... " >&6; } ++if ${gl_cv_func_realpath_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ touch conftest.a ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_realpath_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ #include ++ ++int ++main () ++{ ++ ++ int result = 0; ++ { ++ char *name = realpath ("conftest.a", NULL); ++ if (!(name && *name == '/')) ++ result |= 1; ++ } ++ { ++ char *name = realpath ("conftest.b/../conftest.a", NULL); ++ if (name != NULL) ++ result |= 2; ++ } ++ { ++ char *name = realpath ("conftest.a/", NULL); ++ if (name != NULL) ++ result |= 4; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_realpath_works=yes ++else ++ gl_cv_func_realpath_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_realpath_works" >&5 ++$as_echo "$gl_cv_func_realpath_works" >&6; } ++ if test "$gl_cv_func_realpath_works" = yes; then ++ ++$as_echo "@%:@define FUNC_REALPATH_WORKS 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB__EXIT=0; ++ GNULIB_ATOLL=0; ++ GNULIB_CALLOC_POSIX=0; ++ GNULIB_CANONICALIZE_FILE_NAME=0; ++ GNULIB_GETLOADAVG=0; ++ GNULIB_GETSUBOPT=0; ++ GNULIB_GRANTPT=0; ++ GNULIB_MALLOC_POSIX=0; ++ GNULIB_MBTOWC=0; ++ GNULIB_MKDTEMP=0; ++ GNULIB_MKOSTEMP=0; ++ GNULIB_MKOSTEMPS=0; ++ GNULIB_MKSTEMP=0; ++ GNULIB_MKSTEMPS=0; ++ GNULIB_PTSNAME=0; ++ GNULIB_PUTENV=0; ++ GNULIB_RANDOM_R=0; ++ GNULIB_REALLOC_POSIX=0; ++ GNULIB_REALPATH=0; ++ GNULIB_RPMATCH=0; ++ GNULIB_SETENV=0; ++ GNULIB_STRTOD=0; ++ GNULIB_STRTOLL=0; ++ GNULIB_STRTOULL=0; ++ GNULIB_SYSTEM_POSIX=0; ++ GNULIB_UNLOCKPT=0; ++ GNULIB_UNSETENV=0; ++ GNULIB_WCTOMB=0; ++ HAVE__EXIT=1; ++ HAVE_ATOLL=1; ++ HAVE_CANONICALIZE_FILE_NAME=1; ++ HAVE_DECL_GETLOADAVG=1; ++ HAVE_GETSUBOPT=1; ++ HAVE_GRANTPT=1; ++ HAVE_MKDTEMP=1; ++ HAVE_MKOSTEMP=1; ++ HAVE_MKOSTEMPS=1; ++ HAVE_MKSTEMP=1; ++ HAVE_MKSTEMPS=1; ++ HAVE_PTSNAME=1; ++ HAVE_RANDOM_H=1; ++ HAVE_RANDOM_R=1; ++ HAVE_REALPATH=1; ++ HAVE_RPMATCH=1; ++ HAVE_SETENV=1; ++ HAVE_DECL_SETENV=1; ++ HAVE_STRTOD=1; ++ HAVE_STRTOLL=1; ++ HAVE_STRTOULL=1; ++ HAVE_STRUCT_RANDOM_DATA=1; ++ HAVE_SYS_LOADAVG_H=0; ++ HAVE_UNLOCKPT=1; ++ HAVE_DECL_UNSETENV=1; ++ REPLACE_CALLOC=0; ++ REPLACE_CANONICALIZE_FILE_NAME=0; ++ REPLACE_MALLOC=0; ++ REPLACE_MBTOWC=0; ++ REPLACE_MKSTEMP=0; ++ REPLACE_PUTENV=0; ++ REPLACE_REALLOC=0; ++ REPLACE_REALPATH=0; ++ REPLACE_SETENV=0; ++ REPLACE_STRTOD=0; ++ REPLACE_UNSETENV=0; ++ REPLACE_WCTOMB=0; ++ ++ ++ GNULIB_CHOWN=0; ++ GNULIB_CLOSE=0; ++ GNULIB_DUP2=0; ++ GNULIB_DUP3=0; ++ GNULIB_ENVIRON=0; ++ GNULIB_EUIDACCESS=0; ++ GNULIB_FACCESSAT=0; ++ GNULIB_FCHDIR=0; ++ GNULIB_FCHOWNAT=0; ++ GNULIB_FSYNC=0; ++ GNULIB_FTRUNCATE=0; ++ GNULIB_GETCWD=0; ++ GNULIB_GETDOMAINNAME=0; ++ GNULIB_GETDTABLESIZE=0; ++ GNULIB_GETGROUPS=0; ++ GNULIB_GETHOSTNAME=0; ++ GNULIB_GETLOGIN=0; ++ GNULIB_GETLOGIN_R=0; ++ GNULIB_GETPAGESIZE=0; ++ GNULIB_GETUSERSHELL=0; ++ GNULIB_LCHOWN=0; ++ GNULIB_LINK=0; ++ GNULIB_LINKAT=0; ++ GNULIB_LSEEK=0; ++ GNULIB_PIPE=0; ++ GNULIB_PIPE2=0; ++ GNULIB_PREAD=0; ++ GNULIB_PWRITE=0; ++ GNULIB_READLINK=0; ++ GNULIB_READLINKAT=0; ++ GNULIB_RMDIR=0; ++ GNULIB_SLEEP=0; ++ GNULIB_SYMLINK=0; ++ GNULIB_SYMLINKAT=0; ++ GNULIB_TTYNAME_R=0; ++ GNULIB_UNISTD_H_GETOPT=0; ++ GNULIB_UNISTD_H_SIGPIPE=0; ++ GNULIB_UNLINK=0; ++ GNULIB_UNLINKAT=0; ++ GNULIB_USLEEP=0; ++ GNULIB_WRITE=0; ++ HAVE_CHOWN=1; ++ HAVE_DUP2=1; ++ HAVE_DUP3=1; ++ HAVE_EUIDACCESS=1; ++ HAVE_FACCESSAT=1; ++ HAVE_FCHDIR=1; ++ HAVE_FCHOWNAT=1; ++ HAVE_FSYNC=1; ++ HAVE_FTRUNCATE=1; ++ HAVE_GETDTABLESIZE=1; ++ HAVE_GETGROUPS=1; ++ HAVE_GETHOSTNAME=1; ++ HAVE_GETLOGIN=1; ++ HAVE_GETPAGESIZE=1; ++ HAVE_LCHOWN=1; ++ HAVE_LINK=1; ++ HAVE_LINKAT=1; ++ HAVE_PIPE=1; ++ HAVE_PIPE2=1; ++ HAVE_PREAD=1; ++ HAVE_PWRITE=1; ++ HAVE_READLINK=1; ++ HAVE_READLINKAT=1; ++ HAVE_SLEEP=1; ++ HAVE_SYMLINK=1; ++ HAVE_SYMLINKAT=1; ++ HAVE_UNLINKAT=1; ++ HAVE_USLEEP=1; ++ HAVE_DECL_ENVIRON=1; ++ HAVE_DECL_FCHDIR=1; ++ HAVE_DECL_GETDOMAINNAME=1; ++ HAVE_DECL_GETLOGIN_R=1; ++ HAVE_DECL_GETPAGESIZE=1; ++ HAVE_DECL_GETUSERSHELL=1; ++ HAVE_DECL_TTYNAME_R=1; ++ HAVE_OS_H=0; ++ HAVE_SYS_PARAM_H=0; ++ REPLACE_CHOWN=0; ++ REPLACE_CLOSE=0; ++ REPLACE_DUP=0; ++ REPLACE_DUP2=0; ++ REPLACE_FCHOWNAT=0; ++ REPLACE_GETCWD=0; ++ REPLACE_GETDOMAINNAME=0; ++ REPLACE_GETLOGIN_R=0; ++ REPLACE_GETGROUPS=0; ++ REPLACE_GETPAGESIZE=0; ++ REPLACE_LCHOWN=0; ++ REPLACE_LINK=0; ++ REPLACE_LINKAT=0; ++ REPLACE_LSEEK=0; ++ REPLACE_PREAD=0; ++ REPLACE_PWRITE=0; ++ REPLACE_READLINK=0; ++ REPLACE_RMDIR=0; ++ REPLACE_SLEEP=0; ++ REPLACE_SYMLINK=0; ++ REPLACE_TTYNAME_R=0; ++ REPLACE_UNLINK=0; ++ REPLACE_UNLINKAT=0; ++ REPLACE_USLEEP=0; ++ REPLACE_WRITE=0; ++ UNISTD_H_HAVE_WINSOCK2_H=0; ++ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 ++$as_echo_n "checking if environ is properly declared... " >&6; } ++ if ${gt_cv_var_environ_declaration+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ extern struct { int foo; } environ; ++int ++main () ++{ ++environ.foo = 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_var_environ_declaration=no ++else ++ gt_cv_var_environ_declaration=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 ++$as_echo "$gt_cv_var_environ_declaration" >&6; } ++ if test $gt_cv_var_environ_declaration = yes; then ++ ++$as_echo "@%:@define HAVE_ENVIRON_DECL 1" >>confdefs.h ++ ++ fi ++ ++ ++ if test $gt_cv_var_environ_declaration != yes; then ++ HAVE_DECL_ENVIRON=0 ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 ++$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } ++if ${gl_cv_have_include_next+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftestd1a conftestd1b conftestd2 ++ mkdir conftestd1a conftestd1b conftestd2 ++ cat < conftestd1a/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd1b/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd2/conftest.h ++#ifndef DEFINED_IN_CONFTESTD1 ++#error "include_next test doesn't work" ++#endif ++#define DEFINED_IN_CONFTESTD2 ++EOF ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=yes ++else ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=buggy ++else ++ gl_cv_have_include_next=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ rm -rf conftestd1a conftestd1b conftestd2 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 ++$as_echo "$gl_cv_have_include_next" >&6; } ++ PRAGMA_SYSTEM_HEADER= ++ if test $gl_cv_have_include_next = yes; then ++ INCLUDE_NEXT=include_next ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ if test -n "$GCC"; then ++ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' ++ fi ++ else ++ if test $gl_cv_have_include_next = buggy; then ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ else ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include ++ fi ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 ++$as_echo_n "checking whether system header files limit the line length... " >&6; } ++if ${gl_cv_pragma_columns+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __TANDEM ++choke me ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "choke me" >/dev/null 2>&1; then : ++ gl_cv_pragma_columns=yes ++else ++ gl_cv_pragma_columns=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 ++$as_echo "$gl_cv_pragma_columns" >&6; } ++ if test $gl_cv_pragma_columns = yes; then ++ PRAGMA_COLUMNS="#pragma COLUMNS 10000" ++ else ++ PRAGMA_COLUMNS= ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 ++$as_echo_n "checking for complete errno.h... " >&6; } ++if ${gl_cv_header_errno_h_complete+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if !defined ENOMSG ++booboo ++#endif ++#if !defined EIDRM ++booboo ++#endif ++#if !defined ENOLINK ++booboo ++#endif ++#if !defined EPROTO ++booboo ++#endif ++#if !defined EMULTIHOP ++booboo ++#endif ++#if !defined EBADMSG ++booboo ++#endif ++#if !defined EOVERFLOW ++booboo ++#endif ++#if !defined ENOTSUP ++booboo ++#endif ++#if !defined ESTALE ++booboo ++#endif ++#if !defined EDQUOT ++booboo ++#endif ++#if !defined ECANCELED ++booboo ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "booboo" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_complete=no ++else ++ gl_cv_header_errno_h_complete=yes ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 ++$as_echo "$gl_cv_header_errno_h_complete" >&6; } ++ if test $gl_cv_header_errno_h_complete = yes; then ++ ERRNO_H='' ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_errno_h='<'errno.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_errno_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/errno.h#{ ++ s#.*"\(.*/errno.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 ++$as_echo "$gl_cv_next_errno_h" >&6; } ++ fi ++ NEXT_ERRNO_H=$gl_cv_next_errno_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'errno.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_errno_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ERRNO_H='errno.h' ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 ++$as_echo_n "checking for EMULTIHOP value... " >&6; } ++if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=yes ++else ++ gl_cv_header_errno_h_EMULTIHOP=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 ++$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } ++ case $gl_cv_header_errno_h_EMULTIHOP in ++ yes | no) ++ EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ++ ;; ++ *) ++ EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 ++$as_echo_n "checking for ENOLINK value... " >&6; } ++if ${gl_cv_header_errno_h_ENOLINK+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=yes ++else ++ gl_cv_header_errno_h_ENOLINK=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 ++$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } ++ case $gl_cv_header_errno_h_ENOLINK in ++ yes | no) ++ ENOLINK_HIDDEN=0; ENOLINK_VALUE= ++ ;; ++ *) ++ ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 ++$as_echo_n "checking for EOVERFLOW value... " >&6; } ++if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=yes ++else ++ gl_cv_header_errno_h_EOVERFLOW=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 ++$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } ++ case $gl_cv_header_errno_h_EOVERFLOW in ++ yes | no) ++ EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ++ ;; ++ *) ++ EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror_r" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRERROR_R $ac_have_decl ++_ACEOF ++ ++for ac_func in strerror_r ++do : ++ ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" ++if test "x$ac_cv_func_strerror_r" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRERROR_R 1 ++_ACEOF ++ ++fi ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 ++$as_echo_n "checking whether strerror_r returns char *... " >&6; } ++if ${ac_cv_func_strerror_r_char_p+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_cv_func_strerror_r_char_p=no ++ if test $ac_cv_have_decl_strerror_r = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ char buf[100]; ++ char x = *strerror_r (0, buf, sizeof buf); ++ char *p = strerror_r (0, buf, sizeof buf); ++ return !p || x; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_func_strerror_r_char_p=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ else ++ # strerror_r is not declared. Choose between ++ # systems that have relatively inaccessible declarations for the ++ # function. BeOS and DEC UNIX 4.0 fall in this category, but the ++ # former has a strerror_r that returns char*, while the latter ++ # has a strerror_r that returns `int'. ++ # This test should segfault on the DEC system. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++ extern char *strerror_r (); ++int ++main () ++{ ++char buf[100]; ++ char x = *strerror_r (0, buf, sizeof buf); ++ return ! isalpha (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_strerror_r_char_p=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 ++$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } ++if test $ac_cv_func_strerror_r_char_p = yes; then ++ ++$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++$as_echo_n "checking for inline... " >&6; } ++if ${ac_cv_c_inline+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_inline=no ++for ac_kw in inline __inline__ __inline; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __cplusplus ++typedef int foo_t; ++static $ac_kw foo_t static_foo () {return 0; } ++$ac_kw foo_t foo () {return 0; } ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_inline=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_inline" != no && break ++done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++$as_echo "$ac_cv_c_inline" >&6; } ++ ++case $ac_cv_c_inline in ++ inline | yes) ;; ++ *) ++ case $ac_cv_c_inline in ++ no) ac_val=;; ++ *) ac_val=$ac_cv_c_inline;; ++ esac ++ cat >>confdefs.h <<_ACEOF ++#ifndef __cplusplus ++#define inline $ac_val ++#endif ++_ACEOF ++ ;; ++esac ++ ++ ++ XGETTEXT_EXTRA_OPTIONS= ++ ++ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" ++if test "x$ac_cv_type_mode_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define mode_t int ++_ACEOF ++ ++fi ++ ++ ++ ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include ++" ++if test "x$ac_cv_type_sig_atomic_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIG_ATOMIC_T 1 ++_ACEOF ++ ++ ++else ++ ++$as_echo "@%:@define sig_atomic_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ GNULIB_DPRINTF=0; ++ GNULIB_FCLOSE=0; ++ GNULIB_FFLUSH=0; ++ GNULIB_FOPEN=0; ++ GNULIB_FPRINTF=0; ++ GNULIB_FPRINTF_POSIX=0; ++ GNULIB_FPURGE=0; ++ GNULIB_FPUTC=0; ++ GNULIB_FPUTS=0; ++ GNULIB_FREOPEN=0; ++ GNULIB_FSEEK=0; ++ GNULIB_FSEEKO=0; ++ GNULIB_FTELL=0; ++ GNULIB_FTELLO=0; ++ GNULIB_FWRITE=0; ++ GNULIB_GETDELIM=0; ++ GNULIB_GETLINE=0; ++ GNULIB_OBSTACK_PRINTF=0; ++ GNULIB_OBSTACK_PRINTF_POSIX=0; ++ GNULIB_PERROR=0; ++ GNULIB_POPEN=0; ++ GNULIB_PRINTF=0; ++ GNULIB_PRINTF_POSIX=0; ++ GNULIB_PUTC=0; ++ GNULIB_PUTCHAR=0; ++ GNULIB_PUTS=0; ++ GNULIB_REMOVE=0; ++ GNULIB_RENAME=0; ++ GNULIB_RENAMEAT=0; ++ GNULIB_SNPRINTF=0; ++ GNULIB_SPRINTF_POSIX=0; ++ GNULIB_STDIO_H_SIGPIPE=0; ++ GNULIB_TMPFILE=0; ++ GNULIB_VASPRINTF=0; ++ GNULIB_VDPRINTF=0; ++ GNULIB_VFPRINTF=0; ++ GNULIB_VFPRINTF_POSIX=0; ++ GNULIB_VPRINTF=0; ++ GNULIB_VPRINTF_POSIX=0; ++ GNULIB_VSNPRINTF=0; ++ GNULIB_VSPRINTF_POSIX=0; ++ HAVE_DECL_FPURGE=1; ++ HAVE_DECL_FSEEKO=1; ++ HAVE_DECL_FTELLO=1; ++ HAVE_DECL_GETDELIM=1; ++ HAVE_DECL_GETLINE=1; ++ HAVE_DECL_OBSTACK_PRINTF=1; ++ HAVE_DECL_SNPRINTF=1; ++ HAVE_DECL_VSNPRINTF=1; ++ HAVE_DPRINTF=1; ++ HAVE_FSEEKO=1; ++ HAVE_FTELLO=1; ++ HAVE_RENAMEAT=1; ++ HAVE_VASPRINTF=1; ++ HAVE_VDPRINTF=1; ++ REPLACE_DPRINTF=0; ++ REPLACE_FCLOSE=0; ++ REPLACE_FFLUSH=0; ++ REPLACE_FOPEN=0; ++ REPLACE_FPRINTF=0; ++ REPLACE_FPURGE=0; ++ REPLACE_FREOPEN=0; ++ REPLACE_FSEEK=0; ++ REPLACE_FSEEKO=0; ++ REPLACE_FTELL=0; ++ REPLACE_FTELLO=0; ++ REPLACE_GETDELIM=0; ++ REPLACE_GETLINE=0; ++ REPLACE_OBSTACK_PRINTF=0; ++ REPLACE_PERROR=0; ++ REPLACE_POPEN=0; ++ REPLACE_PRINTF=0; ++ REPLACE_REMOVE=0; ++ REPLACE_RENAME=0; ++ REPLACE_RENAMEAT=0; ++ REPLACE_SNPRINTF=0; ++ REPLACE_SPRINTF=0; ++ REPLACE_STDIO_WRITE_FUNCS=0; ++ REPLACE_TMPFILE=0; ++ REPLACE_VASPRINTF=0; ++ REPLACE_VDPRINTF=0; ++ REPLACE_VFPRINTF=0; ++ REPLACE_VPRINTF=0; ++ REPLACE_VSNPRINTF=0; ++ REPLACE_VSPRINTF=0; ++ ++ ++ GNULIB_FCNTL=0; ++ GNULIB_OPEN=0; ++ GNULIB_OPENAT=0; ++ HAVE_FCNTL=1; ++ HAVE_OPENAT=1; ++ REPLACE_FCNTL=0; ++ REPLACE_OPEN=0; ++ REPLACE_OPENAT=0; ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 ++$as_echo_n "checking for working fcntl.h... " >&6; } ++if ${gl_cv_header_working_fcntl_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_header_working_fcntl_h=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ #include ++ #ifndef O_NOATIME ++ #define O_NOATIME 0 ++ #endif ++ #ifndef O_NOFOLLOW ++ #define O_NOFOLLOW 0 ++ #endif ++ static int const constants[] = ++ { ++ O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, ++ O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY ++ }; ++ ++int ++main () ++{ ++ ++ int result = !constants; ++ { ++ static char const sym[] = "conftest.sym"; ++ if (symlink (".", sym) != 0) ++ result |= 2; ++ else ++ { ++ int fd = open (sym, O_RDONLY | O_NOFOLLOW); ++ if (fd >= 0) ++ { ++ close (fd); ++ result |= 4; ++ } ++ } ++ unlink (sym); ++ } ++ { ++ static char const file[] = "confdefs.h"; ++ int fd = open (file, O_RDONLY | O_NOATIME); ++ if (fd < 0) ++ result |= 8; ++ else ++ { ++ struct stat st0; ++ if (fstat (fd, &st0) != 0) ++ result |= 16; ++ else ++ { ++ char c; ++ sleep (1); ++ if (read (fd, &c, 1) != 1) ++ result |= 24; ++ else ++ { ++ if (close (fd) != 0) ++ result |= 32; ++ else ++ { ++ struct stat st1; ++ if (stat (file, &st1) != 0) ++ result |= 40; ++ else ++ if (st0.st_atime != st1.st_atime) ++ result |= 64; ++ } ++ } ++ } ++ } ++ } ++ return result; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_fcntl_h=yes ++else ++ case $? in #( ++ 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( ++ 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( ++ 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( ++ *) gl_cv_header_working_fcntl_h='no';; ++ esac ++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_header_working_fcntl_h" >&5 ++$as_echo "$gl_cv_header_working_fcntl_h" >&6; } ++ ++ case $gl_cv_header_working_fcntl_h in #( ++ *O_NOATIME* | no | cross-compiling) ac_val=0;; #( ++ *) ac_val=1;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WORKING_O_NOATIME $ac_val ++_ACEOF ++ ++ ++ case $gl_cv_header_working_fcntl_h in #( ++ *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( ++ *) ac_val=1;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 ++$as_echo_n "checking for fseeko... " >&6; } ++if ${gl_cv_func_fseeko+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++fseeko (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_fseeko=yes ++else ++ gl_cv_func_fseeko=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 ++$as_echo "$gl_cv_func_fseeko" >&6; } ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_ACOSL=0; ++ GNULIB_ASINL=0; ++ GNULIB_ATANL=0; ++ GNULIB_CEIL=0; ++ GNULIB_CEILF=0; ++ GNULIB_CEILL=0; ++ GNULIB_COSL=0; ++ GNULIB_EXPL=0; ++ GNULIB_FLOOR=0; ++ GNULIB_FLOORF=0; ++ GNULIB_FLOORL=0; ++ GNULIB_FREXP=0; ++ GNULIB_FREXPL=0; ++ GNULIB_ISFINITE=0; ++ GNULIB_ISINF=0; ++ GNULIB_ISNAN=0; ++ GNULIB_ISNANF=0; ++ GNULIB_ISNAND=0; ++ GNULIB_ISNANL=0; ++ GNULIB_LDEXPL=0; ++ GNULIB_LOGB=0; ++ GNULIB_LOGL=0; ++ GNULIB_ROUND=0; ++ GNULIB_ROUNDF=0; ++ GNULIB_ROUNDL=0; ++ GNULIB_SIGNBIT=0; ++ GNULIB_SINL=0; ++ GNULIB_SQRTL=0; ++ GNULIB_TANL=0; ++ GNULIB_TRUNC=0; ++ GNULIB_TRUNCF=0; ++ GNULIB_TRUNCL=0; ++ HAVE_ACOSL=1; ++ HAVE_ASINL=1; ++ HAVE_ATANL=1; ++ HAVE_COSL=1; ++ HAVE_EXPL=1; ++ HAVE_ISNANF=1; ++ HAVE_ISNAND=1; ++ HAVE_ISNANL=1; ++ HAVE_LOGL=1; ++ HAVE_SINL=1; ++ HAVE_SQRTL=1; ++ HAVE_TANL=1; ++ HAVE_DECL_ACOSL=1; ++ HAVE_DECL_ASINL=1; ++ HAVE_DECL_ATANL=1; ++ HAVE_DECL_CEILF=1; ++ HAVE_DECL_CEILL=1; ++ HAVE_DECL_COSL=1; ++ HAVE_DECL_EXPL=1; ++ HAVE_DECL_FLOORF=1; ++ HAVE_DECL_FLOORL=1; ++ HAVE_DECL_FREXPL=1; ++ HAVE_DECL_LDEXPL=1; ++ HAVE_DECL_LOGB=1; ++ HAVE_DECL_LOGL=1; ++ HAVE_DECL_ROUND=1; ++ HAVE_DECL_ROUNDF=1; ++ HAVE_DECL_ROUNDL=1; ++ HAVE_DECL_SINL=1; ++ HAVE_DECL_SQRTL=1; ++ HAVE_DECL_TANL=1; ++ HAVE_DECL_TRUNC=1; ++ HAVE_DECL_TRUNCF=1; ++ HAVE_DECL_TRUNCL=1; ++ REPLACE_CEIL=0; ++ REPLACE_CEILF=0; ++ REPLACE_CEILL=0; ++ REPLACE_FLOOR=0; ++ REPLACE_FLOORF=0; ++ REPLACE_FLOORL=0; ++ REPLACE_FREXP=0; ++ REPLACE_FREXPL=0; ++ REPLACE_HUGE_VAL=0; ++ REPLACE_ISFINITE=0; ++ REPLACE_ISINF=0; ++ REPLACE_ISNAN=0; ++ REPLACE_LDEXPL=0; ++ REPLACE_NAN=0; ++ REPLACE_ROUND=0; ++ REPLACE_ROUNDF=0; ++ REPLACE_ROUNDL=0; ++ REPLACE_SIGNBIT=0; ++ REPLACE_SIGNBIT_USING_GCC=0; ++ REPLACE_TRUNC=0; ++ REPLACE_TRUNCF=0; ++ REPLACE_TRUNCL=0; ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5 ++$as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_frexp_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ double x; ++int ++main () ++{ ++int e; return frexp (x, &e) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_frexp_no_libm=yes ++else ++ gl_cv_func_frexp_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5 ++$as_echo "$gl_cv_func_frexp_no_libm" >&6; } ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 ++$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } ++if ${gl_cv_var_stdin_large_offset+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var_stdin_large_offset=yes ++else ++ gl_cv_var_stdin_large_offset=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 ++$as_echo "$gl_cv_var_stdin_large_offset" >&6; } ++ ++ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fseeko" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FSEEKO $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default" ++if test "x$ac_cv_have_decl_ftello" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FTELLO $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_getopt_h='<'getopt.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_getopt_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_getopt_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/getopt.h#{ ++ s#.*"\(.*/getopt.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_getopt_h='<'getopt.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 ++$as_echo "$gl_cv_next_getopt_h" >&6; } ++ fi ++ NEXT_GETOPT_H=$gl_cv_next_getopt_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'getopt.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_getopt_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_getopt_h = yes; then ++ HAVE_GETOPT_H=1 ++ else ++ HAVE_GETOPT_H=0 ++ fi ++ ++ ++ gl_replace_getopt= ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ for ac_header in getopt.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" ++if test "x$ac_cv_header_getopt_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETOPT_H 1 ++_ACEOF ++ ++else ++ gl_replace_getopt=yes ++fi ++ ++done ++ ++ fi ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ for ac_func in getopt_long_only ++do : ++ ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" ++if test "x$ac_cv_func_getopt_long_only" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETOPT_LONG_ONLY 1 ++_ACEOF ++ ++else ++ gl_replace_getopt=yes ++fi ++done ++ ++ fi ++ ++ if test -z "$gl_replace_getopt"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 ++$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } ++if ${gl_cv_func_getopt_posix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int *p = &optreset; return optreset; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_optind_min=1 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++return !getopt_clip; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_optind_min=1 ++else ++ gl_optind_min=0 ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ gl_save_CPPFLAGS=$CPPFLAGS ++ CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ mingw*) gl_cv_func_getopt_posix="guessing no";; ++ darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; ++ *) gl_cv_func_getopt_posix="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++ ++int ++main () ++{ ++ { ++ int argc = 0; ++ char *argv[10]; ++ int c; ++ ++ argv[argc++] = "program"; ++ argv[argc++] = "-a"; ++ argv[argc++] = "foo"; ++ argv[argc++] = "bar"; ++ argv[argc] = NULL; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ ++ c = getopt (argc, argv, "ab"); ++ if (!(c == 'a')) ++ return 1; ++ c = getopt (argc, argv, "ab"); ++ if (!(c == -1)) ++ return 2; ++ if (!(optind == 2)) ++ return 3; ++ } ++ /* Some internal state exists at this point. */ ++ { ++ int argc = 0; ++ char *argv[10]; ++ int c; ++ ++ argv[argc++] = "program"; ++ argv[argc++] = "donald"; ++ argv[argc++] = "-p"; ++ argv[argc++] = "billy"; ++ argv[argc++] = "duck"; ++ argv[argc++] = "-a"; ++ argv[argc++] = "bar"; ++ argv[argc] = NULL; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ ++ c = getopt (argc, argv, "+abp:q:"); ++ if (!(c == -1)) ++ return 4; ++ if (!(strcmp (argv[0], "program") == 0)) ++ return 5; ++ if (!(strcmp (argv[1], "donald") == 0)) ++ return 6; ++ if (!(strcmp (argv[2], "-p") == 0)) ++ return 7; ++ if (!(strcmp (argv[3], "billy") == 0)) ++ return 8; ++ if (!(strcmp (argv[4], "duck") == 0)) ++ return 9; ++ if (!(strcmp (argv[5], "-a") == 0)) ++ return 10; ++ if (!(strcmp (argv[6], "bar") == 0)) ++ return 11; ++ if (!(optind == 1)) ++ return 12; ++ } ++ /* Detect MacOS 10.5, AIX 7.1 bug. */ ++ { ++ char *argv[3] = { "program", "-ab", NULL }; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ if (getopt (2, argv, "ab:") != 'a') ++ return 13; ++ if (getopt (2, argv, "ab:") != '?') ++ return 14; ++ if (optopt != 'b') ++ return 15; ++ if (optind != 2) ++ return 16; ++ } ++ ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_getopt_posix=yes ++else ++ gl_cv_func_getopt_posix=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ CPPFLAGS=$gl_save_CPPFLAGS ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 ++$as_echo "$gl_cv_func_getopt_posix" >&6; } ++ case "$gl_cv_func_getopt_posix" in ++ *no) gl_replace_getopt=yes ;; ++ esac ++ fi ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 ++$as_echo_n "checking for working GNU getopt function... " >&6; } ++if ${gl_cv_func_getopt_gnu+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the ++ # optstring is necessary for programs like m4 that have POSIX-mandated ++ # semantics for supporting options interspersed with files. ++ # Also, since getopt_long is a GNU extension, we require optind=0. ++ # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; ++ # so take care to revert to the correct (non-)export state. ++ gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' ++ case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ int result = 0; ++ /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, ++ and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, ++ OSF/1 5.1, Solaris 10. */ ++ { ++ char *myargv[3]; ++ myargv[0] = "conftest"; ++ myargv[1] = "-+"; ++ myargv[2] = 0; ++ opterr = 0; ++ if (getopt (2, myargv, "+a") != '?') ++ result |= 1; ++ } ++ /* This code succeeds on glibc 2.8, mingw, ++ and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, ++ IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ ++ { ++ char *argv[] = { "program", "-p", "foo", "bar", NULL }; ++ ++ optind = 1; ++ if (getopt (4, argv, "p::") != 'p') ++ result |= 2; ++ else if (optarg != NULL) ++ result |= 4; ++ else if (getopt (4, argv, "p::") != -1) ++ result |= 6; ++ else if (optind != 2) ++ result |= 8; ++ } ++ /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ ++ { ++ char *argv[] = { "program", "foo", "-p", NULL }; ++ optind = 0; ++ if (getopt (3, argv, "-p") != 1) ++ result |= 16; ++ else if (getopt (3, argv, "-p") != 'p') ++ result |= 32; ++ } ++ /* This code fails on glibc 2.11. */ ++ { ++ char *argv[] = { "program", "-b", "-a", NULL }; ++ optind = opterr = 0; ++ if (getopt (3, argv, "+:a:b") != 'b') ++ result |= 64; ++ else if (getopt (3, argv, "+:a:b") != ':') ++ result |= 64; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_getopt_gnu=yes ++else ++ gl_cv_func_getopt_gnu=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ case $gl_had_POSIXLY_CORRECT in ++ exported) ;; ++ yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; ++ *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; ++ esac ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 ++$as_echo "$gl_cv_func_getopt_gnu" >&6; } ++ if test "$gl_cv_func_getopt_gnu" = "no"; then ++ gl_replace_getopt=yes ++ fi ++ fi ++ ++ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getenv" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETENV $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ if test -n "$gl_replace_getopt"; then : ++ ++ ++ ++ GETOPT_H=getopt.h ++ ++$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h ++ ++ ++ ++ GNULIB_UNISTD_H_GETOPT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext" ++ ++ ++ ++ ++ ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 ++$as_echo_n "checking for C/C++ restrict keyword... " >&6; } ++if ${ac_cv_c_restrict+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_restrict=no ++ # The order here caters to the fact that C++ does not require restrict. ++ for ac_kw in __restrict __restrict__ _Restrict restrict; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++typedef int * int_ptr; ++ int foo (int_ptr $ac_kw ip) { ++ return ip[0]; ++ } ++int ++main () ++{ ++int s[1]; ++ int * $ac_kw t = s; ++ t[0] = 0; ++ return foo(t) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_restrict=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_restrict" != no && break ++ done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 ++$as_echo "$ac_cv_c_restrict" >&6; } ++ ++ case $ac_cv_c_restrict in ++ restrict) ;; ++ no) $as_echo "@%:@define restrict /**/" >>confdefs.h ++ ;; ++ *) cat >>confdefs.h <<_ACEOF ++@%:@define restrict $ac_cv_c_restrict ++_ACEOF ++ ;; ++ esac ++ ++ ++ GNULIB_GETTIMEOFDAY=0; ++ HAVE_GETTIMEOFDAY=1; ++ HAVE_STRUCT_TIMEVAL=1; ++ HAVE_SYS_TIME_H=1; ++ REPLACE_GETTIMEOFDAY=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sys_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/time.h#{ ++ s#.*"\(.*/sys/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 ++$as_echo "$gl_cv_next_sys_time_h" >&6; } ++ fi ++ NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_time_h != yes; then ++ HAVE_SYS_TIME_H=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 ++$as_echo_n "checking for struct timeval... " >&6; } ++if ${gl_cv_sys_struct_timeval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include ++ ++int ++main () ++{ ++static struct timeval x; x.tv_sec = x.tv_usec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timeval=yes ++else ++ gl_cv_sys_struct_timeval=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 ++$as_echo "$gl_cv_sys_struct_timeval" >&6; } ++ if test $gl_cv_sys_struct_timeval != yes; then ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 ++$as_echo_n "checking where to find the exponent in a 'float'... " >&6; } ++if ${gl_cv_cc_float_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_cc_float_expbit0="word 0 bit 23" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_float_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 ++$as_echo "$gl_cv_cc_float_expbit0" >&6; } ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 ++$as_echo_n "checking whether byte ordering is bigendian... " >&6; } ++if ${ac_cv_c_bigendian+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_bigendian=unknown ++ # See if we're dealing with a universal compiler. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ # Check for potential -arch flags. It is not universal unless ++ # there are at least two -arch flags with different values. ++ ac_arch= ++ ac_prev= ++ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ++ if test -n "$ac_prev"; then ++ case $ac_word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ++ ac_arch=$ac_word ++ else ++ ac_cv_c_bigendian=universal ++ break ++ fi ++ ;; ++ esac ++ ac_prev= ++ elif test "x$ac_word" = "x-arch"; then ++ ac_prev=arch ++ fi ++ done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if sys/param.h defines the BYTE_ORDER macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ++ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ++ && LITTLE_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if BYTE_ORDER != BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to _BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#ifndef _BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # Compile a test program. ++ if test "$cross_compiling" = yes; then : ++ # Try to guess by grepping values from an object file. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++short int ascii_mm[] = ++ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ++ short int ascii_ii[] = ++ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ++ int use_ascii (int i) { ++ return ascii_mm[i] + ascii_ii[i]; ++ } ++ short int ebcdic_ii[] = ++ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ++ short int ebcdic_mm[] = ++ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ++ int use_ebcdic (int i) { ++ return ebcdic_mm[i] + ebcdic_ii[i]; ++ } ++ extern int foo; ++ ++int ++main () ++{ ++return use_ascii (foo) == use_ebcdic (foo); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then ++ ac_cv_c_bigendian=no ++ else ++ # finding both strings is unlikely to happen, but who knows? ++ ac_cv_c_bigendian=unknown ++ fi ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Are we little or big endian? From Harbison&Steele. */ ++ union ++ { ++ long int l; ++ char c[sizeof (long int)]; ++ } u; ++ u.l = 1; ++ return u.c[sizeof (long int) - 1] == 1; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_bigendian=no ++else ++ ac_cv_c_bigendian=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 ++$as_echo "$ac_cv_c_bigendian" >&6; } ++ case $ac_cv_c_bigendian in #( ++ yes) ++ $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h ++;; #( ++ no) ++ ;; #( ++ universal) ++ ++$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ ;; #( ++ *) ++ as_fn_error $? "unknown endianness ++ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; ++ esac ++ ++ ++ ++ GNULIB_NL_LANGINFO=0; ++ HAVE_NL_LANGINFO=1; ++ REPLACE_NL_LANGINFO=0; ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 ++$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } ++if ${ac_cv_gnu_library_2_1+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) ++ Lucky GNU user ++ #endif ++#endif ++#ifdef __UCLIBC__ ++ Lucky user ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky" >/dev/null 2>&1; then : ++ ac_cv_gnu_library_2_1=yes ++else ++ ac_cv_gnu_library_2_1=no ++fi ++rm -f conftest* ++ ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 ++$as_echo "$ac_cv_gnu_library_2_1" >&6; } ++ ++ GLIBC21="$ac_cv_gnu_library_2_1" ++ ++ ++ ++ ++ gl_threads_api=none ++ LIBTHREAD= ++ LTLIBTHREAD= ++ LIBMULTITHREAD= ++ LTLIBMULTITHREAD= ++ if test "$gl_use_threads" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 ++$as_echo_n "checking whether imported symbols can be declared weak... " >&6; } ++if ${gl_cv_have_weak+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_have_weak=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern void xyzzy (); ++#pragma weak xyzzy ++int ++main () ++{ ++xyzzy(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_have_weak=maybe ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test $gl_cv_have_weak = maybe; then ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __ELF__ ++ Extensible Linking Format ++ #endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : ++ gl_cv_have_weak="guessing yes" ++else ++ gl_cv_have_weak="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#pragma weak fputs ++int main () ++{ ++ return (fputs == NULL); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_have_weak=yes ++else ++ gl_cv_have_weak=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 ++$as_echo "$gl_cv_have_weak" >&6; } ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then ++ # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that ++ # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. ++ ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = xyes; then : ++ gl_have_pthread_h=yes ++else ++ gl_have_pthread_h=no ++fi ++ ++ ++ if test "$gl_have_pthread_h" = yes; then ++ # Other possible tests: ++ # -lpthreads (FSU threads, PCthreads) ++ # -lgthreads ++ gl_have_pthread= ++ # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist ++ # in libc. IRIX 6.5 has the first one in both libc and libpthread, but ++ # the second one only in libpthread, and lock.c needs it. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++pthread_mutex_lock((pthread_mutex_t*)0); ++ pthread_mutexattr_init((pthread_mutexattr_t*)0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_have_pthread=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ # Test for libpthread by looking for pthread_kill. (Not pthread_self, ++ # since it is defined as a macro on OSF/1.) ++ if test -n "$gl_have_pthread"; then ++ # The program links fine without libpthread. But it may actually ++ # need to link with libpthread in order to create multiple threads. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 ++$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } ++if ${ac_cv_lib_pthread_pthread_kill+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpthread $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_kill (); ++int ++main () ++{ ++return pthread_kill (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pthread_pthread_kill=yes ++else ++ ac_cv_lib_pthread_pthread_kill=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 ++$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } ++if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : ++ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread ++ # On Solaris and HP-UX, most pthread functions exist also in libc. ++ # Therefore pthread_in_use() needs to actually try to create a ++ # thread: pthread_create from libc will fail, whereas ++ # pthread_create will actually create a thread. ++ case "$host_os" in ++ solaris* | hpux*) ++ ++$as_echo "@%:@define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h ++ ++ esac ++ ++fi ++ ++ else ++ # Some library is needed. Try libpthread and libc_r. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 ++$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } ++if ${ac_cv_lib_pthread_pthread_kill+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpthread $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_kill (); ++int ++main () ++{ ++return pthread_kill (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pthread_pthread_kill=yes ++else ++ ac_cv_lib_pthread_pthread_kill=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 ++$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } ++if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : ++ gl_have_pthread=yes ++ LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread ++ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread ++fi ++ ++ if test -z "$gl_have_pthread"; then ++ # For FreeBSD 4. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 ++$as_echo_n "checking for pthread_kill in -lc_r... " >&6; } ++if ${ac_cv_lib_c_r_pthread_kill+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lc_r $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_kill (); ++int ++main () ++{ ++return pthread_kill (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_c_r_pthread_kill=yes ++else ++ ac_cv_lib_c_r_pthread_kill=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 ++$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } ++if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : ++ gl_have_pthread=yes ++ LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r ++ LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r ++fi ++ ++ fi ++ fi ++ if test -n "$gl_have_pthread"; then ++ gl_threads_api=posix ++ ++$as_echo "@%:@define USE_POSIX_THREADS 1" >>confdefs.h ++ ++ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ ++$as_echo "@%:@define USE_POSIX_THREADS_WEAK 1" >>confdefs.h ++ ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -z "$gl_have_pthread"; then ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then ++ gl_have_solaristhread= ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lthread" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++thr_self(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_have_solaristhread=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ if test -n "$gl_have_solaristhread"; then ++ gl_threads_api=solaris ++ LIBTHREAD=-lthread ++ LTLIBTHREAD=-lthread ++ LIBMULTITHREAD="$LIBTHREAD" ++ LTLIBMULTITHREAD="$LTLIBTHREAD" ++ ++$as_echo "@%:@define USE_SOLARIS_THREADS 1" >>confdefs.h ++ ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ ++$as_echo "@%:@define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h ++ ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ fi ++ fi ++ if test "$gl_use_threads" = pth; then ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 ++$as_echo_n "checking how to link with libpth... " >&6; } ++if ${ac_cv_libpth_libs+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libpth-prefix was given. ++if test "${with_libpth_prefix+set}" = set; then : ++ withval=$with_libpth_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++ ++fi ++ ++ LIBPTH= ++ LTLIBPTH= ++ INCPTH= ++ LIBPTH_PREFIX= ++ HAVE_LIBPTH= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='pth ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$acl_hardcode_direct" = yes; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ else ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a" ++ else ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = 'pth'; then ++ LIBPTH_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = 'pth'; then ++ LIBPTH_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$dep" ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ac_cv_libpth_libs="$LIBPTH" ++ ac_cv_libpth_ltlibs="$LTLIBPTH" ++ ac_cv_libpth_cppflags="$INCPTH" ++ ac_cv_libpth_prefix="$LIBPTH_PREFIX" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 ++$as_echo "$ac_cv_libpth_libs" >&6; } ++ LIBPTH="$ac_cv_libpth_libs" ++ LTLIBPTH="$ac_cv_libpth_ltlibs" ++ INCPTH="$ac_cv_libpth_cppflags" ++ LIBPTH_PREFIX="$ac_cv_libpth_prefix" ++ ++ for element in $INCPTH; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ ++ ++ HAVE_LIBPTH=yes ++ ++ ++ ++ gl_have_pth= ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBPTH" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++pth_self(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_have_pth=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ if test -n "$gl_have_pth"; then ++ gl_threads_api=pth ++ LIBTHREAD="$LIBPTH" ++ LTLIBTHREAD="$LTLIBPTH" ++ LIBMULTITHREAD="$LIBTHREAD" ++ LTLIBMULTITHREAD="$LTLIBTHREAD" ++ ++$as_echo "@%:@define USE_PTH_THREADS 1" >>confdefs.h ++ ++ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ ++$as_echo "@%:@define USE_PTH_THREADS_WEAK 1" >>confdefs.h ++ ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ else ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ fi ++ fi ++ if test -z "$gl_have_pthread"; then ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then ++ if { case "$host_os" in ++ mingw*) true;; ++ *) false;; ++ esac ++ }; then ++ gl_threads_api=win32 ++ ++$as_echo "@%:@define USE_WIN32_THREADS 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 ++$as_echo_n "checking for multithread API to use... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 ++$as_echo "$gl_threads_api" >&6; } ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_FCHMODAT=0; ++ GNULIB_FSTATAT=0; ++ GNULIB_FUTIMENS=0; ++ GNULIB_LCHMOD=0; ++ GNULIB_LSTAT=0; ++ GNULIB_MKDIRAT=0; ++ GNULIB_MKFIFO=0; ++ GNULIB_MKFIFOAT=0; ++ GNULIB_MKNOD=0; ++ GNULIB_MKNODAT=0; ++ GNULIB_STAT=0; ++ GNULIB_UTIMENSAT=0; ++ HAVE_FCHMODAT=1; ++ HAVE_FSTATAT=1; ++ HAVE_FUTIMENS=1; ++ HAVE_LCHMOD=1; ++ HAVE_LSTAT=1; ++ HAVE_MKDIRAT=1; ++ HAVE_MKFIFO=1; ++ HAVE_MKFIFOAT=1; ++ HAVE_MKNOD=1; ++ HAVE_MKNODAT=1; ++ HAVE_UTIMENSAT=1; ++ REPLACE_FSTAT=0; ++ REPLACE_FSTATAT=0; ++ REPLACE_FUTIMENS=0; ++ REPLACE_LSTAT=0; ++ REPLACE_MKDIR=0; ++ REPLACE_MKFIFO=0; ++ REPLACE_MKNOD=0; ++ REPLACE_STAT=0; ++ REPLACE_UTIMENSAT=0; ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 ++$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } ++if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f conftest.sym conftest.file ++ echo >conftest.file ++ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then ++ if test "$cross_compiling" = yes; then : ++ # When cross-compiling, be pessimistic so we will end up using the ++ # replacement version of lstat that checks for trailing slashes and ++ # calls lstat a second time when necessary. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++struct stat sbuf; ++ /* Linux will dereference the symlink and fail, as required by ++ POSIX. That is better in the sense that it means we will not ++ have to compile and use the lstat wrapper. */ ++ return lstat ("conftest.sym/", &sbuf) == 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=yes ++else ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ else ++ # If the 'ln -s' command failed, then we probably don't even ++ # have an lstat function. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++ fi ++ rm -f conftest.sym conftest.file ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 ++$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } ++ test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 ++_ACEOF ++ ++ if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS lstat.$ac_objext" ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 ++$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } ++if ${gl_cv_func_malloc_posix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_malloc_posix=yes ++else ++ gl_cv_func_malloc_posix=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 ++$as_echo "$gl_cv_func_malloc_posix" >&6; } ++ ++ ++ for ac_header in stdlib.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdlib_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDLIB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 ++$as_echo_n "checking for GNU libc compatible malloc... " >&6; } ++if ${ac_cv_func_malloc_0_nonnull+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_malloc_0_nonnull=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined STDC_HEADERS || defined HAVE_STDLIB_H ++# include ++#else ++char *malloc (); ++#endif ++ ++int ++main () ++{ ++return ! malloc (0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_malloc_0_nonnull=yes ++else ++ ac_cv_func_malloc_0_nonnull=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: $ac_cv_func_malloc_0_nonnull" >&5 ++$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } ++if test $ac_cv_func_malloc_0_nonnull = yes; then : ++ gl_cv_func_malloc_0_nonnull=1 ++else ++ gl_cv_func_malloc_0_nonnull=0 ++fi ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull ++_ACEOF ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 ++$as_echo_n "checking for mbstate_t... " >&6; } ++if ${ac_cv_type_mbstate_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int ++main () ++{ ++mbstate_t x; return sizeof x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_type_mbstate_t=yes ++else ++ ac_cv_type_mbstate_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 ++$as_echo "$ac_cv_type_mbstate_t" >&6; } ++ if test $ac_cv_type_mbstate_t = yes; then ++ ++$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h ++ ++ else ++ ++$as_echo "@%:@define mbstate_t int" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_MEMCHR=0; ++ GNULIB_MEMMEM=0; ++ GNULIB_MEMPCPY=0; ++ GNULIB_MEMRCHR=0; ++ GNULIB_RAWMEMCHR=0; ++ GNULIB_STPCPY=0; ++ GNULIB_STPNCPY=0; ++ GNULIB_STRCHRNUL=0; ++ GNULIB_STRDUP=0; ++ GNULIB_STRNCAT=0; ++ GNULIB_STRNDUP=0; ++ GNULIB_STRNLEN=0; ++ GNULIB_STRPBRK=0; ++ GNULIB_STRSEP=0; ++ GNULIB_STRSTR=0; ++ GNULIB_STRCASESTR=0; ++ GNULIB_STRTOK_R=0; ++ GNULIB_MBSLEN=0; ++ GNULIB_MBSNLEN=0; ++ GNULIB_MBSCHR=0; ++ GNULIB_MBSRCHR=0; ++ GNULIB_MBSSTR=0; ++ GNULIB_MBSCASECMP=0; ++ GNULIB_MBSNCASECMP=0; ++ GNULIB_MBSPCASECMP=0; ++ GNULIB_MBSCASESTR=0; ++ GNULIB_MBSCSPN=0; ++ GNULIB_MBSPBRK=0; ++ GNULIB_MBSSPN=0; ++ GNULIB_MBSSEP=0; ++ GNULIB_MBSTOK_R=0; ++ GNULIB_STRERROR=0; ++ GNULIB_STRERROR_R=0; ++ GNULIB_STRSIGNAL=0; ++ GNULIB_STRVERSCMP=0; ++ HAVE_MBSLEN=0; ++ HAVE_MEMCHR=1; ++ HAVE_DECL_MEMMEM=1; ++ HAVE_MEMPCPY=1; ++ HAVE_DECL_MEMRCHR=1; ++ HAVE_RAWMEMCHR=1; ++ HAVE_STPCPY=1; ++ HAVE_STPNCPY=1; ++ HAVE_STRCHRNUL=1; ++ HAVE_DECL_STRDUP=1; ++ HAVE_DECL_STRNDUP=1; ++ HAVE_DECL_STRNLEN=1; ++ HAVE_STRPBRK=1; ++ HAVE_STRSEP=1; ++ HAVE_STRCASESTR=1; ++ HAVE_DECL_STRTOK_R=1; ++ HAVE_DECL_STRERROR_R=1; ++ HAVE_DECL_STRSIGNAL=1; ++ HAVE_STRVERSCMP=1; ++ REPLACE_MEMCHR=0; ++ REPLACE_MEMMEM=0; ++ REPLACE_STPNCPY=0; ++ REPLACE_STRDUP=0; ++ REPLACE_STRSTR=0; ++ REPLACE_STRCASESTR=0; ++ REPLACE_STRERROR=0; ++ REPLACE_STRERROR_R=0; ++ REPLACE_STRNCAT=0; ++ REPLACE_STRNDUP=0; ++ REPLACE_STRNLEN=0; ++ REPLACE_STRSIGNAL=0; ++ REPLACE_STRTOK_R=0; ++ UNDEFINE_STRTOK_R=0; ++ ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 ++$as_echo_n "checking whether memchr works... " >&6; } ++if ${gl_cv_func_memchr_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_memchr_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif ++#endif ++ ++int ++main () ++{ ++ ++ int result = 0; ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ result |= 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ result |= 2; ++ if (memchr (fence - 1, 0, 3) != fence - 1) ++ result |= 4; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_memchr_works=yes ++else ++ gl_cv_func_memchr_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_memchr_works" >&5 ++$as_echo "$gl_cv_func_memchr_works" >&6; } ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_MEMCHR=1 ++ fi ++ else ++ HAVE_MEMCHR=0 ++ fi ++ if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS memchr.$ac_objext" ++ ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_BP_SYM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ fi ++ ++@%:@ Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if ${ac_cv_sys_largefile_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if ${ac_cv_sys_file_offset_bits+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _FILE_OFFSET_BITS 64 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if ${ac_cv_sys_large_files+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGE_FILES 1 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGE_FILES $ac_cv_sys_large_files ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++ ++ ++fi ++ ++ ++ ++ ++ gl_cv_c_multiarch=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $gl_cv_c_multiarch = yes; then ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 ++$as_echo_n "checking for promoted mode_t type... " >&6; } ++if ${gl_cv_promoted_mode_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_promoted_mode_t='int' ++else ++ gl_cv_promoted_mode_t='mode_t' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 ++$as_echo "$gl_cv_promoted_mode_t" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PROMOTED_MODE_T $gl_cv_promoted_mode_t ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_POSIX_SPAWN=0; ++ GNULIB_POSIX_SPAWNP=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=0; ++ GNULIB_POSIX_SPAWNATTR_INIT=0; ++ GNULIB_POSIX_SPAWNATTR_GETFLAGS=0; ++ GNULIB_POSIX_SPAWNATTR_SETFLAGS=0; ++ GNULIB_POSIX_SPAWNATTR_GETPGROUP=0; ++ GNULIB_POSIX_SPAWNATTR_SETPGROUP=0; ++ GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM=0; ++ GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM=0; ++ GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY=0; ++ GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY=0; ++ GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT=0; ++ GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT=0; ++ GNULIB_POSIX_SPAWNATTR_GETSIGMASK=0; ++ GNULIB_POSIX_SPAWNATTR_SETSIGMASK=0; ++ GNULIB_POSIX_SPAWNATTR_DESTROY=0; ++ HAVE_POSIX_SPAWN=1; ++ HAVE_POSIX_SPAWNATTR_T=1; ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=1; ++ ++ REPLACE_POSIX_SPAWN=0; ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_posix_spawn != yes; then ++ HAVE_POSIX_SPAWN=0 ++ fi ++ ++ ++ ++ ++ if test $ac_cv_func_posix_spawn = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5 ++$as_echo_n "checking whether posix_spawn works... " >&6; } ++if ${gl_cv_func_posix_spawn_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++extern char **environ; ++ ++#ifndef STDIN_FILENO ++# define STDIN_FILENO 0 ++#endif ++#ifndef STDOUT_FILENO ++# define STDOUT_FILENO 1 ++#endif ++#ifndef STDERR_FILENO ++# define STDERR_FILENO 2 ++#endif ++ ++#ifndef WTERMSIG ++# define WTERMSIG(x) ((x) & 0x7f) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(x) (WTERMSIG (x) == 0) ++#endif ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(x) (((x) >> 8) & 0xff) ++#endif ++ ++#define CHILD_PROGRAM_FILENAME "/non/exist/ent" ++ ++static int ++fd_safer (int fd) ++{ ++ if (0 <= fd && fd <= 2) ++ { ++ int f = fd_safer (dup (fd)); ++ int e = errno; ++ close (fd); ++ errno = e; ++ fd = f; ++ } ++ ++ return fd; ++} ++ ++int ++main () ++{ ++ char *argv[2] = { CHILD_PROGRAM_FILENAME, NULL }; ++ int ofd[2]; ++ sigset_t blocked_signals; ++ sigset_t fatal_signal_set; ++ posix_spawn_file_actions_t actions; ++ bool actions_allocated; ++ posix_spawnattr_t attrs; ++ bool attrs_allocated; ++ int err; ++ pid_t child; ++ int status; ++ int exitstatus; ++ ++ setvbuf (stdout, NULL, _IOFBF, 0); ++ puts ("This should be seen only once."); ++ if (pipe (ofd) < 0 || (ofd[1] = fd_safer (ofd[1])) < 0) ++ { ++ perror ("cannot create pipe"); ++ exit (1); ++ } ++ sigprocmask (SIG_SETMASK, NULL, &blocked_signals); ++ sigemptyset (&fatal_signal_set); ++ sigaddset (&fatal_signal_set, SIGINT); ++ sigaddset (&fatal_signal_set, SIGTERM); ++ sigaddset (&fatal_signal_set, SIGHUP); ++ sigaddset (&fatal_signal_set, SIGPIPE); ++ sigprocmask (SIG_BLOCK, &fatal_signal_set, NULL); ++ actions_allocated = false; ++ attrs_allocated = false; ++ if ((err = posix_spawn_file_actions_init (&actions)) != 0 ++ || (actions_allocated = true, ++ (err = posix_spawn_file_actions_adddup2 (&actions, ofd[0], STDIN_FILENO)) != 0 ++ || (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) != 0 ++ || (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) != 0 ++ || (err = posix_spawnattr_init (&attrs)) != 0 ++ || (attrs_allocated = true, ++ (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 ++ || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0) ++ || (err = posix_spawnp (&child, CHILD_PROGRAM_FILENAME, &actions, &attrs, argv, environ)) != 0)) ++ { ++ if (actions_allocated) ++ posix_spawn_file_actions_destroy (&actions); ++ if (attrs_allocated) ++ posix_spawnattr_destroy (&attrs); ++ sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL); ++ if (err == ENOENT) ++ return 0; ++ else ++ { ++ errno = err; ++ perror ("subprocess failed"); ++ exit (1); ++ } ++ } ++ posix_spawn_file_actions_destroy (&actions); ++ posix_spawnattr_destroy (&attrs); ++ sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL); ++ close (ofd[0]); ++ close (ofd[1]); ++ status = 0; ++ while (waitpid (child, &status, 0) != child) ++ ; ++ if (!WIFEXITED (status)) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status); ++ exit (1); ++ } ++ exitstatus = WEXITSTATUS (status); ++ if (exitstatus != 127) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus); ++ exit (1); ++ } ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext > conftest.out \ ++ && echo 'This should be seen only once.' > conftest.ok \ ++ && cmp conftest.out conftest.ok > /dev/null; then ++ gl_cv_func_posix_spawn_works=yes ++ else ++ gl_cv_func_posix_spawn_works=no ++ fi ++else ++ gl_cv_func_posix_spawn_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test $gl_cv_func_posix_spawn_works = yes; then ++ if test "$cross_compiling" = yes; then : ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot run test program while cross compiling ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Test whether posix_spawn_file_actions_addopen supports filename arguments ++ that contain special characters such as '*'. */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++extern char **environ; ++ ++#ifndef STDIN_FILENO ++# define STDIN_FILENO 0 ++#endif ++#ifndef STDOUT_FILENO ++# define STDOUT_FILENO 1 ++#endif ++#ifndef STDERR_FILENO ++# define STDERR_FILENO 2 ++#endif ++ ++#ifndef WTERMSIG ++# define WTERMSIG(x) ((x) & 0x7f) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(x) (WTERMSIG (x) == 0) ++#endif ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(x) (((x) >> 8) & 0xff) ++#endif ++ ++#define CHILD_PROGRAM_FILENAME "conftest" ++#define DATA_FILENAME "conftest%=*#?" ++ ++static int ++parent_main (void) ++{ ++ FILE *fp; ++ char *argv[3] = { CHILD_PROGRAM_FILENAME, "-child", NULL }; ++ posix_spawn_file_actions_t actions; ++ bool actions_allocated; ++ int err; ++ pid_t child; ++ int status; ++ int exitstatus; ++ ++ /* Create a data file with specific contents. */ ++ fp = fopen (DATA_FILENAME, "wb"); ++ if (fp == NULL) ++ { ++ perror ("cannot create data file"); ++ return 1; ++ } ++ fwrite ("Halle Potta", 1, 11, fp); ++ if (fflush (fp) || fclose (fp)) ++ { ++ perror ("cannot prepare data file"); ++ return 2; ++ } ++ ++ /* Avoid reading from our stdin, as it could block. */ ++ freopen ("/dev/null", "rb", stdin); ++ ++ /* Test whether posix_spawn_file_actions_addopen with this file name ++ actually works, but spawning a child that reads from this file. */ ++ actions_allocated = false; ++ if ((err = posix_spawn_file_actions_init (&actions)) != 0 ++ || (actions_allocated = true, ++ (err = posix_spawn_file_actions_addopen (&actions, STDIN_FILENO, DATA_FILENAME, O_RDONLY, 0600)) != 0 ++ || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0)) ++ { ++ if (actions_allocated) ++ posix_spawn_file_actions_destroy (&actions); ++ errno = err; ++ perror ("subprocess failed"); ++ return 3; ++ } ++ posix_spawn_file_actions_destroy (&actions); ++ status = 0; ++ while (waitpid (child, &status, 0) != child) ++ ; ++ if (!WIFEXITED (status)) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status); ++ return 4; ++ } ++ exitstatus = WEXITSTATUS (status); ++ if (exitstatus != 0) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus); ++ return 5; ++ } ++ return 0; ++} ++ ++static int ++child_main (void) ++{ ++ char buf[1024]; ++ ++ /* See if reading from STDIN_FILENO yields the expected contents. */ ++ if (fread (buf, 1, sizeof (buf), stdin) == 11 ++ && memcmp (buf, "Halle Potta", 11) == 0) ++ return 0; ++ else ++ return 8; ++} ++ ++static void ++cleanup_then_die (int sig) ++{ ++ /* Clean up data file. */ ++ unlink (DATA_FILENAME); ++ ++ /* Re-raise the signal and die from it. */ ++ signal (sig, SIG_DFL); ++ raise (sig); ++} ++ ++int ++main (int argc, char *argv[]) ++{ ++ int exitstatus; ++ ++ if (!(argc > 1 && strcmp (argv[1], "-child") == 0)) ++ { ++ /* This is the parent process. */ ++ signal (SIGINT, cleanup_then_die); ++ signal (SIGTERM, cleanup_then_die); ++ #ifdef SIGHUP ++ signal (SIGHUP, cleanup_then_die); ++ #endif ++ ++ exitstatus = parent_main (); ++ } ++ else ++ { ++ /* This is the child process. */ ++ ++ exitstatus = child_main (); ++ } ++ unlink (DATA_FILENAME); ++ return exitstatus; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ gl_cv_func_posix_spawn_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 ++ else ++ case "$host_os" in ++ aix*) gl_cv_func_posix_spawn_works="guessing no";; ++ *) gl_cv_func_posix_spawn_works="guessing yes";; ++ esac ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_posix_spawn_works" >&5 ++$as_echo "$gl_cv_func_posix_spawn_works" >&6; } ++ ++ case "$gl_cv_func_posix_spawn_works" in ++ *yes) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedpolicy is supported" >&5 ++$as_echo_n "checking whether posix_spawnattr_setschedpolicy is supported... " >&6; } ++if ${gl_cv_func_spawnattr_setschedpolicy+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if POSIX_SPAWN_SETSCHEDULER ++ POSIX scheduling supported ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then : ++ gl_cv_func_spawnattr_setschedpolicy=yes ++else ++ gl_cv_func_spawnattr_setschedpolicy=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedpolicy" >&5 ++$as_echo "$gl_cv_func_spawnattr_setschedpolicy" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedparam is supported" >&5 ++$as_echo_n "checking whether posix_spawnattr_setschedparam is supported... " >&6; } ++if ${gl_cv_func_spawnattr_setschedparam+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if POSIX_SPAWN_SETSCHEDPARAM ++ POSIX scheduling supported ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then : ++ gl_cv_func_spawnattr_setschedparam=yes ++else ++ gl_cv_func_spawnattr_setschedparam=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedparam" >&5 ++$as_echo "$gl_cv_func_spawnattr_setschedparam" >&6; } ++ ;; ++ *) REPLACE_POSIX_SPAWN=1 ;; ++ esac ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_SIGNAL_H_SIGPIPE=0; ++ GNULIB_SIGPROCMASK=0; ++ GNULIB_SIGACTION=0; ++ HAVE_POSIX_SIGNALBLOCKING=1; ++ HAVE_SIGSET_T=1; ++ HAVE_SIGINFO_T=1; ++ HAVE_SIGACTION=1; ++ HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; ++ ++ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 ++$as_echo_n "checking for uid_t in sys/types.h... " >&6; } ++if ${ac_cv_type_uid_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "uid_t" >/dev/null 2>&1; then : ++ ac_cv_type_uid_t=yes ++else ++ ac_cv_type_uid_t=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 ++$as_echo "$ac_cv_type_uid_t" >&6; } ++if test $ac_cv_type_uid_t = no; then ++ ++$as_echo "@%:@define uid_t int" >>confdefs.h ++ ++ ++$as_echo "@%:@define gid_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 ++$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } ++if ${gl_cv_func_snprintf_retval_c99+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_retval_c99="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ strcpy (buf, "ABCDEF"); ++ if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) ++ return 1; ++ if (snprintf (buf, 0, "%d %d", 4567, 89) != 7) ++ return 2; ++ if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7) ++ return 3; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_snprintf_retval_c99=yes ++else ++ gl_cv_func_snprintf_retval_c99=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_snprintf_retval_c99" >&5 ++$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } ++ ++ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" ++if test "x$ac_cv_have_decl_snprintf" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 ++$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } ++if ${ac_cv_header_stdbool_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ /* See body of main program for 'e'. */ ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ /* The following fails for ++ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ ++int ++main () ++{ ++ ++ bool e = &s; ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdbool_h=yes ++else ++ ac_cv_header_stdbool_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 ++$as_echo "$ac_cv_header_stdbool_h" >&6; } ++ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" ++if test "x$ac_cv_type__Bool" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__BOOL 1 ++_ACEOF ++ ++ ++fi ++ ++ ++ ++ REPLACE_NULL=0; ++ HAVE_WCHAR_T=1; ++ STDDEF_H=''; ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if ${gt_cv_c_wchar_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test -z "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 ++$as_echo_n "checking for working strerror function... " >&6; } ++if ${gl_cv_func_working_strerror+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=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_working_strerror" >&5 ++$as_echo "$gl_cv_func_working_strerror" >&6; } ++ if test $gl_cv_func_working_strerror = no; then ++ REPLACE_STRERROR=1 ++ fi ++ else ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then ++ ++ ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRERROR $ac_have_decl ++_ACEOF ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_string_h='<'string.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_string_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/string.h#{ ++ s#.*"\(.*/string.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 ++$as_echo "$gl_cv_next_string_h" >&6; } ++ fi ++ NEXT_STRING_H=$gl_cv_next_string_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'string.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_string_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strndup" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strnlen" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNLEN $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strsignal" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include ++/* NetBSD declares sys_siglist in unistd.h. */ ++#ifdef HAVE_UNISTD_H ++# include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 ++$as_echo_n "checking whether strstr works... " >&6; } ++if ${gl_cv_func_strstr_works_always+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __GNU_LIBRARY__ ++ #include ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ || defined __UCLIBC__ ++ Lucky user ++ #endif ++#elif defined __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#else ++ Lucky user ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for strstr */ ++#define P "_EF_BF_BD" ++#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P ++#define NEEDLE P P P P P ++ ++int ++main () ++{ ++return !!strstr (HAYSTACK, NEEDLE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always=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_strstr_works_always" >&5 ++$as_echo "$gl_cv_func_strstr_works_always" >&6; } ++ if test "$gl_cv_func_strstr_works_always" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ fi ++ fi ++ ++ac_fn_c_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strtod" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRTOD $ac_have_decl ++_ACEOF ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5 ++$as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_ldexp_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __NO_MATH_INLINES ++ # define __NO_MATH_INLINES 1 /* for glibc */ ++ #endif ++ #include ++ double (*funcptr) (double, int) = ldexp; ++ double x; ++int ++main () ++{ ++return ldexp (x, -1) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ldexp_no_libm=yes ++else ++ gl_cv_func_ldexp_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5 ++$as_echo "$gl_cv_func_ldexp_no_libm" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 ++$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } ++if ${ac_cv_header_stat_broken+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++#if defined S_ISBLK && defined S_IFDIR ++extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISBLK && defined S_IFCHR ++extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISLNK && defined S_IFREG ++extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; ++#endif ++ ++#if defined S_ISSOCK && defined S_IFREG ++extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stat_broken=no ++else ++ ac_cv_header_stat_broken=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 ++$as_echo "$ac_cv_header_stat_broken" >&6; } ++if test $ac_cv_header_stat_broken = yes; then ++ ++$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ GNULIB_WAITPID=0; ++ ++ ++ ++ ++ GNULIB_MKTIME=0; ++ GNULIB_NANOSLEEP=0; ++ GNULIB_STRPTIME=0; ++ GNULIB_TIMEGM=0; ++ GNULIB_TIME_R=0; ++ HAVE_DECL_LOCALTIME_R=1; ++ HAVE_NANOSLEEP=1; ++ HAVE_STRPTIME=1; ++ HAVE_TIMEGM=1; ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; ++ REPLACE_MKTIME=GNULIB_PORTCHECK; ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_time_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_sys_struct_timespec_in_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_sys_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_sys_time_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_sys_struct_timespec_in_sys_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_pthread_h=yes ++else ++ gl_cv_sys_struct_timespec_in_pthread_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_sys_struct_timespec_in_pthread_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then ++ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_time_h='<'time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/time.h#{ ++ s#.*"\(.*/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 ++$as_echo "$gl_cv_next_time_h" >&6; } ++ fi ++ NEXT_TIME_H=$gl_cv_next_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if ${gt_cv_c_wint_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ if test $ac_cv_header_features_h = yes; then ++ HAVE_FEATURES_H=1 ++ else ++ HAVE_FEATURES_H=0 ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 ++$as_echo_n "checking for inttypes.h... " >&6; } ++if ${gl_cv_header_inttypes_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_inttypes_h=yes ++else ++ gl_cv_header_inttypes_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_inttypes_h" >&5 ++$as_echo "$gl_cv_header_inttypes_h" >&6; } ++ if test $gl_cv_header_inttypes_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 ++$as_echo_n "checking for stdint.h... " >&6; } ++if ${gl_cv_header_stdint_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_stdint_h=yes ++else ++ gl_cv_header_stdint_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_h" >&5 ++$as_echo "$gl_cv_header_stdint_h" >&6; } ++ if test $gl_cv_header_stdint_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 ++$as_echo_n "checking for intmax_t... " >&6; } ++if ${gt_cv_c_intmax_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++ ++int ++main () ++{ ++intmax_t x = -1; return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_intmax_t=yes ++else ++ gt_cv_c_intmax_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 ++$as_echo "$gt_cv_c_intmax_t" >&6; } ++ if test $gt_cv_c_intmax_t = yes; then ++ ++$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h ++ ++ else ++ ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define intmax_t $ac_type ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include ++" ++if test "x$ac_cv_have_decl__snprintf" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL__SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++ case "$gl_cv_func_snprintf_retval_c99" in ++ *yes) ++ ++$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5 ++$as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; } ++if ${gl_cv_func_printf_sizes_c99+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; ++ darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_sizes_c99="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++# include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++# include ++#endif ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 ++ || strcmp (buf, "12345671 33") != 0) ++ result |= 1; ++#endif ++ buf[0] = '\0'; ++ if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 ++ || strcmp (buf, "12345672 33") != 0) ++ result |= 2; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 ++ || strcmp (buf, "12345673 33") != 0) ++ result |= 4; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 ++ || strcmp (buf, "1.5 33") != 0) ++ result |= 8; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_sizes_c99=yes ++else ++ gl_cv_func_printf_sizes_c99=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_printf_sizes_c99" >&5 ++$as_echo "$gl_cv_func_printf_sizes_c99" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5 ++$as_echo_n "checking whether printf supports 'long double' arguments... " >&6; } ++if ${gl_cv_func_printf_long_double+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ beos*) gl_cv_func_printf_long_double="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_long_double="guessing no";; ++ *) gl_cv_func_printf_long_double="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[10000]; ++int main () ++{ ++ int result = 0; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000 33") != 0) ++ result |= 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000e+00 33") != 0) ++ result |= 2; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.75 33") != 0) ++ result |= 4; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_long_double=yes ++else ++ gl_cv_func_printf_long_double=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_printf_long_double" >&5 ++$as_echo "$gl_cv_func_printf_long_double" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5 ++$as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; } ++if ${gl_cv_func_printf_infinite+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; ++ darwin*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; ++ hpux*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_infinite="guessing no";; ++ netbsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_infinite="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static int ++have_minus_zero () ++{ ++ static double plus_zero = 0.0; ++ double minus_zero = - plus_zero; ++ return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; ++} ++static char buf[10000]; ++static double zero = 0.0; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%f", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%f", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%f", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%e", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 4; ++ if (sprintf (buf, "%e", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 4; ++ if (sprintf (buf, "%e", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%g", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 16; ++ if (sprintf (buf, "%g", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 16; ++ if (sprintf (buf, "%g", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ /* This test fails on HP-UX 10.20. */ ++ if (have_minus_zero ()) ++ if (sprintf (buf, "%g", - zero) < 0 ++ || strcmp (buf, "-0") != 0) ++ result |= 64; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_infinite=yes ++else ++ gl_cv_func_printf_infinite=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_printf_infinite" >&5 ++$as_echo "$gl_cv_func_printf_infinite" >&6; } ++ ++ ++ ++ ++ ++ if test -n "$gl_printf_safe"; then ++ ++$as_echo "@%:@define CHECK_PRINTF_SAFE 1" >>confdefs.h ++ ++ fi ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5 ++$as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; } ++if ${gl_cv_func_printf_infinite_long_double+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; ++ *) ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite_long_double="guessing no";; ++ esac ++ ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++#if defined __MACH__ && defined __APPLE__ ++/* Avoid a crash on MacOS X. */ ++#include ++#include ++#include ++#include ++#include ++#include ++/* The exception port on which our thread listens. */ ++static mach_port_t our_exception_port; ++/* The main function of the thread listening for exceptions of type ++ EXC_BAD_ACCESS. */ ++static void * ++mach_exception_thread (void *arg) ++{ ++ /* Buffer for a message to be received. */ ++ struct { ++ mach_msg_header_t head; ++ mach_msg_body_t msgh_body; ++ char data[1024]; ++ } msg; ++ mach_msg_return_t retval; ++ /* Wait for a message on the exception port. */ ++ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), ++ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); ++ if (retval != MACH_MSG_SUCCESS) ++ abort (); ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++ mach_port_t self = mach_task_self (); ++ /* Allocate a port on which the thread shall listen for exceptions. */ ++ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) ++ == KERN_SUCCESS) { ++ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ ++ if (mach_port_insert_right (self, our_exception_port, our_exception_port, ++ MACH_MSG_TYPE_MAKE_SEND) ++ == KERN_SUCCESS) { ++ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting ++ for us. */ ++ exception_mask_t mask = EXC_MASK_BAD_ACCESS; ++ /* Create the thread listening on the exception port. */ ++ pthread_attr_t attr; ++ pthread_t thread; ++ if (pthread_attr_init (&attr) == 0 ++ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 ++ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { ++ pthread_attr_destroy (&attr); ++ /* Replace the exception port info for these exceptions with our own. ++ Note that we replace the exception port for the entire task, not only ++ for a particular thread. This has the effect that when our exception ++ port gets the message, the thread specific exception port has already ++ been asked, and we don't need to bother about it. ++ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ ++ task_set_exception_ports (self, mask, our_exception_port, ++ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); ++ } ++ } ++ } ++} ++#else ++/* Avoid a crash on POSIX systems. */ ++#include ++/* A POSIX signal handler. */ ++static void ++exception_handler (int sig) ++{ ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++#ifdef SIGSEGV ++ signal (SIGSEGV, exception_handler); ++#endif ++#ifdef SIGBUS ++ signal (SIGBUS, exception_handler); ++#endif ++} ++#endif ++ ++#include ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static char buf[10000]; ++static long double zeroL = 0.0L; ++int main () ++{ ++ int result = 0; ++ nocrash_init(); ++ if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++ if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Le", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++ if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ } ++ { ++ /* Signalling NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ } ++ { /* Pseudo-NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ } ++ { /* Pseudo-Infinity. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ } ++ { /* Pseudo-Zero. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ } ++ { /* Unnormalized number. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ } ++ { /* Pseudo-Denormal. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ } ++#endif ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_infinite_long_double=yes ++else ++ gl_cv_func_printf_infinite_long_double=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_printf_infinite_long_double" >&5 ++$as_echo "$gl_cv_func_printf_infinite_long_double" >&6; } ++ ;; ++ *) ++ gl_cv_func_printf_infinite_long_double="irrelevant" ++ ;; ++ esac ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5 ++$as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; } ++if ${gl_cv_func_printf_directive_a+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc >= 2.5 systems. ++ *-gnu*) ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__ ++ BZ2908 ++ #endif ++ #endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "BZ2908" >/dev/null 2>&1; then : ++ gl_cv_func_printf_directive_a="guessing yes" ++else ++ gl_cv_func_printf_directive_a="guessing no" ++fi ++rm -f conftest* ++ ++ ;; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_a="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.922p+1 33") != 0 ++ && strcmp (buf, "0x3.244p+0 33") != 0 ++ && strcmp (buf, "0x6.488p-1 33") != 0 ++ && strcmp (buf, "0xc.91p-2 33") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "-0X1.922P+1 33") != 0 ++ && strcmp (buf, "-0X3.244P+0 33") != 0 ++ && strcmp (buf, "-0X6.488P-1 33") != 0 ++ && strcmp (buf, "-0XC.91P-2 33") != 0)) ++ result |= 2; ++ /* This catches a FreeBSD 6.1 bug: it doesn't round. */ ++ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.83p+0 33") != 0 ++ && strcmp (buf, "0x3.05p-1 33") != 0 ++ && strcmp (buf, "0x6.0ap-2 33") != 0 ++ && strcmp (buf, "0xc.14p-3 33") != 0)) ++ result |= 4; ++ /* This catches a FreeBSD 6.1 bug. See ++ */ ++ if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0 ++ || buf[0] == '0') ++ result |= 8; ++ /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ ++ if (sprintf (buf, "%.1a", 1.999) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ result |= 16; ++ /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a ++ glibc 2.4 bug . */ ++ if (sprintf (buf, "%.1La", 1.999L) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ result |= 32; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_a=yes ++else ++ gl_cv_func_printf_directive_a=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_printf_directive_a" >&5 ++$as_echo "$gl_cv_func_printf_directive_a" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5 ++$as_echo_n "checking whether printf supports the 'F' directive... " >&6; } ++if ${gl_cv_func_printf_directive_f+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; ++ darwin*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_f="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 ++ || strcmp (buf, "1234567.000000 33") != 0) ++ result |= 1; ++ if (sprintf (buf, "%F", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) ++ result |= 2; ++ /* This catches a Cygwin 1.5.x bug. */ ++ if (sprintf (buf, "%.F", 1234.0) < 0 ++ || strcmp (buf, "1234") != 0) ++ result |= 4; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_f=yes ++else ++ gl_cv_func_printf_directive_f=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_printf_directive_f" >&5 ++$as_echo "$gl_cv_func_printf_directive_f" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5 ++$as_echo_n "checking whether printf supports the 'n' directive... " >&6; } ++if ${gl_cv_func_printf_directive_n+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ *) gl_cv_func_printf_directive_n="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char fmtstring[10]; ++static char buf[100]; ++int main () ++{ ++ int count = -1; ++ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) ++ support %n in format strings in read-only memory but not in writable ++ memory. */ ++ strcpy (fmtstring, "%d %n"); ++ if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 ++ || strcmp (buf, "123 ") != 0 ++ || count != 4) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_n=yes ++else ++ gl_cv_func_printf_directive_n=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_printf_directive_n" >&5 ++$as_echo "$gl_cv_func_printf_directive_n" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5 ++$as_echo_n "checking whether printf supports the 'ls' directive... " >&6; } ++if ${gl_cv_func_printf_directive_ls+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ openbsd*) gl_cv_func_printf_directive_ls="guessing no";; ++ irix*) gl_cv_func_printf_directive_ls="guessing no";; ++ solaris*) gl_cv_func_printf_directive_ls="guessing no";; ++ cygwin*) gl_cv_func_printf_directive_ls="guessing no";; ++ beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; ++ *) gl_cv_func_printf_directive_ls="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ char buf[100]; ++ /* Test whether %ls works at all. ++ This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on ++ Cygwin 1.5. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "abc") != 0) ++ result |= 1; ++ } ++ /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an ++ assertion failure inside libc), but not on OpenBSD 4.0. */ ++ { ++ static const wchar_t wstring[] = { 'a', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "a") != 0) ++ result |= 2; ++ } ++ /* Test whether precisions in %ls are supported as specified in ISO C 99 ++ section 7.19.6.1: ++ "If a precision is specified, no more than that many bytes are written ++ (including shift sequences, if any), and the array shall contain a ++ null wide character if, to equal the multibyte character sequence ++ length given by the precision, the function would need to access a ++ wide character one past the end of the array." ++ This test fails on Solaris 10. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%.2ls", wstring) < 0 ++ || strcmp (buf, "ab") != 0) ++ result |= 8; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_ls=yes ++else ++ gl_cv_func_printf_directive_ls=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_printf_directive_ls" >&5 ++$as_echo "$gl_cv_func_printf_directive_ls" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 ++$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } ++if ${gl_cv_func_printf_positions+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) ++ gl_cv_func_printf_positions="guessing no";; ++ beos*) gl_cv_func_printf_positions="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_positions="guessing no";; ++ *) gl_cv_func_printf_positions="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* The string "%2$d %1$d", with dollar characters protected from the shell's ++ dollar expansion (possibly an autoconf bug). */ ++static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ++static char buf[100]; ++int main () ++{ ++ sprintf (buf, format, 33, 55); ++ return (strcmp (buf, "55 33") != 0); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_positions=yes ++else ++ gl_cv_func_printf_positions=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_printf_positions" >&5 ++$as_echo "$gl_cv_func_printf_positions" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5 ++$as_echo_n "checking whether printf supports the grouping flag... " >&6; } ++if ${gl_cv_func_printf_flag_grouping+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; ++ netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; ++ *) gl_cv_func_printf_flag_grouping="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%'d %d", 1234567, 99) < 0 ++ || buf[strlen (buf) - 1] != '9') ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_flag_grouping=yes ++else ++ gl_cv_func_printf_flag_grouping=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_printf_flag_grouping" >&5 ++$as_echo "$gl_cv_func_printf_flag_grouping" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5 ++$as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; } ++if ${gl_cv_func_printf_flag_leftadjust+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on HP-UX 11. ++ hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ # Guess no on HP-UX 10 and older. ++ hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ /* Check that a '-' flag is not annihilated by a negative width. */ ++ if (sprintf (buf, "a%-*sc", -3, "b") < 0 ++ || strcmp (buf, "ab c") != 0) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_flag_leftadjust=yes ++else ++ gl_cv_func_printf_flag_leftadjust=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_printf_flag_leftadjust" >&5 ++$as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5 ++$as_echo_n "checking whether printf supports the zero flag correctly... " >&6; } ++if ${gl_cv_func_printf_flag_zero+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_flag_zero="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0 ++ || (strcmp (buf, " inf") != 0 ++ && strcmp (buf, " infinity") != 0)) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_flag_zero=yes ++else ++ gl_cv_func_printf_flag_zero=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_printf_flag_zero" >&5 ++$as_echo "$gl_cv_func_printf_flag_zero" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5 ++$as_echo_n "checking whether printf supports large precisions... " >&6; } ++if ${gl_cv_func_printf_precision+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no only on Solaris, native Win32, and BeOS systems. ++ solaris*) gl_cv_func_printf_precision="guessing no" ;; ++ mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; ++ beos*) gl_cv_func_printf_precision="guessing no" ;; ++ *) gl_cv_func_printf_precision="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[5000]; ++int main () ++{ ++ int result = 0; ++#ifdef __BEOS__ ++ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ ++ return 1; ++#endif ++ if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) ++ result |= 1; ++ if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) ++ result |= 2; ++ if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 ++ || buf[0] != '1') ++ result |= 4; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_precision=yes ++else ++ gl_cv_func_printf_precision=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_printf_precision" >&5 ++$as_echo "$gl_cv_func_printf_precision" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5 ++$as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; } ++if ${gl_cv_func_printf_enomem+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_func_printf_enomem="guessing no" ++ if test "$cross_compiling" = no; then ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++#if defined __MACH__ && defined __APPLE__ ++/* Avoid a crash on MacOS X. */ ++#include ++#include ++#include ++#include ++#include ++#include ++/* The exception port on which our thread listens. */ ++static mach_port_t our_exception_port; ++/* The main function of the thread listening for exceptions of type ++ EXC_BAD_ACCESS. */ ++static void * ++mach_exception_thread (void *arg) ++{ ++ /* Buffer for a message to be received. */ ++ struct { ++ mach_msg_header_t head; ++ mach_msg_body_t msgh_body; ++ char data1024; ++ } msg; ++ mach_msg_return_t retval; ++ /* Wait for a message on the exception port. */ ++ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), ++ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); ++ if (retval != MACH_MSG_SUCCESS) ++ abort (); ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++ mach_port_t self = mach_task_self (); ++ /* Allocate a port on which the thread shall listen for exceptions. */ ++ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) ++ == KERN_SUCCESS) { ++ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ ++ if (mach_port_insert_right (self, our_exception_port, our_exception_port, ++ MACH_MSG_TYPE_MAKE_SEND) ++ == KERN_SUCCESS) { ++ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting ++ for us. */ ++ exception_mask_t mask = EXC_MASK_BAD_ACCESS; ++ /* Create the thread listening on the exception port. */ ++ pthread_attr_t attr; ++ pthread_t thread; ++ if (pthread_attr_init (&attr) == 0 ++ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 ++ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { ++ pthread_attr_destroy (&attr); ++ /* Replace the exception port info for these exceptions with our own. ++ Note that we replace the exception port for the entire task, not only ++ for a particular thread. This has the effect that when our exception ++ port gets the message, the thread specific exception port has already ++ been asked, and we don't need to bother about it. ++ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ ++ task_set_exception_ports (self, mask, our_exception_port, ++ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); ++ } ++ } ++ } ++} ++#else ++/* Avoid a crash on POSIX systems. */ ++#include ++/* A POSIX signal handler. */ ++static void ++exception_handler (int sig) ++{ ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++#ifdef SIGSEGV ++ signal (SIGSEGV, exception_handler); ++#endif ++#ifdef SIGBUS ++ signal (SIGBUS, exception_handler); ++#endif ++} ++#endif ++ ++#include ++#include ++#include ++#include ++#include ++int main() ++{ ++ struct rlimit limit; ++ int ret; ++ nocrash_init (); ++ /* Some printf implementations allocate temporary space with malloc. */ ++ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ ++#ifdef RLIMIT_DATA ++ if (getrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++#endif ++ /* On Linux systems, malloc() is limited by RLIMIT_AS. */ ++#ifdef RLIMIT_AS ++ if (getrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++#endif ++ /* Some printf implementations allocate temporary space on the stack. */ ++#ifdef RLIMIT_STACK ++ if (getrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++#endif ++ ret = printf ("%.5000000f", 1.0); ++ return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ (./conftest ++ result=$? ++ if test $result != 0 && test $result != 77; then result=1; fi ++ exit $result ++ ) >/dev/null 2>/dev/null ++ case $? in ++ 0) gl_cv_func_printf_enomem="yes" ;; ++ 77) gl_cv_func_printf_enomem="guessing no" ;; ++ *) gl_cv_func_printf_enomem="no" ;; ++ esac ++ else ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ rm -fr conftest* ++ else ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ fi ++ if test "$gl_cv_func_printf_enomem" = "guessing no"; then ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Solaris. ++ solaris*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on AIX. ++ aix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on HP-UX/hppa. ++ hpux*) case "$host_cpu" in ++ hppa*) gl_cv_func_printf_enomem="guessing yes";; ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++ ;; ++ # Guess yes on IRIX. ++ irix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on OSF/1. ++ osf*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Haiku. ++ haiku*) gl_cv_func_printf_enomem="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5 ++$as_echo "$gl_cv_func_printf_enomem" >&6; } ++ ++ ++ ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ GNULIB_ISWBLANK=0; ++ GNULIB_WCTYPE=0; ++ GNULIB_ISWCTYPE=0; ++ GNULIB_WCTRANS=0; ++ GNULIB_TOWCTRANS=0; ++ HAVE_ISWBLANK=1; ++ HAVE_WCTYPE_T=1; ++ HAVE_WCTRANS_T=1; ++ REPLACE_ISWBLANK=0; ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use C++" >&5 ++$as_echo_n "checking whether to use C++... " >&6; } ++ @%:@ Check whether --enable-c++ was given. ++if test "${enable_c__+set}" = set; then : ++ enableval=$enable_c__; CXX_CHOICE="$enableval" ++else ++ CXX_CHOICE=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_CHOICE" >&5 ++$as_echo "$CXX_CHOICE" >&6; } ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 ++$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } ++if ${gl_cv_func_ungetc_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_ungetc_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++ ++int ++main () ++{ ++FILE *f; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp"); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ungetc_works=yes ++else ++ gl_cv_func_ungetc_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_ungetc_works" >&5 ++$as_echo "$gl_cv_func_ungetc_works" >&6; } ++ if test "$gl_cv_func_ungetc_works" != yes; then ++ ++$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SETLOCALE=0; ++ GNULIB_DUPLOCALE=0; ++ HAVE_DUPLOCALE=1; ++ REPLACE_SETLOCALE=0; ++ REPLACE_DUPLOCALE=0; ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 ++$as_echo_n "checking for LC_MESSAGES... " >&6; } ++if ${gt_cv_val_LC_MESSAGES+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++return LC_MESSAGES ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_val_LC_MESSAGES=yes ++else ++ gt_cv_val_LC_MESSAGES=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 ++$as_echo "$gt_cv_val_LC_MESSAGES" >&6; } ++ if test $gt_cv_val_LC_MESSAGES = yes; then ++ ++$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 ++$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } ++if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++CFPreferencesCopyAppValue(NULL, NULL) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_CFPreferencesCopyAppValue=yes ++else ++ gt_cv_func_CFPreferencesCopyAppValue=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gt_save_LIBS" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 ++$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } ++ if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then ++ ++$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 ++$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } ++if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++CFLocaleCopyCurrent(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_CFLocaleCopyCurrent=yes ++else ++ gt_cv_func_CFLocaleCopyCurrent=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gt_save_LIBS" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 ++$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } ++ if test $gt_cv_func_CFLocaleCopyCurrent = yes; then ++ ++$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h ++ ++ fi ++ INTL_MACOSX_LIBS= ++ if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then ++ INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" ++ fi ++ ++ ++ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" ++if test "x$ac_cv_have_decl_setenv" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SETENV $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_setenv = no; then ++ HAVE_DECL_SETENV=0 ++ fi ++ ++ if test $ac_cv_func_setenv = no; then ++ HAVE_SETENV=0 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5 ++$as_echo_n "checking whether setenv validates arguments... " >&6; } ++if ${gl_cv_func_setenv_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_setenv_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ int result = 0; ++ { ++ if (setenv ("", "", 0) != -1) ++ result |= 1; ++ else if (errno != EINVAL) ++ result |= 2; ++ } ++ { ++ if (setenv ("a", "=", 1) != 0) ++ result |= 4; ++ else if (strcmp (getenv ("a"), "=") != 0) ++ result |= 8; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_setenv_works=yes ++else ++ gl_cv_func_setenv_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_setenv_works" >&5 ++$as_echo "$gl_cv_func_setenv_works" >&6; } ++ if test "$gl_cv_func_setenv_works" != yes; then ++ REPLACE_SETENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ for ac_header in search.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" ++if test "x$ac_cv_header_search_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SEARCH_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in tsearch ++do : ++ ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" ++if test "x$ac_cv_func_tsearch" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_TSEARCH 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strdup" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRDUP $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" ++if test "x$ac_cv_have_decl_alarm" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_ALARM $ac_have_decl ++_ACEOF ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" ++if test "x$ac_cv_have_decl_unsetenv" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_UNSETENV $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ if false; then ++ GL_COND_LIBTOOL_TRUE= ++ GL_COND_LIBTOOL_FALSE='#' ++else ++ GL_COND_LIBTOOL_TRUE='#' ++ GL_COND_LIBTOOL_FALSE= ++fi ++ ++ gl_cond_libtool=false ++ gl_libdeps= ++ gl_ltlibdeps= ++ gl_m4_base='m4' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='lib' ++ # Code from module alloca-opt: ++ ++ ++ if test $ac_cv_func_alloca_works = no; then ++ : ++ fi ++ ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 ++$as_echo_n "checking for alloca as a compiler built-in... " >&6; } ++if ${gl_cv_rpl_alloca+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Need own alloca" >/dev/null 2>&1; then : ++ gl_cv_rpl_alloca=yes ++else ++ gl_cv_rpl_alloca=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 ++$as_echo "$gl_cv_rpl_alloca" >&6; } ++ if test $gl_cv_rpl_alloca = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++ ALLOCA_H=alloca.h ++ else ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ ++ ++ # Code from module announce-gen: ++ # Code from module arg-nonnull: ++ # Code from module assert: ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 ++$as_echo_n "checking whether to enable assertions... " >&6; } ++ @%:@ Check whether --enable-assert was given. ++if test "${enable_assert+set}" = set; then : ++ enableval=$enable_assert; if test "x$enableval" = xno; then : ++ ++$as_echo "@%:@define NDEBUG 1" >>confdefs.h ++ ++elif test "x$enableval" != xyes; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 ++$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} ++ enable_assert=yes ++fi ++else ++ enable_assert=yes ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5 ++$as_echo "$enable_assert" >&6; } ++ ++ # Code from module autobuild: ++ # Code from module avltree-oset: ++ # Code from module binary-io: ++ # Code from module btowc: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_btowc = no; then ++ HAVE_BTOWC=0 ++ else ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 ++$as_echo_n "checking whether btowc(0) is correct... " >&6; } ++if ${gl_cv_func_btowc_nul+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no on Cygwin. ++ cygwin*) gl_cv_func_btowc_nul="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_btowc_nul="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (btowc ('\0') != 0) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_btowc_nul=yes ++else ++ gl_cv_func_btowc_nul=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_btowc_nul" >&5 ++$as_echo "$gl_cv_func_btowc_nul" >&6; } ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 ++$as_echo_n "checking whether btowc(EOF) is correct... " >&6; } ++if ${gl_cv_func_btowc_eof+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on IRIX. ++ irix*) gl_cv_func_btowc_eof="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_btowc_eof="guessing yes" ;; ++ esac ++ if test $LOCALE_FR != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ if (btowc (EOF) != WEOF) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_btowc_eof=yes ++else ++ gl_cv_func_btowc_eof=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 ++$as_echo "$gl_cv_func_btowc_eof" >&6; } ++ ++ case "$gl_cv_func_btowc_nul" in ++ *yes) ;; ++ *) REPLACE_BTOWC=1 ;; ++ esac ++ case "$gl_cv_func_btowc_eof" in ++ *yes) ;; ++ *) REPLACE_BTOWC=1 ;; ++ esac ++ fi ++ if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS btowc.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_BTOWC=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h ++ ++ ++ ++ # Code from module c++defs: ++ # Code from module c-ctype: ++ # Code from module c-stack: ++ ++ ++ ++ ++ # for STACK_DIRECTION ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "sigaltstack" "ac_cv_have_decl_sigaltstack" "#include ++" ++if test "x$ac_cv_have_decl_sigaltstack" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SIGALTSTACK $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include ++" ++if test "x$ac_cv_type_stack_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STACK_T 1 ++_ACEOF ++ ++ ++fi ++ ++ ++ if test "$gl_cv_lib_sigsegv" = yes \ ++ && test $"ac_cv_sys_xsi_stack_overflow_heuristic" != yes ; then ++ LIBCSTACK=$LIBSIGSEGV ++ ++ LTLIBCSTACK=$LTLIBSIGSEGV ++ ++ fi ++ ++ ++ # Code from module canonicalize-lgpl: ++ ++ ++ if test $ac_cv_func_canonicalize_file_name = no; then ++ HAVE_CANONICALIZE_FILE_NAME=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext" ++ ++ if test $ac_cv_func_realpath = no; then ++ HAVE_REALPATH=0 ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ REPLACE_REALPATH=1 ++ fi ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext" ++ ++ REPLACE_REALPATH=1 ++ REPLACE_CANONICALIZE_FILE_NAME=1 ++ fi ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_CANONICALIZE_LGPL 1 ++_ACEOF ++ ++ ++ ++ ++ ++ GNULIB_CANONICALIZE_FILE_NAME=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ GNULIB_REALPATH=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_REALPATH 1" >>confdefs.h ++ ++ ++ ++ # Code from module clean-temp: ++ ++$as_echo "@%:@define SIGNAL_SAFE_LIST 1" >>confdefs.h ++ ++ # Code from module cloexec: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS cloexec.$ac_objext" ++ ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_CLOEXEC 1" >>confdefs.h ++ ++ ++ # Code from module close: ++ ++ ++ ++ ++ ++ ++ GNULIB_CLOSE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_CLOSE 1" >>confdefs.h ++ ++ ++ ++ # Code from module close-hook: ++ # Code from module close-stream: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS close-stream.$ac_objext" ++ ++ ++ : ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_CLOSE_STREAM 1 ++_ACEOF ++ ++ ++ # Code from module closein: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS closein.$ac_objext" ++ ++ ++ : ++ ++ # Code from module closeout: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS closeout.$ac_objext" ++ ++ ++ : ++ ++ # Code from module config-h: ++ ++ # Code from module configmake: ++ ++ if test "x$datarootdir" = x; then ++ datarootdir='${datadir}' ++ ++ fi ++ if test "x$docdir" = x; then ++ docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ++ ++ fi ++ if test "x$htmldir" = x; then ++ htmldir='${docdir}' ++ ++ fi ++ if test "x$dvidir" = x; then ++ dvidir='${docdir}' ++ ++ fi ++ if test "x$pdfdir" = x; then ++ pdfdir='${docdir}' ++ ++ fi ++ if test "x$psdir" = x; then ++ psdir='${docdir}' ++ ++ fi ++ if test "x$lispdir" = x; then ++ lispdir='${datarootdir}/emacs/site-lisp' ++ ++ fi ++ if test "x$localedir" = x; then ++ localedir='${datarootdir}/locale' ++ ++ fi ++ ++ pkglibexecdir='${libexecdir}/${PACKAGE}' ++ ++ ++ # Code from module dirname: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS basename.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dirname.$ac_objext" ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_DIRNAME 1 ++_ACEOF ++ ++ ++ # Code from module dirname-lgpl: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext" ++ ++ ++ ++ ++ ++ # Code from module dosname: ++ # Code from module double-slash-root: ++ ++ ++ { $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 : ++ $as_echo_n "(cached) " >&6 ++else ++ if test x"$cross_compiling" = xyes ; then ++ # When cross-compiling, there is no way to tell whether // is special ++ # short of a list of hosts. However, the only known hosts to date ++ # that have a distinct // are Apollo DomainOS (too old to port to), ++ # Cygwin, and z/OS. If anyone knows of another system for which // has ++ # special semantics and is distinct from /, please report it to ++ # . ++ case $host in ++ *-cygwin | i370-ibm-openedition) ++ gl_cv_double_slash_root=yes ;; ++ *) ++ # Be optimistic and assume that / and // are the same when we ++ # don't know. ++ gl_cv_double_slash_root='unknown, assuming no' ;; ++ esac ++ else ++ set x `ls -di / // 2>/dev/null` ++ if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then ++ gl_cv_double_slash_root=no ++ else ++ gl_cv_double_slash_root=yes ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 ++$as_echo "$gl_cv_double_slash_root" >&6; } ++ if test "$gl_cv_double_slash_root" = yes; then ++ ++$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h ++ ++ fi ++ ++ # Code from module dup2: ++ ++ ++ ++ ++ if test $ac_cv_func_dup2 = no; then ++ HAVE_DUP2=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 ++$as_echo_n "checking whether dup2 works... " >&6; } ++if ${gl_cv_func_dup2_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ mingw*) # on this platform, dup2 always returns 0 for success ++ gl_cv_func_dup2_works=no;; ++ cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 ++ gl_cv_func_dup2_works=no;; ++ linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a ++ # closed fd may yield -EBADF instead of -1 / errno=EBADF. ++ gl_cv_func_dup2_works=no;; ++ freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF. ++ gl_cv_func_dup2_works=no;; ++ haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. ++ gl_cv_func_dup2_works=no;; ++ *) gl_cv_func_dup2_works=yes;; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++#include ++#include ++int ++main () ++{ ++int result = 0; ++#if HAVE_FCNTL ++ if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) ++ result |= 1; ++#endif HAVE_FCNTL ++ if (dup2 (1, 1) == 0) ++ result |= 2; ++#if HAVE_FCNTL ++ if (fcntl (1, F_GETFD) != FD_CLOEXEC) ++ result |= 4; ++#endif ++ close (0); ++ if (dup2 (0, 0) != -1) ++ result |= 8; ++ /* Many gnulib modules require POSIX conformance of EBADF. */ ++ if (dup2 (2, 1000000) == -1 && errno != EBADF) ++ result |= 16; ++ return result; ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_dup2_works=yes ++else ++ gl_cv_func_dup2_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_dup2_works" >&5 ++$as_echo "$gl_cv_func_dup2_works" >&6; } ++ if test "$gl_cv_func_dup2_works" = no; then ++ ++ ++ if test $ac_cv_func_dup2 = yes; then ++ REPLACE_DUP2=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext" ++ ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_DUP2=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_DUP2 1" >>confdefs.h ++ ++ ++ ++ # Code from module environ: ++ ++ ++ ++ ++ GNULIB_ENVIRON=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_ENVIRON 1" >>confdefs.h ++ ++ ++ ++ # Code from module errno: ++ ++ # Code from module error: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 ++$as_echo_n "checking for error_at_line... " >&6; } ++if ${ac_cv_lib_error_at_line+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++error_at_line (0, 0, "", 0, "an error occurred"); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_error_at_line=yes ++else ++ ac_cv_lib_error_at_line=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 ++$as_echo "$ac_cv_lib_error_at_line" >&6; } ++ if test $ac_cv_lib_error_at_line = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS error.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" ++ ++ # Code from module execute: ++ ++ ++ ++ ++ # Code from module exitfail: ++ # Code from module extensions: ++ # Code from module fatal-signal: ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module fclose: ++ ++ ++ ++ ++ ++ GNULIB_FCLOSE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FCLOSE 1" >>confdefs.h ++ ++ ++ ++ # Code from module fcntl: ++ ++ ++ ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext" ++ ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 ++$as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; } ++if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ # Guess that it works on glibc systems ++ case $host_os in #(( ++ *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";; ++ *) gl_cv_func_fcntl_f_dupfd_works="guessing no";; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++int result = 0; ++ if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; ++ if (errno != EINVAL) result |= 2; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fcntl_f_dupfd_works=yes ++else ++ gl_cv_func_fcntl_f_dupfd_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_fcntl_f_dupfd_works" >&5 ++$as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; } ++ case $gl_cv_func_fcntl_f_dupfd_works in ++ *yes) ;; ++ *) ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext" ++ ++ ++ ++$as_echo "@%:@define FCNTL_DUPFD_BUGGY 1" >>confdefs.h ++ ;; ++ esac ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 ++$as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } ++if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifndef F_DUPFD_CLOEXEC ++choke me ++#endif ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __linux__ ++/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace ++ it to support the semantics on older kernels that failed with EINVAL. */ ++choke me ++#endif ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_fcntl_f_dupfd_cloexec=yes ++else ++ gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ gl_cv_func_fcntl_f_dupfd_cloexec=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 ++$as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } ++ if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then ++ ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext" ++ ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_FCNTL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FCNTL 1" >>confdefs.h ++ ++ ++ ++ # Code from module fcntl-h: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_fcntl_h='<'fcntl.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_fcntl_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/fcntl.h#{ ++ s#.*"\(.*/fcntl.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 ++$as_echo "$gl_cv_next_fcntl_h" >&6; } ++ fi ++ NEXT_FCNTL_H=$gl_cv_next_fcntl_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'fcntl.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_fcntl_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ # Code from module fd-safer-flag: ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_FD_SAFER_FLAG 1 ++_ACEOF ++ ++ ++ # Code from module fdl-1.3: ++ # Code from module fflush: ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 ++$as_echo_n "checking whether fflush works on input streams... " >&6; } ++if ${gl_cv_func_fflush_stdin+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ echo hello world > conftest.txt ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_fflush_stdin=cross ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++FILE *f = fopen ("conftest.txt", "r"); ++ char buffer[10]; ++ int fd; ++ int c; ++ if (f == NULL) ++ return 1; ++ fd = fileno (f); ++ if (fd < 0 || fread (buffer, 1, 5, f) != 5) ++ return 2; ++ /* For deterministic results, ensure f read a bigger buffer. */ ++ if (lseek (fd, 0, SEEK_CUR) == 5) ++ return 3; ++ /* POSIX requires fflush-fseek to set file offset of fd. This fails ++ on BSD systems and on mingw. */ ++ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) ++ return 4; ++ if (lseek (fd, 0, SEEK_CUR) != 5) ++ return 5; ++ /* Verify behaviour of fflush after ungetc. See ++ */ ++ /* Verify behaviour of fflush after a backup ungetc. This fails on ++ mingw. */ ++ c = fgetc (f); ++ ungetc (c, f); ++ fflush (f); ++ if (fgetc (f) != c) ++ return 6; ++ /* Verify behaviour of fflush after a non-backup ungetc. This fails ++ on glibc 2.8 and on BSD systems. */ ++ c = fgetc (f); ++ ungetc ('@', f); ++ fflush (f); ++ if (fgetc (f) != c) ++ return 7; ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fflush_stdin=yes ++else ++ gl_cv_func_fflush_stdin=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm conftest.txt ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 ++$as_echo "$gl_cv_func_fflush_stdin" >&6; } ++ case $gl_cv_func_fflush_stdin in ++ yes) gl_func_fflush_stdin=1 ;; ++ no) gl_func_fflush_stdin=0 ;; ++ *) gl_func_fflush_stdin='(-1)' ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin ++_ACEOF ++ ++ if test $gl_cv_func_fflush_stdin != yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fflush.$ac_objext" ++ ++ ++ REPLACE_FFLUSH=1 ++ ++ ++ : ++ ++ ++ ++ ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext" ++ ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FFLUSH=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FFLUSH 1" >>confdefs.h ++ ++ ++ ++ # Code from module filenamecat: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS filenamecat.$ac_objext" ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_FILENAMECAT 1 ++_ACEOF ++ ++ ++ # Code from module filenamecat-lgpl: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext" ++ ++ ++ ++ ++ # Code from module float: ++ ++ ++ ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd* | mirbsd*) ++ FLOAT_H=float.h ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_float_h='<'float.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_float_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/float.h#{ ++ s#.*"\(.*/float.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 ++$as_echo "$gl_cv_next_float_h" >&6; } ++ fi ++ NEXT_FLOAT_H=$gl_cv_next_float_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'float.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_float_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ;; ++ esac ++ ++ ++ # Code from module fopen: ++ ++ ++ ++ case "$host_os" in ++ mingw* | pw*) ++ REPLACE_FOPEN=1 ++ gl_cv_func_fopen_slash="guessing no" ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5 ++$as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; } ++if ${gl_cv_func_fopen_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) ++ gl_cv_func_fopen_slash="guessing no" ;; ++ *) ++ gl_cv_func_fopen_slash="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++int main () ++{ ++ return fopen ("conftest.sl/", "w") != NULL; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fopen_slash=yes ++else ++ gl_cv_func_fopen_slash=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.sl ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5 ++$as_echo "$gl_cv_func_fopen_slash" >&6; } ++ ;; ++ esac ++ case "$gl_cv_func_fopen_slash" in ++ *no) ++ ++$as_echo "@%:@define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ++ ++ REPLACE_FOPEN=1 ++ ;; ++ esac ++ if test $REPLACE_FOPEN = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fopen.$ac_objext" ++ ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FOPEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FOPEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module fopen-safer: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fopen-safer.$ac_objext" ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_FOPEN_SAFER 1 ++_ACEOF ++ ++ ++ # Code from module fpending: ++ ++ ++ ++ fp_headers=' ++# include ++# if HAVE_STDIO_EXT_H ++# include ++# endif ++' ++ ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers ++" ++if test "x$ac_cv_have_decl___fpending" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL___FPENDING $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_func___fpending = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5 ++$as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; } ++if ${ac_cv_sys_pending_output_n_bytes+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ for ac_expr in \ ++ \ ++ '# glibc2' \ ++ 'fp->_IO_write_ptr - fp->_IO_write_base' \ ++ \ ++ '# traditional Unix' \ ++ 'fp->_ptr - fp->_base' \ ++ \ ++ '# BSD' \ ++ 'fp->_p - fp->_bf._base' \ ++ \ ++ '# SCO, Unixware' \ ++ '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \ ++ \ ++ '# QNX' \ ++ '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \ ++ \ ++ '# old glibc?' \ ++ 'fp->__bufp - fp->__buffer' \ ++ \ ++ '# old glibc iostream?' \ ++ 'fp->_pptr - fp->_pbase' \ ++ \ ++ '# emx+gcc' \ ++ 'fp->_ptr - fp->_buffer' \ ++ \ ++ '# VMS' \ ++ '(*fp)->_ptr - (*fp)->_base' \ ++ \ ++ '# e.g., DGUX R4.11; the info is not available' \ ++ 1 \ ++ ; do ++ ++ # Skip each embedded comment. ++ case "$ac_expr" in '#'*) continue;; esac ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++FILE *fp = stdin; (void) ($ac_expr); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ fp_done=yes ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$fp_done" = yes && break ++ done ++ ++ ac_cv_sys_pending_output_n_bytes=$ac_expr ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5 ++$as_echo "$ac_cv_sys_pending_output_n_bytes" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fpending.$ac_objext" ++ ++ fi ++ ++ # Code from module fpieee: ++ # Code from module fpucw: ++ # Code from module fpurge: ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include ++" ++if test "x$ac_cv_have_decl_fpurge" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPURGE $ac_have_decl ++_ACEOF ++ ++ if test "x$ac_cv_func_fpurge" = xyes; then ++ # Detect BSD bug. Only cygwin 1.7 is known to be immune. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5 ++$as_echo_n "checking whether fpurge works... " >&6; } ++if ${gl_cv_func_fpurge_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_fpurge_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++FILE *f = fopen ("conftest.txt", "w+"); ++ if (!f) return 1; ++ if (fputc ('a', f) != 'a') return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != EOF) return 4; ++ if (fpurge (f) != 0) return 5; ++ if (putc ('b', f) != 'b') return 6; ++ if (fclose (f) != 0) return 7; ++ if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; ++ if (fgetc (f) != 'a') return 9; ++ if (fgetc (f) != 'b') return 10; ++ if (fgetc (f) != EOF) return 11; ++ if (fclose (f) != 0) return 12; ++ if (remove ("conftest.txt") != 0) return 13; ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fpurge_works=yes ++else ++ gl_cv_func_fpurge_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_fpurge_works" >&5 ++$as_echo "$gl_cv_func_fpurge_works" >&6; } ++ if test "x$gl_cv_func_fpurge_works" != xyes; then ++ REPLACE_FPURGE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext" ++ ++ fi ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext" ++ ++ fi ++ if test "x$ac_cv_have_decl_fpurge" = xno; then ++ HAVE_DECL_FPURGE=0 ++ fi ++ ++ ++ ++ ++ GNULIB_FPURGE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FPURGE 1" >>confdefs.h ++ ++ ++ ++ # Code from module freadahead: ++ # Code from module freading: ++ ++ ++ ++ # Code from module frexp-nolibm: ++ ++ ++ ++ if test $gl_cv_func_frexp_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 ++$as_echo_n "checking whether frexp works... " >&6; } ++if ${gl_cv_func_frexp_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";; ++ *) gl_cv_func_frexp_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ ICC 10.0 has a bug when optimizing the expression -zero. ++ The expression -DBL_MIN * DBL_MIN does not work when cross-compiling ++ to PowerPC on MacOS X 10.5. */ ++#if defined __hpux || defined __sgi || defined __ICC ++static double ++compute_minus_zero (void) ++{ ++ return -DBL_MIN * DBL_MIN; ++} ++# define minus_zero compute_minus_zero () ++#else ++double minus_zero = -0.0; ++#endif ++int main() ++{ ++ int result = 0; ++ int i; ++ volatile double x; ++ double zero = 0.0; ++ /* Test on denormalized numbers. */ ++ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ++ ; ++ if (x > 0.0) ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. ++ On NetBSD: y = 0.75. Correct: y = 0.5. */ ++ if (y != 0.5) ++ result |= 1; ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0 / 0.0; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (y != x) ++ result |= 2; ++ } ++ /* Test on negative zero. */ ++ x = minus_zero; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (memcmp (&y, &x, sizeof x)) ++ result |= 4; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexp_works=yes ++else ++ gl_cv_func_frexp_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_frexp_works" >&5 ++$as_echo "$gl_cv_func_frexp_works" >&6; } ++ ++ case "$gl_cv_func_frexp_works" in ++ *yes) gl_func_frexp_no_libm=yes ;; ++ *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;; ++ esac ++ else ++ gl_func_frexp_no_libm=no ++ REPLACE_FREXP=1 ++ fi ++ if test $gl_func_frexp_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS frexp.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FREXP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FREXP 1" >>confdefs.h ++ ++ ++ ++ # Code from module frexpl-nolibm: ++ ++ ++ ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include ++" ++if test "x$ac_cv_have_decl_frexpl" = xyes; then : ++ ++else ++ HAVE_DECL_FREXPL=0 ++fi ++ ++ if test $HAVE_DECL_FREXPL = 1; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 ++$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_frexpl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x; ++int ++main () ++{ ++int e; return frexpl (x, &e) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_frexpl_no_libm=yes ++else ++ gl_cv_func_frexpl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5 ++$as_echo "$gl_cv_func_frexpl_no_libm" >&6; } ++ ++ if test $gl_cv_func_frexpl_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 ++$as_echo_n "checking whether frexpl works... " >&6; } ++if ${gl_cv_func_frexpl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*) ++ gl_cv_func_frexpl_works="guessing no";; ++ *) gl_cv_func_frexpl_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Override the values of , like done in float.in.h. */ ++#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) ++# undef LDBL_MIN_EXP ++# define LDBL_MIN_EXP (-16381) ++#endif ++extern long double frexpl (long double, int *); ++int main() ++{ ++ int result = 0; ++ volatile long double x; ++ /* Test on finite numbers that fails on AIX 5.1. */ ++ x = 16.0L; ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != 5) ++ result |= 1; ++ } ++ /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl ++ function returns an invalid (incorrectly normalized) value: it returns ++ y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } ++ but the correct result is ++ 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ ++ x = 1.01L; ++ { ++ int exp = -9999; ++ long double y = frexpl (x, &exp); ++ if (!(exp == 1 && y == 0.505L)) ++ result |= 2; ++ } ++ /* Test on large finite numbers. This fails on BeOS at i = 16322, while ++ LDBL_MAX_EXP = 16384. ++ In the loop end test, we test x against Infinity, rather than comparing ++ i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != i) ++ { ++ result |= 4; ++ break; ++ } ++ } ++ } ++ /* Test on denormalized numbers. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ++ ; ++ if (x > 0.0L) ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, ++ exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */ ++ if (exp != LDBL_MIN_EXP - 1) ++ result |= 8; ++ } ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0L / 0.0L; ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ if (y != x) ++ result |= 16; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexpl_works=yes ++else ++ gl_cv_func_frexpl_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_frexpl_works" >&5 ++$as_echo "$gl_cv_func_frexpl_works" >&6; } ++ ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl_no_libm=yes ;; ++ *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; ++ esac ++ else ++ gl_func_frexpl_no_libm=no ++ REPLACE_FREXPL=1 ++ fi ++ if test $gl_func_frexpl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS frexpl.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FREXPL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FREXPL 1" >>confdefs.h ++ ++ ++ ++ # Code from module fseeko: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_fseeko = no; then ++ HAVE_DECL_FSEEKO=0 ++ fi ++ ++ if test $gl_cv_func_fseeko = no; then ++ HAVE_FSEEKO=0 ++ ++ ++ ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext" ++ ++ ++ ++ else ++ if test $gl_cv_var_stdin_large_offset = no; then ++ ++ ++ ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext" ++ ++ ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_FSEEKO=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FSEEKO 1" >>confdefs.h ++ ++ ++ ++ # Code from module ftello: ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_ftello = no; then ++ HAVE_DECL_FTELLO=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 ++$as_echo_n "checking for ftello... " >&6; } ++if ${gl_cv_func_ftello+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ftello (stdin); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ftello=yes ++else ++ gl_cv_func_ftello=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5 ++$as_echo "$gl_cv_func_ftello" >&6; } ++ if test $gl_cv_func_ftello = no; then ++ HAVE_FTELLO=0 ++ else ++ if test $gl_cv_var_stdin_large_offset = no; then ++ REPLACE_FTELLO=1 ++ else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 ++$as_echo_n "checking whether ftello works... " >&6; } ++if ${gl_cv_func_ftello_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris. ++ solaris*) gl_cv_func_ftello_works="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_ftello_works="guessing yes" ;; ++ esac ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#define TESTFILE "conftest.tmp" ++int ++main (void) ++{ ++ FILE *fp; ++ ++ /* Create a file with some contents. */ ++ fp = fopen (TESTFILE, "w"); ++ if (fp == NULL) ++ return 70; ++ if (fwrite ("foogarsh", 1, 8, fp) < 8) ++ return 71; ++ if (fclose (fp)) ++ return 72; ++ ++ /* The file's contents is now "foogarsh". */ ++ ++ /* Try writing after reading to EOF. */ ++ fp = fopen (TESTFILE, "r+"); ++ if (fp == NULL) ++ return 73; ++ if (fseek (fp, -1, SEEK_END)) ++ return 74; ++ if (!(getc (fp) == 'h')) ++ return 1; ++ if (!(getc (fp) == EOF)) ++ return 2; ++ if (!(ftell (fp) == 8)) ++ return 3; ++ if (!(ftell (fp) == 8)) ++ return 4; ++ if (!(putc ('!', fp) == '!')) ++ return 5; ++ if (!(ftell (fp) == 9)) ++ return 6; ++ if (!(fclose (fp) == 0)) ++ return 7; ++ fp = fopen (TESTFILE, "r"); ++ if (fp == NULL) ++ return 75; ++ { ++ char buf[10]; ++ if (!(fread (buf, 1, 10, fp) == 9)) ++ return 10; ++ if (!(memcmp (buf, "foogarsh!", 9) == 0)) ++ return 11; ++ } ++ if (!(fclose (fp) == 0)) ++ return 12; ++ ++ /* The file's contents is now "foogarsh!". */ ++ ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ftello_works=yes ++else ++ gl_cv_func_ftello_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_ftello_works" >&5 ++$as_echo "$gl_cv_func_ftello_works" >&6; } ++ case "$gl_cv_func_ftello_works" in ++ *yes) ;; ++ *) ++ REPLACE_FTELLO=1 ++ ++$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h ++ ++ ;; ++ esac ++ fi ++ fi ++ if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS ftello.$ac_objext" ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FTELLO=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FTELLO 1" >>confdefs.h ++ ++ ++ ++ # Code from module gendocs: ++ # Code from module getdtablesize: ++ ++ ++ ++ if test $ac_cv_func_getdtablesize != yes; then ++ HAVE_GETDTABLESIZE=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getdtablesize.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_GETDTABLESIZE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h ++ ++ ++ ++ # Code from module getopt-gnu: ++ ++ ++ ++ ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h ++ ++ ++ # Code from module getopt-posix: ++ ++ ++ ++ ++ ++ if test -n "$gl_replace_getopt"; then : ++ ++ ++ ++ GETOPT_H=getopt.h ++ ++$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h ++ ++ ++ ++ GNULIB_UNISTD_H_GETOPT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext" ++ ++ ++ ++ ++ ++ ++fi ++ ++ ++ # Code from module gettext-h: ++ ++ ++ # Code from module gettimeofday: ++ ++ ++ ++ ++ ++ ++ gl_gettimeofday_timezone=void ++ if test $ac_cv_func_gettimeofday != yes; then ++ HAVE_GETTIMEOFDAY=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ else ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 ++$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } ++if ${gl_cv_func_gettimeofday_clobber+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_gettimeofday_clobber=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_gettimeofday_clobber=no ++else ++ gl_cv_func_gettimeofday_clobber=yes ++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_gettimeofday_clobber" >&5 ++$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } ++ ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h ++ ++ ++$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h ++ ++ ++ ++$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 ++$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } ++if ${gl_cv_func_gettimeofday_posix_signature+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ struct timeval c; ++ int gettimeofday (struct timeval *restrict, void *restrict); ++ ++int ++main () ++{ ++/* glibc uses struct timezone * rather than the POSIX void * ++ if _GNU_SOURCE is defined. However, since the only portable ++ use of gettimeofday uses NULL as the second parameter, and ++ since the glibc definition is actually more typesafe, it is ++ not worth wrapping this to get a compliant signature. */ ++ int (*f) (struct timeval *restrict, void *restrict) ++ = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int gettimeofday (struct timeval *restrict, struct timezone *restrict); ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=almost ++else ++ gl_cv_func_gettimeofday_posix_signature=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5 ++$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } ++ if test $gl_cv_func_gettimeofday_posix_signature = almost; then ++ gl_gettimeofday_timezone='struct timezone' ++ elif test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone ++_ACEOF ++ ++ ++ ++ ++ ++ GNULIB_GETTIMEOFDAY=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h ++ ++ ++ ++ # Code from module git-version-gen: ++ # Code from module gnu-web-doc-update: ++ # Code from module gnumakefile: ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" ++ ++ # Code from module gnupload: ++ # Code from module gpl-3.0: ++ # Code from module havelib: ++ # Code from module ignore-value: ++ ++ # Code from module include_next: ++ # Code from module inline: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5 ++$as_echo_n "checking whether the compiler generally respects inline... " >&6; } ++if ${gl_cv_c_inline_effective+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $ac_cv_c_inline = no; then ++ gl_cv_c_inline_effective=no ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifdef __NO_INLINE__ ++ #error "inline is not effective" ++ #endif ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_c_inline_effective=yes ++else ++ gl_cv_c_inline_effective=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5 ++$as_echo "$gl_cv_c_inline_effective" >&6; } ++ if test $gl_cv_c_inline_effective = yes; then ++ ++$as_echo "@%:@define HAVE_INLINE 1" >>confdefs.h ++ ++ fi ++ ++ # Code from module intprops: ++ # Code from module isnand-nolibm: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5 ++$as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; } ++if ${gl_cv_func_isnand_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNUC__ >= 4 ++ # undef isnand ++ # define isnand(x) __builtin_isnan ((double)(x)) ++ #else ++ # undef isnand ++ # define isnand(x) isnan ((double)(x)) ++ #endif ++ double x; ++int ++main () ++{ ++return isnand (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_isnand_no_libm=yes ++else ++ gl_cv_func_isnand_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5 ++$as_echo "$gl_cv_func_isnand_no_libm" >&6; } ++ ++ if test $gl_cv_func_isnand_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS isnand.$ac_objext" ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'double'... " >&6; } ++if ${gl_cv_cc_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined arm || defined __arm || defined __arm__ ++ mixed_endianness ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "mixed_endianness" >/dev/null 2>&1; then : ++ gl_cv_cc_double_expbit0="unknown" ++else ++ ++ : ++if ${ac_cv_c_bigendian+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_bigendian=unknown ++ # See if we're dealing with a universal compiler. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ # Check for potential -arch flags. It is not universal unless ++ # there are at least two -arch flags with different values. ++ ac_arch= ++ ac_prev= ++ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ++ if test -n "$ac_prev"; then ++ case $ac_word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ++ ac_arch=$ac_word ++ else ++ ac_cv_c_bigendian=universal ++ break ++ fi ++ ;; ++ esac ++ ac_prev= ++ elif test "x$ac_word" = "x-arch"; then ++ ac_prev=arch ++ fi ++ done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if sys/param.h defines the BYTE_ORDER macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ++ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ++ && LITTLE_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if BYTE_ORDER != BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to _BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#ifndef _BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # Compile a test program. ++ if test "$cross_compiling" = yes; then : ++ # Try to guess by grepping values from an object file. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++short int ascii_mm[] = ++ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ++ short int ascii_ii[] = ++ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ++ int use_ascii (int i) { ++ return ascii_mm[i] + ascii_ii[i]; ++ } ++ short int ebcdic_ii[] = ++ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ++ short int ebcdic_mm[] = ++ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ++ int use_ebcdic (int i) { ++ return ebcdic_mm[i] + ebcdic_ii[i]; ++ } ++ extern int foo; ++ ++int ++main () ++{ ++return use_ascii (foo) == use_ebcdic (foo); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then ++ ac_cv_c_bigendian=no ++ else ++ # finding both strings is unlikely to happen, but who knows? ++ ac_cv_c_bigendian=unknown ++ fi ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Are we little or big endian? From Harbison&Steele. */ ++ union ++ { ++ long int l; ++ char c[sizeof (long int)]; ++ } u; ++ u.l = 1; ++ return u.c[sizeof (long int) - 1] == 1; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_bigendian=no ++else ++ ac_cv_c_bigendian=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++fi ++: ++ case $ac_cv_c_bigendian in #( ++ yes) ++ gl_cv_cc_double_expbit0="word 0 bit 20";; #( ++ no) ++ gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( ++ universal) ++ ++$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ ;; #( ++ *) ++ gl_cv_cc_double_expbit0="unknown" ;; ++ esac ++ ++ ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } memory_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (double x) ++{ ++ memory_double m; ++ size_t i; ++ /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ ++ memset (&m, 0, sizeof (memory_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25); ++ add_to_ored_words (0.5); ++ add_to_ored_words (1.0); ++ add_to_ored_words (2.0); ++ add_to_ored_words (4.0); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_double_expbit0" >&6; } ++ case "$gl_cv_cc_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ fi ++ ++ # Code from module isnanf-nolibm: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5 ++$as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; } ++if ${gl_cv_func_isnanf_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNUC__ >= 4 ++ # undef isnanf ++ # define isnanf(x) __builtin_isnanf ((float)(x)) ++ #elif defined isnan ++ # undef isnanf ++ # define isnanf(x) isnan ((float)(x)) ++ #endif ++ float x; ++int ++main () ++{ ++return isnanf (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_isnanf_no_libm=yes ++else ++ gl_cv_func_isnanf_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5 ++$as_echo "$gl_cv_func_isnanf_no_libm" >&6; } ++ ++ if test $gl_cv_func_isnanf_no_libm = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5 ++$as_echo_n "checking whether isnan(float) works... " >&6; } ++if ${gl_cv_func_isnanf_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ irix* | solaris*) gl_cv_func_isnanf_works="guessing no";; ++ *) gl_cv_func_isnanf_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if __GNUC__ >= 4 ++# undef isnanf ++# define isnanf(x) __builtin_isnanf ((float)(x)) ++#elif defined isnan ++# undef isnanf ++# define isnanf(x) isnan ((float)(x)) ++#endif ++/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ ++#ifdef __DECC ++static float ++NaN () ++{ ++ static float zero = 0.0f; ++ return zero / zero; ++} ++#else ++# define NaN() (0.0f / 0.0f) ++#endif ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { unsigned int word[NWORDS]; float value; } memory_float; ++int main() ++{ ++ int result = 0; ++ ++ if (isnanf (1.0f / 0.0f)) ++ result |= 1; ++ ++ if (!isnanf (NaN ())) ++ result |= 2; ++ ++#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT ++ /* The isnanf function should be immune against changes in the sign bit and ++ in the mantissa bits. The xor operation twiddles a bit that can only be ++ a sign bit or a mantissa bit. */ ++ if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0) ++ { ++ memory_float m; ++ ++ m.value = NaN (); ++ /* Set the bits below the exponent to 01111...111. */ ++ m.word[0] &= -1U << FLT_EXPBIT0_BIT; ++ m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1; ++ if (!isnanf (m.value)) ++ result |= 4; ++ } ++#endif ++ ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_isnanf_works=yes ++else ++ gl_cv_func_isnanf_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_isnanf_works" >&5 ++$as_echo "$gl_cv_func_isnanf_works" >&6; } ++ ++ fi ++ if test $gl_cv_func_isnanf_no_libm = yes \ ++ && { case "$gl_cv_func_isnanf_works" in ++ *yes) true;; ++ *) false;; ++ esac ++ }; then ++ ++$as_echo "@%:@define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS isnanf.$ac_objext" ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 ++$as_echo_n "checking where to find the exponent in a 'float'... " >&6; } ++if ${gl_cv_cc_float_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_cc_float_expbit0="word 0 bit 23" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_float_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 ++$as_echo "$gl_cv_cc_float_expbit0" >&6; } ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ fi ++ ++ # Code from module isnanl-nolibm: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5 ++$as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; } ++if ${gl_cv_func_isnanl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNUC__ >= 4 ++ # undef isnanl ++ # define isnanl(x) __builtin_isnanl ((long double)(x)) ++ #elif defined isnan ++ # undef isnanl ++ # define isnanl(x) isnan ((long double)(x)) ++ #endif ++ long double x; ++int ++main () ++{ ++return isnanl (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_isnanl_no_libm=yes ++else ++ gl_cv_func_isnanl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5 ++$as_echo "$gl_cv_func_isnanl_no_libm" >&6; } ++ ++ gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm ++ if test $gl_func_isnanl_no_libm = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5 ++$as_echo_n "checking whether isnanl works... " >&6; } ++if ${gl_cv_func_isnanl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";; ++ *) ++ case "$host_os" in ++ netbsd*) gl_cv_func_isnanl_works="guessing no";; ++ *) gl_cv_func_isnanl_works="guessing yes";; ++ esac ++ ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if __GNUC__ >= 4 ++# undef isnanl ++# define isnanl(x) __builtin_isnanl ((long double)(x)) ++#elif defined isnan ++# undef isnanl ++# define isnanl(x) isnan ((long double)(x)) ++#endif ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { unsigned int word[NWORDS]; long double value; } ++ memory_long_double; ++/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the ++ runtime type conversion. */ ++#ifdef __sgi ++static long double NaNl () ++{ ++ double zero = 0.0; ++ return zero / zero; ++} ++#else ++# define NaNl() (0.0L / 0.0L) ++#endif ++int main () ++{ ++ int result = 0; ++ ++ if (!isnanl (NaNl ())) ++ result |= 1; ++ ++ { ++ memory_long_double m; ++ unsigned int i; ++ ++ /* The isnanl function should be immune against changes in the sign bit and ++ in the mantissa bits. The xor operation twiddles a bit that can only be ++ a sign bit or a mantissa bit (since the exponent never extends to ++ bit 31). */ ++ m.value = NaNl (); ++ m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); ++ for (i = 0; i < NWORDS; i++) ++ m.word[i] |= 1; ++ if (!isnanl (m.value)) ++ result |= 1; ++ } ++ ++#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 2; ++ } ++ { ++ /* Signalling NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 2; ++ } ++ /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities, ++ Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in ++ Intel IA-64 Architecture Software Developer's Manual, Volume 1: ++ Application Architecture. ++ Table 5-2 "Floating-Point Register Encodings" ++ Figure 5-6 "Memory to Floating-Point Register Data Translation" ++ */ ++ { /* Pseudo-NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 4; ++ } ++ { /* Pseudo-Infinity. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 8; ++ } ++ { /* Pseudo-Zero. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 16; ++ } ++ { /* Unnormalized number. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 32; ++ } ++ { /* Pseudo-Denormal. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 64; ++ } ++#endif ++ ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_isnanl_works=yes ++else ++ gl_cv_func_isnanl_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_isnanl_works" >&5 ++$as_echo "$gl_cv_func_isnanl_works" >&6; } ++ ++ case "$gl_cv_func_isnanl_works" in ++ *yes) ;; ++ *) gl_func_isnanl_no_libm=no ;; ++ esac ++ fi ++ if test $gl_func_isnanl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS isnanl.$ac_objext" ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; } ++if ${gl_cv_cc_long_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_long_double_expbit0="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_long_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (long double x) ++{ ++ memory_long_double m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (long double) < sizeof (memory_long_double). */ ++ memset (&m, 0, sizeof (memory_long_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25L); ++ add_to_ored_words (0.5L); ++ add_to_ored_words (1.0L); ++ add_to_ored_words (2.0L); ++ add_to_ored_words (4.0L); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_long_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_long_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_long_double_expbit0" >&6; } ++ case "$gl_cv_cc_long_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ fi ++ ++ # Code from module langinfo: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_langinfo_h='<'langinfo.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_langinfo_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_langinfo_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/langinfo.h#{ ++ s#.*"\(.*/langinfo.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_langinfo_h='<'langinfo.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 ++$as_echo "$gl_cv_next_langinfo_h" >&6; } ++ fi ++ NEXT_LANGINFO_H=$gl_cv_next_langinfo_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'langinfo.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_langinfo_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ HAVE_LANGINFO_CODESET=0 ++ HAVE_LANGINFO_T_FMT_AMPM=0 ++ HAVE_LANGINFO_ERA=0 ++ HAVE_LANGINFO_YESEXPR=0 ++ ++ if test $ac_cv_header_langinfo_h = yes; then ++ HAVE_LANGINFO_H=1 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 ++$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } ++if ${gl_cv_header_langinfo_codeset+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = CODESET; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_codeset=yes ++else ++ gl_cv_header_langinfo_codeset=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_langinfo_codeset" >&5 ++$as_echo "$gl_cv_header_langinfo_codeset" >&6; } ++ if test $gl_cv_header_langinfo_codeset = yes; then ++ HAVE_LANGINFO_CODESET=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 ++$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } ++if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = T_FMT_AMPM; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_t_fmt_ampm=yes ++else ++ gl_cv_header_langinfo_t_fmt_ampm=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_langinfo_t_fmt_ampm" >&5 ++$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } ++ if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then ++ HAVE_LANGINFO_T_FMT_AMPM=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 ++$as_echo_n "checking whether langinfo.h defines ERA... " >&6; } ++if ${gl_cv_header_langinfo_era+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = ERA; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_era=yes ++else ++ gl_cv_header_langinfo_era=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_langinfo_era" >&5 ++$as_echo "$gl_cv_header_langinfo_era" >&6; } ++ if test $gl_cv_header_langinfo_era = yes; then ++ HAVE_LANGINFO_ERA=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 ++$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } ++if ${gl_cv_header_langinfo_yesexpr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = YESEXPR; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_yesexpr=yes ++else ++ gl_cv_header_langinfo_yesexpr=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_langinfo_yesexpr" >&5 ++$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } ++ if test $gl_cv_header_langinfo_yesexpr = yes; then ++ HAVE_LANGINFO_YESEXPR=1 ++ fi ++ else ++ HAVE_LANGINFO_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module libsigsegv: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libsigsegv-prefix was given. ++if test "${with_libsigsegv_prefix+set}" = set; then : ++ withval=$with_libsigsegv_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++ ++fi ++ ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ INCSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ HAVE_LIBSIGSEGV= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='sigsegv ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$acl_hardcode_direct" = yes; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ ++ for element in $INCSIGSEGV; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 ++$as_echo_n "checking for libsigsegv... " >&6; } ++if ${ac_cv_libsigsegv+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_save_LIBS="$LIBS" ++ case " $LIBSIGSEGV" in ++ *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;; ++ *) LIBS="$LIBSIGSEGV $LIBS" ;; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++sigsegv_deinstall_handler(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_libsigsegv=yes ++else ++ ac_cv_libsigsegv='no, consider installing GNU libsigsegv' ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$ac_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5 ++$as_echo "$ac_cv_libsigsegv" >&6; } ++ if test "$ac_cv_libsigsegv" = yes; then ++ HAVE_LIBSIGSEGV=yes ++ ++$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5 ++$as_echo_n "checking how to link with libsigsegv... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5 ++$as_echo "$LIBSIGSEGV" >&6; } ++ else ++ HAVE_LIBSIGSEGV=no ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ fi ++ ++ ++ ++ ++ ++ ++ ++ gl_cv_lib_sigsegv="$ac_cv_libsigsegv" ++ ++ # Code from module linkedhash-list: ++ # Code from module list: ++ ++ ++ ++ # Code from module localcharset: ++ ++ ++ ++ ++ ++ ++ ++ ++ LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" ++ ++ # Code from module lock: ++ ++ ++ if test "$gl_threads_api" = posix; then ++ # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the ++ # pthread_rwlock_* functions. ++ ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include ++" ++if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : ++ ++$as_echo "@%:@define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h ++ ++fi ++ ++ # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++int ++main () ++{ ++ ++#if __FreeBSD__ == 4 ++error "No, in FreeBSD 4.0 recursive mutexes actually don't work." ++#else ++int x = (int)PTHREAD_MUTEX_RECURSIVE; ++return !x; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "@%:@define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ ++ ++ ++ ++ # Code from module lseek: ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 ++$as_echo_n "checking whether lseek detects pipes... " >&6; } ++if ${gl_cv_func_lseek_pipe+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ++int ++main () ++{ ++ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && test 1 = "`echo hi \ ++ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_lseek_pipe=yes ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 ++$as_echo "$gl_cv_func_lseek_pipe" >&6; } ++ if test $gl_cv_func_lseek_pipe = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS lseek.$ac_objext" ++ ++ ++ REPLACE_LSEEK=1 ++ ++$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_LSEEK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_LSEEK 1" >>confdefs.h ++ ++ ++ ++ # Code from module lstat: ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. ++ ++ else ++ HAVE_LSTAT=0 ++ fi ++ ++ ++ ++ ++ GNULIB_LSTAT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_LSTAT 1" >>confdefs.h ++ ++ ++ ++ # Code from module maintainer-makefile: ++ ++ # Code from module malloc-gnu: ++ ++ ++ for ac_header in stdlib.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdlib_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDLIB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 ++$as_echo_n "checking for GNU libc compatible malloc... " >&6; } ++if ${ac_cv_func_malloc_0_nonnull+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_malloc_0_nonnull=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined STDC_HEADERS || defined HAVE_STDLIB_H ++# include ++#else ++char *malloc (); ++#endif ++ ++int ++main () ++{ ++return ! malloc (0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_malloc_0_nonnull=yes ++else ++ ac_cv_func_malloc_0_nonnull=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: $ac_cv_func_malloc_0_nonnull" >&5 ++$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } ++if test $ac_cv_func_malloc_0_nonnull = yes; then : ++ ++$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h ++ ++else ++ $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext" ++ ++ REPLACE_MALLOC=1 ++ ++ ++fi ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_MALLOC_GNU 1 ++_ACEOF ++ ++ ++ # Code from module malloc-posix: ++ ++ ++ ++ if test $gl_cv_func_malloc_posix = yes; then ++ ++$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext" ++ ++ REPLACE_MALLOC=1 ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MALLOC_POSIX=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h ++ ++ ++ ++ # Code from module malloca: ++ ++ ++ ++ ++ # Code from module manywarnings: ++ # Code from module math: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_math_h='<'math.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_math_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_math_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/math.h#{ ++ s#.*"\(.*/math.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_math_h='<'math.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5 ++$as_echo "$gl_cv_next_math_h" >&6; } ++ fi ++ NEXT_MATH_H=$gl_cv_next_math_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'math.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_math_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5 ++$as_echo_n "checking whether NAN macro works... " >&6; } ++if ${gl_cv_header_math_nan_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++/* Solaris 10 has a broken definition of NAN. Other platforms ++ fail to provide NAN, or provide it only in C99 mode; this ++ test only needs to fail when NAN is provided but wrong. */ ++ float f = 1.0f; ++#ifdef NAN ++ f = NAN; ++#endif ++ return f == 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_math_nan_works=yes ++else ++ gl_cv_header_math_nan_works=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_math_nan_works" >&5 ++$as_echo "$gl_cv_header_math_nan_works" >&6; } ++ if test $gl_cv_header_math_nan_works = no; then ++ REPLACE_NAN=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5 ++$as_echo_n "checking whether HUGE_VAL works... " >&6; } ++if ${gl_cv_header_math_huge_val_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++/* Solaris 10 has a broken definition of HUGE_VAL. */ ++ double d = HUGE_VAL; ++ return d == 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_math_huge_val_works=yes ++else ++ gl_cv_header_math_huge_val_works=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_math_huge_val_works" >&5 ++$as_echo "$gl_cv_header_math_huge_val_works" >&6; } ++ if test $gl_cv_header_math_huge_val_works = no; then ++ REPLACE_HUGE_VAL=1 ++ fi ++ ++ ++ ++ # Code from module mbrtowc: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 ++$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++ if test $LOCALE_JA != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_incomplete_state=yes ++else ++ gl_cv_func_mbrtowc_incomplete_state=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 ++$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 ++$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_sanitycheck=yes ++else ++ gl_cv_func_mbrtowc_sanitycheck=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 ++$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } ++ ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ ++ : ++ ++ fi ++ ++ ++ ++ if test $ac_cv_func_mbrtowc = no; then ++ HAVE_MBRTOWC=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_MBRTOWC=1 ++ else ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 ++$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; } ++if ${gl_cv_func_mbrtowc_null_arg1+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris. ++ solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; ++ esac ++ if test $LOCALE_FR_UTF8 != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ char input[] = "\303\237er"; ++ mbstate_t state; ++ wchar_t wc; ++ size_t ret; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ wc = (wchar_t) 0xBADFACE; ++ ret = mbrtowc (&wc, input, 5, &state); ++ if (ret != 2) ++ result |= 1; ++ if (!mbsinit (&state)) ++ result |= 2; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ ret = mbrtowc (NULL, input, 5, &state); ++ if (ret != 2) /* Solaris 7 fails here: ret is -1. */ ++ result |= 4; ++ if (!mbsinit (&state)) ++ result |= 8; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_null_arg1=yes ++else ++ gl_cv_func_mbrtowc_null_arg1=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 ++$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 ++$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } ++if ${gl_cv_func_mbrtowc_null_arg2+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on OSF/1. ++ osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; ++ esac ++ if test $LOCALE_FR_UTF8 != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ mbstate_t state; ++ wchar_t wc; ++ int ret; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ wc = (wchar_t) 0xBADFACE; ++ mbrtowc (&wc, NULL, 5, &state); ++ /* Check that wc was not modified. */ ++ if (wc != (wchar_t) 0xBADFACE) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_null_arg2=yes ++else ++ gl_cv_func_mbrtowc_null_arg2=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 ++$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; } ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 ++$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } ++if ${gl_cv_func_mbrtowc_retval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on HP-UX, Solaris, native Windows. ++ hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_retval="guessing yes" ;; ++ esac ++ if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ ++ || { case "$host_os" in mingw*) true;; *) false;; esac; }; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ int found_some_locale = 0; ++ /* This fails on Solaris. */ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ char input[] = "B\303\274\303\237er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ { ++ input[1] = '\0'; ++ if (mbrtowc (&wc, input + 2, 5, &state) != 1) ++ result |= 1; ++ } ++ found_some_locale = 1; ++ } ++ /* This fails on HP-UX 11.11. */ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ { ++ input[1] = '\0'; ++ if (mbrtowc (&wc, input + 2, 5, &state) != 2) ++ result |= 2; ++ } ++ found_some_locale = 1; ++ } ++ /* This fails on native Windows. */ ++ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) ++ { ++ char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 4; ++ } ++ found_some_locale = 1; ++ } ++ if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) ++ { ++ char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 8; ++ } ++ found_some_locale = 1; ++ } ++ if (setlocale (LC_ALL, "Chinese_China.936") != NULL) ++ { ++ char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 16; ++ } ++ found_some_locale = 1; ++ } ++ return (found_some_locale ? result : 77); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_retval=yes ++else ++ if test $? != 77; then ++ gl_cv_func_mbrtowc_retval=no ++ fi ++ ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 ++$as_echo "$gl_cv_func_mbrtowc_retval" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 ++$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } ++if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8 and 9. ++ solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8 and 9. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, "", 1, &state) != 0) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_nul_retval=yes ++else ++ gl_cv_func_mbrtowc_nul_retval=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 ++$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } ++ ++ case "$gl_cv_func_mbrtowc_null_arg1" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_null_arg2" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_retval" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_nul_retval" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ fi ++ fi ++ if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mbrtowc.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MBRTOWC=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h ++ ++ ++ ++ # Code from module mbsinit: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 ++$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++ if test $LOCALE_JA != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_incomplete_state=yes ++else ++ gl_cv_func_mbrtowc_incomplete_state=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 ++$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 ++$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_sanitycheck=yes ++else ++ gl_cv_func_mbrtowc_sanitycheck=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 ++$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } ++ ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ ++ : ++ ++ fi ++ ++ ++ ++ if test $ac_cv_func_mbsinit = no; then ++ HAVE_MBSINIT=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_MBSINIT=1 ++ else ++ case "$host_os" in ++ mingw*) REPLACE_MBSINIT=1 ;; ++ esac ++ fi ++ fi ++ if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mbsinit.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MBSINIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module mbtowc: ++ ++ ++ ++ if false; then ++ REPLACE_MBTOWC=1 ++ fi ++ if test $REPLACE_MBTOWC = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mbtowc.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MBTOWC=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MBTOWC 1" >>confdefs.h ++ ++ ++ ++ # Code from module memchr: ++ ++ ++ ++ ++ GNULIB_MEMCHR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h ++ ++ ++ ++ # Code from module memchr2: ++ # Code from module mkdtemp: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in mkdtemp ++do : ++ ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp" ++if test "x$ac_cv_func_mkdtemp" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_MKDTEMP 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_mkdtemp = no; then ++ HAVE_MKDTEMP=0 ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MKDTEMP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MKDTEMP 1" >>confdefs.h ++ ++ ++ ++ # Code from module mkstemp: ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mkstemp = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 ++$as_echo_n "checking for working mkstemp... " >&6; } ++if ${gl_cv_func_working_mkstemp+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ mkdir conftest.mkstemp ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_working_mkstemp=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++int result = 0; ++ int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0) ++ result |= 1; ++ else ++ { ++ if (lseek (fd, large, SEEK_SET) != large) ++ result |= 2; ++ close (fd); ++ } ++ } ++ return result; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_mkstemp=yes ++else ++ gl_cv_func_working_mkstemp=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -rf conftest.mkstemp ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5 ++$as_echo "$gl_cv_func_working_mkstemp" >&6; } ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext" ++ ++ ++ ++ fi ++ else ++ HAVE_MKSTEMP=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext" ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MKSTEMP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MKSTEMP 1" >>confdefs.h ++ ++ ++ ++ # Code from module multiarch: ++ ++ # Code from module nl_langinfo: ++ ++ ++ ++ ++ if test $ac_cv_func_nl_langinfo = yes; then ++ # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5 ++$as_echo_n "checking whether YESEXPR works... " >&6; } ++if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no on irix systems. ++ irix*) gl_cv_func_nl_langinfo_yesexpr_works="guessing no";; ++ # Guess yes elsewhere. ++ *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*nl_langinfo(YESEXPR); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_nl_langinfo_yesexpr_works=yes ++else ++ gl_cv_func_nl_langinfo_yesexpr_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_nl_langinfo_yesexpr_works" >&5 ++$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; } ++ case $gl_cv_func_nl_langinfo_yesexpr_works in ++ *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;; ++ *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS ++_ACEOF ++ ++ if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \ ++ && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then ++ : ++ else ++ REPLACE_NL_LANGINFO=1 ++ ++$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext" ++ ++ fi ++ else ++ HAVE_NL_LANGINFO=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_NL_LANGINFO=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h ++ ++ ++ ++ # Code from module nocrash: ++ # Code from module obstack: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5 ++$as_echo_n "checking for obstacks... " >&6; } ++if ${ac_cv_func_obstack+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++ @%:@include "obstack.h" ++int ++main () ++{ ++struct obstack mem; ++ @%:@define obstack_chunk_alloc malloc ++ @%:@define obstack_chunk_free free ++ obstack_init (&mem); ++ obstack_free (&mem, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_obstack=yes ++else ++ ac_cv_func_obstack=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5 ++$as_echo "$ac_cv_func_obstack" >&6; } ++if test $ac_cv_func_obstack = yes; then ++ ++$as_echo "@%:@define HAVE_OBSTACK 1" >>confdefs.h ++ ++else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS obstack.$ac_objext" ++ ++fi ++ ++ # Code from module open: ++ ++ ++ case "$host_os" in ++ mingw* | pw*) ++ ++ ++ REPLACE_OPEN=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext" ++ ++ ++ ++ ++ : ++ ++ ++ ;; ++ *) ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5 ++$as_echo_n "checking whether open recognizes a trailing slash... " >&6; } ++if ${gl_cv_func_open_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ touch conftest.tmp ++ ln -s conftest.tmp conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) ++ gl_cv_func_open_slash="guessing no" ;; ++ *) ++ gl_cv_func_open_slash="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_UNISTD_H ++# include ++#endif ++int main () ++{ ++ int result = 0; ++#if HAVE_LSTAT ++ if (open ("conftest.lnk/", O_RDONLY) != -1) ++ result |= 1; ++#endif ++ if (open ("conftest.sl/", O_CREAT, 0600) >= 0) ++ result |= 2; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_open_slash=yes ++else ++ gl_cv_func_open_slash=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.sl conftest.tmp conftest.lnk ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5 ++$as_echo "$gl_cv_func_open_slash" >&6; } ++ case "$gl_cv_func_open_slash" in ++ *no) ++ ++$as_echo "@%:@define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ++ ++ ++ ++ REPLACE_OPEN=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext" ++ ++ ++ ++ ++ : ++ ++ ++ ;; ++ esac ++ ;; ++ esac ++ ++ ++ ++ ++ GNULIB_OPEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_OPEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module oset: ++ ++ ++ ++ # Code from module pathmax: ++ ++ ++ ++ ++ # Code from module pipe2: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_pipe2 != yes; then ++ HAVE_PIPE2=0 ++ fi ++ ++ ++ ++ ++ GNULIB_PIPE2=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_PIPE2 1" >>confdefs.h ++ ++ ++ ++ # Code from module pipe2-safer: ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_PIPE2_SAFER 1 ++_ACEOF ++ ++ ++ # Code from module posix_spawn-internal: ++ # Code from module posix_spawn_file_actions_addclose: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addclose.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_adddup2: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_adddup2.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_addopen: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addopen.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_destroy: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_destroy.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_init: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_init.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_destroy: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_destroy.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_DESTROY=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_DESTROY 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_init: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_init.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_INIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_INIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_setflags: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_setflags.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_SETFLAGS=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_setsigmask: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_setsigmask.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_SETSIGMASK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnp: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnp.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawni.$ac_objext" ++ ++ for ac_header in paths.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" ++if test "x$ac_cv_header_paths_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_PATHS_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in confstr sched_setparam sched_setscheduler setegid seteuid vfork ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNP 1" >>confdefs.h ++ ++ ++ ++ # Code from module printf-frexp: ++ ++ ++ if test $gl_cv_func_frexp_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 ++$as_echo_n "checking whether frexp works... " >&6; } ++if ${gl_cv_func_frexp_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";; ++ *) gl_cv_func_frexp_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ ICC 10.0 has a bug when optimizing the expression -zero. ++ The expression -DBL_MIN * DBL_MIN does not work when cross-compiling ++ to PowerPC on MacOS X 10.5. */ ++#if defined __hpux || defined __sgi || defined __ICC ++static double ++compute_minus_zero (void) ++{ ++ return -DBL_MIN * DBL_MIN; ++} ++# define minus_zero compute_minus_zero () ++#else ++double minus_zero = -0.0; ++#endif ++int main() ++{ ++ int result = 0; ++ int i; ++ volatile double x; ++ double zero = 0.0; ++ /* Test on denormalized numbers. */ ++ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ++ ; ++ if (x > 0.0) ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. ++ On NetBSD: y = 0.75. Correct: y = 0.5. */ ++ if (y != 0.5) ++ result |= 1; ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0 / 0.0; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (y != x) ++ result |= 2; ++ } ++ /* Test on negative zero. */ ++ x = minus_zero; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (memcmp (&y, &x, sizeof x)) ++ result |= 4; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexp_works=yes ++else ++ gl_cv_func_frexp_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_frexp_works" >&5 ++$as_echo "$gl_cv_func_frexp_works" >&6; } ++ ++ case "$gl_cv_func_frexp_works" in ++ *yes) ++ ++$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h ++ ++ ;; ++ esac ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5 ++$as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; } ++if ${gl_cv_func_ldexp_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ double x; ++ int y; ++int ++main () ++{ ++return ldexp (x, y) < 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ldexp_no_libm=yes ++else ++ gl_cv_func_ldexp_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5 ++$as_echo "$gl_cv_func_ldexp_no_libm" >&6; } ++ if test $gl_cv_func_ldexp_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ ++ # Code from module printf-frexpl: ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 ++$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_frexpl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x; ++int ++main () ++{ ++int e; return frexpl (x, &e) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_frexpl_no_libm=yes ++else ++ gl_cv_func_frexpl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5 ++$as_echo "$gl_cv_func_frexpl_no_libm" >&6; } ++ ++ if test $gl_cv_func_frexpl_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 ++$as_echo_n "checking whether frexpl works... " >&6; } ++if ${gl_cv_func_frexpl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*) ++ gl_cv_func_frexpl_works="guessing no";; ++ *) gl_cv_func_frexpl_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Override the values of , like done in float.in.h. */ ++#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) ++# undef LDBL_MIN_EXP ++# define LDBL_MIN_EXP (-16381) ++#endif ++extern long double frexpl (long double, int *); ++int main() ++{ ++ int result = 0; ++ volatile long double x; ++ /* Test on finite numbers that fails on AIX 5.1. */ ++ x = 16.0L; ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != 5) ++ result |= 1; ++ } ++ /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl ++ function returns an invalid (incorrectly normalized) value: it returns ++ y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } ++ but the correct result is ++ 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ ++ x = 1.01L; ++ { ++ int exp = -9999; ++ long double y = frexpl (x, &exp); ++ if (!(exp == 1 && y == 0.505L)) ++ result |= 2; ++ } ++ /* Test on large finite numbers. This fails on BeOS at i = 16322, while ++ LDBL_MAX_EXP = 16384. ++ In the loop end test, we test x against Infinity, rather than comparing ++ i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != i) ++ { ++ result |= 4; ++ break; ++ } ++ } ++ } ++ /* Test on denormalized numbers. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ++ ; ++ if (x > 0.0L) ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, ++ exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */ ++ if (exp != LDBL_MIN_EXP - 1) ++ result |= 8; ++ } ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0L / 0.0L; ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ if (y != x) ++ result |= 16; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexpl_works=yes ++else ++ gl_cv_func_frexpl_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_frexpl_works" >&5 ++$as_echo "$gl_cv_func_frexpl_works" >&6; } ++ ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl_no_libm=yes ;; ++ *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; ++ esac ++ else ++ gl_func_frexpl_no_libm=no ++ REPLACE_FREXPL=1 ++ fi ++ if test $gl_func_frexpl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h ++ ++ ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include ++" ++if test "x$ac_cv_have_decl_frexpl" = xyes; then : ++ ++else ++ HAVE_DECL_FREXPL=0 ++fi ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5 ++$as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_ldexpl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x; ++int ++main () ++{ ++return ldexpl (x, -1) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ldexpl_no_libm=yes ++else ++ gl_cv_func_ldexpl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5 ++$as_echo "$gl_cv_func_ldexpl_no_libm" >&6; } ++ ++ if test $gl_cv_func_ldexpl_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5 ++$as_echo_n "checking whether ldexpl works... " >&6; } ++if ${gl_cv_func_ldexpl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";; ++ *) gl_cv_func_ldexpl_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++extern long double ldexpl (long double, int); ++int main() ++{ ++ int result = 0; ++ { ++ volatile long double x = 1.0; ++ volatile long double y = ldexpl (x, -1); ++ if (y != 0.5L) ++ result |= 1; ++ } ++ { ++ volatile long double x = 1.73205L; ++ volatile long double y = ldexpl (x, 0); ++ if (y != x) ++ result |= 2; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ldexpl_works=yes ++else ++ gl_cv_func_ldexpl_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_ldexpl_works" >&5 ++$as_echo "$gl_cv_func_ldexpl_works" >&6; } ++ ++ case "$gl_cv_func_ldexpl_works" in ++ *yes) ++ ++$as_echo "@%:@define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h ++ ++ ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include ++" ++if test "x$ac_cv_have_decl_ldexpl" = xyes; then : ++ ++else ++ HAVE_DECL_LDEXPL=0 ++fi ++ ++ ;; ++ esac ++ fi ++ ++ # Code from module printf-safe: ++ ++ # Code from module progname: ++ ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include ++" ++if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl ++_ACEOF ++ ++ ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include ++" ++if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl ++_ACEOF ++ ++ # Code from module quotearg: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS quotearg.$ac_objext" ++ ++ ++ # Code from module quotearg-simple: ++ # Code from module rawmemchr: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in rawmemchr ++do : ++ ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr" ++if test "x$ac_cv_func_rawmemchr" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_RAWMEMCHR 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_rawmemchr = no; then ++ HAVE_RAWMEMCHR=0 ++ : ++ fi ++ ++ ++ ++ ++ GNULIB_RAWMEMCHR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h ++ ++ ++ ++ # Code from module readlink: ++ ++ ++ ++ if test $ac_cv_func_readlink = no; then ++ HAVE_READLINK=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext" ++ ++ ++ : ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5 ++$as_echo_n "checking whether readlink signature is correct... " >&6; } ++if ${gl_cv_decl_readlink_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ /* Cause compilation failure if original declaration has wrong type. */ ++ ssize_t readlink (const char *, char *, size_t); ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_decl_readlink_works=yes ++else ++ gl_cv_decl_readlink_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5 ++$as_echo "$gl_cv_decl_readlink_works" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5 ++$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; } ++if ${gl_cv_func_readlink_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # We have readlink, so assume ln -s works. ++ ln -s conftest.no-such conftest.link ++ ln -s conftest.link conftest.lnk2 ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_readlink_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++char buf[20]; ++ return readlink ("conftest.lnk2/", buf, sizeof buf) != -1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_readlink_works=yes ++else ++ gl_cv_func_readlink_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 ++ ++ rm -f conftest.link conftest.lnk2 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5 ++$as_echo "$gl_cv_func_readlink_works" >&6; } ++ if test "$gl_cv_func_readlink_works" != yes; then ++ ++$as_echo "@%:@define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h ++ ++ REPLACE_READLINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext" ++ ++ elif test "$gl_cv_decl_readlink_works" != yes; then ++ REPLACE_READLINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_READLINK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_READLINK 1" >>confdefs.h ++ ++ ++ ++ # Code from module regex: ++ ++ ++@%:@ Check whether --with-included-regex was given. ++if test "${with_included_regex+set}" = set; then : ++ withval=$with_included_regex; ++fi ++ ++ ++ case $with_included_regex in #( ++ yes|no) ac_use_included_regex=$with_included_regex ++ ;; ++ '') ++ # If the system regex support is good enough that it passes the ++ # following run test, then default to *not* using the included regex.c. ++ # If cross compiling, assume the test would fail and use the included ++ # regex.c. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 ++$as_echo_n "checking for working re_compile_pattern... " >&6; } ++if ${gl_cv_func_re_compile_pattern_working+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_re_compile_pattern_working=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++int result = 0; ++ static struct re_pattern_buffer regex; ++ unsigned char folded_chars[UCHAR_MAX + 1]; ++ int i; ++ const char *s; ++ struct re_registers regs; ++ ++ /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html ++ This test needs valgrind to catch the bug on Debian ++ GNU/Linux 3.1 x86, but it might catch the bug better ++ on other platforms and it shouldn't hurt to try the ++ test here. */ ++ if (setlocale (LC_ALL, "en_US.UTF-8")) ++ { ++ static char const pat[] = "insert into"; ++ static char const data[] = ++ "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; ++ re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE ++ | RE_ICASE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern (pat, sizeof pat - 1, ®ex); ++ if (s) ++ result |= 1; ++ else if (re_search (®ex, data, sizeof data - 1, ++ 0, sizeof data - 1, ®s) ++ != -1) ++ result |= 1; ++ if (! setlocale (LC_ALL, "C")) ++ return 1; ++ } ++ ++ /* This test is from glibc bug 3957, reported by Andrew Mackey. */ ++ re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("a[^x]b", 6, ®ex); ++ if (s) ++ result |= 2; ++ /* This should fail, but succeeds for glibc-2.5. */ ++ else if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) ++ result |= 2; ++ ++ /* This regular expression is from Spencer ere test number 75 ++ in grep-2.3. */ ++ re_set_syntax (RE_SYNTAX_POSIX_EGREP); ++ memset (®ex, 0, sizeof regex); ++ for (i = 0; i <= UCHAR_MAX; i++) ++ folded_chars[i] = i; ++ regex.translate = folded_chars; ++ s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, ®ex); ++ /* This should fail with _Invalid character class name_ error. */ ++ if (!s) ++ result |= 4; ++ ++ /* Ensure that [b-a] is diagnosed as invalid, when ++ using RE_NO_EMPTY_RANGES. */ ++ re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("a[b-a]", 6, ®ex); ++ if (s == 0) ++ result |= 8; ++ ++ /* This should succeed, but does not for glibc-2.1.3. */ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("{1", 2, ®ex); ++ if (s) ++ result |= 8; ++ ++ /* The following example is derived from a problem report ++ against gawk from Jorge Stolfi . */ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("[an\371]*n", 7, ®ex); ++ if (s) ++ result |= 8; ++ /* This should match, but does not for glibc-2.2.1. */ ++ else if (re_match (®ex, "an", 2, 0, ®s) != 2) ++ result |= 8; ++ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("x", 1, ®ex); ++ if (s) ++ result |= 8; ++ /* glibc-2.2.93 does not work with a negative RANGE argument. */ ++ else if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) ++ result |= 8; ++ ++ /* The version of regex.c in older versions of gnulib ++ ignored RE_ICASE. Detect that problem too. */ ++ re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("x", 1, ®ex); ++ if (s) ++ result |= 16; ++ else if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) ++ result |= 16; ++ ++ /* Catch a bug reported by Vin Shelton in ++ http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html ++ */ ++ re_set_syntax (RE_SYNTAX_POSIX_BASIC ++ & ~RE_CONTEXT_INVALID_DUP ++ & ~RE_NO_EMPTY_RANGES); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); ++ if (s) ++ result |= 32; ++ ++ /* REG_STARTEND was added to glibc on 2004-01-15. ++ Reject older versions. */ ++ if (! REG_STARTEND) ++ result |= 64; ++ ++#if 0 ++ /* It would be nice to reject hosts whose regoff_t values are too ++ narrow (including glibc on hosts with 64-bit ptrdiff_t and ++ 32-bit int), but we should wait until glibc implements this ++ feature. Otherwise, support for equivalence classes and ++ multibyte collation symbols would always be broken except ++ when compiling --without-included-regex. */ ++ if (sizeof (regoff_t) < sizeof (ptrdiff_t) ++ || sizeof (regoff_t) < sizeof (ssize_t)) ++ result |= 64; ++#endif ++ ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_re_compile_pattern_working=yes ++else ++ gl_cv_func_re_compile_pattern_working=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_re_compile_pattern_working" >&5 ++$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } ++ case $gl_cv_func_re_compile_pattern_working in #( ++ yes) ac_use_included_regex=no;; #( ++ no) ac_use_included_regex=yes;; ++ esac ++ ;; ++ *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5 ++ ;; ++ esac ++ ++ if test $ac_use_included_regex = yes; then ++ ++$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h ++ ++ ++$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h ++ ++ ++$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h ++ ++ ++$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h ++ ++ ++$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS regex.$ac_objext" ++ ++ ++ ++ ++ ++ ++ for ac_header in libintl.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libintl_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBINTL_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include ++" ++if test "x$ac_cv_have_decl_isblank" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_ISBLANK $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ # Code from module rename: ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5 ++$as_echo_n "checking whether rename honors trailing slash on destination... " >&6; } ++if ${gl_cv_func_rename_slash_dst_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk ++ touch conftest.f && touch conftest.f1 && mkdir conftest.d1 || ++ as_fn_error $? "cannot create temporary files" "$LINENO" 5 ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.f conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_slash_dst_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.f1", "conftest.f2/") == 0) ++ result |= 1; ++ if (rename ("conftest.d1", "conftest.d2/") != 0) ++ result |= 2; ++#if HAVE_LSTAT ++ if (rename ("conftest.f", "conftest.lnk/") == 0) ++ result |= 4; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_slash_dst_works=yes ++else ++ gl_cv_func_rename_slash_dst_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 ++ ++ rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5 ++$as_echo "$gl_cv_func_rename_slash_dst_works" >&6; } ++ if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5 ++$as_echo_n "checking whether rename honors trailing slash on source... " >&6; } ++if ${gl_cv_func_rename_slash_src_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk ++ touch conftest.f && touch conftest.f1 && mkdir conftest.d1 || ++ as_fn_error $? "cannot create temporary files" "$LINENO" 5 ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.f conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_slash_src_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.f1/", "conftest.d3") == 0) ++ result |= 1; ++ if (rename ("conftest.d1/", "conftest.d2") != 0) ++ result |= 2; ++#if HAVE_LSTAT ++ if (rename ("conftest.lnk/", "conftest.f") == 0) ++ result |= 4; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_slash_src_works=yes ++else ++ gl_cv_func_rename_slash_src_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 ++ ++ rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5 ++$as_echo "$gl_cv_func_rename_slash_src_works" >&6; } ++ if test "x$gl_cv_func_rename_slash_src_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5 ++$as_echo_n "checking whether rename manages hard links correctly... " >&6; } ++if ${gl_cv_func_rename_link_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.f1 ++ if touch conftest.f && ln conftest.f conftest.f1 && ++ set x `ls -i conftest.f conftest.f1` && test "" = ""; then ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_link_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.f", "conftest.f1")) ++ result |= 1; ++ if (unlink ("conftest.f1")) ++ result |= 2; ++ if (rename ("conftest.f", "conftest.f")) ++ result |= 4; ++ if (rename ("conftest.f1", "conftest.f1") == 0) ++ result |= 8; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_link_works=yes ++else ++ gl_cv_func_rename_link_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 ++ ++ else ++ gl_cv_func_rename_link_works="guessing no" ++ fi ++ rm -rf conftest.f conftest.f1 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5 ++$as_echo "$gl_cv_func_rename_link_works" >&6; } ++ if test "x$gl_cv_func_rename_link_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_HARD_LINK_BUG 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5 ++$as_echo_n "checking whether rename manages existing destinations correctly... " >&6; } ++if ${gl_cv_func_rename_dest_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.d1 conftest.d2 ++ touch conftest.f && mkdir conftest.d1 conftest.d2 || ++ as_fn_error $? "cannot create temporary files" "$LINENO" 5 ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_dest_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.d1", "conftest.d2") != 0) ++ result |= 1; ++ if (rename ("conftest.d2", "conftest.f") == 0) ++ result |= 2; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_dest_works=yes ++else ++ gl_cv_func_rename_dest_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 ++ ++ rm -rf conftest.f conftest.d1 conftest.d2 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5 ++$as_echo "$gl_cv_func_rename_dest_works" >&6; } ++ if test "x$gl_cv_func_rename_dest_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ GNULIB_RENAME=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_RENAME 1" >>confdefs.h ++ ++ ++ ++ # Code from module rmdir: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5 ++$as_echo_n "checking whether rmdir works... " >&6; } ++if ${gl_cv_func_rmdir_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ mkdir conftest.dir ++ touch conftest.file ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rmdir_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ ++int ++main () ++{ ++int result = 0; ++ if (!rmdir ("conftest.file/")) ++ result |= 1; ++ else if (errno != ENOTDIR) ++ result |= 2; ++ if (!rmdir ("conftest.dir/./")) ++ result |= 4; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rmdir_works=yes ++else ++ gl_cv_func_rmdir_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 ++ ++ rm -rf conftest.dir conftest.file ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5 ++$as_echo "$gl_cv_func_rmdir_works" >&6; } ++ if test x"$gl_cv_func_rmdir_works" != xyes; then ++ REPLACE_RMDIR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rmdir.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_RMDIR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_RMDIR 1" >>confdefs.h ++ ++ ++ ++ # Code from module same-inode: ++ # Code from module sched: ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ struct sched_param a; ++ int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ SCHED_H='' ++else ++ SCHED_H='sched.h' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sched_h='<'sched.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sched_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sched_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sched_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sched.h#{ ++ s#.*"\(.*/sched.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sched_h='<'sched.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 ++$as_echo "$gl_cv_next_sched_h" >&6; } ++ fi ++ NEXT_SCHED_H=$gl_cv_next_sched_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sched.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sched_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sched_h = yes; then ++ HAVE_SCHED_H=1 ++ else ++ HAVE_SCHED_H=0 ++ fi ++ ++ ++ ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include ++" ++if test "x$ac_cv_type_struct_sched_param" = xyes; then : ++ HAVE_STRUCT_SCHED_PARAM=1 ++else ++ HAVE_STRUCT_SCHED_PARAM=0 ++fi ++ ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ ++ # Code from module sigaction: ++ ++ ++ ++ if test $ac_cv_func_sigaction = yes; then ++ ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include ++" ++if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then ++ HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 ++ fi ++ else ++ HAVE_SIGACTION=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS sigaction.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" " ++#include ++ ++" ++if test "x$ac_cv_type_siginfo_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGINFO_T 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_siginfo_t = no; then ++ HAVE_SIGINFO_T=0 ++ fi ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SIGACTION=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SIGACTION 1" >>confdefs.h ++ ++ ++ ++ # Code from module signal: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_signal_h='<'signal.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_signal_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/signal.h#{ ++ s#.*"\(.*/signal.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5 ++$as_echo "$gl_cv_next_signal_h" >&6; } ++ fi ++ NEXT_SIGNAL_H=$gl_cv_next_signal_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'signal.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_signal_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive ++ ++ ++ ++ ++# AIX declares sig_atomic_t to already include volatile, and C89 compilers ++# then choke on 'volatile sig_atomic_t'. C99 requires that it compile. ++ ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" " ++#include ++ ++" ++if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then : ++ ++else ++ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 ++fi ++ ++ ++ ++ ++ ++ # Code from module signbit: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5 ++$as_echo_n "checking for signbit macro... " >&6; } ++if ${gl_cv_func_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_signbit="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++/* If signbit is defined as a function, don't use it, since calling it for ++ 'float' or 'long double' arguments would involve conversions. ++ If signbit is not declared at all but exists as a library function, don't ++ use it, since the prototype may not match. ++ If signbit is not declared at all but exists as a compiler built-in, don't ++ use it, since it's preferable to use __builtin_signbit* (no warnings, ++ no conversions). */ ++#ifndef signbit ++# error "signbit should be a macro" ++#endif ++#include ++ ++/* Global variables. ++ Needed because GCC 4 constant-folds __builtin_signbitl (literal) ++ but cannot constant-fold __builtin_signbitl (variable). */ ++float vf; ++double vd; ++long double vl; ++int main () ++{ ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ So we use -p0f and -p0d instead. */ ++float p0f = 0.0f; ++float m0f = -p0f; ++double p0d = 0.0; ++double m0d = -p0d; ++/* On HP-UX 10.20, negating 0.0L does not yield -0.0L. ++ So we use another constant expression instead. ++ But that expression does not work on other platforms, such as when ++ cross-compiling to PowerPC on MacOS X 10.5. */ ++long double p0l = 0.0L; ++#if defined __hpux || defined __sgi ++long double m0l = -LDBL_MIN * LDBL_MIN; ++#else ++long double m0l = -p0l; ++#endif ++ int result = 0; ++ if (signbit (vf)) /* link check */ ++ vf++; ++ { ++ float plus_inf = 1.0f / p0f; ++ float minus_inf = -1.0f / p0f; ++ if (!(!signbit (255.0f) ++ && signbit (-255.0f) ++ && !signbit (p0f) ++ && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 1; ++ } ++ if (signbit (vd)) /* link check */ ++ vd++; ++ { ++ double plus_inf = 1.0 / p0d; ++ double minus_inf = -1.0 / p0d; ++ if (!(!signbit (255.0) ++ && signbit (-255.0) ++ && !signbit (p0d) ++ && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 2; ++ } ++ if (signbit (vl)) /* link check */ ++ vl++; ++ { ++ long double plus_inf = 1.0L / p0l; ++ long double minus_inf = -1.0L / p0l; ++ if (signbit (255.0L)) ++ result |= 4; ++ if (!signbit (-255.0L)) ++ result |= 4; ++ if (signbit (p0l)) ++ result |= 8; ++ if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) ++ result |= 16; ++ if (signbit (plus_inf)) ++ result |= 32; ++ if (!signbit (minus_inf)) ++ result |= 64; ++ } ++ return result; ++} ++ ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_signbit=yes ++else ++ gl_cv_func_signbit=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_signbit" >&5 ++$as_echo "$gl_cv_func_signbit" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5 ++$as_echo_n "checking for signbit compiler built-ins... " >&6; } ++if ${gl_cv_func_signbit_gcc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_signbit_gcc="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if __GNUC__ >= 4 ++# define signbit(x) \ ++ (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ ++ sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ ++ __builtin_signbitf (x)) ++#else ++# error "signbit should be three compiler built-ins" ++#endif ++#include ++ ++/* Global variables. ++ Needed because GCC 4 constant-folds __builtin_signbitl (literal) ++ but cannot constant-fold __builtin_signbitl (variable). */ ++float vf; ++double vd; ++long double vl; ++int main () ++{ ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ So we use -p0f and -p0d instead. */ ++float p0f = 0.0f; ++float m0f = -p0f; ++double p0d = 0.0; ++double m0d = -p0d; ++/* On HP-UX 10.20, negating 0.0L does not yield -0.0L. ++ So we use another constant expression instead. ++ But that expression does not work on other platforms, such as when ++ cross-compiling to PowerPC on MacOS X 10.5. */ ++long double p0l = 0.0L; ++#if defined __hpux || defined __sgi ++long double m0l = -LDBL_MIN * LDBL_MIN; ++#else ++long double m0l = -p0l; ++#endif ++ int result = 0; ++ if (signbit (vf)) /* link check */ ++ vf++; ++ { ++ float plus_inf = 1.0f / p0f; ++ float minus_inf = -1.0f / p0f; ++ if (!(!signbit (255.0f) ++ && signbit (-255.0f) ++ && !signbit (p0f) ++ && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 1; ++ } ++ if (signbit (vd)) /* link check */ ++ vd++; ++ { ++ double plus_inf = 1.0 / p0d; ++ double minus_inf = -1.0 / p0d; ++ if (!(!signbit (255.0) ++ && signbit (-255.0) ++ && !signbit (p0d) ++ && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 2; ++ } ++ if (signbit (vl)) /* link check */ ++ vl++; ++ { ++ long double plus_inf = 1.0L / p0l; ++ long double minus_inf = -1.0L / p0l; ++ if (signbit (255.0L)) ++ result |= 4; ++ if (!signbit (-255.0L)) ++ result |= 4; ++ if (signbit (p0l)) ++ result |= 8; ++ if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) ++ result |= 16; ++ if (signbit (plus_inf)) ++ result |= 32; ++ if (!signbit (minus_inf)) ++ result |= 64; ++ } ++ return result; ++} ++ ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_signbit_gcc=yes ++else ++ gl_cv_func_signbit_gcc=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_signbit_gcc" >&5 ++$as_echo "$gl_cv_func_signbit_gcc" >&6; } ++ if test "$gl_cv_func_signbit_gcc" = yes; then ++ REPLACE_SIGNBIT_USING_GCC=1 ++ else ++ if test "$gl_cv_func_signbit" != yes; then ++ REPLACE_SIGNBIT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS signbitf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS signbitd.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS signbitl.$ac_objext" ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5 ++$as_echo_n "checking where to find the sign bit in a 'float'... " >&6; } ++if ${gl_cv_cc_float_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_float_signbit="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0f }; ++static memory_float minus = { -1.0f }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_signbit=`cat conftest.out` ++else ++ gl_cv_cc_float_signbit="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5 ++$as_echo "$gl_cv_cc_float_signbit" >&6; } ++ case "$gl_cv_cc_float_signbit" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_SIGNBIT_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_SIGNBIT_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5 ++$as_echo_n "checking where to find the sign bit in a 'double'... " >&6; } ++if ${gl_cv_cc_double_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_double_signbit="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0 }; ++static memory_float minus = { -1.0 }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_double_signbit=`cat conftest.out` ++else ++ gl_cv_cc_double_signbit="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5 ++$as_echo "$gl_cv_cc_double_signbit" >&6; } ++ case "$gl_cv_cc_double_signbit" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_SIGNBIT_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_SIGNBIT_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5 ++$as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; } ++if ${gl_cv_cc_long_double_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_long_double_signbit="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0L }; ++static memory_float minus = { -1.0L }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_long_double_signbit=`cat conftest.out` ++else ++ gl_cv_cc_long_double_signbit="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5 ++$as_echo "$gl_cv_cc_long_double_signbit" >&6; } ++ case "$gl_cv_cc_long_double_signbit" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_SIGNBIT_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_SIGNBIT_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ if test "$gl_cv_cc_float_signbit" = unknown; then ++ ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include ++" ++if test "x$ac_cv_have_decl_copysignf" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_COPYSIGNF $ac_have_decl ++_ACEOF ++ ++ if test "$ac_cv_have_decl_copysignf" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5 ++$as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; } ++if ${gl_cv_func_copysignf_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ float x, y; ++int ++main () ++{ ++return copysignf (x, y) < 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_copysignf_no_libm=yes ++else ++ gl_cv_func_copysignf_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5 ++$as_echo "$gl_cv_func_copysignf_no_libm" >&6; } ++ if test $gl_cv_func_copysignf_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ if test "$gl_cv_cc_double_signbit" = unknown; then ++ ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include ++" ++if test "x$ac_cv_have_decl_copysign" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_COPYSIGN $ac_have_decl ++_ACEOF ++ ++ if test "$ac_cv_have_decl_copysign" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5 ++$as_echo_n "checking whether copysign can be used without linking with libm... " >&6; } ++if ${gl_cv_func_copysign_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ double x, y; ++int ++main () ++{ ++return copysign (x, y) < 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_copysign_no_libm=yes ++else ++ gl_cv_func_copysign_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5 ++$as_echo "$gl_cv_func_copysign_no_libm" >&6; } ++ if test $gl_cv_func_copysign_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ if test "$gl_cv_cc_long_double_signbit" = unknown; then ++ ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include ++" ++if test "x$ac_cv_have_decl_copysignl" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_COPYSIGNL $ac_have_decl ++_ACEOF ++ ++ if test "$ac_cv_have_decl_copysignl" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5 ++$as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; } ++if ${gl_cv_func_copysignl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x, y; ++int ++main () ++{ ++return copysignl (x, y) < 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_copysignl_no_libm=yes ++else ++ gl_cv_func_copysignl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5 ++$as_echo "$gl_cv_func_copysignl_no_libm" >&6; } ++ if test $gl_cv_func_copysignl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_SIGNBIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SIGNBIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module sigprocmask: ++ ++ ++ signals_not_posix= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "sigset_t" >/dev/null 2>&1; then : ++ ++else ++ signals_not_posix=1 ++fi ++rm -f conftest* ++ ++ if test -z "$signals_not_posix"; then ++ ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" ++if test "x$ac_cv_func_sigprocmask" = xyes; then : ++ gl_cv_func_sigprocmask=1 ++fi ++ ++ fi ++ if test -z "$gl_cv_func_sigprocmask"; then ++ HAVE_POSIX_SIGNALBLOCKING=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS sigprocmask.$ac_objext" ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include ++/* Mingw defines sigset_t not in , but in . */ ++#include ++" ++if test "x$ac_cv_type_sigset_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGSET_T 1 ++_ACEOF ++ ++gl_cv_type_sigset_t=yes ++else ++ gl_cv_type_sigset_t=no ++fi ++ ++ if test $gl_cv_type_sigset_t != yes; then ++ HAVE_SIGSET_T=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SIGPROCMASK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h ++ ++ ++ ++ # Code from module size_max: ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 ++$as_echo_n "checking for SIZE_MAX... " >&6; } ++if ${gl_cv_size_max+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_size_max= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Found it" >/dev/null 2>&1; then : ++ gl_cv_size_max=yes ++fi ++rm -f conftest* ++ ++ if test -z "$gl_cv_size_max"; then ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include ++#include "; then : ++ ++else ++ size_t_bits_minus_1= ++fi ++ ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : ++ ++else ++ fits_in_uint= ++fi ++ ++ if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then ++ if test $fits_in_uint = 1; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ fits_in_uint=0 ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $fits_in_uint = 1; then ++ gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" ++ else ++ gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" ++ fi ++ else ++ gl_cv_size_max='((size_t)~(size_t)0)' ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 ++$as_echo "$gl_cv_size_max" >&6; } ++ if test "$gl_cv_size_max" != yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SIZE_MAX $gl_cv_size_max ++_ACEOF ++ ++ fi ++ ++ ++ # Code from module snprintf: ++ ++ ++ gl_cv_func_snprintf_usable=no ++ for ac_func in snprintf ++do : ++ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" ++if test "x$ac_cv_func_snprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SNPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_snprintf = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 ++$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } ++if ${gl_cv_func_snprintf_size1+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_snprintf_size1="guessing yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ snprintf (buf, 1, "%d", 12345); ++ return buf[1] != 'E'; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_snprintf_size1=yes ++else ++ gl_cv_func_snprintf_size1=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_snprintf_size1" >&5 ++$as_echo "$gl_cv_func_snprintf_size1" >&6; } ++ ++ case "$gl_cv_func_snprintf_size1" in ++ *yes) ++ ++ case "$gl_cv_func_snprintf_retval_c99" in ++ *yes) ++ gl_cv_func_snprintf_usable=yes ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ if test $gl_cv_func_snprintf_usable = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS snprintf.$ac_objext" ++ ++ if test $ac_cv_func_snprintf = yes; then ++ REPLACE_SNPRINTF=1 ++ fi ++ : ++ ++ fi ++ ++ if test $ac_cv_have_decl_snprintf = no; then ++ HAVE_DECL_SNPRINTF=0 ++ fi ++ ++ ++ ++ ++ GNULIB_SNPRINTF=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SNPRINTF 1" >>confdefs.h ++ ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_SNPRINTF 1 ++_ACEOF ++ ++ ++ # Code from module spawn: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_spawn_h='<'spawn.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_spawn_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_spawn_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_spawn_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/spawn.h#{ ++ s#.*"\(.*/spawn.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_spawn_h='<'spawn.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_spawn_h" >&5 ++$as_echo "$gl_cv_next_spawn_h" >&6; } ++ fi ++ NEXT_SPAWN_H=$gl_cv_next_spawn_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'spawn.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_spawn_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SPAWN_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test $ac_cv_header_spawn_h = yes; then ++ HAVE_SPAWN_H=1 ++ ac_fn_c_check_type "$LINENO" "posix_spawnattr_t" "ac_cv_type_posix_spawnattr_t" " ++#include ++ ++" ++if test "x$ac_cv_type_posix_spawnattr_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POSIX_SPAWNATTR_T 1 ++_ACEOF ++ ++ ++else ++ HAVE_POSIX_SPAWNATTR_T=0 ++fi ++ ++ ac_fn_c_check_type "$LINENO" "posix_spawn_file_actions_t" "ac_cv_type_posix_spawn_file_actions_t" " ++#include ++ ++" ++if test "x$ac_cv_type_posix_spawn_file_actions_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POSIX_SPAWN_FILE_ACTIONS_T 1 ++_ACEOF ++ ++ ++else ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0 ++fi ++ ++ else ++ HAVE_SPAWN_H=0 ++ HAVE_POSIX_SPAWNATTR_T=0 ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0 ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module spawn-pipe: ++ ++ ++ ++ ++ # Code from module ssize_t: ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 ++$as_echo_n "checking for ssize_t... " >&6; } ++if ${gt_cv_ssize_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int x = sizeof (ssize_t *) + sizeof (ssize_t); ++ return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_ssize_t=yes ++else ++ gt_cv_ssize_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 ++$as_echo "$gt_cv_ssize_t" >&6; } ++ if test $gt_cv_ssize_t = no; then ++ ++$as_echo "@%:@define ssize_t int" >>confdefs.h ++ ++ fi ++ ++ # Code from module stat: ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 ++$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; } ++if ${gl_cv_func_stat_dir_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ case $host_os in ++ mingw*) gl_cv_func_stat_dir_slash="guessing no";; ++ *) gl_cv_func_stat_dir_slash="guessing yes";; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++struct stat st; return stat (".", &st) != stat ("./", &st); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_stat_dir_slash=yes ++else ++ gl_cv_func_stat_dir_slash=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_stat_dir_slash" >&5 ++$as_echo "$gl_cv_func_stat_dir_slash" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 ++$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } ++if ${gl_cv_func_stat_file_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ touch conftest.tmp ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.tmp conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_stat_file_slash="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++int result = 0; ++ struct stat st; ++ if (!stat ("conftest.tmp/", &st)) ++ result |= 1; ++#if HAVE_LSTAT ++ if (!stat ("conftest.lnk/", &st)) ++ result |= 2; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_stat_file_slash=yes ++else ++ gl_cv_func_stat_file_slash=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.tmp conftest.lnk ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5 ++$as_echo "$gl_cv_func_stat_file_slash" >&6; } ++ case $gl_cv_func_stat_dir_slash in ++ *no) REPLACE_STAT=1 ++ ++$as_echo "@%:@define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h ++;; ++ esac ++ case $gl_cv_func_stat_file_slash in ++ *no) REPLACE_STAT=1 ++ ++$as_echo "@%:@define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h ++;; ++ esac ++ if test $REPLACE_STAT = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS stat.$ac_objext" ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STAT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STAT 1" >>confdefs.h ++ ++ ++ ++ # Code from module stdarg: ++ ++ STDARG_H=''; ++ NEXT_STDARG_H=''; ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 ++$as_echo_n "checking for va_copy... " >&6; } ++ if ${gl_cv_func_va_copy+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++#ifndef va_copy ++void (*func) (va_list, va_list) = va_copy; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_va_copy=yes ++else ++ gl_cv_func_va_copy=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5 ++$as_echo "$gl_cv_func_va_copy" >&6; } ++ if test $gl_cv_func_va_copy = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined _AIX && !defined __GNUC__ ++ AIX vaccine ++ #endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "vaccine" >/dev/null 2>&1; then : ++ gl_aixcc=yes ++else ++ gl_aixcc=no ++fi ++rm -f conftest* ++ ++ if test $gl_aixcc = yes; then ++ STDARG_H=stdarg.h ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdarg_h='<'stdarg.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdarg_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdarg.h#{ ++ s#.*"\(.*/stdarg.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5 ++$as_echo "$gl_cv_next_stdarg_h" >&6; } ++ fi ++ NEXT_STDARG_H=$gl_cv_next_stdarg_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdarg.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdarg_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test "$gl_cv_next_stdarg_h" = '""'; then ++ gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' ++ NEXT_STDARG_H="$gl_cv_next_stdarg_h" ++ fi ++ else ++ ++ saved_as_echo_n="$as_echo_n" ++ as_echo_n=':' ++ if ${gl_cv_func___va_copy+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++#ifndef __va_copy ++error, bail out ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func___va_copy=yes ++else ++ gl_cv_func___va_copy=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ as_echo_n="$saved_as_echo_n" ++ ++ if test $gl_cv_func___va_copy = yes; then ++ ++$as_echo "@%:@define va_copy __va_copy" >>confdefs.h ++ ++ else ++ ++ ++$as_echo "@%:@define va_copy gl_va_copy" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ ++ # Code from module stdbool: ++ ++ ++ ++ # Define two additional variables used in the Makefile substitution. ++ ++ if test "$ac_cv_header_stdbool_h" = yes; then ++ STDBOOL_H='' ++ else ++ STDBOOL_H='stdbool.h' ++ fi ++ ++ ++ if test "$ac_cv_type__Bool" = yes; then ++ HAVE__BOOL=1 ++ else ++ HAVE__BOOL=0 ++ fi ++ ++ ++ # Code from module stddef: ++ ++ ++ ++ if test $gt_cv_c_wchar_t = no; then ++ HAVE_WCHAR_T=0 ++ STDDEF_H=stddef.h ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 ++$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } ++if ${gl_cv_decl_null_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ int test[2 * (sizeof NULL == sizeof (void *)) -1]; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_decl_null_works=yes ++else ++ gl_cv_decl_null_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 ++$as_echo "$gl_cv_decl_null_works" >&6; } ++ if test $gl_cv_decl_null_works = no; then ++ REPLACE_NULL=1 ++ STDDEF_H=stddef.h ++ fi ++ if test -n "$STDDEF_H"; then ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stddef_h='<'stddef.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stddef_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stddef.h#{ ++ s#.*"\(.*/stddef.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 ++$as_echo "$gl_cv_next_stddef_h" >&6; } ++ fi ++ NEXT_STDDEF_H=$gl_cv_next_stddef_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stddef.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stddef_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ fi ++ ++ # Code from module stdint: ++ ++ ++ ++ if test $ac_cv_type_long_long_int = yes; then ++ HAVE_LONG_LONG_INT=1 ++ else ++ HAVE_LONG_LONG_INT=0 ++ fi ++ ++ ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ HAVE_UNSIGNED_LONG_LONG_INT=1 ++ else ++ HAVE_UNSIGNED_LONG_LONG_INT=0 ++ fi ++ ++ ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_inttypes_h = yes; then ++ HAVE_INTTYPES_H=1 ++ else ++ HAVE_INTTYPES_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_sys_types_h = yes; then ++ HAVE_SYS_TYPES_H=1 ++ else ++ HAVE_SYS_TYPES_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdint_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdint.h#{ ++ s#.*"\(.*/stdint.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 ++$as_echo "$gl_cv_next_stdint_h" >&6; } ++ fi ++ NEXT_STDINT_H=$gl_cv_next_stdint_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdint.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdint_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ HAVE_STDINT_H=1 ++ else ++ HAVE_STDINT_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 ++$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } ++if ${gl_cv_header_working_stdint_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_header_working_stdint_h=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ ++#if !(defined WCHAR_MIN && defined WCHAR_MAX) ++#error "WCHAR_MIN, WCHAR_MAX not defined in " ++#endif ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#ifdef INT8_MAX ++int8_t a1 = INT8_MAX; ++int8_t a1min = INT8_MIN; ++#endif ++#ifdef INT16_MAX ++int16_t a2 = INT16_MAX; ++int16_t a2min = INT16_MIN; ++#endif ++#ifdef INT32_MAX ++int32_t a3 = INT32_MAX; ++int32_t a3min = INT32_MIN; ++#endif ++#ifdef INT64_MAX ++int64_t a4 = INT64_MAX; ++int64_t a4min = INT64_MIN; ++#endif ++#ifdef UINT8_MAX ++uint8_t b1 = UINT8_MAX; ++#else ++typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; ++#endif ++#ifdef UINT16_MAX ++uint16_t b2 = UINT16_MAX; ++#endif ++#ifdef UINT32_MAX ++uint32_t b3 = UINT32_MAX; ++#endif ++#ifdef UINT64_MAX ++uint64_t b4 = UINT64_MAX; ++#endif ++int_least8_t c1 = INT8_C (0x7f); ++int_least8_t c1max = INT_LEAST8_MAX; ++int_least8_t c1min = INT_LEAST8_MIN; ++int_least16_t c2 = INT16_C (0x7fff); ++int_least16_t c2max = INT_LEAST16_MAX; ++int_least16_t c2min = INT_LEAST16_MIN; ++int_least32_t c3 = INT32_C (0x7fffffff); ++int_least32_t c3max = INT_LEAST32_MAX; ++int_least32_t c3min = INT_LEAST32_MIN; ++int_least64_t c4 = INT64_C (0x7fffffffffffffff); ++int_least64_t c4max = INT_LEAST64_MAX; ++int_least64_t c4min = INT_LEAST64_MIN; ++uint_least8_t d1 = UINT8_C (0xff); ++uint_least8_t d1max = UINT_LEAST8_MAX; ++uint_least16_t d2 = UINT16_C (0xffff); ++uint_least16_t d2max = UINT_LEAST16_MAX; ++uint_least32_t d3 = UINT32_C (0xffffffff); ++uint_least32_t d3max = UINT_LEAST32_MAX; ++uint_least64_t d4 = UINT64_C (0xffffffffffffffff); ++uint_least64_t d4max = UINT_LEAST64_MAX; ++int_fast8_t e1 = INT_FAST8_MAX; ++int_fast8_t e1min = INT_FAST8_MIN; ++int_fast16_t e2 = INT_FAST16_MAX; ++int_fast16_t e2min = INT_FAST16_MIN; ++int_fast32_t e3 = INT_FAST32_MAX; ++int_fast32_t e3min = INT_FAST32_MIN; ++int_fast64_t e4 = INT_FAST64_MAX; ++int_fast64_t e4min = INT_FAST64_MIN; ++uint_fast8_t f1 = UINT_FAST8_MAX; ++uint_fast16_t f2 = UINT_FAST16_MAX; ++uint_fast32_t f3 = UINT_FAST32_MAX; ++uint_fast64_t f4 = UINT_FAST64_MAX; ++#ifdef INTPTR_MAX ++intptr_t g = INTPTR_MAX; ++intptr_t gmin = INTPTR_MIN; ++#endif ++#ifdef UINTPTR_MAX ++uintptr_t h = UINTPTR_MAX; ++#endif ++intmax_t i = INTMAX_MAX; ++uintmax_t j = UINTMAX_MAX; ++ ++#include /* for CHAR_BIT */ ++#define TYPE_MINIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) ++#define TYPE_MAXIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 \ ++ ? (t) -1 \ ++ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) ++struct s { ++ int check_PTRDIFF: ++ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) ++ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ++ ? 1 : -1; ++ /* Detect bug in FreeBSD 6.0 / ia64. */ ++ int check_SIG_ATOMIC: ++ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) ++ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ++ ? 1 : -1; ++ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; ++ int check_WCHAR: ++ WCHAR_MIN == TYPE_MINIMUM (wchar_t) ++ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ++ ? 1 : -1; ++ /* Detect bug in mingw. */ ++ int check_WINT: ++ WINT_MIN == TYPE_MINIMUM (wint_t) ++ && WINT_MAX == TYPE_MAXIMUM (wint_t) ++ ? 1 : -1; ++ ++ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ ++ int check_UINT8_C: ++ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; ++ int check_UINT16_C: ++ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; ++ ++ /* Detect bugs in OpenBSD 3.9 stdint.h. */ ++#ifdef UINT8_MAX ++ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; ++#endif ++#ifdef UINT16_MAX ++ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; ++#endif ++#ifdef UINT32_MAX ++ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; ++#endif ++#ifdef UINT64_MAX ++ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; ++#endif ++ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; ++ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; ++ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; ++ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; ++ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; ++ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; ++ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; ++ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; ++ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; ++ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; ++ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; ++}; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ gl_cv_header_working_stdint_h=yes ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++ ++int ++main () ++{ ++ ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) ++ { ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return mv - macro_values + 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_stdint_h=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 ++$as_echo "$gl_cv_header_working_stdint_h" >&6; } ++ fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ for ac_header in sys/inttypes.h sys/bitypes.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi ++ ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi ++ ++ ++ ++ ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 ++$as_echo_n "checking whether $gltype is signed... " >&6; } ++if eval \${gl_cv_type_${gltype}_signed+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ result=yes ++else ++ result=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval gl_cv_type_${gltype}_signed=\$result ++ ++fi ++eval ac_res=\$gl_cv_type_${gltype}_signed ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_type_${gltype}_signed ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ if test "$result" = yes; then ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGNED_${GLTYPE} 1 ++_ACEOF ++ ++ eval HAVE_SIGNED_${GLTYPE}=1 ++ else ++ eval HAVE_SIGNED_${GLTYPE}=0 ++ fi ++ done ++ ++ ++ gl_cv_type_ptrdiff_t_signed=yes ++ gl_cv_type_size_t_signed=no ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if eval \${gl_cv_type_${gltype}_suffix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if eval \${gl_cv_type_${gltype}_suffix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ ++ STDINT_H=stdint.h ++ fi ++ ++ ++ # Code from module stdio: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdio_h='<'stdio.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdio_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdio.h#{ ++ s#.*"\(.*/stdio.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 ++$as_echo "$gl_cv_next_stdio_h" >&6; } ++ fi ++ NEXT_STDIO_H=$gl_cv_next_stdio_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdio.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdio_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ GNULIB_FPRINTF=1 ++ GNULIB_PRINTF=1 ++ GNULIB_VFPRINTF=1 ++ GNULIB_VPRINTF=1 ++ GNULIB_FPUTC=1 ++ GNULIB_PUTC=1 ++ GNULIB_PUTCHAR=1 ++ GNULIB_FPUTS=1 ++ GNULIB_PUTS=1 ++ GNULIB_FWRITE=1 ++ ++ ++ ++ ++ # Code from module stdlib: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdlib_h='<'stdlib.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdlib_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdlib.h#{ ++ s#.*"\(.*/stdlib.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 ++$as_echo "$gl_cv_next_stdlib_h" >&6; } ++ fi ++ NEXT_STDLIB_H=$gl_cv_next_stdlib_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdlib.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdlib_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ # Code from module stdlib-safer: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mkstemp-safer.$ac_objext" ++ ++ ++ # Code from module strchrnul: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strchrnul ++do : ++ ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" ++if test "x$ac_cv_func_strchrnul" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRCHRNUL 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_strchrnul = no; then ++ HAVE_STRCHRNUL=0 ++ : ++ fi ++ ++ ++ ++ ++ GNULIB_STRCHRNUL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h ++ ++ ++ ++ # Code from module streq: ++ # Code from module strerror: ++ ++ ++ if test $REPLACE_STRERROR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strerror.$ac_objext" ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define REPLACE_STRERROR $REPLACE_STRERROR ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRERROR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h ++ ++ ++ ++ # Code from module string: ++ ++ ++ ++ # Code from module strndup: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strndup = no; then ++ HAVE_DECL_STRNDUP=0 ++ fi ++ ++ if test $ac_cv_func_strndup = yes; then ++ # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 ++$as_echo_n "checking for working strndup... " >&6; } ++if ${gl_cv_func_strndup_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ++ case $host_os in ++ aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; ++ *) gl_cv_func_strndup_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++int ++main () ++{ ++ ++#ifndef HAVE_DECL_STRNDUP ++ extern char *strndup (const char *, size_t); ++#endif ++ char *s; ++ s = strndup ("some longer string", 15); ++ free (s); ++ s = strndup ("shorter string", 13); ++ return s[13] != '\0'; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strndup_works=yes ++else ++ gl_cv_func_strndup_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_strndup_works" >&5 ++$as_echo "$gl_cv_func_strndup_works" >&6; } ++ case $gl_cv_func_strndup_works in ++ *no) ++ REPLACE_STRNDUP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext" ++ ++ ;; ++ esac ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRNDUP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h ++ ++ ++ ++ # Code from module strnlen: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strnlen = no; then ++ HAVE_DECL_STRNLEN=0 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 ++$as_echo_n "checking for working strnlen... " >&6; } ++if ${ac_cv_func_strnlen_working+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ # Guess no on AIX systems, yes otherwise. ++ case "$host_os" in ++ aix*) ac_cv_func_strnlen_working=no;; ++ *) ac_cv_func_strnlen_working=yes;; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++#define S "foobar" ++#define S_LEN (sizeof S - 1) ++ ++ /* At least one implementation is buggy: that of AIX 4.3 would ++ give strnlen (S, 1) == 3. */ ++ ++ int i; ++ for (i = 0; i < S_LEN + 1; ++i) ++ { ++ int expected = i <= S_LEN ? i : S_LEN; ++ if (strnlen (S, i) != expected) ++ return 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_strnlen_working=yes ++else ++ ac_cv_func_strnlen_working=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: $ac_cv_func_strnlen_working" >&5 ++$as_echo "$ac_cv_func_strnlen_working" >&6; } ++test $ac_cv_func_strnlen_working = no && ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext" ++ ++ ++ if test $ac_cv_func_strnlen_working = no; then ++ REPLACE_STRNLEN=1 ++ fi ++ fi ++ if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext" ++ ++ : ++ fi ++ ++ ++ ++ ++ GNULIB_STRNLEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module strsignal: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strsignal = no; then ++ HAVE_DECL_STRSIGNAL=0 ++ fi ++ ++ for ac_func in strsignal ++do : ++ ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal" ++if test "x$ac_cv_func_strsignal" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRSIGNAL 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_strsignal = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5 ++$as_echo_n "checking whether strsignal always returns a string... " >&6; } ++if ${gl_cv_func_working_strsignal+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ solaris* | aix*) gl_cv_func_working_strsignal=no;; ++ *) gl_cv_func_working_strsignal="guessing yes";; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include /* NetBSD 5.0 declares it in wrong header. */ ++ ++int ++main () ++{ ++int result = 0; ++ char *s = strsignal (-1); ++ if (s == (char *) 0) ++ result |= 1; ++ if (s == (char *) -1) ++ result |= 2; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strsignal=yes ++else ++ gl_cv_func_working_strsignal=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_working_strsignal" >&5 ++$as_echo "$gl_cv_func_working_strsignal" >&6; } ++ else ++ gl_cv_func_working_strsignal=no ++ fi ++ ++ if test "$gl_cv_func_working_strsignal" = no; then ++ if test $ac_cv_func_strsignal = yes; then ++ REPLACE_STRSIGNAL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strsignal.$ac_objext" ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include ++" ++if test "x$ac_cv_have_decl__sys_siglist" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRSIGNAL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRSIGNAL 1" >>confdefs.h ++ ++ ++ ++ # Code from module strstr: ++ ++ ++ if test $REPLACE_STRSTR = 0; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5 ++$as_echo_n "checking whether strstr works in linear time... " >&6; } ++if ${gl_cv_func_strstr_linear+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ && !defined __UCLIBC__ ++ Lucky user ++ #endif ++#endif ++#ifdef __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strstr_linear=yes ++else ++ gl_cv_func_strstr_linear="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for signal */ ++#include /* for strstr */ ++#include /* for malloc */ ++#include /* for alarm */ ++static void quit (int sig) { exit (sig + 128); } ++ ++int ++main () ++{ ++ ++ int result = 0; ++ size_t m = 1000000; ++ char *haystack = (char *) malloc (2 * m + 2); ++ char *needle = (char *) malloc (m + 2); ++ /* Failure to compile this test due to missing alarm is okay, ++ since all such platforms (mingw) also have quadratic strstr. */ ++ signal (SIGALRM, quit); ++ alarm (5); ++ /* Check for quadratic performance. */ ++ if (haystack && needle) ++ { ++ memset (haystack, 'A', 2 * m); ++ haystack[2 * m] = 'B'; ++ haystack[2 * m + 1] = 0; ++ memset (needle, 'A', m); ++ needle[m] = 'B'; ++ needle[m + 1] = 0; ++ if (!strstr (haystack, needle)) ++ result |= 1; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strstr_linear=yes ++else ++ gl_cv_func_strstr_linear=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_strstr_linear" >&5 ++$as_echo "$gl_cv_func_strstr_linear" >&6; } ++ if test "$gl_cv_func_strstr_linear" != yes; then ++ REPLACE_STRSTR=1 ++ fi ++ fi ++ if test $REPLACE_STRSTR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ fi ++ ++ # Code from module strstr-simple: ++ ++ ++ ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 ++$as_echo_n "checking whether strstr works... " >&6; } ++if ${gl_cv_func_strstr_works_always+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __GNU_LIBRARY__ ++ #include ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ || defined __UCLIBC__ ++ Lucky user ++ #endif ++#elif defined __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#else ++ Lucky user ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for strstr */ ++#define P "_EF_BF_BD" ++#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P ++#define NEEDLE P P P P P ++ ++int ++main () ++{ ++return !!strstr (HAYSTACK, NEEDLE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always=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_strstr_works_always" >&5 ++$as_echo "$gl_cv_func_strstr_works_always" >&6; } ++ if test "$gl_cv_func_strstr_works_always" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_STRSTR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRSTR 1" >>confdefs.h ++ ++ ++ ++ # Code from module strtod: ++ ++ ++ ++ if test $ac_cv_have_decl_strtod != yes; then ++ HAVE_STRTOD=0 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5 ++$as_echo_n "checking whether strtod obeys C99... " >&6; } ++if ${gl_cv_func_strtod_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ ++ && !defined __UCLIBC__ ++ Lucky user ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strtod_works=yes ++else ++ gl_cv_func_strtod_works="guessing no" ++fi ++rm -f conftest* ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Compare two numbers with ==. ++ This is a separate function because IRIX 6.5 "cc -O" miscompiles an ++ 'x == x' test. */ ++static int ++numeric_equal (double x, double y) ++{ ++ return x == y; ++} ++ ++int ++main () ++{ ++ ++ int result = 0; ++ { ++ /* In some old versions of Linux (2000 or before), strtod mis-parses ++ strings with leading '+'. */ ++ const char *string = " +69"; ++ char *term; ++ double value = strtod (string, &term); ++ if (value != 69 || term != (string + 4)) ++ result |= 1; ++ } ++ { ++ /* Under Solaris 2.4, strtod returns the wrong value for the ++ terminating character under some conditions. */ ++ const char *string = "NaN"; ++ char *term; ++ strtod (string, &term); ++ if (term != string && *(term - 1) == 0) ++ result |= 2; ++ } ++ { ++ /* Older glibc and Cygwin mis-parse "-0x". */ ++ const char *string = "-0x"; ++ char *term; ++ double value = strtod (string, &term); ++ double zero = 0.0; ++ if (1.0 / value != -1.0 / zero || term != (string + 2)) ++ result |= 4; ++ } ++ { ++ /* Many platforms do not parse hex floats. */ ++ const char *string = "0XaP+1"; ++ char *term; ++ double value = strtod (string, &term); ++ if (value != 20.0 || term != (string + 6)) ++ result |= 8; ++ } ++ { ++ /* Many platforms do not parse infinities. HP-UX 11.31 parses inf, ++ but mistakenly sets errno. */ ++ const char *string = "inf"; ++ char *term; ++ double value; ++ errno = 0; ++ value = strtod (string, &term); ++ if (value != HUGE_VAL || term != (string + 3) || errno) ++ result |= 16; ++ } ++ { ++ /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */ ++ const char *string = "nan()"; ++ char *term; ++ double value = strtod (string, &term); ++ if (numeric_equal (value, value) || term != (string + 5)) ++ result |= 32; ++ } ++ { ++ /* darwin 10.6.1 misparses "nan(". */ ++ const char *string = "nan("; ++ char *term; ++ double value = strtod (string, &term); ++ if (numeric_equal (value, value) || term != (string + 3)) ++ result |= 64; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strtod_works=yes ++else ++ gl_cv_func_strtod_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_strtod_works" >&5 ++$as_echo "$gl_cv_func_strtod_works" >&6; } ++ if test "$gl_cv_func_strtod_works" != yes; then ++ REPLACE_STRTOD=1 ++ fi ++ fi ++ if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strtod.$ac_objext" ++ ++ ++ ++ if test $gl_cv_func_ldexp_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRTOD=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRTOD 1" >>confdefs.h ++ ++ ++ ++ # Code from module strtol: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strtol ++do : ++ ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" ++if test "x$ac_cv_func_strtol" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRTOL 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ # Code from module sys_stat: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sys_stat_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_stat_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/stat.h#{ ++ s#.*"\(.*/sys/stat.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 ++$as_echo "$gl_cv_next_sys_stat_h" >&6; } ++ fi ++ NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/stat.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_stat_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include ++ #include ++" ++if test "x$ac_cv_type_nlink_t" = xyes; then : ++ ++else ++ ++$as_echo "@%:@define nlink_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ # Code from module sys_time: ++ ++ ++ ++ ++ # Code from module sys_wait: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_wait_h='<'sys/wait.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sys_wait_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_wait_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/wait.h#{ ++ s#.*"\(.*/sys/wait.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_wait_h='<'sys/wait.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5 ++$as_echo "$gl_cv_next_sys_wait_h" >&6; } ++ fi ++ NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/wait.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_wait_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module tempname: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS tempname.$ac_objext" ++ ++ ++ : ++ ++ ++ # Code from module threadlib: ++ ++ ++ ++ ++ # Code from module time: ++ ++ ++ ++ # Code from module tls: ++ ++ ++ ++ # Code from module tmpdir: ++ ++ for ac_func in __secure_getenv ++do : ++ ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv" ++if test "x$ac_cv_func___secure_getenv" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE___SECURE_GETENV 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ # Code from module unistd: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_unistd_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/unistd.h#{ ++ s#.*"\(.*/unistd.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 ++$as_echo "$gl_cv_next_unistd_h" >&6; } ++ fi ++ NEXT_UNISTD_H=$gl_cv_next_unistd_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'unistd.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_unistd_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ HAVE_UNISTD_H=1 ++ else ++ HAVE_UNISTD_H=0 ++ fi ++ ++ ++ ++ ++ # Code from module unistd-safer: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dup-safer.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fd-safer.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS pipe-safer.$ac_objext" ++ ++ ++ # Code from module unlocked-io: ++ ++ ++$as_echo "@%:@define USE_UNLOCKED_IO 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module update-copyright: ++ # Code from module useless-if-before-free: ++ # Code from module vasnprintf: ++ ++ ++ if test $ac_cv_func_vasnprintf = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext" ++ ++ if test $ac_cv_func_vasnprintf = yes; then ++ ++$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = xyes; then : ++ ++else ++ ++$as_echo "@%:@define ptrdiff_t long" >>confdefs.h ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ # Code from module vasprintf: ++ ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_VASPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_vasprintf = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext" ++ ++ ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_VASPRINTF=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_VASPRINTF 1" >>confdefs.h ++ ++ ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format" ++ ++ # Code from module vasprintf-posix: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_cv_func_vasprintf_posix=no ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_VASPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ case "$gl_cv_func_printf_sizes_c99" in ++ *yes) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ case "$gl_cv_func_printf_directive_n" in ++ *yes) ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ case "$gl_cv_func_printf_positions" in ++ *yes) ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ if test $ac_cv_func_vasprintf = yes; then ++ # vasprintf exists and is ++ # already POSIX compliant. ++ gl_cv_func_vasprintf_posix=yes ++ fi ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ if test $gl_cv_func_vasprintf_posix = no; then ++ ++ ++ ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h ++ ++ for ac_func in nl_langinfo ++do : ++ ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" ++if test "x$ac_cv_func_nl_langinfo" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_NL_LANGINFO 1 ++_ACEOF ++ ++fi ++done ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext" ++ ++ if test $ac_cv_func_vasnprintf = yes; then ++ ++$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = xyes; then : ++ ++else ++ ++$as_echo "@%:@define ptrdiff_t long" >>confdefs.h ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext" ++ ++ ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ # Code from module vc-list-files: ++ # Code from module verify: ++ # Code from module verror: ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror:3:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror_at_line:5:c-format" ++ ++ # Code from module version-etc: ++ ++@%:@ Check whether --with-packager was given. ++if test "${with_packager+set}" = set; then : ++ withval=$with_packager; case $withval in ++ yes|no) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_PACKAGER "$withval" ++_ACEOF ++ ;; ++ esac ++ ++fi ++ ++ ++ ++@%:@ Check whether --with-packager-version was given. ++if test "${with_packager_version+set}" = set; then : ++ withval=$with_packager_version; case $withval in ++ yes|no) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_PACKAGER_VERSION "$withval" ++_ACEOF ++ ;; ++ esac ++ ++fi ++ ++ ++ ++@%:@ Check whether --with-packager-bug-reports was given. ++if test "${with_packager_bug_reports+set}" = set; then : ++ withval=$with_packager_bug_reports; case $withval in ++ yes|no) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_PACKAGER_BUG_REPORTS "$withval" ++_ACEOF ++ ;; ++ esac ++ ++fi ++ ++ ++ if test "X$with_packager" = "X" && \ ++ test "X$with_packager_version$with_packager_bug_reports" != "X" ++ then ++ as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5 ++ fi ++ ++ # Code from module version-etc-fsf: ++ # Code from module wait-process: ++ ++ ++ ++ for ac_func in waitid ++do : ++ ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid" ++if test "x$ac_cv_func_waitid" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WAITID 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ # Code from module waitpid: ++ ++ ++ case $host_os in ++ mingw*) ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS waitpid.$ac_objext" ++ ++ ;; ++ esac ++ ++ ++ ++ ++ GNULIB_WAITPID=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WAITPID 1" >>confdefs.h ++ ++ ++ ++ # Code from module warn-on-use: ++ # Code from module warnings: ++ ++ # Code from module wchar: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_wchar_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/wchar.h#{ ++ s#.*"\(.*/wchar.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 ++$as_echo "$gl_cv_next_wchar_h" >&6; } ++ fi ++ NEXT_WCHAR_H=$gl_cv_next_wchar_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'wchar.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_wchar_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ ++ ++ ++ ++ ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ ++ ++ ++ ++ # Code from module wcrtomb: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 ++$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++ if test $LOCALE_JA != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_incomplete_state=yes ++else ++ gl_cv_func_mbrtowc_incomplete_state=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 ++$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 ++$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_sanitycheck=yes ++else ++ gl_cv_func_mbrtowc_sanitycheck=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 ++$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } ++ ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ ++ : ++ ++ fi ++ ++ ++ ++ if test $ac_cv_func_wcrtomb = no; then ++ HAVE_WCRTOMB=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_WCRTOMB=1 ++ else ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 ++$as_echo_n "checking whether wcrtomb return value is correct... " >&6; } ++if ${gl_cv_func_wcrtomb_retval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX 4, OSF/1 and Solaris. ++ aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_wcrtomb_retval="guessing yes" ;; ++ esac ++ if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 1; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 2; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 4; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 8; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_wcrtomb_retval=yes ++else ++ gl_cv_func_wcrtomb_retval=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 ++$as_echo "$gl_cv_func_wcrtomb_retval" >&6; } ++ case "$gl_cv_func_wcrtomb_retval" in ++ *yes) ;; ++ *) REPLACE_WCRTOMB=1 ;; ++ esac ++ fi ++ fi ++ if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS wcrtomb.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_WCRTOMB=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h ++ ++ ++ ++ # Code from module wctype-h: ++ ++ ++ ++ ++ ++ if test $ac_cv_func_iswcntrl = yes; then ++ HAVE_ISWCNTRL=1 ++ else ++ HAVE_ISWCNTRL=0 ++ fi ++ ++ ++ ++ ++ ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_wctype_h='<'wctype.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_wctype_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_wctype_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/wctype.h#{ ++ s#.*"\(.*/wctype.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_wctype_h='<'wctype.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 ++$as_echo "$gl_cv_next_wctype_h" >&6; } ++ fi ++ NEXT_WCTYPE_H=$gl_cv_next_wctype_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'wctype.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_wctype_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_wctype_h = yes; then ++ if test $ac_cv_func_iswcntrl = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 ++$as_echo_n "checking whether iswcntrl works... " >&6; } ++if ${gl_cv_func_iswcntrl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNU_LIBRARY__ == 1 ++ Linux libc5 i18n is broken. ++ #endif ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_iswcntrl_works=yes ++else ++ gl_cv_func_iswcntrl_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #include ++ int main () { return iswprint ('x') == 0; } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_iswcntrl_works=yes ++else ++ gl_cv_func_iswcntrl_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_iswcntrl_works" >&5 ++$as_echo "$gl_cv_func_iswcntrl_works" >&6; } ++ fi ++ HAVE_WCTYPE_H=1 ++ else ++ HAVE_WCTYPE_H=0 ++ fi ++ ++ ++ if test "$gl_cv_func_iswcntrl_works" = no; then ++ REPLACE_ISWCNTRL=1 ++ else ++ REPLACE_ISWCNTRL=0 ++ fi ++ ++ ++ if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then ++ : ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 ++$as_echo_n "checking for wctype_t... " >&6; } ++if ${gl_cv_type_wctype_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #if HAVE_WCTYPE_H ++ # include ++ #endif ++ wctype_t a; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_type_wctype_t=yes ++else ++ gl_cv_type_wctype_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 ++$as_echo "$gl_cv_type_wctype_t" >&6; } ++ if test $gl_cv_type_wctype_t = no; then ++ HAVE_WCTYPE_T=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 ++$as_echo_n "checking for wctrans_t... " >&6; } ++if ${gl_cv_type_wctrans_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #include ++ wctrans_t a; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_type_wctrans_t=yes ++else ++ gl_cv_type_wctrans_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 ++$as_echo "$gl_cv_type_wctrans_t" >&6; } ++ if test $gl_cv_type_wctrans_t = no; then ++ HAVE_WCTRANS_T=0 ++ fi ++ ++ ++ ++ # Code from module xalloc: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS xmalloc.$ac_objext" ++ ++ ++ ++ ++ : ++ ++ ++ : ++ ++ ++ # Code from module xalloc-die: ++ # Code from module xlist: ++ ++ ++ ++ # Code from module xmalloca: ++ # Code from module xoset: ++ ++ ++ ++ # Code from module xprintf: ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xprintf:1:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvprintf:1:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xfprintf:2:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvfprintf:2:c-format" ++ ++ # Code from module xsize: ++ ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ # Code from module xstrndup: ++ ++ ++ : ++ ++ ++ # Code from module xvasprintf: ++ ++ ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xasprintf:1:c-format" ++ ++ # Code from module xvasprintf-posix: ++ # End of code from modules ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_libdeps= ++ gltests_ltlibdeps= ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='tests' ++ M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS ++ ++ gl_module_indicator_condition=$M4tests_WITNESS ++ ++ ++ ++ ++ if test "$CXX_CHOICE" = no; then ++ CXX=":" ++ fi ++ if test -z "$CXX"; then ++ if test -n "$CCC"; then ++ CXX="$CCC" ++ else ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CXX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CXX"; then ++ ac_cv_prog_CXX="$CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CXX=$ac_cv_prog_CXX ++if test -n "$CXX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++$as_echo "$CXX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CXX" && break ++ done ++fi ++if test -z "$CXX"; then ++ ac_ct_CXX=$CXX ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CXX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CXX"; then ++ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CXX="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX ++if test -n "$ac_ct_CXX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++$as_echo "$ac_ct_CXX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CXX" && break ++done ++ ++ if test "x$ac_ct_CXX" = x; then ++ CXX=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CXX=$ac_ct_CXX ++ fi ++fi ++ ++ fi ++ fi ++ if test "$CXX" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ++$as_echo_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works... " >&6; } ++ ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++ ++ ++ echo 'int main () { return 0; }' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ gl_cv_prog_ansicxx_works=yes ++ if (./conftest; exit) 2>/dev/null; then ++ gl_cv_prog_ansicxx_cross=no ++ else ++ gl_cv_prog_ansicxx_cross=yes ++ fi ++ else ++ gl_cv_prog_ansicxx_works=no ++ fi ++ rm -fr conftest* ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_works" >&5 ++$as_echo "$gl_cv_prog_ansicxx_works" >&6; } ++ if test $gl_cv_prog_ansicxx_works = no; then ++ CXX=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports namespaces" >&5 ++$as_echo_n "checking whether the C++ compiler supports namespaces... " >&6; } ++ ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++ cat < conftest.$ac_ext ++#include ++namespace test { using namespace std; } ++std::ostream* ptr; ++int main () { return 0; } ++EOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ gl_cv_prog_ansicxx_namespaces=yes ++ else ++ gl_cv_prog_ansicxx_namespaces=no ++ fi ++ rm -fr conftest* ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_namespaces" >&5 ++$as_echo "$gl_cv_prog_ansicxx_namespaces" >&6; } ++ if test $gl_cv_prog_ansicxx_namespaces = no; then ++ CXX=: ++ fi ++ fi ++ fi ++ ++ ++ ++ if test "$CXX" != ":"; then ++ ANSICXX_TRUE= ++ ANSICXX_FALSE='#' ++else ++ ANSICXX_TRUE='#' ++ ANSICXX_FALSE= ++fi ++ ++ ++ if test "$CXX" != ":"; then ++ ++depcc="$CXX" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if ${am_cv_CXX_dependencies_compiler_type+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CXX_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ am__universal=false ++ case " $depcc " in #( ++ *\ -arch\ *\ -arch\ *) am__universal=true ;; ++ esac ++ ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. ++ am__obj=sub/conftest.${OBJEXT-o} ++ am__minus_obj="-o $am__obj" ++ case $depmode in ++ gcc) ++ # This depmode causes a compiler race in universal mode. ++ test "$am__universal" = false || continue ++ ;; ++ nosideeffect) ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has ++ # not run yet. These depmodes are late enough in the game, and ++ # so weak that their functioning should not be impacted. ++ am__obj=conftest.${OBJEXT-o} ++ am__minus_obj= ++ ;; ++ none) break ;; ++ esac ++ if depmode=$depmode \ ++ source=sub/conftest.c object=$am__obj \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CXX_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CXX_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } ++CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then ++ am__fastdepCXX_TRUE= ++ am__fastdepCXX_FALSE='#' ++else ++ am__fastdepCXX_TRUE='#' ++ am__fastdepCXX_FALSE= ++fi ++ ++ ++ else ++ if false; then ++ am__fastdepCXX_TRUE= ++ am__fastdepCXX_FALSE='#' ++else ++ am__fastdepCXX_TRUE='#' ++ am__fastdepCXX_FALSE= ++fi ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5 ++$as_echo_n "checking for a turkish Unicode locale... " >&6; } ++if ${gt_cv_locale_tr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. But BeOS does not ++ implement the Turkish upper-/lowercase mappings. Therefore, let this ++ program return 1 on BeOS. */ ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the eighth month, the second ++ character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f) ++ return 1; ++ /* Check whether the upper-/lowercase mappings are as expected for ++ Turkish. */ ++ if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i' ++ || towupper(0x0131) != 'I' || towlower ('I') != 0x0131) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=Turkish_Turkey.65001 ++ else ++ # None found. ++ gt_cv_locale_tr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr_TR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr_TR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_tr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ else ++ gt_cv_locale_tr_utf8=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5 ++$as_echo "$gt_cv_locale_tr_utf8" >&6; } ++ LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8 ++ ++ ++ ++ ++ ++ ++ if test $REPLACE_FTELLO != 0; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS ftell.$ac_objext" ++ ++ REPLACE_FTELL=1 ++ fi ++ ++ ++ ++ ++ GNULIB_FTELL=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FTELL 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getpagesize ++do : ++ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" ++if test "x$ac_cv_func_getpagesize" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETPAGESIZE 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ for ac_header in OS.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" ++if test "x$ac_cv_header_OS_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_OS_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ for ac_header in sys/param.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_param_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_PARAM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 ++ fi ++ fi ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS getpagesize.$ac_objext" ++ ++ ;; ++ esac ++ ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getpagesize" = xyes; then : ++ ++else ++ HAVE_DECL_GETPAGESIZE=0 ++fi ++ ++ ++ ++ ++ ++ GNULIB_GETPAGESIZE=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'double'... " >&6; } ++if ${gl_cv_cc_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined arm || defined __arm || defined __arm__ ++ mixed_endianness ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "mixed_endianness" >/dev/null 2>&1; then : ++ gl_cv_cc_double_expbit0="unknown" ++else ++ ++ : ++if ${ac_cv_c_bigendian+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_bigendian=unknown ++ # See if we're dealing with a universal compiler. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ # Check for potential -arch flags. It is not universal unless ++ # there are at least two -arch flags with different values. ++ ac_arch= ++ ac_prev= ++ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ++ if test -n "$ac_prev"; then ++ case $ac_word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ++ ac_arch=$ac_word ++ else ++ ac_cv_c_bigendian=universal ++ break ++ fi ++ ;; ++ esac ++ ac_prev= ++ elif test "x$ac_word" = "x-arch"; then ++ ac_prev=arch ++ fi ++ done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if sys/param.h defines the BYTE_ORDER macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ++ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ++ && LITTLE_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if BYTE_ORDER != BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to _BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#ifndef _BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # Compile a test program. ++ if test "$cross_compiling" = yes; then : ++ # Try to guess by grepping values from an object file. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++short int ascii_mm[] = ++ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ++ short int ascii_ii[] = ++ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ++ int use_ascii (int i) { ++ return ascii_mm[i] + ascii_ii[i]; ++ } ++ short int ebcdic_ii[] = ++ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ++ short int ebcdic_mm[] = ++ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ++ int use_ebcdic (int i) { ++ return ebcdic_mm[i] + ebcdic_ii[i]; ++ } ++ extern int foo; ++ ++int ++main () ++{ ++return use_ascii (foo) == use_ebcdic (foo); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then ++ ac_cv_c_bigendian=no ++ else ++ # finding both strings is unlikely to happen, but who knows? ++ ac_cv_c_bigendian=unknown ++ fi ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Are we little or big endian? From Harbison&Steele. */ ++ union ++ { ++ long int l; ++ char c[sizeof (long int)]; ++ } u; ++ u.l = 1; ++ return u.c[sizeof (long int) - 1] == 1; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_bigendian=no ++else ++ ac_cv_c_bigendian=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++fi ++: ++ case $ac_cv_c_bigendian in #( ++ yes) ++ gl_cv_cc_double_expbit0="word 0 bit 20";; #( ++ no) ++ gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( ++ universal) ++ ++$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ ;; #( ++ *) ++ gl_cv_cc_double_expbit0="unknown" ;; ++ esac ++ ++ ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } memory_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (double x) ++{ ++ memory_double m; ++ size_t i; ++ /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ ++ memset (&m, 0, sizeof (memory_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25); ++ add_to_ored_words (0.5); ++ add_to_ored_words (1.0); ++ add_to_ored_words (2.0); ++ add_to_ored_words (4.0); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_double_expbit0" >&6; } ++ case "$gl_cv_cc_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 ++$as_echo_n "checking where to find the exponent in a 'float'... " >&6; } ++if ${gl_cv_cc_float_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_cc_float_expbit0="word 0 bit 23" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_float_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 ++$as_echo "$gl_cv_cc_float_expbit0" >&6; } ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; } ++if ${gl_cv_cc_long_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_long_double_expbit0="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_long_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (long double x) ++{ ++ memory_long_double m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (long double) < sizeof (memory_long_double). */ ++ memset (&m, 0, sizeof (memory_long_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25L); ++ add_to_ored_words (0.5L); ++ add_to_ored_words (1.0L); ++ add_to_ored_words (2.0L); ++ add_to_ored_words (4.0L); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_long_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_long_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_long_double_expbit0" >&6; } ++ case "$gl_cv_cc_long_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ ++ if test $ac_cv_func_link = no; then ++ HAVE_LINK=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5 ++$as_echo_n "checking whether link handles trailing slash correctly... " >&6; } ++if ${gl_cv_func_link_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ touch conftest.a ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.a conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_link_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++int result = 0; ++ if (!link ("conftest.a", "conftest.b/")) ++ result |= 1; ++#if HAVE_LSTAT ++ if (!link ("conftest.lnk/", "conftest.b")) ++ result |= 2; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_link_works=yes ++else ++ gl_cv_func_link_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 ++ ++ rm -f conftest.a conftest.b conftest.lnk ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_works" >&5 ++$as_echo "$gl_cv_func_link_works" >&6; } ++ if test "$gl_cv_func_link_works" != yes; then ++ REPLACE_LINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_LINK=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_LINK 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 ++$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; } ++if ${gl_cv_header_locale_h_posix2001+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ int x = LC_MESSAGES; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_locale_h_posix2001=yes ++else ++ gl_cv_header_locale_h_posix2001=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_locale_h_posix2001" >&5 ++$as_echo "$gl_cv_header_locale_h_posix2001" >&6; } ++ ++ ++ if test $ac_cv_header_xlocale_h = yes; then ++ HAVE_XLOCALE_H=1 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 ++$as_echo_n "checking whether locale.h defines locale_t... " >&6; } ++if ${gl_cv_header_locale_has_locale_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ locale_t x; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_locale_has_locale_t=yes ++else ++ gl_cv_header_locale_has_locale_t=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_locale_has_locale_t" >&5 ++$as_echo "$gl_cv_header_locale_has_locale_t" >&6; } ++ if test $gl_cv_header_locale_has_locale_t = yes; then ++ gl_cv_header_locale_h_needs_xlocale_h=no ++ else ++ gl_cv_header_locale_h_needs_xlocale_h=yes ++ fi ++ else ++ HAVE_XLOCALE_H=0 ++ gl_cv_header_locale_h_needs_xlocale_h=no ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_locale_h='<'locale.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_locale_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/locale.h#{ ++ s#.*"\(.*/locale.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5 ++$as_echo "$gl_cv_next_locale_h" >&6; } ++ fi ++ NEXT_LOCALE_H=$gl_cv_next_locale_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'locale.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_locale_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test -n "$STDDEF_H" \ ++ || test $gl_cv_header_locale_h_posix2001 = no \ ++ || test $gl_cv_header_locale_h_needs_xlocale_h = yes; then ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in setlocale uselocale ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++[ ++ #if defined _MSC_VER || defined __MINGW32__ ++ notposix ++ #endif ++ ] ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "notposix" >/dev/null 2>&1; then : ++ posix_spawn_ported=no ++else ++ posix_spawn_ported=yes ++fi ++rm -f conftest* ++ ++ if test $posix_spawn_ported = yes; then ++ POSIX_SPAWN_PORTED_TRUE= ++ POSIX_SPAWN_PORTED_FALSE='#' ++else ++ POSIX_SPAWN_PORTED_TRUE='#' ++ POSIX_SPAWN_PORTED_FALSE= ++fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5 ++$as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; } ++if ${gl_cv_func_svid_putenv+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_svid_putenv=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Put it in env. */ ++ if (putenv ("CONFTEST_putenv=val")) ++ return 1; ++ ++ /* Try to remove it. */ ++ if (putenv ("CONFTEST_putenv")) ++ return 2; ++ ++ /* Make sure it was deleted. */ ++ if (getenv ("CONFTEST_putenv") != 0) ++ return 3; ++ ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_svid_putenv=yes ++else ++ gl_cv_func_svid_putenv=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_svid_putenv" >&5 ++$as_echo "$gl_cv_func_svid_putenv" >&6; } ++ if test $gl_cv_func_svid_putenv = no; then ++ REPLACE_PUTENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS putenv.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_PUTENV=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_PUTENV 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ if test $HAVE_SETENV$REPLACE_SETENV != 10; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SETENV=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SETENV 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ case "$host_os" in ++ mingw*) REPLACE_SETLOCALE=1 ;; ++ esac ++ if test $REPLACE_SETLOCALE = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS setlocale.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SETLOCALE=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SETLOCALE 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if ${gt_cv_c_wchar_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if ${gt_cv_c_wint_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ if test $ac_cv_func_strdup = yes; then ++ if test $gl_cv_func_malloc_posix != yes; then ++ REPLACE_STRDUP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext" ++ ++ : ++ fi ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext" ++ ++ : ++ fi ++ ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++ ++ ++ ++ ++ GNULIB_STRDUP=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRDUP 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_symlink = no; then ++ HAVE_SYMLINK=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 ++$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } ++if ${gl_cv_func_symlink_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_symlink_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++int result = 0; ++ if (!symlink ("a", "conftest.link/")) ++ result |= 1; ++ if (symlink ("conftest.f", "conftest.lnk2")) ++ result |= 2; ++ else if (!symlink ("a", "conftest.lnk2/")) ++ result |= 4; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_symlink_works=yes ++else ++ gl_cv_func_symlink_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 ++ ++ rm -f conftest.f conftest.link conftest.lnk2 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5 ++$as_echo "$gl_cv_func_symlink_works" >&6; } ++ if test "$gl_cv_func_symlink_works" != yes; then ++ REPLACE_SYMLINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_SYMLINK=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SYMLINK 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_unsetenv = no; then ++ HAVE_DECL_UNSETENV=0 ++ fi ++ for ac_func in unsetenv ++do : ++ ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" ++if test "x$ac_cv_func_unsetenv" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_UNSETENV 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_unsetenv = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext" ++ ++ ++ ++ ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 ++$as_echo_n "checking for unsetenv() return type... " >&6; } ++if ${gt_cv_func_unsetenv_ret+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#undef _BSD ++#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ ++#include ++extern ++#ifdef __cplusplus ++"C" ++#endif ++#if defined(__STDC__) || defined(__cplusplus) ++int unsetenv (const char *name); ++#else ++int unsetenv(); ++#endif ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_func_unsetenv_ret='int' ++else ++ gt_cv_func_unsetenv_ret='void' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 ++$as_echo "$gt_cv_func_unsetenv_ret" >&6; } ++ if test $gt_cv_func_unsetenv_ret = 'void'; then ++ ++$as_echo "@%:@define VOID_UNSETENV 1" >>confdefs.h ++ ++ REPLACE_UNSETENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext" ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 ++$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } ++if ${gl_cv_func_unsetenv_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_unsetenv_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ extern char **environ; ++ ++int ++main () ++{ ++ ++ char entry1[] = "a=1"; ++ char entry2[] = "b=2"; ++ char *env[] = { entry1, entry2, NULL }; ++ if (putenv ((char *) "a=1")) return 1; ++ if (putenv (entry2)) return 2; ++ entry2[0] = 'a'; ++ unsetenv ("a"); ++ if (getenv ("a")) return 3; ++ if (!unsetenv ("") || errno != EINVAL) return 4; ++ entry2[0] = 'b'; ++ environ = env; ++ if (!getenv ("a")) return 5; ++ entry2[0] = 'a'; ++ unsetenv ("a"); ++ if (getenv ("a")) return 6; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_unsetenv_works=yes ++else ++ gl_cv_func_unsetenv_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_unsetenv_works" >&5 ++$as_echo "$gl_cv_func_unsetenv_works" >&6; } ++ if test "$gl_cv_func_unsetenv_works" != yes; then ++ REPLACE_UNSETENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_UNSETENV=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_UNSETENV 1" >>confdefs.h ++ ++ ++ ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_wctob = no; then ++ HAVE_DECL_WCTOB=0 ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext" ++ ++ ++ : ++ ++ else ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5 ++$as_echo_n "checking whether wctob works... " >&6; } ++if ${gl_cv_func_wctob_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris <= 9 and Cygwin. ++ solaris2.[1-9] | solaris2.[1-9].* | cygwin*) ++ gl_cv_func_wctob_works="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_wctob_works="guessing yes" ;; ++ esac ++ case "$host_os" in ++ cygwin*) ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++ ++register long global __asm__ ("%ebx"); ++ ++int main () ++{ ++ setlocale (LC_ALL, "en_US.UTF-8"); ++ ++ global = 0x12345678; ++ if (wctob (0x00FC) != -1) ++ return 1; ++ if (global != 0x12345678) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ : ++else ++ gl_cv_func_wctob_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 ++ ++ ;; ++ esac ++ if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ wchar_t wc; ++ ++ if (mbtowc (&wc, "\374", 1) == 1) ++ if (wctob (wc) != (unsigned char) '\374') ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_wctob_works=yes ++else ++ gl_cv_func_wctob_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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5 ++$as_echo "$gl_cv_func_wctob_works" >&6; } ++ case "$gl_cv_func_wctob_works" in ++ *yes) ;; ++ *) REPLACE_WCTOB=1 ;; ++ esac ++ if test $REPLACE_WCTOB = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext" ++ ++ ++ : ++ ++ else ++ ++ ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" " ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ ++" ++if test "x$ac_cv_have_decl_wctob" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_WCTOB $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_wctob != yes; then ++ HAVE_DECL_WCTOB=0 ++ ++ : ++ ++ fi ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_WCTOB=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WCTOB 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ if false; then ++ REPLACE_WCTOMB=1 ++ fi ++ if test $REPLACE_WCTOMB = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS wctomb.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_WCTOMB=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WCTOMB 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ LIBM4_LIBDEPS="$gl_libdeps" ++ ++ LIBM4_LTLIBDEPS="$gl_ltlibdeps" ++ ++ LIBTESTS_LIBDEPS="$gltests_libdeps" ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether an open file can be renamed" >&5 ++$as_echo_n "checking whether an open file can be renamed... " >&6; } ++if ${M4_cv_func_rename_open_file_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ M4_cv_func_rename_open_file_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++FILE *f = fopen ("conftest.1", "w+"); ++ int result = rename ("conftest.1", "conftest.2"); ++ fclose (f); remove ("conftest.1"); remove ("conftest.2"); ++ return result; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ M4_cv_func_rename_open_file_works=yes ++else ++ M4_cv_func_rename_open_file_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: $M4_cv_func_rename_open_file_works" >&5 ++$as_echo "$M4_cv_func_rename_open_file_works" >&6; } ++if test "$M4_cv_func_rename_open_file_works" = yes ; then ++ M4_rename_open_works=1 ++else ++ M4_rename_open_works=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define RENAME_OPEN_FILE_WORKS $M4_rename_open_works ++_ACEOF ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if changeword is wanted" >&5 ++$as_echo_n "checking if changeword is wanted... " >&6; } ++@%:@ Check whether --enable-changeword was given. ++if test "${enable_changeword+set}" = set; then : ++ enableval=$enable_changeword; if test "$enableval" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++$as_echo "@%:@define ENABLE_CHANGEWORD 1" >>confdefs.h ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which shell to use for syscmd" >&5 ++$as_echo_n "checking which shell to use for syscmd... " >&6; } ++ ++@%:@ Check whether --with-syscmd-shell was given. ++if test "${with_syscmd_shell+set}" = set; then : ++ withval=$with_syscmd_shell; case $withval in ++ yes) with_syscmd_shell=no;; ++ esac ++else ++ with_syscmd_shell=no ++fi ++ ++if test "$with_syscmd_shell" = no ; then ++ with_syscmd_shell=/bin/sh ++ if test "$cross_compiling" != yes ; then ++ if as_fn_executable_p /bin/sh; then : ++ ++else ++ if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi ++fi ++ M4_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++ for M4_dir in `if (command -p getconf PATH) 2>/dev/null ; then ++ command -p getconf PATH ++ else ++ echo "/bin$PATH_SEPARATOR$PATH" ++ fi` ++ do ++ IFS=$M4_save_IFS ++ test -z "$M4_dir" && continue ++ as_fn_executable_p "$M4_dir/sh" \ ++ && { with_syscmd_shell=$M4_dir/sh; break; } ++ done ++ IFS=$M4_save_IFS ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_syscmd_shell" >&5 ++$as_echo "$with_syscmd_shell" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SYSCMD_SHELL "$with_syscmd_shell" ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 ++$as_echo_n "checking if malloc debugging is wanted... " >&6; } ++ ++@%:@ Check whether --with-dmalloc was given. ++if test "${with_dmalloc+set}" = set; then : ++ withval=$with_dmalloc; if test "$withval" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++$as_echo "@%:@define WITH_DMALLOC 1" >>confdefs.h ++ ++ LIBS="$LIBS -ldmalloc" ++ LDFLAGS="$LDFLAGS -g" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ac_config_commands="$ac_config_commands stamp-h" ++ ++ ++ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile src/Makefile tests/Makefile checks/Makefile examples/Makefile" ++ ++ ++cat >confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ if test "x$cache_file" != "x/dev/null"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++$as_echo "$as_me: updating cache $cache_file" >&6;} ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++U= ++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIB@&t@OBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 ++$as_echo_n "checking that generated files are newer than configure... " >&6; } ++ if test -n "$am_sleep_pid"; then ++ # Hide warnings about reused PIDs. ++ wait $am_sleep_pid 2>/dev/null ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 ++$as_echo "done" >&6; } ++ if test -n "$EXEEXT"; then ++ am__EXEEXT_TRUE= ++ am__EXEEXT_FALSE='#' ++else ++ am__EXEEXT_TRUE='#' ++ am__EXEEXT_FALSE= ++fi ++ ++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then ++ as_fn_error $? "conditional \"AMDEP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then ++ as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS= ++ ++ ++CONFIG_INCLUDE=lib/config.h ++ ++ ++ M4_libobjs= ++ M4_ltlibobjs= ++ if test -n "$M4_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do ++ M4_libobjs="$M4_libobjs $i.$ac_objext" ++ M4_ltlibobjs="$M4_ltlibobjs $i.lo" ++ done ++ fi ++ M4_LIBOBJS=$M4_libobjs ++ ++ M4_LTLIBOBJS=$M4_ltlibobjs ++ ++ ++if test -z "${ANSICXX_TRUE}" && test -z "${ANSICXX_FALSE}"; then ++ as_fn_error $? "conditional \"ANSICXX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++if test -z "${POSIX_SPAWN_PORTED_TRUE}" && test -z "${POSIX_SPAWN_PORTED_FALSE}"; then ++ as_fn_error $? "conditional \"POSIX_SPAWN_PORTED\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++ M4tests_libobjs= ++ M4tests_ltlibobjs= ++ if test -n "$M4tests_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do ++ M4tests_libobjs="$M4tests_libobjs $i.$ac_objext" ++ M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo" ++ done ++ fi ++ M4tests_LIBOBJS=$M4tests_libobjs ++ ++ M4tests_LTLIBOBJS=$M4tests_ltlibobjs ++ ++ ++ ++: "${CONFIG_STATUS=./config.status}" ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# report actual input values of CONFIG_FILES etc. instead of their ++# values after options handling. ++ac_log=" ++This file was extended by GNU M4 $as_me 1.4.16, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++config_links="$ac_config_links" ++config_commands="$ac_config_commands" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ --config print configuration, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Configuration links: ++$config_links ++ ++Configuration commands: ++$config_commands ++ ++Report bugs to . ++GNU M4 home page: . ++General help using GNU software: ." ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ++ac_cs_version="\\ ++GNU M4 config.status 1.4.16 ++configured by $0, generated by GNU Autoconf 2.69, ++ with options \\"\$ac_cs_config\\" ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++INSTALL='$INSTALL' ++MKDIR_P='$MKDIR_P' ++AWK='$AWK' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=?*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ $as_echo "$ac_cs_version"; exit ;; ++ --config | --confi | --conf | --con | --co | --c ) ++ $as_echo "$ac_cs_config"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error $? "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ $as_echo "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error $? "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX ++@%:@@%:@ Running $as_me. @%:@@%:@ ++_ASBOX ++ $as_echo "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# ++# INIT-COMMANDS ++# ++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" ++GNUmakefile=$GNUmakefile ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;; ++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; ++ "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; ++ "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;; ++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; ++ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; ++ "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; ++ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; ++ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; ++ "checks/Makefile") CONFIG_FILES="$CONFIG_FILES checks/Makefile" ;; ++ "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; ++ ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links ++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ac_tmp= ++ trap 'exit_status=$? ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\)..*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\)..*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ++h ++s/// ++s/^/:/ ++s/[ ]*$/:/ ++s/:\$(srcdir):/:/g ++s/:\${srcdir}:/:/g ++s/:@srcdir@:/:/g ++s/^:*// ++s/:*$// ++x ++s/\(=[ ]*\).*/\1/ ++G ++s/\n// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$ac_tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++$as_echo "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`$as_echo "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++ case $INSTALL in ++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; ++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; ++ esac ++ ac_MKDIR_P=$MKDIR_P ++ case $MKDIR_P in ++ [\\/$]* | ?:[\\/]* ) ;; ++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; ++ esac ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++s&@INSTALL@&$ac_INSTALL&;t t ++s&@MKDIR_P@&$ac_MKDIR_P&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&5 ++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&2;} ++ ++ rm -f "$ac_tmp/stdin" ++ case $ac_file in ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$ac_tmp/config.h" "$ac_file" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error $? "could not create -" "$LINENO" 5 ++ fi ++# Compute "$ac_file"'s index in $config_headers. ++_am_arg="$ac_file" ++_am_stamp_count=1 ++for _am_header in $config_headers :; do ++ case $_am_header in ++ $_am_arg | $_am_arg:* ) ++ break ;; ++ * ) ++ _am_stamp_count=`expr $_am_stamp_count + 1` ;; ++ esac ++done ++echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || ++$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$_am_arg" : 'X\(//\)[^/]' \| \ ++ X"$_am_arg" : 'X\(//\)$' \| \ ++ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$_am_arg" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'`/stamp-h$_am_stamp_count ++ ;; ++ :L) ++ # ++ # CONFIG_LINK ++ # ++ ++ if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then ++ : ++ else ++ # Prefer the file from the source tree if names are identical. ++ if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ++ ac_source=$srcdir/$ac_source ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 ++$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} ++ ++ if test ! -r "$ac_source"; then ++ as_fn_error $? "$ac_source: file not found" "$LINENO" 5 ++ fi ++ rm -f "$ac_file" ++ ++ # Try a relative symlink, then a hard link, then a copy. ++ case $ac_source in ++ [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; ++ *) ac_rel_source=$ac_top_build_prefix$ac_source ;; ++ esac ++ ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ++ ln "$ac_source" "$ac_file" 2>/dev/null || ++ cp -p "$ac_source" "$ac_file" || ++ as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 ++ fi ++ ;; ++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 ++$as_echo "$as_me: executing $ac_file commands" >&6;} ++ ;; ++ esac ++ ++ ++ case $ac_file$ac_mode in ++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { ++ # Older Autoconf quotes --file arguments for eval, but not when files ++ # are listed without --file. Let's play safe and only enable the eval ++ # if we detect the quoting. ++ case $CONFIG_FILES in ++ *\'*) eval set x "$CONFIG_FILES" ;; ++ *) set x $CONFIG_FILES ;; ++ esac ++ shift ++ for mf ++ do ++ # Strip MF so we end up with the name of the file. ++ mf=`echo "$mf" | sed -e 's/:.*$//'` ++ # Check whether this is an Automake generated Makefile or not. ++ # We used to match only the files named 'Makefile.in', but ++ # some people rename them; so instead we look at the file content. ++ # Grep'ing the first line is not enough: some people post-process ++ # each Makefile.in and add a new line on top of each file to say so. ++ # Grep'ing the whole file is not good either: AIX grep has a line ++ # limit of 2048, but all sed's we know have understand at least 4000. ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then ++ dirpart=`$as_dirname -- "$mf" || ++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$mf" : 'X\(//\)[^/]' \| \ ++ X"$mf" : 'X\(//\)$' \| \ ++ X"$mf" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$mf" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ else ++ continue ++ fi ++ # Extract the definition of DEPDIR, am__include, and am__quote ++ # from the Makefile without running 'make'. ++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` ++ test -z "$DEPDIR" && continue ++ am__include=`sed -n 's/^am__include = //p' < "$mf"` ++ test -z "$am__include" && continue ++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` ++ # Find all dependency output files, they are included files with ++ # $(DEPDIR) in their names. We invoke sed twice because it is the ++ # simplest approach to changing $(DEPDIR) to its actual value in the ++ # expansion. ++ for file in `sed -n " ++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do ++ # Make sure the directory exists. ++ test -f "$dirpart/$file" && continue ++ fdir=`$as_dirname -- "$file" || ++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$file" : 'X\(//\)[^/]' \| \ ++ X"$file" : 'X\(//\)$' \| \ ++ X"$file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir=$dirpart/$fdir; as_fn_mkdir_p ++ # echo "creating $dirpart/$file" ++ echo '# dummy' > "$dirpart/$file" ++ done ++ done ++} ++ ;; ++ "stamp-h":C) test -z "$CONFIG_HEADERS" || date > stamp-h ;; ++ ++ esac ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit 1 ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ +diff -Nur m4-1.4.16.orig/autom4te.cache/output.1 m4-1.4.16/autom4te.cache/output.1 +--- m4-1.4.16.orig/autom4te.cache/output.1 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/autom4te.cache/output.1 2013-09-04 14:47:46.000000000 +0200 +@@ -0,0 +1,35907 @@ ++@%:@! /bin/sh ++@%:@ Guess values for system-dependent variables and create Makefiles. ++@%:@ Generated by GNU Autoconf 2.69 for GNU M4 1.4.16. ++@%:@ ++@%:@ Report bugs to . ++@%:@ ++@%:@ ++@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. ++@%:@ ++@%:@ ++@%:@ This configure script is free software; the Free Software Foundation ++@%:@ gives unlimited permission to copy, distribute and modify it. ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++# Use a proper internal environment variable to ensure we don't fall ++ # into an infinite loop, continuously re-executing ourselves. ++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then ++ _as_can_reexec=no; export _as_can_reexec; ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in @%:@ (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++as_fn_exit 255 ++ fi ++ # We don't want this to propagate to other subprocesses. ++ { _as_can_reexec=; unset _as_can_reexec;} ++if test "x$CONFIG_SHELL" = x; then ++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST ++else ++ case \`(set -o) 2>/dev/null\` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } ++ ++exitcode=0 ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++ ++else ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1 ++test -x / || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null; then : ++ as_have_required=yes ++else ++ as_have_required=no ++fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ++ ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ as_found=: ++ case $as_dir in @%:@( ++ /*) ++ for as_base in sh bash ksh sh5; do ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir/$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ break 2 ++fi ++fi ++ done;; ++ esac ++ as_found=false ++done ++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi; } ++IFS=$as_save_IFS ++ ++ ++ if test "x$CONFIG_SHELL" != x; then : ++ export CONFIG_SHELL ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in @%:@ (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 ++fi ++ ++ if test x$as_have_required = xno; then : ++ $as_echo "$0: This script requires a shell more modern than all" ++ $as_echo "$0: the shells that I found on your system." ++ if test x${ZSH_VERSION+set} = xset ; then ++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-m4@gnu.org ++$0: about your system, including any error possibly output ++$0: before this message. Then install a modern shell, or ++$0: manually run the script under such a shell if you do ++$0: have one." ++ fi ++ exit 1 ++fi ++fi ++fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ ++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have ++ # already done that, so ensure we don't try to do so again and fall ++ # in an infinite loop. This has already happened in practice. ++ _as_can_reexec=no; export _as_can_reexec ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++test -n "$DJDIR" || exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIB@&t@OBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++ ++# Identity of this package. ++PACKAGE_NAME='GNU M4' ++PACKAGE_TARNAME='m4' ++PACKAGE_VERSION='1.4.16' ++PACKAGE_STRING='GNU M4 1.4.16' ++PACKAGE_BUGREPORT='bug-m4@gnu.org' ++PACKAGE_URL='http://www.gnu.org/software/m4/' ++ ++ac_unique_file="src/m4.h" ++# Factoring default headers for most tests. ++ac_includes_default="\ ++#include ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif ++#ifdef STDC_HEADERS ++# include ++# include ++#else ++# ifdef HAVE_STDLIB_H ++# include ++# endif ++#endif ++#ifdef HAVE_STRING_H ++# if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++# include ++# endif ++# include ++#endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_INTTYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++#ifdef HAVE_UNISTD_H ++# include ++#endif" ++ ++gl_use_threads_default= ++ac_func_list= ++ac_header_list= ++gl_getopt_required=POSIX ++gl_getopt_required=POSIX ++ac_subst_vars='M4tests_LTLIBOBJS ++M4tests_LIBOBJS ++M4_LTLIBOBJS ++M4_LIBOBJS ++CONFIG_INCLUDE ++am__EXEEXT_FALSE ++am__EXEEXT_TRUE ++LTLIBOBJS ++LIB@&t@OBJS ++LIBTESTS_LIBDEPS ++LIBM4_LTLIBDEPS ++LIBM4_LIBDEPS ++abs_aux_dir ++POSIX_SPAWN_PORTED_FALSE ++POSIX_SPAWN_PORTED_TRUE ++INTL_MACOSX_LIBS ++NEXT_AS_FIRST_DIRECTIVE_LOCALE_H ++NEXT_LOCALE_H ++HAVE_XLOCALE_H ++REPLACE_DUPLOCALE ++REPLACE_SETLOCALE ++HAVE_DUPLOCALE ++GNULIB_DUPLOCALE ++GNULIB_SETLOCALE ++LOCALE_TR_UTF8 ++am__fastdepCXX_FALSE ++am__fastdepCXX_TRUE ++CXXDEPMODE ++ANSICXX_FALSE ++ANSICXX_TRUE ++CXXFLAGS ++ac_ct_CXX ++CXX ++CXX_CHOICE ++M4tests_WITNESS ++REPLACE_ISWCNTRL ++HAVE_WCTYPE_H ++NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H ++NEXT_WCTYPE_H ++HAVE_ISWCNTRL ++REPLACE_ISWBLANK ++HAVE_WCTRANS_T ++HAVE_WCTYPE_T ++HAVE_ISWBLANK ++GNULIB_TOWCTRANS ++GNULIB_WCTRANS ++GNULIB_ISWCTYPE ++GNULIB_WCTYPE ++GNULIB_ISWBLANK ++HAVE_WINT_T ++NEXT_AS_FIRST_DIRECTIVE_WCHAR_H ++NEXT_WCHAR_H ++HAVE_FEATURES_H ++HAVE_UNISTD_H ++NEXT_AS_FIRST_DIRECTIVE_UNISTD_H ++NEXT_UNISTD_H ++PTHREAD_H_DEFINES_STRUCT_TIMESPEC ++SYS_TIME_H_DEFINES_STRUCT_TIMESPEC ++TIME_H_DEFINES_STRUCT_TIMESPEC ++NEXT_AS_FIRST_DIRECTIVE_TIME_H ++NEXT_TIME_H ++REPLACE_TIMEGM ++REPLACE_NANOSLEEP ++REPLACE_MKTIME ++REPLACE_LOCALTIME_R ++HAVE_TIMEGM ++HAVE_STRPTIME ++HAVE_NANOSLEEP ++HAVE_DECL_LOCALTIME_R ++GNULIB_TIME_R ++GNULIB_TIMEGM ++GNULIB_STRPTIME ++GNULIB_NANOSLEEP ++GNULIB_MKTIME ++NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H ++NEXT_SYS_WAIT_H ++GNULIB_WAITPID ++NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H ++NEXT_SYS_STAT_H ++NEXT_AS_FIRST_DIRECTIVE_STRING_H ++NEXT_STRING_H ++NEXT_AS_FIRST_DIRECTIVE_STDLIB_H ++NEXT_STDLIB_H ++NEXT_AS_FIRST_DIRECTIVE_STDIO_H ++NEXT_STDIO_H ++STDINT_H ++WINT_T_SUFFIX ++WCHAR_T_SUFFIX ++SIG_ATOMIC_T_SUFFIX ++SIZE_T_SUFFIX ++PTRDIFF_T_SUFFIX ++HAVE_SIGNED_WINT_T ++HAVE_SIGNED_WCHAR_T ++HAVE_SIGNED_SIG_ATOMIC_T ++BITSIZEOF_WINT_T ++BITSIZEOF_WCHAR_T ++BITSIZEOF_SIG_ATOMIC_T ++BITSIZEOF_SIZE_T ++BITSIZEOF_PTRDIFF_T ++HAVE_SYS_BITYPES_H ++HAVE_SYS_INTTYPES_H ++HAVE_STDINT_H ++NEXT_AS_FIRST_DIRECTIVE_STDINT_H ++NEXT_STDINT_H ++HAVE_SYS_TYPES_H ++HAVE_INTTYPES_H ++HAVE_WCHAR_H ++HAVE_UNSIGNED_LONG_LONG_INT ++HAVE_LONG_LONG_INT ++NEXT_AS_FIRST_DIRECTIVE_STDDEF_H ++NEXT_STDDEF_H ++STDDEF_H ++HAVE_WCHAR_T ++REPLACE_NULL ++HAVE__BOOL ++STDBOOL_H ++NEXT_AS_FIRST_DIRECTIVE_STDARG_H ++NEXT_STDARG_H ++STDARG_H ++HAVE_SPAWN_H ++NEXT_AS_FIRST_DIRECTIVE_SPAWN_H ++NEXT_SPAWN_H ++NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H ++NEXT_SIGNAL_H ++HAVE_TYPE_VOLATILE_SIG_ATOMIC_T ++HAVE_STRUCT_SIGACTION_SA_SIGACTION ++HAVE_SIGACTION ++HAVE_SIGINFO_T ++HAVE_SIGSET_T ++HAVE_POSIX_SIGNALBLOCKING ++GNULIB_SIGACTION ++GNULIB_SIGPROCMASK ++GNULIB_SIGNAL_H_SIGPIPE ++SCHED_H ++HAVE_STRUCT_SCHED_PARAM ++HAVE_SCHED_H ++NEXT_AS_FIRST_DIRECTIVE_SCHED_H ++NEXT_SCHED_H ++REPLACE_POSIX_SPAWN ++HAVE_POSIX_SPAWN_FILE_ACTIONS_T ++HAVE_POSIX_SPAWNATTR_T ++HAVE_POSIX_SPAWN ++GNULIB_POSIX_SPAWNATTR_DESTROY ++GNULIB_POSIX_SPAWNATTR_SETSIGMASK ++GNULIB_POSIX_SPAWNATTR_GETSIGMASK ++GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT ++GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT ++GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY ++GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY ++GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM ++GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM ++GNULIB_POSIX_SPAWNATTR_SETPGROUP ++GNULIB_POSIX_SPAWNATTR_GETPGROUP ++GNULIB_POSIX_SPAWNATTR_SETFLAGS ++GNULIB_POSIX_SPAWNATTR_GETFLAGS ++GNULIB_POSIX_SPAWNATTR_INIT ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE ++GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT ++GNULIB_POSIX_SPAWNP ++GNULIB_POSIX_SPAWN ++APPLE_UNIVERSAL_BUILD ++UNDEFINE_STRTOK_R ++REPLACE_STRTOK_R ++REPLACE_STRSIGNAL ++REPLACE_STRNLEN ++REPLACE_STRNDUP ++REPLACE_STRNCAT ++REPLACE_STRERROR_R ++REPLACE_STRERROR ++REPLACE_STRCASESTR ++REPLACE_STRSTR ++REPLACE_STRDUP ++REPLACE_STPNCPY ++REPLACE_MEMMEM ++REPLACE_MEMCHR ++HAVE_STRVERSCMP ++HAVE_DECL_STRSIGNAL ++HAVE_DECL_STRERROR_R ++HAVE_DECL_STRTOK_R ++HAVE_STRCASESTR ++HAVE_STRSEP ++HAVE_STRPBRK ++HAVE_DECL_STRNLEN ++HAVE_DECL_STRNDUP ++HAVE_DECL_STRDUP ++HAVE_STRCHRNUL ++HAVE_STPNCPY ++HAVE_STPCPY ++HAVE_RAWMEMCHR ++HAVE_DECL_MEMRCHR ++HAVE_MEMPCPY ++HAVE_DECL_MEMMEM ++HAVE_MEMCHR ++HAVE_MBSLEN ++GNULIB_STRVERSCMP ++GNULIB_STRSIGNAL ++GNULIB_STRERROR_R ++GNULIB_STRERROR ++GNULIB_MBSTOK_R ++GNULIB_MBSSEP ++GNULIB_MBSSPN ++GNULIB_MBSPBRK ++GNULIB_MBSCSPN ++GNULIB_MBSCASESTR ++GNULIB_MBSPCASECMP ++GNULIB_MBSNCASECMP ++GNULIB_MBSCASECMP ++GNULIB_MBSSTR ++GNULIB_MBSRCHR ++GNULIB_MBSCHR ++GNULIB_MBSNLEN ++GNULIB_MBSLEN ++GNULIB_STRTOK_R ++GNULIB_STRCASESTR ++GNULIB_STRSTR ++GNULIB_STRSEP ++GNULIB_STRPBRK ++GNULIB_STRNLEN ++GNULIB_STRNDUP ++GNULIB_STRNCAT ++GNULIB_STRDUP ++GNULIB_STRCHRNUL ++GNULIB_STPNCPY ++GNULIB_STPCPY ++GNULIB_RAWMEMCHR ++GNULIB_MEMRCHR ++GNULIB_MEMPCPY ++GNULIB_MEMMEM ++GNULIB_MEMCHR ++LOCALE_FR_UTF8 ++LOCALE_ZH_CN ++LOCALE_JA ++NEXT_AS_FIRST_DIRECTIVE_MATH_H ++NEXT_MATH_H ++REPLACE_UTIMENSAT ++REPLACE_STAT ++REPLACE_MKNOD ++REPLACE_MKFIFO ++REPLACE_MKDIR ++REPLACE_LSTAT ++REPLACE_FUTIMENS ++REPLACE_FSTATAT ++REPLACE_FSTAT ++HAVE_UTIMENSAT ++HAVE_MKNODAT ++HAVE_MKNOD ++HAVE_MKFIFOAT ++HAVE_MKFIFO ++HAVE_MKDIRAT ++HAVE_LSTAT ++HAVE_LCHMOD ++HAVE_FUTIMENS ++HAVE_FSTATAT ++HAVE_FCHMODAT ++GNULIB_UTIMENSAT ++GNULIB_STAT ++GNULIB_MKNODAT ++GNULIB_MKNOD ++GNULIB_MKFIFOAT ++GNULIB_MKFIFO ++GNULIB_MKDIRAT ++GNULIB_LSTAT ++GNULIB_LCHMOD ++GNULIB_FUTIMENS ++GNULIB_FSTATAT ++GNULIB_FCHMODAT ++LTLIBMULTITHREAD ++LIBMULTITHREAD ++LTLIBTHREAD ++LIBTHREAD ++LIBPTH_PREFIX ++LTLIBPTH ++LIBPTH ++LOCALCHARSET_TESTS_ENVIRONMENT ++GLIBC21 ++HAVE_LANGINFO_YESEXPR ++HAVE_LANGINFO_ERA ++HAVE_LANGINFO_T_FMT_AMPM ++HAVE_LANGINFO_CODESET ++HAVE_LANGINFO_H ++NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H ++NEXT_LANGINFO_H ++REPLACE_NL_LANGINFO ++HAVE_NL_LANGINFO ++GNULIB_NL_LANGINFO ++NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H ++NEXT_SYS_TIME_H ++REPLACE_GETTIMEOFDAY ++HAVE_SYS_TIME_H ++HAVE_STRUCT_TIMEVAL ++HAVE_GETTIMEOFDAY ++GNULIB_GETTIMEOFDAY ++LTLIBINTL ++LIBINTL ++GETOPT_H ++HAVE_GETOPT_H ++NEXT_AS_FIRST_DIRECTIVE_GETOPT_H ++NEXT_GETOPT_H ++REPLACE_TRUNCL ++REPLACE_TRUNCF ++REPLACE_TRUNC ++REPLACE_SIGNBIT_USING_GCC ++REPLACE_SIGNBIT ++REPLACE_ROUNDL ++REPLACE_ROUNDF ++REPLACE_ROUND ++REPLACE_NAN ++REPLACE_LDEXPL ++REPLACE_ISNAN ++REPLACE_ISINF ++REPLACE_ISFINITE ++REPLACE_HUGE_VAL ++REPLACE_FREXPL ++REPLACE_FREXP ++REPLACE_FLOORL ++REPLACE_FLOORF ++REPLACE_FLOOR ++REPLACE_CEILL ++REPLACE_CEILF ++REPLACE_CEIL ++HAVE_DECL_TRUNCL ++HAVE_DECL_TRUNCF ++HAVE_DECL_TRUNC ++HAVE_DECL_TANL ++HAVE_DECL_SQRTL ++HAVE_DECL_SINL ++HAVE_DECL_ROUNDL ++HAVE_DECL_ROUNDF ++HAVE_DECL_ROUND ++HAVE_DECL_LOGL ++HAVE_DECL_LOGB ++HAVE_DECL_LDEXPL ++HAVE_DECL_FREXPL ++HAVE_DECL_FLOORL ++HAVE_DECL_FLOORF ++HAVE_DECL_EXPL ++HAVE_DECL_COSL ++HAVE_DECL_CEILL ++HAVE_DECL_CEILF ++HAVE_DECL_ATANL ++HAVE_DECL_ASINL ++HAVE_DECL_ACOSL ++HAVE_TANL ++HAVE_SQRTL ++HAVE_SINL ++HAVE_LOGL ++HAVE_ISNANL ++HAVE_ISNAND ++HAVE_ISNANF ++HAVE_EXPL ++HAVE_COSL ++HAVE_ATANL ++HAVE_ASINL ++HAVE_ACOSL ++GNULIB_TRUNCL ++GNULIB_TRUNCF ++GNULIB_TRUNC ++GNULIB_TANL ++GNULIB_SQRTL ++GNULIB_SINL ++GNULIB_SIGNBIT ++GNULIB_ROUNDL ++GNULIB_ROUNDF ++GNULIB_ROUND ++GNULIB_LOGL ++GNULIB_LOGB ++GNULIB_LDEXPL ++GNULIB_ISNANL ++GNULIB_ISNAND ++GNULIB_ISNANF ++GNULIB_ISNAN ++GNULIB_ISINF ++GNULIB_ISFINITE ++GNULIB_FREXPL ++GNULIB_FREXP ++GNULIB_FLOORL ++GNULIB_FLOORF ++GNULIB_FLOOR ++GNULIB_EXPL ++GNULIB_COSL ++GNULIB_CEILL ++GNULIB_CEILF ++GNULIB_CEIL ++GNULIB_ATANL ++GNULIB_ASINL ++GNULIB_ACOSL ++FLOAT_H ++NEXT_AS_FIRST_DIRECTIVE_FLOAT_H ++NEXT_FLOAT_H ++NEXT_AS_FIRST_DIRECTIVE_FCNTL_H ++NEXT_FCNTL_H ++REPLACE_OPENAT ++REPLACE_OPEN ++REPLACE_FCNTL ++HAVE_OPENAT ++HAVE_FCNTL ++GNULIB_OPENAT ++GNULIB_OPEN ++GNULIB_FCNTL ++REPLACE_VSPRINTF ++REPLACE_VSNPRINTF ++REPLACE_VPRINTF ++REPLACE_VFPRINTF ++REPLACE_VDPRINTF ++REPLACE_VASPRINTF ++REPLACE_TMPFILE ++REPLACE_STDIO_WRITE_FUNCS ++REPLACE_SPRINTF ++REPLACE_SNPRINTF ++REPLACE_RENAMEAT ++REPLACE_RENAME ++REPLACE_REMOVE ++REPLACE_PRINTF ++REPLACE_POPEN ++REPLACE_PERROR ++REPLACE_OBSTACK_PRINTF ++REPLACE_GETLINE ++REPLACE_GETDELIM ++REPLACE_FTELLO ++REPLACE_FTELL ++REPLACE_FSEEKO ++REPLACE_FSEEK ++REPLACE_FREOPEN ++REPLACE_FPURGE ++REPLACE_FPRINTF ++REPLACE_FOPEN ++REPLACE_FFLUSH ++REPLACE_FCLOSE ++REPLACE_DPRINTF ++HAVE_VDPRINTF ++HAVE_VASPRINTF ++HAVE_RENAMEAT ++HAVE_FTELLO ++HAVE_FSEEKO ++HAVE_DPRINTF ++HAVE_DECL_VSNPRINTF ++HAVE_DECL_SNPRINTF ++HAVE_DECL_OBSTACK_PRINTF ++HAVE_DECL_GETLINE ++HAVE_DECL_GETDELIM ++HAVE_DECL_FTELLO ++HAVE_DECL_FSEEKO ++HAVE_DECL_FPURGE ++GNULIB_VSPRINTF_POSIX ++GNULIB_VSNPRINTF ++GNULIB_VPRINTF_POSIX ++GNULIB_VPRINTF ++GNULIB_VFPRINTF_POSIX ++GNULIB_VFPRINTF ++GNULIB_VDPRINTF ++GNULIB_VASPRINTF ++GNULIB_TMPFILE ++GNULIB_STDIO_H_SIGPIPE ++GNULIB_SPRINTF_POSIX ++GNULIB_SNPRINTF ++GNULIB_RENAMEAT ++GNULIB_RENAME ++GNULIB_REMOVE ++GNULIB_PUTS ++GNULIB_PUTCHAR ++GNULIB_PUTC ++GNULIB_PRINTF_POSIX ++GNULIB_PRINTF ++GNULIB_POPEN ++GNULIB_PERROR ++GNULIB_OBSTACK_PRINTF_POSIX ++GNULIB_OBSTACK_PRINTF ++GNULIB_GETLINE ++GNULIB_GETDELIM ++GNULIB_FWRITE ++GNULIB_FTELLO ++GNULIB_FTELL ++GNULIB_FSEEKO ++GNULIB_FSEEK ++GNULIB_FREOPEN ++GNULIB_FPUTS ++GNULIB_FPUTC ++GNULIB_FPURGE ++GNULIB_FPRINTF_POSIX ++GNULIB_FPRINTF ++GNULIB_FOPEN ++GNULIB_FFLUSH ++GNULIB_FCLOSE ++GNULIB_DPRINTF ++EOVERFLOW_VALUE ++EOVERFLOW_HIDDEN ++ENOLINK_VALUE ++ENOLINK_HIDDEN ++EMULTIHOP_VALUE ++EMULTIHOP_HIDDEN ++ERRNO_H ++NEXT_AS_FIRST_DIRECTIVE_ERRNO_H ++NEXT_ERRNO_H ++PRAGMA_COLUMNS ++PRAGMA_SYSTEM_HEADER ++INCLUDE_NEXT_AS_FIRST_DIRECTIVE ++INCLUDE_NEXT ++pkglibexecdir ++lispdir ++UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS ++UNISTD_H_HAVE_WINSOCK2_H ++REPLACE_WRITE ++REPLACE_USLEEP ++REPLACE_UNLINKAT ++REPLACE_UNLINK ++REPLACE_TTYNAME_R ++REPLACE_SYMLINK ++REPLACE_SLEEP ++REPLACE_RMDIR ++REPLACE_READLINK ++REPLACE_PWRITE ++REPLACE_PREAD ++REPLACE_LSEEK ++REPLACE_LINKAT ++REPLACE_LINK ++REPLACE_LCHOWN ++REPLACE_GETPAGESIZE ++REPLACE_GETGROUPS ++REPLACE_GETLOGIN_R ++REPLACE_GETDOMAINNAME ++REPLACE_GETCWD ++REPLACE_FCHOWNAT ++REPLACE_DUP2 ++REPLACE_DUP ++REPLACE_CLOSE ++REPLACE_CHOWN ++HAVE_SYS_PARAM_H ++HAVE_OS_H ++HAVE_DECL_TTYNAME_R ++HAVE_DECL_GETUSERSHELL ++HAVE_DECL_GETPAGESIZE ++HAVE_DECL_GETLOGIN_R ++HAVE_DECL_GETDOMAINNAME ++HAVE_DECL_FCHDIR ++HAVE_DECL_ENVIRON ++HAVE_USLEEP ++HAVE_UNLINKAT ++HAVE_SYMLINKAT ++HAVE_SYMLINK ++HAVE_SLEEP ++HAVE_READLINKAT ++HAVE_READLINK ++HAVE_PWRITE ++HAVE_PREAD ++HAVE_PIPE2 ++HAVE_PIPE ++HAVE_LINKAT ++HAVE_LINK ++HAVE_LCHOWN ++HAVE_GETPAGESIZE ++HAVE_GETLOGIN ++HAVE_GETHOSTNAME ++HAVE_GETGROUPS ++HAVE_GETDTABLESIZE ++HAVE_FTRUNCATE ++HAVE_FSYNC ++HAVE_FCHOWNAT ++HAVE_FCHDIR ++HAVE_FACCESSAT ++HAVE_EUIDACCESS ++HAVE_DUP3 ++HAVE_DUP2 ++HAVE_CHOWN ++GNULIB_WRITE ++GNULIB_USLEEP ++GNULIB_UNLINKAT ++GNULIB_UNLINK ++GNULIB_UNISTD_H_SIGPIPE ++GNULIB_UNISTD_H_GETOPT ++GNULIB_TTYNAME_R ++GNULIB_SYMLINKAT ++GNULIB_SYMLINK ++GNULIB_SLEEP ++GNULIB_RMDIR ++GNULIB_READLINKAT ++GNULIB_READLINK ++GNULIB_PWRITE ++GNULIB_PREAD ++GNULIB_PIPE2 ++GNULIB_PIPE ++GNULIB_LSEEK ++GNULIB_LINKAT ++GNULIB_LINK ++GNULIB_LCHOWN ++GNULIB_GETUSERSHELL ++GNULIB_GETPAGESIZE ++GNULIB_GETLOGIN_R ++GNULIB_GETLOGIN ++GNULIB_GETHOSTNAME ++GNULIB_GETGROUPS ++GNULIB_GETDTABLESIZE ++GNULIB_GETDOMAINNAME ++GNULIB_GETCWD ++GNULIB_FTRUNCATE ++GNULIB_FSYNC ++GNULIB_FCHOWNAT ++GNULIB_FCHDIR ++GNULIB_FACCESSAT ++GNULIB_EUIDACCESS ++GNULIB_ENVIRON ++GNULIB_DUP3 ++GNULIB_DUP2 ++GNULIB_CLOSE ++GNULIB_CHOWN ++REPLACE_WCTOMB ++REPLACE_UNSETENV ++REPLACE_STRTOD ++REPLACE_SETENV ++REPLACE_REALPATH ++REPLACE_REALLOC ++REPLACE_PUTENV ++REPLACE_MKSTEMP ++REPLACE_MBTOWC ++REPLACE_MALLOC ++REPLACE_CANONICALIZE_FILE_NAME ++REPLACE_CALLOC ++HAVE_DECL_UNSETENV ++HAVE_UNLOCKPT ++HAVE_SYS_LOADAVG_H ++HAVE_STRUCT_RANDOM_DATA ++HAVE_STRTOULL ++HAVE_STRTOLL ++HAVE_STRTOD ++HAVE_DECL_SETENV ++HAVE_SETENV ++HAVE_RPMATCH ++HAVE_REALPATH ++HAVE_RANDOM_R ++HAVE_RANDOM_H ++HAVE_PTSNAME ++HAVE_MKSTEMPS ++HAVE_MKSTEMP ++HAVE_MKOSTEMPS ++HAVE_MKOSTEMP ++HAVE_MKDTEMP ++HAVE_GRANTPT ++HAVE_GETSUBOPT ++HAVE_DECL_GETLOADAVG ++HAVE_CANONICALIZE_FILE_NAME ++HAVE_ATOLL ++HAVE__EXIT ++GNULIB_WCTOMB ++GNULIB_UNSETENV ++GNULIB_UNLOCKPT ++GNULIB_SYSTEM_POSIX ++GNULIB_STRTOULL ++GNULIB_STRTOLL ++GNULIB_STRTOD ++GNULIB_SETENV ++GNULIB_RPMATCH ++GNULIB_REALPATH ++GNULIB_REALLOC_POSIX ++GNULIB_RANDOM_R ++GNULIB_PUTENV ++GNULIB_PTSNAME ++GNULIB_MKSTEMPS ++GNULIB_MKSTEMP ++GNULIB_MKOSTEMPS ++GNULIB_MKOSTEMP ++GNULIB_MKDTEMP ++GNULIB_MBTOWC ++GNULIB_MALLOC_POSIX ++GNULIB_GRANTPT ++GNULIB_GETSUBOPT ++GNULIB_GETLOADAVG ++GNULIB_CANONICALIZE_FILE_NAME ++GNULIB_CALLOC_POSIX ++GNULIB_ATOLL ++GNULIB__EXIT ++LTLIBCSTACK ++LIBCSTACK ++LIBSIGSEGV_PREFIX ++LTLIBSIGSEGV ++LIBSIGSEGV ++HAVE_LIBSIGSEGV ++LOCALE_FR ++REPLACE_WCSWIDTH ++REPLACE_WCWIDTH ++REPLACE_WCSNRTOMBS ++REPLACE_WCSRTOMBS ++REPLACE_WCRTOMB ++REPLACE_MBSNRTOWCS ++REPLACE_MBSRTOWCS ++REPLACE_MBRLEN ++REPLACE_MBRTOWC ++REPLACE_MBSINIT ++REPLACE_WCTOB ++REPLACE_BTOWC ++REPLACE_MBSTATE_T ++HAVE_DECL_WCWIDTH ++HAVE_DECL_WCTOB ++HAVE_WCSWIDTH ++HAVE_WCSTOK ++HAVE_WCSSTR ++HAVE_WCSPBRK ++HAVE_WCSSPN ++HAVE_WCSCSPN ++HAVE_WCSRCHR ++HAVE_WCSCHR ++HAVE_WCSDUP ++HAVE_WCSXFRM ++HAVE_WCSCOLL ++HAVE_WCSNCASECMP ++HAVE_WCSCASECMP ++HAVE_WCSNCMP ++HAVE_WCSCMP ++HAVE_WCSNCAT ++HAVE_WCSCAT ++HAVE_WCPNCPY ++HAVE_WCSNCPY ++HAVE_WCPCPY ++HAVE_WCSCPY ++HAVE_WCSNLEN ++HAVE_WCSLEN ++HAVE_WMEMSET ++HAVE_WMEMMOVE ++HAVE_WMEMCPY ++HAVE_WMEMCMP ++HAVE_WMEMCHR ++HAVE_WCSNRTOMBS ++HAVE_WCSRTOMBS ++HAVE_WCRTOMB ++HAVE_MBSNRTOWCS ++HAVE_MBSRTOWCS ++HAVE_MBRLEN ++HAVE_MBRTOWC ++HAVE_MBSINIT ++HAVE_BTOWC ++GNULIB_WCSWIDTH ++GNULIB_WCSTOK ++GNULIB_WCSSTR ++GNULIB_WCSPBRK ++GNULIB_WCSSPN ++GNULIB_WCSCSPN ++GNULIB_WCSRCHR ++GNULIB_WCSCHR ++GNULIB_WCSDUP ++GNULIB_WCSXFRM ++GNULIB_WCSCOLL ++GNULIB_WCSNCASECMP ++GNULIB_WCSCASECMP ++GNULIB_WCSNCMP ++GNULIB_WCSCMP ++GNULIB_WCSNCAT ++GNULIB_WCSCAT ++GNULIB_WCPNCPY ++GNULIB_WCSNCPY ++GNULIB_WCPCPY ++GNULIB_WCSCPY ++GNULIB_WCSNLEN ++GNULIB_WCSLEN ++GNULIB_WMEMSET ++GNULIB_WMEMMOVE ++GNULIB_WMEMCPY ++GNULIB_WMEMCMP ++GNULIB_WMEMCHR ++GNULIB_WCWIDTH ++GNULIB_WCSNRTOMBS ++GNULIB_WCSRTOMBS ++GNULIB_WCRTOMB ++GNULIB_MBSNRTOWCS ++GNULIB_MBSRTOWCS ++GNULIB_MBRLEN ++GNULIB_MBRTOWC ++GNULIB_MBSINIT ++GNULIB_WCTOB ++GNULIB_BTOWC ++ALLOCA_H ++ALLOCA ++GL_COND_LIBTOOL_FALSE ++GL_COND_LIBTOOL_TRUE ++WARN_CFLAGS ++WERROR_CFLAGS ++EGREP ++GREP ++CPP ++host_os ++host_vendor ++host_cpu ++host ++build_os ++build_vendor ++build_cpu ++build ++RANLIB ++am__fastdepCC_FALSE ++am__fastdepCC_TRUE ++CCDEPMODE ++am__nodep ++AMDEPBACKSLASH ++AMDEP_FALSE ++AMDEP_TRUE ++am__quote ++am__include ++DEPDIR ++OBJEXT ++EXEEXT ++ac_ct_CC ++CPPFLAGS ++LDFLAGS ++CFLAGS ++CC ++AM_BACKSLASH ++AM_DEFAULT_VERBOSITY ++AM_DEFAULT_V ++AM_V ++am__untar ++am__tar ++AMTAR ++am__leading_dot ++SET_MAKE ++AWK ++mkdir_p ++MKDIR_P ++INSTALL_STRIP_PROGRAM ++STRIP ++install_sh ++MAKEINFO ++AUTOHEADER ++AUTOMAKE ++AUTOCONF ++ACLOCAL ++VERSION ++PACKAGE ++CYGPATH_W ++am__isrc ++INSTALL_DATA ++INSTALL_SCRIPT ++INSTALL_PROGRAM ++target_alias ++host_alias ++build_alias ++LIBS ++ECHO_T ++ECHO_N ++ECHO_C ++DEFS ++mandir ++localedir ++libdir ++psdir ++pdfdir ++dvidir ++htmldir ++infodir ++docdir ++oldincludedir ++includedir ++localstatedir ++sharedstatedir ++sysconfdir ++datadir ++datarootdir ++libexecdir ++sbindir ++bindir ++program_transform_name ++prefix ++exec_prefix ++PACKAGE_URL ++PACKAGE_BUGREPORT ++PACKAGE_STRING ++PACKAGE_VERSION ++PACKAGE_TARNAME ++PACKAGE_NAME ++PATH_SEPARATOR ++SHELL' ++ac_subst_files='' ++ac_user_opts=' ++enable_option_checking ++enable_silent_rules ++enable_dependency_tracking ++enable_threads ++enable_gcc_warnings ++enable_assert ++with_gnu_ld ++enable_rpath ++with_libsigsegv_prefix ++with_libpth_prefix ++enable_largefile ++with_included_regex ++with_packager ++with_packager_version ++with_packager_bug_reports ++enable_c__ ++enable_changeword ++with_syscmd_shell ++with_dmalloc ++' ++ ac_precious_vars='build_alias ++host_alias ++target_alias ++CC ++CFLAGS ++LDFLAGS ++LIBS ++CPPFLAGS ++CPP ++CXX ++CXXFLAGS' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++ac_unrecognized_opts= ++ac_unrecognized_sep= ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *=) ac_optarg= ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ # Accept the important Cygnus configure options, so we can diagnose typos. ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_optarg ;; ++ ++ -nfp | --nfp | --nf) ++ # Obsolete; use --without-fp. ++ with_fp=no ;; ++ ++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ++ | --no-cr | --no-c | -n) ++ no_create=yes ;; ++ ++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ++ no_recursion=yes ;; ++ ++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ++ | --oldin | --oldi | --old | --ol | --o) ++ ac_prev=oldincludedir ;; ++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ++ oldincludedir=$ac_optarg ;; ++ ++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ++ ac_prev=prefix ;; ++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ++ prefix=$ac_optarg ;; ++ ++ -program-prefix | --program-prefix | --program-prefi | --program-pref \ ++ | --program-pre | --program-pr | --program-p) ++ ac_prev=program_prefix ;; ++ -program-prefix=* | --program-prefix=* | --program-prefi=* \ ++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ++ program_prefix=$ac_optarg ;; ++ ++ -program-suffix | --program-suffix | --program-suffi | --program-suff \ ++ | --program-suf | --program-su | --program-s) ++ ac_prev=program_suffix ;; ++ -program-suffix=* | --program-suffix=* | --program-suffi=* \ ++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ++ program_suffix=$ac_optarg ;; ++ ++ -program-transform-name | --program-transform-name \ ++ | --program-transform-nam | --program-transform-na \ ++ | --program-transform-n | --program-transform- \ ++ | --program-transform | --program-transfor \ ++ | --program-transfo | --program-transf \ ++ | --program-trans | --program-tran \ ++ | --progr-tra | --program-tr | --program-t) ++ ac_prev=program_transform_name ;; ++ -program-transform-name=* | --program-transform-name=* \ ++ | --program-transform-nam=* | --program-transform-na=* \ ++ | --program-transform-n=* | --program-transform-=* \ ++ | --program-transform=* | --program-transfor=* \ ++ | --program-transfo=* | --program-transf=* \ ++ | --program-trans=* | --program-tran=* \ ++ | --progr-tra=* | --program-tr=* | --program-t=*) ++ program_transform_name=$ac_optarg ;; ++ ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ++ ac_prev=pdfdir ;; ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ++ pdfdir=$ac_optarg ;; ++ ++ -psdir | --psdir | --psdi | --psd | --ps) ++ ac_prev=psdir ;; ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ++ psdir=$ac_optarg ;; ++ ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ silent=yes ;; ++ ++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ++ ac_prev=sbindir ;; ++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ++ | --sbi=* | --sb=*) ++ sbindir=$ac_optarg ;; ++ ++ -sharedstatedir | --sharedstatedir | --sharedstatedi \ ++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ++ | --sharedst | --shareds | --shared | --share | --shar \ ++ | --sha | --sh) ++ ac_prev=sharedstatedir ;; ++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ++ | --sha=* | --sh=*) ++ sharedstatedir=$ac_optarg ;; ++ ++ -site | --site | --sit) ++ ac_prev=site ;; ++ -site=* | --site=* | --sit=*) ++ site=$ac_optarg ;; ++ ++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ++ ac_prev=srcdir ;; ++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ++ srcdir=$ac_optarg ;; ++ ++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ++ | --syscon | --sysco | --sysc | --sys | --sy) ++ ac_prev=sysconfdir ;; ++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ++ sysconfdir=$ac_optarg ;; ++ ++ -target | --target | --targe | --targ | --tar | --ta | --t) ++ ac_prev=target_alias ;; ++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ++ target_alias=$ac_optarg ;; ++ ++ -v | -verbose | --verbose | --verbos | --verbo | --verb) ++ verbose=yes ;; ++ ++ -version | --version | --versio | --versi | --vers | -V) ++ ac_init_version=: ;; ++ ++ -with-* | --with-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=\$ac_optarg ;; ++ ++ -without-* | --without-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=no ;; ++ ++ --x) ++ # Obsolete; use --with-x. ++ with_x=yes ;; ++ ++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ++ | --x-incl | --x-inc | --x-in | --x-i) ++ ac_prev=x_includes ;; ++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ++ x_includes=$ac_optarg ;; ++ ++ -x-libraries | --x-libraries | --x-librarie | --x-librari \ ++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ++ ac_prev=x_libraries ;; ++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ++ x_libraries=$ac_optarg ;; ++ ++ -*) as_fn_error $? "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information" ++ ;; ++ ++ *=*) ++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ++ # Reject names that are not valid shell variable names. ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; ++ esac ++ eval $ac_envvar=\$ac_optarg ++ export $ac_envvar ;; ++ ++ *) ++ # FIXME: should be removed in autoconf 3.0. ++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ++ ;; ++ ++ esac ++done ++ ++if test -n "$ac_prev"; then ++ ac_option=--`echo $ac_prev | sed 's/_/-/g'` ++ as_fn_error $? "missing argument to $ac_option" ++fi ++ ++if test -n "$ac_unrecognized_opts"; then ++ case $enable_option_checking in ++ no) ;; ++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; ++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ esac ++fi ++ ++# Check all directory arguments for consistency. ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ++ datadir sysconfdir sharedstatedir localstatedir includedir \ ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ++ libdir localedir mandir ++do ++ eval ac_val=\$$ac_var ++ # Remove trailing slashes. ++ case $ac_val in ++ */ ) ++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ++ eval $ac_var=\$ac_val;; ++ esac ++ # Be sure to have absolute directory names. ++ case $ac_val in ++ [\\/$]* | ?:[\\/]* ) continue;; ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ++ esac ++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" ++done ++ ++# There might be people who depend on the old broken behavior: `$host' ++# used to hold the argument of --host etc. ++# FIXME: To remove some day. ++build=$build_alias ++host=$host_alias ++target=$target_alias ++ ++# FIXME: To remove some day. ++if test "x$host_alias" != x; then ++ if test "x$build_alias" = x; then ++ cross_compiling=maybe ++ elif test "x$build_alias" != "x$host_alias"; then ++ cross_compiling=yes ++ fi ++fi ++ ++ac_tool_prefix= ++test -n "$host_alias" && ac_tool_prefix=$host_alias- ++ ++test "$silent" = yes && exec 6>/dev/null ++ ++ ++ac_pwd=`pwd` && test -n "$ac_pwd" && ++ac_ls_di=`ls -di .` && ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ++ as_fn_error $? "working directory cannot be determined" ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ++ as_fn_error $? "pwd does not report name of working directory" ++ ++ ++# Find the source files, if location was not specified. ++if test -z "$srcdir"; then ++ ac_srcdir_defaulted=yes ++ # Try the directory containing this script, then the parent directory. ++ ac_confdir=`$as_dirname -- "$as_myself" || ++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_myself" : 'X\(//\)[^/]' \| \ ++ X"$as_myself" : 'X\(//\)$' \| \ ++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_myself" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ srcdir=$ac_confdir ++ if test ! -r "$srcdir/$ac_unique_file"; then ++ srcdir=.. ++ fi ++else ++ ac_srcdir_defaulted=no ++fi ++if test ! -r "$srcdir/$ac_unique_file"; then ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" ++fi ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ++ac_abs_confdir=`( ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" ++ pwd)` ++# When building in place, set srcdir=. ++if test "$ac_abs_confdir" = "$ac_pwd"; then ++ srcdir=. ++fi ++# Remove unnecessary trailing slashes from srcdir. ++# Double slashes in file names in object file debugging info ++# mess up M-x gdb in Emacs. ++case $srcdir in ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ++esac ++for ac_var in $ac_precious_vars; do ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_env_${ac_var}_value=\$${ac_var} ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} ++done ++ ++# ++# Report the --help message. ++# ++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 GNU M4 1.4.16 to adapt to many kinds of systems. ++ ++Usage: $0 [OPTION]... [VAR=VALUE]... ++ ++To assign environment variables (e.g., CC, CFLAGS...), specify them as ++VAR=VALUE. See below for descriptions of some of the useful variables. ++ ++Defaults for the options are specified in brackets. ++ ++Configuration: ++ -h, --help display this help and exit ++ --help=short display options specific to this package ++ --help=recursive display the short help of all the included packages ++ -V, --version display version information and exit ++ -q, --quiet, --silent do not print \`checking ...' messages ++ --cache-file=FILE cache test results in FILE [disabled] ++ -C, --config-cache alias for \`--cache-file=config.cache' ++ -n, --no-create do not create output files ++ --srcdir=DIR find the sources in DIR [configure dir or \`..'] ++ ++Installation directories: ++ --prefix=PREFIX install architecture-independent files in PREFIX ++ @<:@@S|@ac_default_prefix@:>@ ++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ++ @<:@PREFIX@:>@ ++ ++By default, \`make install' will install all the files in ++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ++an installation prefix other than \`$ac_default_prefix' using \`--prefix', ++for instance \`--prefix=\$HOME'. ++ ++For better control, use the options below. ++ ++Fine tuning of the installation directories: ++ --bindir=DIR user executables [EPREFIX/bin] ++ --sbindir=DIR system admin executables [EPREFIX/sbin] ++ --libexecdir=DIR program executables [EPREFIX/libexec] ++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --libdir=DIR object code libraries [EPREFIX/lib] ++ --includedir=DIR C header files [PREFIX/include] ++ --oldincludedir=DIR C header files for non-gcc [/usr/include] ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ++ --infodir=DIR info documentation [DATAROOTDIR/info] ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ++ --mandir=DIR man documentation [DATAROOTDIR/man] ++ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/m4@:>@ ++ --htmldir=DIR html documentation [DOCDIR] ++ --dvidir=DIR dvi documentation [DOCDIR] ++ --pdfdir=DIR pdf documentation [DOCDIR] ++ --psdir=DIR ps documentation [DOCDIR] ++_ACEOF ++ ++ cat <<\_ACEOF ++ ++Program names: ++ --program-prefix=PREFIX prepend PREFIX to installed program names ++ --program-suffix=SUFFIX append SUFFIX to installed program names ++ --program-transform-name=PROGRAM run sed PROGRAM on installed program names ++ ++System types: ++ --build=BUILD configure for building on BUILD [guessed] ++ --host=HOST cross-compile to build programs to run on HOST [BUILD] ++_ACEOF ++fi ++ ++if test -n "$ac_init_help"; then ++ case $ac_init_help in ++ short | recursive ) echo "Configuration of GNU M4 1.4.16:";; ++ esac ++ cat <<\_ACEOF ++ ++Optional Features: ++ --disable-option-checking ignore unrecognized --enable/--with options ++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ++ --enable-silent-rules less verbose build output (undo: "make V=1") ++ --disable-silent-rules verbose build output (undo: "make V=0") ++ --enable-dependency-tracking ++ do not reject slow dependency extractors ++ --disable-dependency-tracking ++ speeds up one-time build ++ --enable-threads={posix|solaris|pth|win32} ++ specify multithreading API ++ --disable-threads build without multithread safety ++ --enable-gcc-warnings turn on lots of GCC warnings (for developers) ++ --disable-assert turn off assertions ++ --disable-rpath do not hardcode runtime library paths ++ --disable-largefile omit support for large files ++ --enable-c++ also build C++ sources ++ --enable-changeword enable -W and changeword() builtin ++ ++Optional Packages: ++ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ++ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ++ --with-gnu-ld assume the C compiler uses GNU ld default=no ++ --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib ++ --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir ++ --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib ++ --without-libpth-prefix don't search for libpth in includedir and libdir ++ --without-included-regex ++ don't compile regex; this is the default on systems ++ with recent-enough versions of the GNU C Library ++ (use with caution on other systems). ++ --with-packager String identifying the packager of this software ++ --with-packager-version Packager-specific version information ++ --with-packager-bug-reports ++ Packager info for bug reports (URL/e-mail/...) ++ --with-syscmd-shell shell used by syscmd @<:@/bin/sh@:>@ ++ --with-dmalloc use dmalloc, as in dmalloc.tar.gz from ++ @/ftp.antaire.com:antaire/src/dmalloc. ++ ++Some influential environment variables: ++ CC C compiler command ++ CFLAGS C compiler flags ++ LDFLAGS linker flags, e.g. -L if you have libraries in a ++ nonstandard directory ++ LIBS libraries to pass to the linker, e.g. -l ++ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if ++ you have headers in a nonstandard directory ++ CPP C preprocessor ++ CXX C++ compiler command ++ CXXFLAGS C++ compiler flags ++ ++Use these variables to override the choices made by `configure' or to help ++it to find libraries and programs with nonstandard names/locations. ++ ++Report bugs to . ++GNU M4 home page: . ++General help using GNU software: . ++_ACEOF ++ac_status=$? ++fi ++ ++if test "$ac_init_help" = "recursive"; then ++ # If there are subdirs, report their specific --help. ++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ++ test -d "$ac_dir" || ++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ++ continue ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ cd "$ac_dir" || { ac_status=$?; continue; } ++ # Check for guested configure. ++ if test -f "$ac_srcdir/configure.gnu"; then ++ echo && ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive ++ elif test -f "$ac_srcdir/configure"; then ++ echo && ++ $SHELL "$ac_srcdir/configure" --help=recursive ++ else ++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ fi || ac_status=$? ++ cd "$ac_pwd" || { ac_status=$?; break; } ++ done ++fi ++ ++test -n "$ac_init_help" && exit $ac_status ++if $ac_init_version; then ++ cat <<\_ACEOF ++GNU M4 configure 1.4.16 ++generated by GNU Autoconf 2.69 ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This configure script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it. ++_ACEOF ++ exit ++fi ++ ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++@%:@ ac_fn_c_try_compile LINENO ++@%:@ -------------------------- ++@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext ++ if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_compile ++ ++@%:@ ac_fn_c_try_cpp LINENO ++@%:@ ---------------------- ++@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } > conftest.i && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_cpp ++ ++@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using ++@%:@ the include files in INCLUDES and setting the cache variable VAR ++@%:@ accordingly. ++ac_fn_c_check_header_mongrel () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if eval \${$3+:} false; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ++$as_echo_n "checking $2 usability... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_header_compiler=yes ++else ++ ac_header_compiler=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ++$as_echo_n "checking $2 presence... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ac_header_preproc=yes ++else ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( ++ yes:no: ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++( $as_echo "## ----------------------------- ## ++## Report this to bug-m4@gnu.org ## ++## ----------------------------- ##" ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=\$ac_header_compiler" ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_header_mongrel ++ ++@%:@ ac_fn_c_try_run LINENO ++@%:@ ---------------------- ++@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes ++@%:@ that executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_run ++ ++@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists and can be compiled using the include files in ++@%:@ INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_header_compile ++ ++@%:@ ac_fn_c_try_link LINENO ++@%:@ ----------------------- ++@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ test -x conftest$ac_exeext ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_link ++ ++@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++@%:@ ------------------------------------------- ++@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache ++@%:@ variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_type ++ ++@%:@ ac_fn_c_check_func LINENO FUNC VAR ++@%:@ ---------------------------------- ++@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main () ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_func ++ ++@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES ++@%:@ --------------------------------------------- ++@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR ++@%:@ accordingly. ++ac_fn_c_check_decl () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ as_decl_name=`echo $2|sed 's/ *(.*//'` ++ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 ++$as_echo_n "checking whether $as_decl_name is declared... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++@%:@ifndef $as_decl_name ++@%:@ifdef __cplusplus ++ (void) $as_decl_use; ++@%:@else ++ (void) $as_decl_name; ++@%:@endif ++@%:@endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_decl ++ ++@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES ++@%:@ -------------------------------------------- ++@%:@ Tries to find the compile-time value of EXPR in a program that includes ++@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be ++@%:@ computed ++ac_fn_c_compute_int () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid; break ++else ++ as_fn_arith $ac_mid + 1 && ac_lo=$as_val ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_lo=$ac_mid; break ++else ++ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ ac_lo= ac_hi= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; ++test_array @<:@0@:>@ = 0; ++return test_array @<:@0@:>@; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_hi=$ac_mid ++else ++ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in @%:@(( ++?*) eval "$3=\$ac_lo"; ac_retval=0 ;; ++'') ac_retval=1 ;; ++esac ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++static long int longval () { return $2; } ++static unsigned long int ulongval () { return $2; } ++@%:@include ++@%:@include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (($2) < 0) ++ { ++ long int i = longval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ($2)) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ echo >>conftest.val; read $3 &5 ++$as_echo_n "checking for $2.$3... " >&6; } ++if eval \${$4+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$5 ++int ++main () ++{ ++static $2 ac_aggr; ++if (sizeof ac_aggr.$3) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$4=yes" ++else ++ eval "$4=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$4 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_member ++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 GNU M4 $as_me 1.4.16, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ $ $0 $@ ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ $as_echo "## ---------------- ## ++## Cache variables. ## ++## ---------------- ##" ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ $as_echo "## ----------------- ## ++## Output variables. ## ++## ----------------- ##" ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ $as_echo "## ------------------- ## ++## File substitutions. ## ++## ------------------- ##" ++ echo ++ for ac_var in $ac_subst_files ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ fi ++ ++ if test -s confdefs.h; then ++ $as_echo "## ----------- ## ++## confdefs.h. ## ++## ----------- ##" ++ echo ++ cat confdefs.h ++ echo ++ fi ++ test "$ac_signal" != 0 && ++ $as_echo "$as_me: caught signal $ac_signal" ++ $as_echo "$as_me: exit $exit_status" ++ } >&5 ++ rm -f core *.core core.conftest.* && ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ++ exit $exit_status ++' 0 ++for ac_signal in 1 2 13 15; do ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++done ++ac_signal=0 ++ ++# confdefs.h avoids OS command line length limits that DEFS can exceed. ++rm -f -r conftest* confdefs.h ++ ++$as_echo "/* confdefs.h */" > confdefs.h ++ ++# Predefined preprocessor variables. ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_NAME "$PACKAGE_NAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_STRING "$PACKAGE_STRING" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_URL "$PACKAGE_URL" ++_ACEOF ++ ++ ++# Let the site file select an alternate cache file if it wants to. ++# Prefer an explicitly selected file to automatically selected ones. ++ac_site_file1=NONE ++ac_site_file2=NONE ++if test -n "$CONFIG_SITE"; then ++ # We do not want a PATH search for config.site. ++ case $CONFIG_SITE in @%:@(( ++ -*) ac_site_file1=./$CONFIG_SITE;; ++ */*) ac_site_file1=$CONFIG_SITE;; ++ *) ac_site_file1=./$CONFIG_SITE;; ++ esac ++elif test "x$prefix" != xNONE; then ++ ac_site_file1=$prefix/share/config.site ++ ac_site_file2=$prefix/etc/config.site ++else ++ ac_site_file1=$ac_default_prefix/share/config.site ++ ac_site_file2=$ac_default_prefix/etc/config.site ++fi ++for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++do ++ test "x$ac_site_file" = xNONE && continue ++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++$as_echo "$as_me: loading site script $ac_site_file" >&6;} ++ sed 's/^/| /' "$ac_site_file" >&5 ++ . "$ac_site_file" \ ++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "failed to load site script $ac_site_file ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++done ++ ++if test -r "$cache_file"; then ++ # Some versions of bash will fail to source /dev/null (special files ++ # actually), so we avoid doing that. DJGPP emulates it as a regular file. ++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++$as_echo "$as_me: loading cache $cache_file" >&6;} ++ case $cache_file in ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; ++ *) . "./$cache_file";; ++ esac ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++$as_echo "$as_me: creating cache $cache_file" >&6;} ++ >$cache_file ++fi ++ ++gl_use_threads_default=no ++as_fn_append ac_func_list " btowc" ++as_fn_append ac_func_list " setrlimit" ++as_fn_append ac_header_list " ucontext.h" ++as_fn_append ac_func_list " sigaltstack" ++as_fn_append ac_header_list " unistd.h" ++as_fn_append ac_func_list " canonicalize_file_name" ++as_fn_append ac_func_list " getcwd" ++as_fn_append ac_func_list " readlink" ++as_fn_append ac_func_list " realpath" ++as_fn_append ac_header_list " sys/param.h" ++as_fn_append ac_func_list " dup2" ++as_fn_append ac_func_list " fcntl" ++as_fn_append ac_func_list " mempcpy" ++as_fn_append ac_header_list " stdio_ext.h" ++as_fn_append ac_func_list " __fpending" ++as_fn_append ac_func_list " fpurge" ++as_fn_append ac_func_list " __fpurge" ++as_fn_append ac_func_list " __freading" ++as_fn_append ac_func_list " getdtablesize" ++gl_getopt_required=GNU ++as_fn_append ac_header_list " getopt.h" ++as_fn_append ac_header_list " sys/time.h" ++as_fn_append ac_func_list " gettimeofday" ++as_fn_append ac_header_list " langinfo.h" ++as_fn_append ac_func_list " lstat" ++as_fn_append ac_header_list " math.h" ++as_fn_append ac_func_list " mbsinit" ++as_fn_append ac_func_list " mbrtowc" ++as_fn_append ac_header_list " sys/mman.h" ++as_fn_append ac_func_list " mprotect" ++as_fn_append ac_func_list " memchr" ++as_fn_append ac_func_list " mkstemp" ++as_fn_append ac_func_list " nl_langinfo" ++as_fn_append ac_func_list " pathconf" ++as_fn_append ac_func_list " pipe2" ++as_fn_append ac_func_list " posix_spawn" ++gl_printf_safe=yes ++as_fn_append ac_func_list " isblank" ++as_fn_append ac_func_list " iswctype" ++as_fn_append ac_func_list " wcscoll" ++as_fn_append ac_header_list " sched.h" ++as_fn_append ac_func_list " sigaction" ++as_fn_append ac_func_list " siginterrupt" ++as_fn_append ac_header_list " spawn.h" ++as_fn_append ac_header_list " wchar.h" ++as_fn_append ac_header_list " stdint.h" ++as_fn_append ac_header_list " sys/socket.h" ++as_fn_append ac_func_list " strndup" ++as_fn_append ac_header_list " sys/stat.h" ++as_fn_append ac_header_list " sys/wait.h" ++as_fn_append ac_func_list " pipe" ++as_fn_append ac_func_list " vasnprintf" ++as_fn_append ac_header_list " features.h" ++as_fn_append ac_func_list " wcrtomb" ++as_fn_append ac_func_list " iswcntrl" ++as_fn_append ac_header_list " wctype.h" ++as_fn_append ac_func_list " link" ++as_fn_append ac_header_list " xlocale.h" ++as_fn_append ac_func_list " newlocale" ++as_fn_append ac_func_list " setenv" ++as_fn_append ac_func_list " strdup" ++as_fn_append ac_func_list " symlink" ++as_fn_append ac_func_list " wctob" ++# Check that the precious variables saved in the cache have kept the same ++# value. ++ac_cache_corrupted=false ++for ac_var in $ac_precious_vars; do ++ eval ac_old_set=\$ac_cv_env_${ac_var}_set ++ eval ac_new_set=\$ac_env_${ac_var}_set ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value ++ eval ac_new_val=\$ac_env_${ac_var}_value ++ case $ac_old_set,$ac_new_set in ++ set,) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,set) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,);; ++ *) ++ if test "x$ac_old_val" != "x$ac_new_val"; then ++ # differences in whitespace do not lead to failure. ++ ac_old_val_w=`echo x $ac_old_val` ++ ac_new_val_w=`echo x $ac_new_val` ++ if test "$ac_old_val_w" != "$ac_new_val_w"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ ac_cache_corrupted=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ eval $ac_var=\$ac_old_val ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ++ fi;; ++ esac ++ # Pass precious variables to config.status. ++ if test "$ac_new_set" = set; then ++ case $ac_new_val in ++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *) ac_arg=$ac_var=$ac_new_val ;; ++ esac ++ case " $ac_configure_args " in ++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ esac ++ fi ++done ++if $ac_cache_corrupted; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++fi ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ac_aux_dir= ++for ac_dir in build-aux "$srcdir"/build-aux; do ++ if test -f "$ac_dir/install-sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install-sh -c" ++ break ++ elif test -f "$ac_dir/install.sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install.sh -c" ++ break ++ elif test -f "$ac_dir/shtool"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/shtool install -c" ++ break ++ fi ++done ++if test -z "$ac_aux_dir"; then ++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 ++fi ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ++ ++ ++ ++am__api_version='1.13' ++ ++# Find a good install program. We prefer a C program (faster), ++# so one script is as good as another. But avoid the broken or ++# incompatible versions: ++# SysV /etc/install, /usr/sbin/install ++# SunOS /usr/etc/install ++# IRIX /sbin/install ++# AIX /bin/install ++# AmigaOS /C/install, which installs bootblocks on floppy discs ++# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag ++# AFS /usr/afsws/bin/install, which mishandles nonexistent args ++# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" ++# OS/2's system install, which has a completely different semantic ++# ./install, which can be erroneously created by make from ./install.sh. ++# Reject install programs that cannot install multiple files. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 ++$as_echo_n "checking for a BSD-compatible install... " >&6; } ++if test -z "$INSTALL"; then ++if ${ac_cv_path_install+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ # Account for people who put trailing slashes in PATH elements. ++case $as_dir/ in @%:@(( ++ ./ | .// | /[cC]/* | \ ++ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ++ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ ++ /usr/ucb/* ) ;; ++ *) ++ # OSF1 and SCO ODT 3.0 have their own names for install. ++ # Don't use installbsd from OSF since it installs stuff as root ++ # by default. ++ for ac_prog in ginstall scoinst install; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then ++ if test $ac_prog = install && ++ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # AIX install. It has an incompatible calling convention. ++ : ++ elif test $ac_prog = install && ++ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then ++ # program-specific install script used by HP pwplus--don't use. ++ : ++ else ++ rm -rf conftest.one conftest.two conftest.dir ++ echo one > conftest.one ++ echo two > conftest.two ++ mkdir conftest.dir ++ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && ++ test -s conftest.one && test -s conftest.two && ++ test -s conftest.dir/conftest.one && ++ test -s conftest.dir/conftest.two ++ then ++ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" ++ break 3 ++ fi ++ fi ++ fi ++ done ++ done ++ ;; ++esac ++ ++ done ++IFS=$as_save_IFS ++ ++rm -rf conftest.one conftest.two conftest.dir ++ ++fi ++ if test "${ac_cv_path_install+set}" = set; then ++ INSTALL=$ac_cv_path_install ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for INSTALL within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ INSTALL=$ac_install_sh ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 ++$as_echo "$INSTALL" >&6; } ++ ++# Use test -z because SunOS4 sh mishandles braces in ${var-val}. ++# It thinks the first close brace ends the variable substitution. ++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' ++ ++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' ++ ++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 ++$as_echo_n "checking whether build environment is sane... " >&6; } ++# Reject unsafe characters in $srcdir or the absolute working directory ++# name. Accept space and tab only in the latter. ++am_lf=' ++' ++case `pwd` in ++ *[\\\"\#\$\&\'\`$am_lf]*) ++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; ++esac ++case $srcdir in ++ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) ++ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; ++esac ++ ++# Do 'set' in a subshell so we don't clobber the current shell's ++# arguments. Must try -L first in case configure is actually a ++# symlink; some systems play weird games with the mod time of symlinks ++# (eg FreeBSD returns the mod time of the symlink's containing ++# directory). ++if ( ++ am_has_slept=no ++ for am_try in 1 2; do ++ echo "timestamp, slept: $am_has_slept" > conftest.file ++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ if test "$*" = "X"; then ++ # -L didn't work. ++ set X `ls -t "$srcdir/configure" conftest.file` ++ fi ++ if test "$*" != "X $srcdir/configure conftest.file" \ ++ && test "$*" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken ++ alias in your environment" "$LINENO" 5 ++ fi ++ if test "$2" = conftest.file || test $am_try -eq 2; then ++ break ++ fi ++ # Just in case. ++ sleep 1 ++ am_has_slept=yes ++ done ++ test "$2" = conftest.file ++ ) ++then ++ # Ok. ++ : ++else ++ as_fn_error $? "newly created file is older than distributed files! ++Check your system clock" "$LINENO" 5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++# If we didn't sleep, we still need to ensure time stamps of config.status and ++# generated files are strictly newer. ++am_sleep_pid= ++if grep 'slept: no' conftest.file >/dev/null 2>&1; then ++ ( sleep 1 ) & ++ am_sleep_pid=$! ++fi ++ ++rm -f conftest.file ++ ++test "$program_prefix" != NONE && ++ program_transform_name="s&^&$program_prefix&;$program_transform_name" ++# Use a double $ so make ignores it. ++test "$program_suffix" != NONE && ++ program_transform_name="s&\$&$program_suffix&;$program_transform_name" ++# Double any \ or $. ++# By default was `s,x,x', remove it if useless. ++ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' ++program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` ++ ++# expand $ac_aux_dir to an absolute path ++am_aux_dir=`cd $ac_aux_dir && pwd` ++ ++if test x"${MISSING+set}" != xset; then ++ case $am_aux_dir in ++ *\ * | *\ *) ++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ++ *) ++ MISSING="\${SHELL} $am_aux_dir/missing" ;; ++ esac ++fi ++# Use eval to expand $SHELL ++if eval "$MISSING --is-lightweight"; then ++ am_missing_run="$MISSING " ++else ++ am_missing_run= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 ++$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} ++fi ++ ++if test x"${install_sh}" != xset; then ++ case $am_aux_dir in ++ *\ * | *\ *) ++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; ++ *) ++ install_sh="\${SHELL} $am_aux_dir/install-sh" ++ esac ++fi ++ ++# Installed binaries are usually stripped using 'strip' when the user ++# run "make install-strip". However 'strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the 'STRIP' environment variable to overrule this program. ++if test "$cross_compiling" != no; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. ++set dummy ${ac_tool_prefix}strip; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_STRIP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$STRIP"; then ++ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_STRIP="${ac_tool_prefix}strip" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++STRIP=$ac_cv_prog_STRIP ++if test -n "$STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++$as_echo "$STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_STRIP"; then ++ ac_ct_STRIP=$STRIP ++ # Extract the first word of "strip", so it can be a program name with args. ++set dummy strip; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_STRIP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_STRIP"; then ++ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_STRIP="strip" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP ++if test -n "$ac_ct_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++$as_echo "$ac_ct_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_STRIP" = x; then ++ STRIP=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ STRIP=$ac_ct_STRIP ++ fi ++else ++ STRIP="$ac_cv_prog_STRIP" ++fi ++ ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 ++$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } ++if test -z "$MKDIR_P"; then ++ if ${ac_cv_path_mkdir+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in mkdir gmkdir; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue ++ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( ++ 'mkdir (GNU coreutils) '* | \ ++ 'mkdir (coreutils) '* | \ ++ 'mkdir (fileutils) '4.1*) ++ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext ++ break 3;; ++ esac ++ done ++ done ++ done ++IFS=$as_save_IFS ++ ++fi ++ ++ test -d ./--version && rmdir ./--version ++ if test "${ac_cv_path_mkdir+set}" = set; then ++ MKDIR_P="$ac_cv_path_mkdir -p" ++ else ++ # As a last resort, use the slow shell script. Don't cache a ++ # value for MKDIR_P within a source directory, because that will ++ # break other packages using the cache if that directory is ++ # removed, or if the value is a relative name. ++ MKDIR_P="$ac_install_sh -d" ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 ++$as_echo "$MKDIR_P" >&6; } ++ ++ ++for ac_prog in gawk mawk nawk awk ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_AWK+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$AWK"; then ++ ac_cv_prog_AWK="$AWK" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_AWK="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++AWK=$ac_cv_prog_AWK ++if test -n "$AWK"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++$as_echo "$AWK" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$AWK" && break ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 ++$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } ++set x ${MAKE-make} ++ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.make <<\_ACEOF ++SHELL = /bin/sh ++all: ++ @echo '@@@%%%=$(MAKE)=@@@%%%' ++_ACEOF ++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. ++case `${MAKE-make} -f conftest.make 2>/dev/null` in ++ *@@@%%%=?*=@@@%%%*) ++ eval ac_cv_prog_make_${ac_make}_set=yes;; ++ *) ++ eval ac_cv_prog_make_${ac_make}_set=no;; ++esac ++rm -f conftest.make ++fi ++if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ SET_MAKE= ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ SET_MAKE="MAKE=${MAKE-make}" ++fi ++ ++rm -rf .tst 2>/dev/null ++mkdir .tst 2>/dev/null ++if test -d .tst; then ++ am__leading_dot=. ++else ++ am__leading_dot=_ ++fi ++rmdir .tst 2>/dev/null ++ ++@%:@ Check whether --enable-silent-rules was given. ++if test "${enable_silent_rules+set}" = set; then : ++ enableval=$enable_silent_rules; ++fi ++ ++case $enable_silent_rules in @%:@ ((( ++ yes) AM_DEFAULT_VERBOSITY=0;; ++ no) AM_DEFAULT_VERBOSITY=1;; ++ *) AM_DEFAULT_VERBOSITY=1;; ++esac ++am_make=${MAKE-make} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 ++$as_echo_n "checking whether $am_make supports nested variables... " >&6; } ++if ${am_cv_make_support_nested_variables+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if $as_echo 'TRUE=$(BAR$(V)) ++BAR0=false ++BAR1=true ++V=1 ++am__doit: ++ @$(TRUE) ++.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then ++ am_cv_make_support_nested_variables=yes ++else ++ am_cv_make_support_nested_variables=no ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 ++$as_echo "$am_cv_make_support_nested_variables" >&6; } ++if test $am_cv_make_support_nested_variables = yes; then ++ AM_V='$(V)' ++ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ++else ++ AM_V=$AM_DEFAULT_VERBOSITY ++ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY ++fi ++AM_BACKSLASH='\' ++ ++if test "`cd $srcdir && pwd`" != "`pwd`"; then ++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output ++ # is not polluted with repeated "-I." ++ am__isrc=' -I$(srcdir)' ++ # test to see if srcdir already configured ++ if test -f $srcdir/config.status; then ++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 ++ fi ++fi ++ ++# test whether we have cygpath ++if test -z "$CYGPATH_W"; then ++ if (cygpath --version) >/dev/null 2>/dev/null; then ++ CYGPATH_W='cygpath -w' ++ else ++ CYGPATH_W=echo ++ fi ++fi ++ ++ ++# Define the identity of the package. ++ PACKAGE='m4' ++ VERSION='1.4.16' ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE "$PACKAGE" ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define VERSION "$VERSION" ++_ACEOF ++ ++# Some tools Automake needs. ++ ++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} ++ ++ ++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} ++ ++ ++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} ++ ++ ++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} ++ ++ ++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} ++ ++# For better backward compatibility. To be removed once Automake 1.9.x ++# dies out for good. For more background, see: ++# ++# ++mkdir_p='$(MKDIR_P)' ++ ++# We need awk for the "check" target. The system "awk" is bad on ++# some platforms. ++# Always define AMTAR for backward compatibility. Yes, it's still used ++# in the wild :-( We should find a proper way to deprecate it ... ++AMTAR='$${TAR-tar}' ++ ++ ++# We'll loop over all known methods to create a tar archive until one works. ++_am_tools='gnutar pax cpio none' ++ ++am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin" ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}gcc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="${ac_tool_prefix}gcc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_CC"; then ++ ac_ct_CC=$CC ++ # Extract the first word of "gcc", so it can be a program name with args. ++set dummy gcc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CC="gcc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++else ++ CC="$ac_cv_prog_CC" ++fi ++ ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ++set dummy ${ac_tool_prefix}cc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="${ac_tool_prefix}cc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ fi ++fi ++if test -z "$CC"; then ++ # Extract the first word of "cc", so it can be a program name with args. ++set dummy cc; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++ ac_prog_rejected=no ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ++ ac_prog_rejected=yes ++ continue ++ fi ++ ac_cv_prog_CC="cc" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++if test $ac_prog_rejected = yes; then ++ # We found a bogon in the path, so make sure we never use it. ++ set dummy $ac_cv_prog_CC ++ shift ++ if test $@%:@ != 0; then ++ # We chose a different compiler from the bogus one. ++ # However, it has the same basename, so the bogon will be chosen ++ # first if we set CC to just the basename; use the full file name. ++ shift ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ++ fi ++fi ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$CC"; then ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in cl.exe ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in cl.exe ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CC="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "no acceptable C compiler found in \$PATH ++See \`config.log' for more details" "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ fi ++ rm -f conftest.er1 conftest.err ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" ++# Try to create an executable without -o first, disregard a.out. ++# It will help us diagnose broken compilers, and finding out an intuition ++# of exeext. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++$as_echo_n "checking whether the C compiler works... " >&6; } ++ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++ ++# The possible output files: ++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ++ ++ac_rmfiles= ++for ac_file in $ac_files ++do ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; ++ esac ++done ++rm -f $ac_rmfiles ++ ++if { { ac_try="$ac_link_default" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link_default") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ++# in a Makefile. We should not override ac_cv_exeext if it was cached, ++# so that the user can short-circuit this test for compilers unknown to ++# Autoconf. ++for ac_file in $ac_files '' ++do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ++ ;; ++ [ab].out ) ++ # We found the default executable, but exeext='' is most ++ # certainly right. ++ break;; ++ *.* ) ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ then :; else ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ fi ++ # We set ac_cv_exeext here because the later test for it is not ++ # safe: cross compilers may not add the suffix if given an `-o' ++ # argument, so we may need to know it at that point already. ++ # Even if this section looks crufty: it has the advantage of ++ # actually working. ++ break;; ++ * ) ++ break;; ++ esac ++done ++test "$ac_cv_exeext" = no && ac_cv_exeext= ++ ++else ++ ac_file='' ++fi ++if test -z "$ac_file"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error 77 "C compiler cannot create executables ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++$as_echo_n "checking for C compiler default output file name... " >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++$as_echo "$ac_file" >&6; } ++ac_exeext=$ac_cv_exeext ++ ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ++ac_clean_files=$ac_clean_files_save ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++$as_echo_n "checking for suffix of executables... " >&6; } ++if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # If both `conftest.exe' and `conftest' are `present' (well, observable) ++# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ++# work properly (i.e., refer to `conftest.exe'), while it won't with ++# `rm'. ++for ac_file in conftest.exe conftest conftest.*; do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ break;; ++ * ) break;; ++ esac ++done ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest conftest$ac_cv_exeext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++$as_echo "$ac_cv_exeext" >&6; } ++ ++rm -f conftest.$ac_ext ++EXEEXT=$ac_cv_exeext ++ac_exeext=$EXEEXT ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files="$ac_clean_files conftest.out" ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++$as_echo_n "checking whether we are cross compiling... " >&6; } ++if test "$cross_compiling" != yes; then ++ { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++ if { ac_try='./conftest$ac_cv_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ cross_compiling=no ++ else ++ if test "$cross_compiling" = maybe; then ++ cross_compiling=yes ++ else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++$as_echo "$cross_compiling" >&6; } ++ ++rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ++ac_clean_files=$ac_clean_files_save ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++$as_echo_n "checking for suffix of object files... " >&6; } ++if ${ac_cv_objext+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.o conftest.obj ++if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ for ac_file in conftest.o conftest.obj conftest.*; do ++ test -f "$ac_file" || continue; ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ++ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ++ break;; ++ esac ++done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest.$ac_cv_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++$as_echo "$ac_cv_objext" >&6; } ++OBJEXT=$ac_cv_objext ++ac_objext=$OBJEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if ${ac_cv_c_compiler_gnu+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if ${ac_cv_prog_cc_g+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if ${ac_cv_prog_cc_c89+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++DEPDIR="${am__leading_dot}deps" ++ ++ac_config_commands="$ac_config_commands depfiles" ++ ++ ++am_make=${MAKE-make} ++cat > confinc << 'END' ++am__doit: ++ @echo this is the am__doit target ++.PHONY: am__doit ++END ++# If we don't find an include directive, just comment out the code. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 ++$as_echo_n "checking for style of include used by $am_make... " >&6; } ++am__include="#" ++am__quote= ++_am_result=none ++# First try GNU make style include. ++echo "include confinc" > confmf ++# Ignore all kinds of additional output from 'make'. ++case `$am_make -s -f confmf 2> /dev/null` in #( ++*the\ am__doit\ target*) ++ am__include=include ++ am__quote= ++ _am_result=GNU ++ ;; ++esac ++# Now try BSD make style include. ++if test "$am__include" = "#"; then ++ echo '.include "confinc"' > confmf ++ case `$am_make -s -f confmf 2> /dev/null` in #( ++ *the\ am__doit\ target*) ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ ;; ++ esac ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 ++$as_echo "$_am_result" >&6; } ++rm -f confinc confmf ++ ++@%:@ Check whether --enable-dependency-tracking was given. ++if test "${enable_dependency_tracking+set}" = set; then : ++ enableval=$enable_dependency_tracking; ++fi ++ ++if test "x$enable_dependency_tracking" != xno; then ++ am_depcomp="$ac_aux_dir/depcomp" ++ AMDEPBACKSLASH='\' ++ am__nodep='_no' ++fi ++ if test "x$enable_dependency_tracking" != xno; then ++ AMDEP_TRUE= ++ AMDEP_FALSE='#' ++else ++ AMDEP_TRUE='#' ++ AMDEP_FALSE= ++fi ++ ++ ++ ++depcc="$CC" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if ${am_cv_CC_dependencies_compiler_type+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CC_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ am__universal=false ++ case " $depcc " in #( ++ *\ -arch\ *\ -arch\ *) am__universal=true ;; ++ esac ++ ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. ++ am__obj=sub/conftest.${OBJEXT-o} ++ am__minus_obj="-o $am__obj" ++ case $depmode in ++ gcc) ++ # This depmode causes a compiler race in universal mode. ++ test "$am__universal" = false || continue ++ ;; ++ nosideeffect) ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has ++ # not run yet. These depmodes are late enough in the game, and ++ # so weak that their functioning should not be impacted. ++ am__obj=conftest.${OBJEXT-o} ++ am__minus_obj= ++ ;; ++ none) break ;; ++ esac ++ if depmode=$depmode \ ++ source=sub/conftest.c object=$am__obj \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CC_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CC_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } ++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then ++ am__fastdepCC_TRUE= ++ am__fastdepCC_FALSE='#' ++else ++ am__fastdepCC_TRUE='#' ++ am__fastdepCC_FALSE= ++fi ++ ++ ++ ++if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. ++set dummy ${ac_tool_prefix}ranlib; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_RANLIB+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RANLIB"; then ++ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++RANLIB=$ac_cv_prog_RANLIB ++if test -n "$RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++$as_echo "$RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_RANLIB"; then ++ ac_ct_RANLIB=$RANLIB ++ # Extract the first word of "ranlib", so it can be a program name with args. ++set dummy ranlib; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_RANLIB"; then ++ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_RANLIB="ranlib" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ++if test -n "$ac_ct_RANLIB"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++$as_echo "$ac_ct_RANLIB" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_ct_RANLIB" = x; then ++ RANLIB=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ RANLIB=$ac_ct_RANLIB ++ fi ++else ++ RANLIB="$ac_cv_prog_RANLIB" ++fi ++ ++if test "x$CC" != xcc; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 ++$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 ++$as_echo_n "checking whether cc understands -c and -o together... " >&6; } ++fi ++set dummy $CC; ac_cc=`$as_echo "$2" | ++ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++# Make sure it works both with $CC and with simple cc. ++# We do the test twice because some compilers refuse to overwrite an ++# existing .o file with -o, though they will create one. ++ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++rm -f conftest2.* ++if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++then ++ eval ac_cv_prog_cc_${ac_cc}_c_o=yes ++ if test "x$CC" != xcc; then ++ # Test first that cc exists at all. ++ if { ac_try='cc -c conftest.$ac_ext >&5' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' ++ rm -f conftest2.* ++ if { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++ test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; ++ then ++ # cc works too. ++ : ++ else ++ # cc exists but doesn't like -o. ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++ fi ++ fi ++ fi ++else ++ eval ac_cv_prog_cc_${ac_cc}_c_o=no ++fi ++rm -f core conftest* ++ ++fi ++if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h ++ ++fi ++ ++# FIXME: we rely on the cache variable name because ++# there is no other way. ++set dummy $CC ++am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ++eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o ++if test "$am_t" != yes; then ++ # Losing compiler, so override with the script. ++ # FIXME: It is wrong to rewrite CC. ++ # But if we don't then we get into trouble of one sort or another. ++ # A longer-term fix would be to have automake use am__CC in this case, ++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" ++ CC="$am_aux_dir/compile $CC" ++fi ++ ++ ++# Make sure we can run config.sub. ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++$as_echo_n "checking build system type... " >&6; } ++if ${ac_cv_build+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_build_alias=$build_alias ++test "x$ac_build_alias" = x && ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ++test "x$ac_build_alias" = x && ++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++$as_echo "$ac_cv_build" >&6; } ++case $ac_cv_build in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ++esac ++build=$ac_cv_build ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_build ++shift ++build_cpu=$1 ++build_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++build_os=$* ++IFS=$ac_save_IFS ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++$as_echo_n "checking host system type... " >&6; } ++if ${ac_cv_host+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "x$host_alias" = x; then ++ ac_cv_host=$ac_cv_build ++else ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++$as_echo "$ac_cv_host" >&6; } ++case $ac_cv_host in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ++esac ++host=$ac_cv_host ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_host ++shift ++host_cpu=$1 ++host_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++host_os=$* ++IFS=$ac_save_IFS ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++$as_echo_n "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if ${ac_cv_prog_CPP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Double quotes because CPP needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++$as_echo "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@ifdef __STDC__ ++@%:@ include ++@%:@else ++@%:@ include ++@%:@endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++$as_echo_n "checking for grep that handles long lines and -e... " >&6; } ++if ${ac_cv_path_GREP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$GREP"; then ++ ac_path_GREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in grep ggrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_GREP" || continue ++# Check for GNU ac_path_GREP and select it if it is found. ++ # Check for GNU $ac_path_GREP ++case `"$ac_path_GREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'GREP' >> "conftest.nl" ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_GREP="$ac_path_GREP" ++ ac_path_GREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_GREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_GREP"; then ++ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_GREP=$GREP ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++$as_echo "$ac_cv_path_GREP" >&6; } ++ GREP="$ac_cv_path_GREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++$as_echo_n "checking for egrep... " >&6; } ++if ${ac_cv_path_EGREP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in egrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_EGREP" || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++$as_echo "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++$as_echo_n "checking for ANSI C header files... " >&6; } ++if ${ac_cv_header_stdc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdc=yes ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++if test $ac_cv_header_stdc = yes; then ++ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "free" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#if ((' ' & 0x0FF) == 0x020) ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ++#else ++# define ISLOWER(c) \ ++ (('a' <= (c) && (c) <= 'i') \ ++ || ('j' <= (c) && (c) <= 'r') \ ++ || ('s' <= (c) && (c) <= 'z')) ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ++#endif ++ ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ++int ++main () ++{ ++ int i; ++ for (i = 0; i < 256; i++) ++ if (XOR (islower (i), ISLOWER (i)) ++ || toupper (i) != TOUPPER (i)) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_header_stdc=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 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++$as_echo "$ac_cv_header_stdc" >&6; } ++if test $ac_cv_header_stdc = yes; then ++ ++$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ ++# On IRIX 5.3, sys/types and inttypes.h are conflicting. ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ++ inttypes.h stdint.h unistd.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++ ++ ++ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" ++if test "x$ac_cv_header_minix_config_h" = xyes; then : ++ MINIX=yes ++else ++ MINIX= ++fi ++ ++ ++ if test "$MINIX" = yes; then ++ ++$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h ++ ++ ++$as_echo "@%:@define _MINIX 1" >>confdefs.h ++ ++ fi ++ ++ case "$host_os" in ++ hpux*) ++ ++$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 ++$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } ++if ${ac_cv_safe_to_define___extensions__+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# define __EXTENSIONS__ 1 ++ $ac_includes_default ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_safe_to_define___extensions__=yes ++else ++ ac_cv_safe_to_define___extensions__=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 ++$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } ++ test $ac_cv_safe_to_define___extensions__ = yes && ++ $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h ++ ++ $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h ++ ++ $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h ++ ++ $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } ++if ${ac_cv_sys_largefile_source+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGEFILE_SOURCE 1 ++#include /* for off_t */ ++ #include ++int ++main () ++{ ++int (*fp) (FILE *, off_t, int) = fseeko; ++ return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_sys_largefile_source=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_cv_sys_largefile_source=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 ++$as_echo "$ac_cv_sys_largefile_source" >&6; } ++case $ac_cv_sys_largefile_source in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ ++# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug ++# in glibc 2.1.3, but that breaks too many other things. ++# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. ++if test $ac_cv_sys_largefile_source != unknown; then ++ ++$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ # IEEE behaviour is the default on all CPUs except Alpha and SH ++ # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 ++ # and the GCC 4.1.2 manual). ++ case "$host_cpu" in ++ alpha*) ++ # On Alpha systems, a compiler option provides the behaviour. ++ # See the ieee(3) manual page, also available at ++ # ++ if test -n "$GCC"; then ++ # GCC has the option -mieee. ++ CPPFLAGS="$CPPFLAGS -mieee" ++ else ++ # Compaq (ex-DEC) C has the option -ieee. ++ CPPFLAGS="$CPPFLAGS -ieee" ++ fi ++ ;; ++ sh*) ++ if test -n "$GCC"; then ++ # GCC has the option -mieee. ++ CPPFLAGS="$CPPFLAGS -mieee" ++ fi ++ ;; ++ esac ++ ++ case $ac_cv_prog_cc_stdc in @%:@( ++ no) : ++ ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@( ++ *) : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 ++$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } ++if ${ac_cv_prog_cc_c99+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c99=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++#include ++ ++// Check varargs macros. These examples are taken from C99 6.10.3.5. ++#define debug(...) fprintf (stderr, __VA_ARGS__) ++#define showlist(...) puts (#__VA_ARGS__) ++#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) ++static void ++test_varargs_macros (void) ++{ ++ int x = 1234; ++ int y = 5678; ++ debug ("Flag"); ++ debug ("X = %d\n", x); ++ showlist (The first, second, and third items.); ++ report (x>y, "x is %d but y is %d", x, y); ++} ++ ++// Check long long types. ++#define BIG64 18446744073709551615ull ++#define BIG32 4294967295ul ++#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) ++#if !BIG_OK ++ your preprocessor is broken; ++#endif ++#if BIG_OK ++#else ++ your preprocessor is broken; ++#endif ++static long long int bignum = -9223372036854775807LL; ++static unsigned long long int ubignum = BIG64; ++ ++struct incomplete_array ++{ ++ int datasize; ++ double data[]; ++}; ++ ++struct named_init { ++ int number; ++ const wchar_t *name; ++ double average; ++}; ++ ++typedef const char *ccp; ++ ++static inline int ++test_restrict (ccp restrict text) ++{ ++ // See if C++-style comments work. ++ // Iterate through items via the restricted pointer. ++ // Also check for declarations in for loops. ++ for (unsigned int i = 0; *(text+i) != '\0'; ++i) ++ continue; ++ return 0; ++} ++ ++// Check varargs and va_copy. ++static void ++test_varargs (const char *format, ...) ++{ ++ va_list args; ++ va_start (args, format); ++ va_list args_copy; ++ va_copy (args_copy, args); ++ ++ const char *str; ++ int number; ++ float fnumber; ++ ++ while (*format) ++ { ++ switch (*format++) ++ { ++ case 's': // string ++ str = va_arg (args_copy, const char *); ++ break; ++ case 'd': // int ++ number = va_arg (args_copy, int); ++ break; ++ case 'f': // float ++ fnumber = va_arg (args_copy, double); ++ break; ++ default: ++ break; ++ } ++ } ++ va_end (args_copy); ++ va_end (args); ++} ++ ++int ++main () ++{ ++ ++ // Check bool. ++ _Bool success = false; ++ ++ // Check restrict. ++ if (test_restrict ("String literal") == 0) ++ success = true; ++ char *restrict newvar = "Another string"; ++ ++ // Check varargs. ++ test_varargs ("s, d' f .", "string", 65, 34.234); ++ test_varargs_macros (); ++ ++ // Check flexible array members. ++ struct incomplete_array *ia = ++ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ++ ia->datasize = 10; ++ for (int i = 0; i < ia->datasize; ++i) ++ ia->data[i] = i * 1.234; ++ ++ // Check named initializers. ++ struct named_init ni = { ++ .number = 34, ++ .name = L"Test wide string", ++ .average = 543.34343, ++ }; ++ ++ ni.number = 58; ++ ++ int dynamic_array[ni.number]; ++ dynamic_array[ni.number - 1] = 543; ++ ++ // work around unused variable warnings ++ return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ++ || dynamic_array[ni.number - 1] != 543); ++ ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c99=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c99" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c99" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c99" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 ++$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c99" != xno; then : ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if ${ac_cv_prog_cc_c89+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ++else ++ ac_cv_prog_cc_stdc=no ++fi ++ ++fi ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 ++$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } ++ if ${ac_cv_prog_cc_stdc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++fi ++ ++ case $ac_cv_prog_cc_stdc in @%:@( ++ no) : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; @%:@( ++ '') : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; @%:@( ++ *) : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 ++$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; ++esac ++ ++ ++ ++ ++ ++ ++ @%:@ Check whether --enable-threads was given. ++if test "${enable_threads+set}" = set; then : ++ enableval=$enable_threads; gl_use_threads=$enableval ++else ++ if test -n "$gl_use_threads_default"; then ++ gl_use_threads="$gl_use_threads_default" ++ else ++ case "$host_os" in ++ osf*) gl_use_threads=no ;; ++ cygwin*) ++ case `uname -r` in ++ 1.[0-5].*) gl_use_threads=no ;; ++ *) gl_use_threads=yes ;; ++ esac ++ ;; ++ *) gl_use_threads=yes ;; ++ esac ++ fi ++ ++fi ++ ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then ++ # For using : ++ case "$host_os" in ++ osf*) ++ # On OSF/1, the compiler needs the flag -D_REENTRANT so that it ++ # groks . cc also understands the flag -pthread, but ++ # we don't use it because 1. gcc-2.95 doesn't understand -pthread, ++ # 2. putting a flag into CPPFLAGS that has an effect on the linker ++ # causes the AC_LINK_IFELSE test below to succeed unexpectedly, ++ # leading to wrong values of LIBTHREAD and LTLIBTHREAD. ++ CPPFLAGS="$CPPFLAGS -D_REENTRANT" ++ ;; ++ esac ++ # Some systems optimize for single-threaded programs by default, and ++ # need special flags to disable these optimizations. For example, the ++ # definition of 'errno' in . ++ case "$host_os" in ++ aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; ++ solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; ++ esac ++ fi ++ ++ ++ ++ ++ # Code from module alloca-opt: ++ # Code from module alloca-opt-tests: ++ # Code from module announce-gen: ++ # Code from module ansi-c++-opt: ++ # Code from module arg-nonnull: ++ # Code from module array-list: ++ # Code from module array-list-tests: ++ # Code from module array-oset: ++ # Code from module array-oset-tests: ++ # Code from module assert: ++ # Code from module autobuild: ++ ++ ++ ++ ++ if test -z "$AB_PACKAGE"; then ++ AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5 ++$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;} ++ ++ if test -z "$AB_VERSION"; then ++ AB_VERSION=${PACKAGE_VERSION:-$VERSION} ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5 ++$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;} ++ ++ hostname=`hostname` ++ if test "$hostname"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5 ++$as_echo "$as_me: autobuild hostname... $hostname" >&6;} ++ fi ++ ++ ++ ++ date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ` ++ if test "$?" != 0; then ++ date=`date` ++ fi ++ if test "$date"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5 ++$as_echo "$as_me: autobuild timestamp... $date" >&6;} ++ fi ++ ++ # Code from module avltree-oset: ++ # Code from module avltree-oset-tests: ++ # Code from module binary-io: ++ # Code from module binary-io-tests: ++ # Code from module btowc: ++ # Code from module btowc-tests: ++ # Code from module c++defs: ++ # Code from module c-ctype: ++ # Code from module c-ctype-tests: ++ # Code from module c-stack: ++ # Code from module c-stack-tests: ++ # Code from module c-strcase: ++ # Code from module c-strcase-tests: ++ # Code from module canonicalize-lgpl: ++ # Code from module canonicalize-lgpl-tests: ++ # Code from module clean-temp: ++ # Code from module cloexec: ++ # Code from module cloexec-tests: ++ # Code from module close: ++ # Code from module close-hook: ++ # Code from module close-stream: ++ # Code from module closein: ++ # Code from module closein-tests: ++ # Code from module closeout: ++ # Code from module config-h: ++ # Code from module configmake: ++ # Code from module dirname: ++ # Code from module dirname-lgpl: ++ # Code from module dirname-tests: ++ # Code from module dosname: ++ # Code from module double-slash-root: ++ # Code from module dup2: ++ # Code from module dup2-tests: ++ # Code from module environ: ++ # Code from module environ-tests: ++ # Code from module errno: ++ # Code from module errno-tests: ++ # Code from module error: ++ # Code from module execute: ++ # Code from module exitfail: ++ # Code from module extensions: ++ ++ # Code from module fatal-signal: ++ # Code from module fclose: ++ # Code from module fcntl: ++ # Code from module fcntl-h: ++ # Code from module fcntl-h-c++-tests: ++ # Code from module fcntl-h-tests: ++ # Code from module fcntl-tests: ++ # Code from module fd-safer-flag: ++ # Code from module fdl-1.3: ++ # Code from module fflush: ++ ++ # Code from module fflush-tests: ++ # Code from module filenamecat: ++ # Code from module filenamecat-lgpl: ++ # Code from module filenamecat-tests: ++ # Code from module float: ++ # Code from module fopen: ++ # Code from module fopen-safer: ++ # Code from module fopen-safer-tests: ++ # Code from module fopen-tests: ++ # Code from module fpending: ++ # Code from module fpending-tests: ++ # Code from module fpieee: ++ ++ # Code from module fpucw: ++ # Code from module fpurge: ++ # Code from module fpurge-tests: ++ # Code from module freadahead: ++ # Code from module freadahead-tests: ++ # Code from module freading: ++ # Code from module freading-tests: ++ # Code from module frexp-nolibm: ++ # Code from module frexp-nolibm-tests: ++ # Code from module frexpl-nolibm: ++ # Code from module frexpl-nolibm-tests: ++ # Code from module fseeko: ++ ++ # Code from module fseeko-tests: ++ # Code from module ftell: ++ # Code from module ftell-tests: ++ # Code from module ftello: ++ ++ # Code from module ftello-tests: ++ # Code from module gendocs: ++ # Code from module getdtablesize: ++ # Code from module getdtablesize-tests: ++ # Code from module getopt-gnu: ++ # Code from module getopt-posix: ++ # Code from module getopt-posix-tests: ++ # Code from module getpagesize: ++ # Code from module gettext-h: ++ # Code from module gettimeofday: ++ # Code from module gettimeofday-tests: ++ # Code from module git-version-gen: ++ # Code from module gnu-web-doc-update: ++ # Code from module gnumakefile: ++ # Code from module gnupload: ++ # Code from module gpl-3.0: ++ # Code from module havelib: ++ # Code from module ignore-value: ++ # Code from module ignore-value-tests: ++ # Code from module include_next: ++ # Code from module inline: ++ # Code from module intprops: ++ # Code from module isnand-nolibm: ++ # Code from module isnand-nolibm-tests: ++ # Code from module isnanf-nolibm: ++ # Code from module isnanf-nolibm-tests: ++ # Code from module isnanl-nolibm: ++ # Code from module isnanl-nolibm-tests: ++ # Code from module langinfo: ++ # Code from module langinfo-c++-tests: ++ # Code from module langinfo-tests: ++ # Code from module libsigsegv: ++ # Code from module link: ++ # Code from module link-tests: ++ # Code from module linkedhash-list: ++ # Code from module linkedhash-list-tests: ++ # Code from module list: ++ # Code from module localcharset: ++ # Code from module locale: ++ # Code from module locale-c++-tests: ++ # Code from module locale-tests: ++ # Code from module localename: ++ # Code from module localename-tests: ++ # Code from module lock: ++ # Code from module lseek: ++ # Code from module lseek-tests: ++ # Code from module lstat: ++ # Code from module lstat-tests: ++ # Code from module maintainer-makefile: ++ # Code from module malloc-gnu: ++ # Code from module malloc-gnu-tests: ++ # Code from module malloc-posix: ++ # Code from module malloca: ++ # Code from module malloca-tests: ++ # Code from module manywarnings: ++ # Code from module math: ++ # Code from module math-c++-tests: ++ # Code from module math-tests: ++ # Code from module mbrtowc: ++ # Code from module mbrtowc-tests: ++ # Code from module mbsinit: ++ # Code from module mbsinit-tests: ++ # Code from module mbtowc: ++ # Code from module memchr: ++ # Code from module memchr-tests: ++ # Code from module memchr2: ++ # Code from module memchr2-tests: ++ # Code from module mkdtemp: ++ # Code from module mkstemp: ++ # Code from module multiarch: ++ # Code from module nl_langinfo: ++ # Code from module nl_langinfo-tests: ++ # Code from module nocrash: ++ # Code from module obstack: ++ # Code from module open: ++ # Code from module open-tests: ++ # Code from module oset: ++ # Code from module pathmax: ++ # Code from module pipe2: ++ # Code from module pipe2-safer: ++ # Code from module pipe2-tests: ++ # Code from module posix_spawn-internal: ++ # Code from module posix_spawn_file_actions_addclose: ++ # Code from module posix_spawn_file_actions_adddup2: ++ # Code from module posix_spawn_file_actions_addopen: ++ # Code from module posix_spawn_file_actions_destroy: ++ # Code from module posix_spawn_file_actions_init: ++ # Code from module posix_spawnattr_destroy: ++ # Code from module posix_spawnattr_init: ++ # Code from module posix_spawnattr_setflags: ++ # Code from module posix_spawnattr_setsigmask: ++ # Code from module posix_spawnp: ++ # Code from module posix_spawnp-tests: ++ # Code from module printf-frexp: ++ # Code from module printf-frexp-tests: ++ # Code from module printf-frexpl: ++ # Code from module printf-frexpl-tests: ++ # Code from module printf-safe: ++ # Code from module progname: ++ # Code from module putenv: ++ # Code from module quotearg: ++ # Code from module quotearg-simple: ++ # Code from module quotearg-simple-tests: ++ # Code from module rawmemchr: ++ # Code from module rawmemchr-tests: ++ # Code from module readlink: ++ # Code from module readlink-tests: ++ # Code from module regex: ++ # Code from module rename: ++ # Code from module rename-tests: ++ # Code from module rmdir: ++ # Code from module rmdir-tests: ++ # Code from module same-inode: ++ # Code from module sched: ++ # Code from module sched-tests: ++ # Code from module setenv: ++ # Code from module setenv-tests: ++ # Code from module setlocale: ++ # Code from module setlocale-tests: ++ # Code from module sigaction: ++ # Code from module sigaction-tests: ++ # Code from module signal: ++ # Code from module signal-c++-tests: ++ # Code from module signal-tests: ++ # Code from module signbit: ++ # Code from module signbit-tests: ++ # Code from module sigprocmask: ++ # Code from module size_max: ++ # Code from module snprintf: ++ # Code from module snprintf-tests: ++ # Code from module spawn: ++ # Code from module spawn-c++-tests: ++ # Code from module spawn-pipe: ++ # Code from module spawn-pipe-tests: ++ # Code from module spawn-tests: ++ # Code from module ssize_t: ++ # Code from module stat: ++ # Code from module stat-tests: ++ # Code from module stdarg: ++ ++ # Code from module stdbool: ++ # Code from module stdbool-tests: ++ # Code from module stddef: ++ # Code from module stddef-tests: ++ # Code from module stdint: ++ # Code from module stdint-tests: ++ # Code from module stdio: ++ # Code from module stdio-c++-tests: ++ # Code from module stdio-tests: ++ # Code from module stdlib: ++ # Code from module stdlib-c++-tests: ++ # Code from module stdlib-safer: ++ # Code from module stdlib-tests: ++ # Code from module strchrnul: ++ # Code from module strchrnul-tests: ++ # Code from module strdup-posix: ++ # Code from module streq: ++ # Code from module strerror: ++ # Code from module strerror-tests: ++ # Code from module string: ++ # Code from module string-c++-tests: ++ # Code from module string-tests: ++ # Code from module strndup: ++ # Code from module strnlen: ++ # Code from module strnlen-tests: ++ # Code from module strsignal: ++ # Code from module strsignal-tests: ++ # Code from module strstr: ++ # Code from module strstr-simple: ++ # Code from module strstr-tests: ++ # Code from module strtod: ++ # Code from module strtod-tests: ++ # Code from module strtol: ++ # Code from module symlink: ++ # Code from module symlink-tests: ++ # Code from module sys_stat: ++ # Code from module sys_stat-c++-tests: ++ # Code from module sys_stat-tests: ++ # Code from module sys_time: ++ # Code from module sys_time-c++-tests: ++ # Code from module sys_time-tests: ++ # Code from module sys_wait: ++ # Code from module sys_wait-c++-tests: ++ # Code from module sys_wait-tests: ++ # Code from module tempname: ++ # Code from module threadlib: ++ ++ ++ ++ # Code from module time: ++ # Code from module time-c++-tests: ++ # Code from module time-tests: ++ # Code from module tls: ++ # Code from module tmpdir: ++ # Code from module unistd: ++ # Code from module unistd-c++-tests: ++ # Code from module unistd-safer: ++ # Code from module unistd-safer-tests: ++ # Code from module unistd-tests: ++ # Code from module unlocked-io: ++ # Code from module unsetenv: ++ # Code from module unsetenv-tests: ++ # Code from module update-copyright: ++ # Code from module update-copyright-tests: ++ # Code from module useless-if-before-free: ++ # Code from module vasnprintf: ++ # Code from module vasnprintf-tests: ++ # Code from module vasprintf: ++ # Code from module vasprintf-posix: ++ # Code from module vasprintf-posix-tests: ++ # Code from module vasprintf-tests: ++ # Code from module vc-list-files: ++ # Code from module vc-list-files-tests: ++ # Code from module verify: ++ # Code from module verify-tests: ++ # Code from module verror: ++ # Code from module version-etc: ++ # Code from module version-etc-fsf: ++ # Code from module version-etc-tests: ++ # Code from module wait-process: ++ # Code from module waitpid: ++ # Code from module warn-on-use: ++ # Code from module warnings: ++ # Code from module wchar: ++ # Code from module wchar-c++-tests: ++ # Code from module wchar-tests: ++ # Code from module wcrtomb: ++ # Code from module wcrtomb-tests: ++ # Code from module wctob: ++ # Code from module wctomb: ++ # Code from module wctype-h: ++ # Code from module wctype-h-c++-tests: ++ # Code from module wctype-h-tests: ++ # Code from module xalloc: ++ # Code from module xalloc-die: ++ # Code from module xalloc-die-tests: ++ # Code from module xlist: ++ # Code from module xmalloca: ++ # Code from module xoset: ++ # Code from module xprintf: ++ # Code from module xsize: ++ # Code from module xstrndup: ++ # Code from module xvasprintf: ++ # Code from module xvasprintf-posix: ++ # Code from module xvasprintf-tests: ++ ++ ++# Maintainer note - comment this line out if you plan to rerun ++# GNULIB_POSIXCHECK testing to see if M4 should be using more modules. ++# Leave it uncommented for normal releases, for faster ./configure. ++ ++ ++ ++ ++# M4 is single-threaded; so we can optimize gnulib code by using this: ++ ++ ++ ++ ++@%:@ Check whether --enable-gcc-warnings was given. ++if test "${enable_gcc_warnings+set}" = set; then : ++ enableval=$enable_gcc_warnings; case $enableval in ++ yes|no) ;; ++ *) as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;; ++ esac ++ gl_gcc_warnings=$enableval ++else ++ gl_gcc_warnings=no ++ ++fi ++ ++ ++if test "$gl_gcc_warnings" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5 ++$as_echo_n "checking whether compiler handles -Werror... " >&6; } ++if ${gl_cv_warn__Werror+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} -Werror" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ gl_cv_warn__Werror=yes ++else ++ gl_cv_warn__Werror=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5 ++$as_echo "$gl_cv_warn__Werror" >&6; } ++if test "x$gl_cv_warn__Werror" = xyes; then : ++ as_fn_append WERROR_CFLAGS " -Werror" ++fi ++ ++ ++ ++ nw= ++ nw="$nw -Waggregate-return" # C90 is anachronistic ++ nw="$nw -Wlong-long" # C90 is anachronistic ++ nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib ++ nw="$nw -Wtraditional" # Warns on #elif which we use often ++ nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings ++ nw="$nw -Wpadded" # Our structs are not packed ++ nw="$nw -Wredundant-decls" # Gnulib has multiple decls ++ nw="$nw -Wformat-nonliteral" # Needed in builtin.c ++ nw="$nw -Wunreachable-code" # Needed in output.c ++ nw="$nw -Wconversion" # Too many warnings for now ++ nw="$nw -Wsign-conversion" # Too many warnings for now ++ nw="$nw -Wtraditional-conversion" # Too many warnings for now ++ nw="$nw -Wcast-qual" # Too many warnings for now ++ nw="$nw -Wswitch-enum" # Too many warnings for now ++ # This, $nw, is the list of warnings we disable. ++ ++ ++ gl_manywarn_set= ++ for gl_manywarn_item in \ ++ -Wall \ ++ -W \ ++ -Wformat-y2k \ ++ -Wformat-nonliteral \ ++ -Wformat-security \ ++ -Winit-self \ ++ -Wmissing-include-dirs \ ++ -Wswitch-default \ ++ -Wswitch-enum \ ++ -Wunused \ ++ -Wunknown-pragmas \ ++ -Wstrict-aliasing \ ++ -Wstrict-overflow \ ++ -Wsystem-headers \ ++ -Wfloat-equal \ ++ -Wtraditional \ ++ -Wtraditional-conversion \ ++ -Wdeclaration-after-statement \ ++ -Wundef \ ++ -Wshadow \ ++ -Wunsafe-loop-optimizations \ ++ -Wpointer-arith \ ++ -Wbad-function-cast \ ++ -Wc++-compat \ ++ -Wcast-qual \ ++ -Wcast-align \ ++ -Wwrite-strings \ ++ -Wconversion \ ++ -Wsign-conversion \ ++ -Wlogical-op \ ++ -Waggregate-return \ ++ -Wstrict-prototypes \ ++ -Wold-style-definition \ ++ -Wmissing-prototypes \ ++ -Wmissing-declarations \ ++ -Wmissing-noreturn \ ++ -Wmissing-format-attribute \ ++ -Wpacked \ ++ -Wpadded \ ++ -Wredundant-decls \ ++ -Wnested-externs \ ++ -Wunreachable-code \ ++ -Winline \ ++ -Winvalid-pch \ ++ -Wlong-long \ ++ -Wvla \ ++ -Wvolatile-register-var \ ++ -Wdisabled-optimization \ ++ -Wstack-protector \ ++ -Woverlength-strings \ ++ -Wbuiltin-macro-redefined \ ++ -Wmudflap \ ++ -Wpacked-bitfield-compat \ ++ -Wsync-nand \ ++ ; do ++ gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" ++ done ++ # The following are not documented in the manual but are included in ++ # output from gcc --help=warnings. ++ for gl_manywarn_item in \ ++ -Wattributes \ ++ -Wcoverage-mismatch \ ++ -Wmultichar \ ++ -Wunused-macros \ ++ ; do ++ gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" ++ done ++ ws=$gl_manywarn_set ++ ++ ++ gl_warn_set= ++ set x $ws; shift ++ for gl_warn_item ++ do ++ case " $nw " in ++ *" $gl_warn_item "*) ++ ;; ++ *) ++ gl_warn_set="$gl_warn_set $gl_warn_item" ++ ;; ++ esac ++ done ++ ws=$gl_warn_set ++ ++ for w in $ws; do ++ as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh` ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5 ++$as_echo_n "checking whether compiler handles $w... " >&6; } ++if eval \${$as_gl_Warn+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} $w" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ eval "$as_gl_Warn=yes" ++else ++ eval "$as_gl_Warn=no" ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++eval ac_res=\$$as_gl_Warn ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : ++ as_fn_append WARN_CFLAGS " $w" ++fi ++ ++ done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5 ++$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; } ++if ${gl_cv_warn__fdiagnostics_show_option+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ gl_cv_warn__fdiagnostics_show_option=yes ++else ++ gl_cv_warn__fdiagnostics_show_option=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5 ++$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; } ++if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then : ++ as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5 ++$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; } ++if ${gl_cv_warn__funit_at_a_time+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} -funit-at-a-time" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ gl_cv_warn__funit_at_a_time=yes ++else ++ gl_cv_warn__funit_at_a_time=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ CPPFLAGS="$save_CPPFLAGS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5 ++$as_echo "$gl_cv_warn__funit_at_a_time" >&6; } ++if test "x$gl_cv_warn__funit_at_a_time" = xyes; then : ++ as_fn_append WARN_CFLAGS " -funit-at-a-time" ++fi ++ ++ ++ ++ ++ ++$as_echo "@%:@define _FORTIFY_SOURCE 2" >>confdefs.h ++ ++fi ++ ++# Tandem/NSK is broken - it has 'long long int' but not ++# 'unsigned long long int', which confuses assumptions made by gnulib. ++# Simply pretend that neither type exists if both do not work. ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if ${ac_cv_type_unsigned_long_long_int+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_unsigned_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 ++$as_echo_n "checking for long long int... " >&6; } ++if ${ac_cv_type_long_long_int+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int ++ if test $ac_cv_type_long_long_int = yes; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ @%:@ifndef LLONG_MAX ++ @%:@ define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ @%:@ define LLONG_MAX (HALF - 1 + HALF) ++ @%:@endif ++int ++main () ++{ ++long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_type_long_long_int=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 ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 ++$as_echo "$ac_cv_type_long_long_int" >&6; } ++ if test $ac_cv_type_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 ++$as_echo_n "checking for unsigned long long int... " >&6; } ++if ${ac_cv_type_unsigned_long_long_int+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_unsigned_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63; ++int ++main () ++{ ++/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull)); ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ ac_cv_type_unsigned_long_long_int=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 ++$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ ++$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h ++ ++ fi ++ ++if test $ac_cv_type_long_long_int:$ac_cv_type_unsigned_long_long_int = yes:no ++then ++ ac_cv_type_long_long_int=no ++ ++$as_echo "@%:@define HAVE_LONG_LONG_INT 0" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ LIBC_FATAL_STDERR_=1 ++ export LIBC_FATAL_STDERR_ ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define size_t unsigned int ++_ACEOF ++ ++fi ++ ++# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works ++# for constant arguments. Useless! ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 ++$as_echo_n "checking for working alloca.h... " >&6; } ++if ${ac_cv_working_alloca_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++char *p = (char *) alloca (2 * sizeof (int)); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_working_alloca_h=yes ++else ++ ac_cv_working_alloca_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 ++$as_echo "$ac_cv_working_alloca_h" >&6; } ++if test $ac_cv_working_alloca_h = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 ++$as_echo_n "checking for alloca... " >&6; } ++if ${ac_cv_func_alloca_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __GNUC__ ++# define alloca __builtin_alloca ++#else ++# ifdef _MSC_VER ++# include ++# define alloca _alloca ++# else ++# ifdef HAVE_ALLOCA_H ++# include ++# else ++# ifdef _AIX ++ #pragma alloca ++# else ++# ifndef alloca /* predefined by HP cc +Olibcalls */ ++void *alloca (size_t); ++# endif ++# endif ++# endif ++# endif ++#endif ++ ++int ++main () ++{ ++char *p = (char *) alloca (1); ++ if (p) return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_alloca_works=yes ++else ++ ac_cv_func_alloca_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 ++$as_echo "$ac_cv_func_alloca_works" >&6; } ++ ++if test $ac_cv_func_alloca_works = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++else ++ # The SVR3 libPW and SVR4 libucb both contain incompatible functions ++# that cause trouble. Some versions do not even contain alloca or ++# contain a buggy version. If you still want to use their alloca, ++# use ar to extract alloca.o from them instead of compiling alloca.c. ++ ++ ++ ++ ++ ++ALLOCA=\${LIBOBJDIR}alloca.$ac_objext ++ ++$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 ++$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } ++if ${ac_cv_os_cray+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined CRAY && ! defined CRAY2 ++webecray ++#else ++wenotbecray ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "webecray" >/dev/null 2>&1; then : ++ ac_cv_os_cray=yes ++else ++ ac_cv_os_cray=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 ++$as_echo "$ac_cv_os_cray" >&6; } ++if test $ac_cv_os_cray = yes; then ++ for ac_func in _getb67 GETB67 getb67; do ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define CRAY_STACKSEG_END $ac_func ++_ACEOF ++ ++ break ++fi ++ ++ done ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 ++$as_echo_n "checking stack direction for C alloca... " >&6; } ++if ${ac_cv_c_stack_direction+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_c_stack_direction=0 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++find_stack_direction (int *addr, int depth) ++{ ++ int dir, dummy = 0; ++ if (! addr) ++ addr = &dummy; ++ *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; ++ dir = depth ? find_stack_direction (addr, depth - 1) : 0; ++ return dir + dummy; ++} ++ ++int ++main (int argc, char **argv) ++{ ++ return find_stack_direction (0, argc + !argv + 20) < 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_stack_direction=1 ++else ++ ac_cv_c_stack_direction=-1 ++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: $ac_cv_c_stack_direction" >&5 ++$as_echo "$ac_cv_c_stack_direction" >&6; } ++cat >>confdefs.h <<_ACEOF ++@%:@define STACK_DIRECTION $ac_cv_c_stack_direction ++_ACEOF ++ ++ ++fi ++ ++ ++ GNULIB_BTOWC=0; ++ GNULIB_WCTOB=0; ++ GNULIB_MBSINIT=0; ++ GNULIB_MBRTOWC=0; ++ GNULIB_MBRLEN=0; ++ GNULIB_MBSRTOWCS=0; ++ GNULIB_MBSNRTOWCS=0; ++ GNULIB_WCRTOMB=0; ++ GNULIB_WCSRTOMBS=0; ++ GNULIB_WCSNRTOMBS=0; ++ GNULIB_WCWIDTH=0; ++ GNULIB_WMEMCHR=0; ++ GNULIB_WMEMCMP=0; ++ GNULIB_WMEMCPY=0; ++ GNULIB_WMEMMOVE=0; ++ GNULIB_WMEMSET=0; ++ GNULIB_WCSLEN=0; ++ GNULIB_WCSNLEN=0; ++ GNULIB_WCSCPY=0; ++ GNULIB_WCPCPY=0; ++ GNULIB_WCSNCPY=0; ++ GNULIB_WCPNCPY=0; ++ GNULIB_WCSCAT=0; ++ GNULIB_WCSNCAT=0; ++ GNULIB_WCSCMP=0; ++ GNULIB_WCSNCMP=0; ++ GNULIB_WCSCASECMP=0; ++ GNULIB_WCSNCASECMP=0; ++ GNULIB_WCSCOLL=0; ++ GNULIB_WCSXFRM=0; ++ GNULIB_WCSDUP=0; ++ GNULIB_WCSCHR=0; ++ GNULIB_WCSRCHR=0; ++ GNULIB_WCSCSPN=0; ++ GNULIB_WCSSPN=0; ++ GNULIB_WCSPBRK=0; ++ GNULIB_WCSSTR=0; ++ GNULIB_WCSTOK=0; ++ GNULIB_WCSWIDTH=0; ++ HAVE_BTOWC=1; ++ HAVE_MBSINIT=1; ++ HAVE_MBRTOWC=1; ++ HAVE_MBRLEN=1; ++ HAVE_MBSRTOWCS=1; ++ HAVE_MBSNRTOWCS=1; ++ HAVE_WCRTOMB=1; ++ HAVE_WCSRTOMBS=1; ++ HAVE_WCSNRTOMBS=1; ++ HAVE_WMEMCHR=1; ++ HAVE_WMEMCMP=1; ++ HAVE_WMEMCPY=1; ++ HAVE_WMEMMOVE=1; ++ HAVE_WMEMSET=1; ++ HAVE_WCSLEN=1; ++ HAVE_WCSNLEN=1; ++ HAVE_WCSCPY=1; ++ HAVE_WCPCPY=1; ++ HAVE_WCSNCPY=1; ++ HAVE_WCPNCPY=1; ++ HAVE_WCSCAT=1; ++ HAVE_WCSNCAT=1; ++ HAVE_WCSCMP=1; ++ HAVE_WCSNCMP=1; ++ HAVE_WCSCASECMP=1; ++ HAVE_WCSNCASECMP=1; ++ HAVE_WCSCOLL=1; ++ HAVE_WCSXFRM=1; ++ HAVE_WCSDUP=1; ++ HAVE_WCSCHR=1; ++ HAVE_WCSRCHR=1; ++ HAVE_WCSCSPN=1; ++ HAVE_WCSSPN=1; ++ HAVE_WCSPBRK=1; ++ HAVE_WCSSTR=1; ++ HAVE_WCSTOK=1; ++ HAVE_WCSWIDTH=1; ++ HAVE_DECL_WCTOB=1; ++ HAVE_DECL_WCWIDTH=1; ++ REPLACE_MBSTATE_T=0; ++ REPLACE_BTOWC=0; ++ REPLACE_WCTOB=0; ++ REPLACE_MBSINIT=0; ++ REPLACE_MBRTOWC=0; ++ REPLACE_MBRLEN=0; ++ REPLACE_MBSRTOWCS=0; ++ REPLACE_MBSNRTOWCS=0; ++ REPLACE_WCRTOMB=0; ++ REPLACE_WCSRTOMBS=0; ++ REPLACE_WCSNRTOMBS=0; ++ REPLACE_WCWIDTH=0; ++ REPLACE_WCSWIDTH=0; ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 ++$as_echo_n "checking whether uses 'inline' correctly... " >&6; } ++if ${gl_cv_header_wchar_h_correct_inline+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_header_wchar_h_correct_inline=yes ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #define wcstod renamed_wcstod ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++extern int zero (void); ++int main () { return zero(); } ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ mv conftest.$ac_objext conftest1.$ac_objext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #define wcstod renamed_wcstod ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int zero (void) { return 0; } ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ mv conftest.$ac_objext conftest2.$ac_objext ++ if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then ++ : ++ else ++ gl_cv_header_wchar_h_correct_inline=no ++ fi ++ fi ++ fi ++ rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 ++$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } ++ if test $gl_cv_header_wchar_h_correct_inline = no; then ++ as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). ++This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in ++C99 mode. You have four options: ++ - Add the flag -fgnu89-inline to CC and reconfigure, or ++ - Fix your include files, using parts of ++ , or ++ - Use a gcc version older than 4.3, or ++ - Don't use the flags -std=c99 or -std=gnu99. ++Configuration aborted." "$LINENO" 5 ++ fi ++ ++ ++ ++ ++ for ac_func in $ac_func_list ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 ++$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } ++if ${am_cv_langinfo_codeset+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++char* cs = nl_langinfo(CODESET); return !cs; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ am_cv_langinfo_codeset=yes ++else ++ am_cv_langinfo_codeset=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 ++$as_echo "$am_cv_langinfo_codeset" >&6; } ++ if test $am_cv_langinfo_codeset = yes; then ++ ++$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ ++ ++ ++ for ac_header in $ac_header_list ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ++# for STACK_DIRECTION ++ ++ ++ ++ ++ ++ case "$host_os" in ++ sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems ++ FAULT_YIELDS_SIGBUS=1 ;; ++ hpux*) # HP-UX ++ FAULT_YIELDS_SIGBUS=1 ;; ++ macos* | darwin*) # MacOS X ++ FAULT_YIELDS_SIGBUS=1 ;; ++ gnu*) # Hurd ++ FAULT_YIELDS_SIGBUS=1 ;; ++ *) ++ FAULT_YIELDS_SIGBUS=0 ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FAULT_YIELDS_SIGBUS $FAULT_YIELDS_SIGBUS ++_ACEOF ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C stack overflow detection" >&5 ++$as_echo_n "checking for working C stack overflow detection... " >&6; } ++if ${ac_cv_sys_stack_overflow_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_sys_stack_overflow_works=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #if HAVE_SETRLIMIT ++ # include ++ # include ++ # include ++ #endif ++ #ifndef SIGSTKSZ ++ # define SIGSTKSZ 16384 ++ #endif ++ ++ static union ++ { ++ char buffer[2 * SIGSTKSZ]; ++ long double ld; ++ long u; ++ void *p; ++ } alternate_signal_stack; ++ ++ static void ++ segv_handler (int signo) ++ { ++ _exit (0); ++ } ++ ++ static int ++ c_stack_action () ++ { ++ stack_t st; ++ struct sigaction act; ++ int r; ++ ++ st.ss_flags = 0; ++ /* Use the midpoint to avoid Irix sigaltstack bug. */ ++ st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ; ++ st.ss_size = SIGSTKSZ; ++ r = sigaltstack (&st, 0); ++ if (r != 0) ++ return 1; ++ ++ sigemptyset (&act.sa_mask); ++ act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND; ++ act.sa_handler = segv_handler; ++ #if FAULT_YIELDS_SIGBUS ++ if (sigaction (SIGBUS, &act, 0) < 0) ++ return 2; ++ #endif ++ if (sigaction (SIGSEGV, &act, 0) < 0) ++ return 3; ++ return 0; ++ } ++ static volatile int * ++ recurse_1 (volatile int n, volatile int *p) ++ { ++ if (n >= 0) ++ *recurse_1 (n + 1, p) += n; ++ return p; ++ } ++ static int ++ recurse (volatile int n) ++ { ++ int sum = 0; ++ return *recurse_1 (n, &sum); ++ } ++ int ++ main () ++ { ++ int result; ++ #if HAVE_SETRLIMIT && defined RLIMIT_STACK ++ /* Before starting the endless recursion, try to be friendly ++ to the user's machine. On some Linux 2.2.x systems, there ++ is no stack limit for user processes at all. We don't want ++ to kill such systems. */ ++ struct rlimit rl; ++ rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */ ++ setrlimit (RLIMIT_STACK, &rl); ++ #endif ++ ++ result = c_stack_action (); ++ if (result != 0) ++ return result; ++ return recurse (0); ++ } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_sys_stack_overflow_works=yes ++else ++ ac_cv_sys_stack_overflow_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: $ac_cv_sys_stack_overflow_works" >&5 ++$as_echo "$ac_cv_sys_stack_overflow_works" >&6; } ++ ++ if test $ac_cv_sys_stack_overflow_works = yes; then ++ ++$as_echo "@%:@define HAVE_STACK_OVERFLOW_HANDLING 1" >>confdefs.h ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct stack_t interpretation" >&5 ++$as_echo_n "checking for correct stack_t interpretation... " >&6; } ++if ${gl_cv_sigaltstack_low_base+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_sigaltstack_low_base=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++#include ++#if HAVE_SYS_SIGNAL_H ++# include ++#endif ++#ifndef SIGSTKSZ ++# define SIGSTKSZ 16384 ++#endif ++volatile char *stack_lower_bound; ++volatile char *stack_upper_bound; ++static void check_stack_location (volatile char *addr) ++{ ++ if (addr >= stack_lower_bound && addr <= stack_upper_bound) ++ exit (0); ++ else ++ exit (1); ++} ++static void stackoverflow_handler (int sig) ++{ ++ char dummy; ++ check_stack_location (&dummy); ++} ++int main () ++{ ++ char mystack[2 * SIGSTKSZ]; ++ stack_t altstack; ++ struct sigaction action; ++ /* Install the alternate stack. */ ++ altstack.ss_sp = mystack + SIGSTKSZ; ++ altstack.ss_size = SIGSTKSZ; ++ stack_lower_bound = (char *) altstack.ss_sp; ++ stack_upper_bound = (char *) altstack.ss_sp + altstack.ss_size - 1; ++ altstack.ss_flags = 0; /* no SS_DISABLE */ ++ if (sigaltstack (&altstack, NULL) < 0) ++ exit (2); ++ /* Install the SIGSEGV handler. */ ++ sigemptyset (&action.sa_mask); ++ action.sa_handler = &stackoverflow_handler; ++ action.sa_flags = SA_ONSTACK; ++ if (sigaction (SIGSEGV, &action, (struct sigaction *) NULL) < 0) ++ exit(3); ++ /* Provoke a SIGSEGV. */ ++ raise (SIGSEGV); ++ exit (4); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_sigaltstack_low_base=yes ++else ++ gl_cv_sigaltstack_low_base=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_sigaltstack_low_base" >&5 ++$as_echo "$gl_cv_sigaltstack_low_base" >&6; } ++ if test "$gl_cv_sigaltstack_low_base" = no; then ++ ++$as_echo "@%:@define SIGALTSTACK_SS_REVERSED 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for precise C stack overflow detection" >&5 ++$as_echo_n "checking for precise C stack overflow detection... " >&6; } ++if ${ac_cv_sys_xsi_stack_overflow_heuristic+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #if HAVE_UCONTEXT_H ++ # include ++ #endif ++ #if HAVE_SETRLIMIT ++ # include ++ # include ++ # include ++ #endif ++ #ifndef SIGSTKSZ ++ # define SIGSTKSZ 16384 ++ #endif ++ ++ static union ++ { ++ char buffer[2 * SIGSTKSZ]; ++ long double ld; ++ long u; ++ void *p; ++ } alternate_signal_stack; ++ ++ #if STACK_DIRECTION ++ # define find_stack_direction(ptr) STACK_DIRECTION ++ #else ++ static int ++ find_stack_direction (char const *addr) ++ { ++ char dummy; ++ return (! addr ? find_stack_direction (&dummy) ++ : addr < &dummy ? 1 : -1); ++ } ++ #endif ++ ++ static void ++ segv_handler (int signo, siginfo_t *info, void *context) ++ { ++ if (0 < info->si_code) ++ { ++ /* For XSI heuristics to work, we need uc_stack to describe ++ the interrupted stack (as on Solaris), and not the ++ currently executing stack (as on Linux). */ ++ ucontext_t const *user_context = context; ++ char const *stack_min = user_context->uc_stack.ss_sp; ++ size_t stack_size = user_context->uc_stack.ss_size; ++ char const *faulting_address = info->si_addr; ++ size_t s = faulting_address - stack_min; ++ size_t page_size = sysconf (_SC_PAGESIZE); ++ if (find_stack_direction (0) < 0) ++ s += page_size; ++ if (s < stack_size + page_size) ++ _exit (0); ++ _exit (4); ++ } ++ _exit (5); ++ } ++ ++ static int ++ c_stack_action () ++ { ++ stack_t st; ++ struct sigaction act; ++ int r; ++ ++ st.ss_flags = 0; ++ /* Use the midpoint to avoid Irix sigaltstack bug. */ ++ st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ; ++ st.ss_size = SIGSTKSZ; ++ r = sigaltstack (&st, 0); ++ if (r != 0) ++ return 1; ++ ++ sigemptyset (&act.sa_mask); ++ act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO; ++ act.sa_sigaction = segv_handler; ++ #if FAULT_YIELDS_SIGBUS ++ if (sigaction (SIGBUS, &act, 0) < 0) ++ return 2; ++ #endif ++ if (sigaction (SIGSEGV, &act, 0) < 0) ++ return 3; ++ return 0; ++ } ++ static volatile int * ++ recurse_1 (volatile int n, volatile int *p) ++ { ++ if (n >= 0) ++ *recurse_1 (n + 1, p) += n; ++ return p; ++ } ++ static int ++ recurse (volatile int n) ++ { ++ int sum = 0; ++ return *recurse_1 (n, &sum); ++ } ++ int ++ main () ++ { ++ int result; ++ #if HAVE_SETRLIMIT && defined RLIMIT_STACK ++ /* Before starting the endless recursion, try to be friendly ++ to the user's machine. On some Linux 2.2.x systems, there ++ is no stack limit for user processes at all. We don't want ++ to kill such systems. */ ++ struct rlimit rl; ++ rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */ ++ setrlimit (RLIMIT_STACK, &rl); ++ #endif ++ ++ result = c_stack_action (); ++ if (result != 0) ++ return result; ++ return recurse (0); ++ } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_sys_xsi_stack_overflow_heuristic=yes ++else ++ ac_cv_sys_xsi_stack_overflow_heuristic=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: $ac_cv_sys_xsi_stack_overflow_heuristic" >&5 ++$as_echo "$ac_cv_sys_xsi_stack_overflow_heuristic" >&6; } ++ ++ if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then ++ ++$as_echo "@%:@define HAVE_XSI_STACK_OVERFLOW_HEURISTIC 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-gnu-ld was given. ++if test "${with_gnu_ld+set}" = set; then : ++ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ++else ++ with_gnu_ld=no ++fi ++ ++# Prepare PATH_SEPARATOR. ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which ++ # contains only /bin. Note that ksh looks also at the FPATH variable, ++ # so we have to set that as well for the test. ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ ++ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ ++ || PATH_SEPARATOR=';' ++ } ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 ++$as_echo_n "checking for ld used by GCC... " >&6; } ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [\\/]* | [A-Za-z]:[\\/]*) ++ re_direlt='/[^/][^/]*/\.\./' ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++$as_echo_n "checking for GNU ld... " >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++$as_echo_n "checking for non-GNU ld... " >&6; } ++fi ++if ${acl_cv_path_LD+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi ++fi ++ ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ++if ${acl_cv_prog_gnu_ld+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 &5 ++$as_echo "$acl_cv_prog_gnu_ld" >&6; } ++with_gnu_ld=$acl_cv_prog_gnu_ld ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 ++$as_echo_n "checking for shared library run path origin... " >&6; } ++if ${acl_cv_rpath+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 ++$as_echo "$acl_cv_rpath" >&6; } ++ wl="$acl_cv_wl" ++ acl_libext="$acl_cv_libext" ++ acl_shlibext="$acl_cv_shlibext" ++ acl_libname_spec="$acl_cv_libname_spec" ++ acl_library_names_spec="$acl_cv_library_names_spec" ++ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ acl_hardcode_direct="$acl_cv_hardcode_direct" ++ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ @%:@ Check whether --enable-rpath was given. ++if test "${enable_rpath+set}" = set; then : ++ enableval=$enable_rpath; : ++else ++ enable_rpath=yes ++fi ++ ++ ++ ++ ++ acl_libdirstem=lib ++ acl_libdirstem2= ++ case "$host_os" in ++ solaris*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 ++$as_echo_n "checking for 64-bit host... " >&6; } ++if ${gl_cv_solaris_64bit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef _LP64 ++sixtyfour bits ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "sixtyfour bits" >/dev/null 2>&1; then : ++ gl_cv_solaris_64bit=yes ++else ++ gl_cv_solaris_64bit=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 ++$as_echo "$gl_cv_solaris_64bit" >&6; } ++ if test $gl_cv_solaris_64bit = yes; then ++ acl_libdirstem=lib/64 ++ case "$host_cpu" in ++ sparc*) acl_libdirstem2=lib/sparcv9 ;; ++ i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; ++ esac ++ fi ++ ;; ++ *) ++ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` ++ if test -n "$searchpath"; then ++ acl_save_IFS="${IFS= }"; IFS=":" ++ for searchdir in $searchpath; do ++ if test -d "$searchdir"; then ++ case "$searchdir" in ++ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; ++ */../ | */.. ) ++ # Better ignore directories of this form. They are misleading. ++ ;; ++ *) searchdir=`cd "$searchdir" && pwd` ++ case "$searchdir" in ++ */lib64 ) acl_libdirstem=lib64 ;; ++ esac ;; ++ esac ++ fi ++ done ++ IFS="$acl_save_IFS" ++ fi ++ ;; ++ esac ++ test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libsigsegv-prefix was given. ++if test "${with_libsigsegv_prefix+set}" = set; then : ++ withval=$with_libsigsegv_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++ ++fi ++ ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ INCSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ HAVE_LIBSIGSEGV= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='sigsegv ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$acl_hardcode_direct" = yes; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ ++ for element in $INCSIGSEGV; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 ++$as_echo_n "checking for libsigsegv... " >&6; } ++if ${ac_cv_libsigsegv+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_save_LIBS="$LIBS" ++ case " $LIBSIGSEGV" in ++ *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;; ++ *) LIBS="$LIBSIGSEGV $LIBS" ;; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++sigsegv_deinstall_handler(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_libsigsegv=yes ++else ++ ac_cv_libsigsegv='no, consider installing GNU libsigsegv' ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$ac_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5 ++$as_echo "$ac_cv_libsigsegv" >&6; } ++ if test "$ac_cv_libsigsegv" = yes; then ++ HAVE_LIBSIGSEGV=yes ++ ++$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5 ++$as_echo_n "checking how to link with libsigsegv... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5 ++$as_echo "$LIBSIGSEGV" >&6; } ++ else ++ HAVE_LIBSIGSEGV=no ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ fi ++ ++ ++ ++ ++ ++ ++ ++ gl_cv_lib_sigsegv="$ac_cv_libsigsegv" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $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 : ++ $as_echo_n "(cached) " >&6 ++else ++ if test x"$cross_compiling" = xyes ; then ++ # When cross-compiling, there is no way to tell whether // is special ++ # short of a list of hosts. However, the only known hosts to date ++ # that have a distinct // are Apollo DomainOS (too old to port to), ++ # Cygwin, and z/OS. If anyone knows of another system for which // has ++ # special semantics and is distinct from /, please report it to ++ # . ++ case $host in ++ *-cygwin | i370-ibm-openedition) ++ gl_cv_double_slash_root=yes ;; ++ *) ++ # Be optimistic and assume that / and // are the same when we ++ # don't know. ++ gl_cv_double_slash_root='unknown, assuming no' ;; ++ esac ++ else ++ set x `ls -di / // 2>/dev/null` ++ if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then ++ gl_cv_double_slash_root=no ++ else ++ gl_cv_double_slash_root=yes ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 ++$as_echo "$gl_cv_double_slash_root" >&6; } ++ if test "$gl_cv_double_slash_root" = yes; then ++ ++$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5 ++$as_echo_n "checking whether realpath works... " >&6; } ++if ${gl_cv_func_realpath_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ touch conftest.a ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_realpath_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ #include ++ ++int ++main () ++{ ++ ++ int result = 0; ++ { ++ char *name = realpath ("conftest.a", NULL); ++ if (!(name && *name == '/')) ++ result |= 1; ++ } ++ { ++ char *name = realpath ("conftest.b/../conftest.a", NULL); ++ if (name != NULL) ++ result |= 2; ++ } ++ { ++ char *name = realpath ("conftest.a/", NULL); ++ if (name != NULL) ++ result |= 4; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_realpath_works=yes ++else ++ gl_cv_func_realpath_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_realpath_works" >&5 ++$as_echo "$gl_cv_func_realpath_works" >&6; } ++ if test "$gl_cv_func_realpath_works" = yes; then ++ ++$as_echo "@%:@define FUNC_REALPATH_WORKS 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB__EXIT=0; ++ GNULIB_ATOLL=0; ++ GNULIB_CALLOC_POSIX=0; ++ GNULIB_CANONICALIZE_FILE_NAME=0; ++ GNULIB_GETLOADAVG=0; ++ GNULIB_GETSUBOPT=0; ++ GNULIB_GRANTPT=0; ++ GNULIB_MALLOC_POSIX=0; ++ GNULIB_MBTOWC=0; ++ GNULIB_MKDTEMP=0; ++ GNULIB_MKOSTEMP=0; ++ GNULIB_MKOSTEMPS=0; ++ GNULIB_MKSTEMP=0; ++ GNULIB_MKSTEMPS=0; ++ GNULIB_PTSNAME=0; ++ GNULIB_PUTENV=0; ++ GNULIB_RANDOM_R=0; ++ GNULIB_REALLOC_POSIX=0; ++ GNULIB_REALPATH=0; ++ GNULIB_RPMATCH=0; ++ GNULIB_SETENV=0; ++ GNULIB_STRTOD=0; ++ GNULIB_STRTOLL=0; ++ GNULIB_STRTOULL=0; ++ GNULIB_SYSTEM_POSIX=0; ++ GNULIB_UNLOCKPT=0; ++ GNULIB_UNSETENV=0; ++ GNULIB_WCTOMB=0; ++ HAVE__EXIT=1; ++ HAVE_ATOLL=1; ++ HAVE_CANONICALIZE_FILE_NAME=1; ++ HAVE_DECL_GETLOADAVG=1; ++ HAVE_GETSUBOPT=1; ++ HAVE_GRANTPT=1; ++ HAVE_MKDTEMP=1; ++ HAVE_MKOSTEMP=1; ++ HAVE_MKOSTEMPS=1; ++ HAVE_MKSTEMP=1; ++ HAVE_MKSTEMPS=1; ++ HAVE_PTSNAME=1; ++ HAVE_RANDOM_H=1; ++ HAVE_RANDOM_R=1; ++ HAVE_REALPATH=1; ++ HAVE_RPMATCH=1; ++ HAVE_SETENV=1; ++ HAVE_DECL_SETENV=1; ++ HAVE_STRTOD=1; ++ HAVE_STRTOLL=1; ++ HAVE_STRTOULL=1; ++ HAVE_STRUCT_RANDOM_DATA=1; ++ HAVE_SYS_LOADAVG_H=0; ++ HAVE_UNLOCKPT=1; ++ HAVE_DECL_UNSETENV=1; ++ REPLACE_CALLOC=0; ++ REPLACE_CANONICALIZE_FILE_NAME=0; ++ REPLACE_MALLOC=0; ++ REPLACE_MBTOWC=0; ++ REPLACE_MKSTEMP=0; ++ REPLACE_PUTENV=0; ++ REPLACE_REALLOC=0; ++ REPLACE_REALPATH=0; ++ REPLACE_SETENV=0; ++ REPLACE_STRTOD=0; ++ REPLACE_UNSETENV=0; ++ REPLACE_WCTOMB=0; ++ ++ ++ GNULIB_CHOWN=0; ++ GNULIB_CLOSE=0; ++ GNULIB_DUP2=0; ++ GNULIB_DUP3=0; ++ GNULIB_ENVIRON=0; ++ GNULIB_EUIDACCESS=0; ++ GNULIB_FACCESSAT=0; ++ GNULIB_FCHDIR=0; ++ GNULIB_FCHOWNAT=0; ++ GNULIB_FSYNC=0; ++ GNULIB_FTRUNCATE=0; ++ GNULIB_GETCWD=0; ++ GNULIB_GETDOMAINNAME=0; ++ GNULIB_GETDTABLESIZE=0; ++ GNULIB_GETGROUPS=0; ++ GNULIB_GETHOSTNAME=0; ++ GNULIB_GETLOGIN=0; ++ GNULIB_GETLOGIN_R=0; ++ GNULIB_GETPAGESIZE=0; ++ GNULIB_GETUSERSHELL=0; ++ GNULIB_LCHOWN=0; ++ GNULIB_LINK=0; ++ GNULIB_LINKAT=0; ++ GNULIB_LSEEK=0; ++ GNULIB_PIPE=0; ++ GNULIB_PIPE2=0; ++ GNULIB_PREAD=0; ++ GNULIB_PWRITE=0; ++ GNULIB_READLINK=0; ++ GNULIB_READLINKAT=0; ++ GNULIB_RMDIR=0; ++ GNULIB_SLEEP=0; ++ GNULIB_SYMLINK=0; ++ GNULIB_SYMLINKAT=0; ++ GNULIB_TTYNAME_R=0; ++ GNULIB_UNISTD_H_GETOPT=0; ++ GNULIB_UNISTD_H_SIGPIPE=0; ++ GNULIB_UNLINK=0; ++ GNULIB_UNLINKAT=0; ++ GNULIB_USLEEP=0; ++ GNULIB_WRITE=0; ++ HAVE_CHOWN=1; ++ HAVE_DUP2=1; ++ HAVE_DUP3=1; ++ HAVE_EUIDACCESS=1; ++ HAVE_FACCESSAT=1; ++ HAVE_FCHDIR=1; ++ HAVE_FCHOWNAT=1; ++ HAVE_FSYNC=1; ++ HAVE_FTRUNCATE=1; ++ HAVE_GETDTABLESIZE=1; ++ HAVE_GETGROUPS=1; ++ HAVE_GETHOSTNAME=1; ++ HAVE_GETLOGIN=1; ++ HAVE_GETPAGESIZE=1; ++ HAVE_LCHOWN=1; ++ HAVE_LINK=1; ++ HAVE_LINKAT=1; ++ HAVE_PIPE=1; ++ HAVE_PIPE2=1; ++ HAVE_PREAD=1; ++ HAVE_PWRITE=1; ++ HAVE_READLINK=1; ++ HAVE_READLINKAT=1; ++ HAVE_SLEEP=1; ++ HAVE_SYMLINK=1; ++ HAVE_SYMLINKAT=1; ++ HAVE_UNLINKAT=1; ++ HAVE_USLEEP=1; ++ HAVE_DECL_ENVIRON=1; ++ HAVE_DECL_FCHDIR=1; ++ HAVE_DECL_GETDOMAINNAME=1; ++ HAVE_DECL_GETLOGIN_R=1; ++ HAVE_DECL_GETPAGESIZE=1; ++ HAVE_DECL_GETUSERSHELL=1; ++ HAVE_DECL_TTYNAME_R=1; ++ HAVE_OS_H=0; ++ HAVE_SYS_PARAM_H=0; ++ REPLACE_CHOWN=0; ++ REPLACE_CLOSE=0; ++ REPLACE_DUP=0; ++ REPLACE_DUP2=0; ++ REPLACE_FCHOWNAT=0; ++ REPLACE_GETCWD=0; ++ REPLACE_GETDOMAINNAME=0; ++ REPLACE_GETLOGIN_R=0; ++ REPLACE_GETGROUPS=0; ++ REPLACE_GETPAGESIZE=0; ++ REPLACE_LCHOWN=0; ++ REPLACE_LINK=0; ++ REPLACE_LINKAT=0; ++ REPLACE_LSEEK=0; ++ REPLACE_PREAD=0; ++ REPLACE_PWRITE=0; ++ REPLACE_READLINK=0; ++ REPLACE_RMDIR=0; ++ REPLACE_SLEEP=0; ++ REPLACE_SYMLINK=0; ++ REPLACE_TTYNAME_R=0; ++ REPLACE_UNLINK=0; ++ REPLACE_UNLINKAT=0; ++ REPLACE_USLEEP=0; ++ REPLACE_WRITE=0; ++ UNISTD_H_HAVE_WINSOCK2_H=0; ++ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 ++$as_echo_n "checking if environ is properly declared... " >&6; } ++ if ${gt_cv_var_environ_declaration+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ extern struct { int foo; } environ; ++int ++main () ++{ ++environ.foo = 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_var_environ_declaration=no ++else ++ gt_cv_var_environ_declaration=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 ++$as_echo "$gt_cv_var_environ_declaration" >&6; } ++ if test $gt_cv_var_environ_declaration = yes; then ++ ++$as_echo "@%:@define HAVE_ENVIRON_DECL 1" >>confdefs.h ++ ++ fi ++ ++ ++ if test $gt_cv_var_environ_declaration != yes; then ++ HAVE_DECL_ENVIRON=0 ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 ++$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } ++if ${gl_cv_have_include_next+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftestd1a conftestd1b conftestd2 ++ mkdir conftestd1a conftestd1b conftestd2 ++ cat < conftestd1a/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd1b/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd2/conftest.h ++#ifndef DEFINED_IN_CONFTESTD1 ++#error "include_next test doesn't work" ++#endif ++#define DEFINED_IN_CONFTESTD2 ++EOF ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=yes ++else ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_have_include_next=buggy ++else ++ gl_cv_have_include_next=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ rm -rf conftestd1a conftestd1b conftestd2 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 ++$as_echo "$gl_cv_have_include_next" >&6; } ++ PRAGMA_SYSTEM_HEADER= ++ if test $gl_cv_have_include_next = yes; then ++ INCLUDE_NEXT=include_next ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ if test -n "$GCC"; then ++ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' ++ fi ++ else ++ if test $gl_cv_have_include_next = buggy; then ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ else ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include ++ fi ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 ++$as_echo_n "checking whether system header files limit the line length... " >&6; } ++if ${gl_cv_pragma_columns+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __TANDEM ++choke me ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "choke me" >/dev/null 2>&1; then : ++ gl_cv_pragma_columns=yes ++else ++ gl_cv_pragma_columns=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 ++$as_echo "$gl_cv_pragma_columns" >&6; } ++ if test $gl_cv_pragma_columns = yes; then ++ PRAGMA_COLUMNS="#pragma COLUMNS 10000" ++ else ++ PRAGMA_COLUMNS= ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 ++$as_echo_n "checking for complete errno.h... " >&6; } ++if ${gl_cv_header_errno_h_complete+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if !defined ENOMSG ++booboo ++#endif ++#if !defined EIDRM ++booboo ++#endif ++#if !defined ENOLINK ++booboo ++#endif ++#if !defined EPROTO ++booboo ++#endif ++#if !defined EMULTIHOP ++booboo ++#endif ++#if !defined EBADMSG ++booboo ++#endif ++#if !defined EOVERFLOW ++booboo ++#endif ++#if !defined ENOTSUP ++booboo ++#endif ++#if !defined ESTALE ++booboo ++#endif ++#if !defined EDQUOT ++booboo ++#endif ++#if !defined ECANCELED ++booboo ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "booboo" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_complete=no ++else ++ gl_cv_header_errno_h_complete=yes ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 ++$as_echo "$gl_cv_header_errno_h_complete" >&6; } ++ if test $gl_cv_header_errno_h_complete = yes; then ++ ERRNO_H='' ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_errno_h='<'errno.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_errno_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/errno.h#{ ++ s#.*"\(.*/errno.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 ++$as_echo "$gl_cv_next_errno_h" >&6; } ++ fi ++ NEXT_ERRNO_H=$gl_cv_next_errno_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'errno.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_errno_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ERRNO_H='errno.h' ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 ++$as_echo_n "checking for EMULTIHOP value... " >&6; } ++if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=yes ++else ++ gl_cv_header_errno_h_EMULTIHOP=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EMULTIHOP ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EMULTIHOP=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 ++$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } ++ case $gl_cv_header_errno_h_EMULTIHOP in ++ yes | no) ++ EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ++ ;; ++ *) ++ EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 ++$as_echo_n "checking for ENOLINK value... " >&6; } ++if ${gl_cv_header_errno_h_ENOLINK+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=yes ++else ++ gl_cv_header_errno_h_ENOLINK=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef ENOLINK ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_ENOLINK=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_ENOLINK = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 ++$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } ++ case $gl_cv_header_errno_h_ENOLINK in ++ yes | no) ++ ENOLINK_HIDDEN=0; ENOLINK_VALUE= ++ ;; ++ *) ++ ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ if test -n "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 ++$as_echo_n "checking for EOVERFLOW value... " >&6; } ++if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=yes ++else ++ gl_cv_header_errno_h_EOVERFLOW=no ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef EOVERFLOW ++yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ gl_cv_header_errno_h_EOVERFLOW=hidden ++fi ++rm -f conftest* ++ ++ if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then ++ if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++"; then : ++ ++fi ++ ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 ++$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } ++ case $gl_cv_header_errno_h_EOVERFLOW in ++ yes | no) ++ EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ++ ;; ++ *) ++ EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ++ ;; ++ esac ++ ++ ++ fi ++ ++ ++ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror_r" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRERROR_R $ac_have_decl ++_ACEOF ++ ++for ac_func in strerror_r ++do : ++ ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" ++if test "x$ac_cv_func_strerror_r" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRERROR_R 1 ++_ACEOF ++ ++fi ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 ++$as_echo_n "checking whether strerror_r returns char *... " >&6; } ++if ${ac_cv_func_strerror_r_char_p+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_cv_func_strerror_r_char_p=no ++ if test $ac_cv_have_decl_strerror_r = yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ char buf[100]; ++ char x = *strerror_r (0, buf, sizeof buf); ++ char *p = strerror_r (0, buf, sizeof buf); ++ return !p || x; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_func_strerror_r_char_p=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ else ++ # strerror_r is not declared. Choose between ++ # systems that have relatively inaccessible declarations for the ++ # function. BeOS and DEC UNIX 4.0 fall in this category, but the ++ # former has a strerror_r that returns char*, while the latter ++ # has a strerror_r that returns `int'. ++ # This test should segfault on the DEC system. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++ extern char *strerror_r (); ++int ++main () ++{ ++char buf[100]; ++ char x = *strerror_r (0, buf, sizeof buf); ++ return ! isalpha (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_strerror_r_char_p=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 ++$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } ++if test $ac_cv_func_strerror_r_char_p = yes; then ++ ++$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++$as_echo_n "checking for inline... " >&6; } ++if ${ac_cv_c_inline+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_inline=no ++for ac_kw in inline __inline__ __inline; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __cplusplus ++typedef int foo_t; ++static $ac_kw foo_t static_foo () {return 0; } ++$ac_kw foo_t foo () {return 0; } ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_inline=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_inline" != no && break ++done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++$as_echo "$ac_cv_c_inline" >&6; } ++ ++case $ac_cv_c_inline in ++ inline | yes) ;; ++ *) ++ case $ac_cv_c_inline in ++ no) ac_val=;; ++ *) ac_val=$ac_cv_c_inline;; ++ esac ++ cat >>confdefs.h <<_ACEOF ++#ifndef __cplusplus ++#define inline $ac_val ++#endif ++_ACEOF ++ ;; ++esac ++ ++ ++ XGETTEXT_EXTRA_OPTIONS= ++ ++ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" ++if test "x$ac_cv_type_mode_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define mode_t int ++_ACEOF ++ ++fi ++ ++ ++ ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include ++" ++if test "x$ac_cv_type_sig_atomic_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIG_ATOMIC_T 1 ++_ACEOF ++ ++ ++else ++ ++$as_echo "@%:@define sig_atomic_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ GNULIB_DPRINTF=0; ++ GNULIB_FCLOSE=0; ++ GNULIB_FFLUSH=0; ++ GNULIB_FOPEN=0; ++ GNULIB_FPRINTF=0; ++ GNULIB_FPRINTF_POSIX=0; ++ GNULIB_FPURGE=0; ++ GNULIB_FPUTC=0; ++ GNULIB_FPUTS=0; ++ GNULIB_FREOPEN=0; ++ GNULIB_FSEEK=0; ++ GNULIB_FSEEKO=0; ++ GNULIB_FTELL=0; ++ GNULIB_FTELLO=0; ++ GNULIB_FWRITE=0; ++ GNULIB_GETDELIM=0; ++ GNULIB_GETLINE=0; ++ GNULIB_OBSTACK_PRINTF=0; ++ GNULIB_OBSTACK_PRINTF_POSIX=0; ++ GNULIB_PERROR=0; ++ GNULIB_POPEN=0; ++ GNULIB_PRINTF=0; ++ GNULIB_PRINTF_POSIX=0; ++ GNULIB_PUTC=0; ++ GNULIB_PUTCHAR=0; ++ GNULIB_PUTS=0; ++ GNULIB_REMOVE=0; ++ GNULIB_RENAME=0; ++ GNULIB_RENAMEAT=0; ++ GNULIB_SNPRINTF=0; ++ GNULIB_SPRINTF_POSIX=0; ++ GNULIB_STDIO_H_SIGPIPE=0; ++ GNULIB_TMPFILE=0; ++ GNULIB_VASPRINTF=0; ++ GNULIB_VDPRINTF=0; ++ GNULIB_VFPRINTF=0; ++ GNULIB_VFPRINTF_POSIX=0; ++ GNULIB_VPRINTF=0; ++ GNULIB_VPRINTF_POSIX=0; ++ GNULIB_VSNPRINTF=0; ++ GNULIB_VSPRINTF_POSIX=0; ++ HAVE_DECL_FPURGE=1; ++ HAVE_DECL_FSEEKO=1; ++ HAVE_DECL_FTELLO=1; ++ HAVE_DECL_GETDELIM=1; ++ HAVE_DECL_GETLINE=1; ++ HAVE_DECL_OBSTACK_PRINTF=1; ++ HAVE_DECL_SNPRINTF=1; ++ HAVE_DECL_VSNPRINTF=1; ++ HAVE_DPRINTF=1; ++ HAVE_FSEEKO=1; ++ HAVE_FTELLO=1; ++ HAVE_RENAMEAT=1; ++ HAVE_VASPRINTF=1; ++ HAVE_VDPRINTF=1; ++ REPLACE_DPRINTF=0; ++ REPLACE_FCLOSE=0; ++ REPLACE_FFLUSH=0; ++ REPLACE_FOPEN=0; ++ REPLACE_FPRINTF=0; ++ REPLACE_FPURGE=0; ++ REPLACE_FREOPEN=0; ++ REPLACE_FSEEK=0; ++ REPLACE_FSEEKO=0; ++ REPLACE_FTELL=0; ++ REPLACE_FTELLO=0; ++ REPLACE_GETDELIM=0; ++ REPLACE_GETLINE=0; ++ REPLACE_OBSTACK_PRINTF=0; ++ REPLACE_PERROR=0; ++ REPLACE_POPEN=0; ++ REPLACE_PRINTF=0; ++ REPLACE_REMOVE=0; ++ REPLACE_RENAME=0; ++ REPLACE_RENAMEAT=0; ++ REPLACE_SNPRINTF=0; ++ REPLACE_SPRINTF=0; ++ REPLACE_STDIO_WRITE_FUNCS=0; ++ REPLACE_TMPFILE=0; ++ REPLACE_VASPRINTF=0; ++ REPLACE_VDPRINTF=0; ++ REPLACE_VFPRINTF=0; ++ REPLACE_VPRINTF=0; ++ REPLACE_VSNPRINTF=0; ++ REPLACE_VSPRINTF=0; ++ ++ ++ GNULIB_FCNTL=0; ++ GNULIB_OPEN=0; ++ GNULIB_OPENAT=0; ++ HAVE_FCNTL=1; ++ HAVE_OPENAT=1; ++ REPLACE_FCNTL=0; ++ REPLACE_OPEN=0; ++ REPLACE_OPENAT=0; ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 ++$as_echo_n "checking for working fcntl.h... " >&6; } ++if ${gl_cv_header_working_fcntl_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_header_working_fcntl_h=cross-compiling ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ #include ++ #ifndef O_NOATIME ++ #define O_NOATIME 0 ++ #endif ++ #ifndef O_NOFOLLOW ++ #define O_NOFOLLOW 0 ++ #endif ++ static int const constants[] = ++ { ++ O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, ++ O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY ++ }; ++ ++int ++main () ++{ ++ ++ int result = !constants; ++ { ++ static char const sym[] = "conftest.sym"; ++ if (symlink (".", sym) != 0) ++ result |= 2; ++ else ++ { ++ int fd = open (sym, O_RDONLY | O_NOFOLLOW); ++ if (fd >= 0) ++ { ++ close (fd); ++ result |= 4; ++ } ++ } ++ unlink (sym); ++ } ++ { ++ static char const file[] = "confdefs.h"; ++ int fd = open (file, O_RDONLY | O_NOATIME); ++ if (fd < 0) ++ result |= 8; ++ else ++ { ++ struct stat st0; ++ if (fstat (fd, &st0) != 0) ++ result |= 16; ++ else ++ { ++ char c; ++ sleep (1); ++ if (read (fd, &c, 1) != 1) ++ result |= 24; ++ else ++ { ++ if (close (fd) != 0) ++ result |= 32; ++ else ++ { ++ struct stat st1; ++ if (stat (file, &st1) != 0) ++ result |= 40; ++ else ++ if (st0.st_atime != st1.st_atime) ++ result |= 64; ++ } ++ } ++ } ++ } ++ } ++ return result; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_fcntl_h=yes ++else ++ case $? in #( ++ 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( ++ 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( ++ 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( ++ *) gl_cv_header_working_fcntl_h='no';; ++ esac ++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_header_working_fcntl_h" >&5 ++$as_echo "$gl_cv_header_working_fcntl_h" >&6; } ++ ++ case $gl_cv_header_working_fcntl_h in #( ++ *O_NOATIME* | no | cross-compiling) ac_val=0;; #( ++ *) ac_val=1;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WORKING_O_NOATIME $ac_val ++_ACEOF ++ ++ ++ case $gl_cv_header_working_fcntl_h in #( ++ *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( ++ *) ac_val=1;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 ++$as_echo_n "checking for fseeko... " >&6; } ++if ${gl_cv_func_fseeko+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++fseeko (stdin, 0, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_fseeko=yes ++else ++ gl_cv_func_fseeko=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 ++$as_echo "$gl_cv_func_fseeko" >&6; } ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_ACOSL=0; ++ GNULIB_ASINL=0; ++ GNULIB_ATANL=0; ++ GNULIB_CEIL=0; ++ GNULIB_CEILF=0; ++ GNULIB_CEILL=0; ++ GNULIB_COSL=0; ++ GNULIB_EXPL=0; ++ GNULIB_FLOOR=0; ++ GNULIB_FLOORF=0; ++ GNULIB_FLOORL=0; ++ GNULIB_FREXP=0; ++ GNULIB_FREXPL=0; ++ GNULIB_ISFINITE=0; ++ GNULIB_ISINF=0; ++ GNULIB_ISNAN=0; ++ GNULIB_ISNANF=0; ++ GNULIB_ISNAND=0; ++ GNULIB_ISNANL=0; ++ GNULIB_LDEXPL=0; ++ GNULIB_LOGB=0; ++ GNULIB_LOGL=0; ++ GNULIB_ROUND=0; ++ GNULIB_ROUNDF=0; ++ GNULIB_ROUNDL=0; ++ GNULIB_SIGNBIT=0; ++ GNULIB_SINL=0; ++ GNULIB_SQRTL=0; ++ GNULIB_TANL=0; ++ GNULIB_TRUNC=0; ++ GNULIB_TRUNCF=0; ++ GNULIB_TRUNCL=0; ++ HAVE_ACOSL=1; ++ HAVE_ASINL=1; ++ HAVE_ATANL=1; ++ HAVE_COSL=1; ++ HAVE_EXPL=1; ++ HAVE_ISNANF=1; ++ HAVE_ISNAND=1; ++ HAVE_ISNANL=1; ++ HAVE_LOGL=1; ++ HAVE_SINL=1; ++ HAVE_SQRTL=1; ++ HAVE_TANL=1; ++ HAVE_DECL_ACOSL=1; ++ HAVE_DECL_ASINL=1; ++ HAVE_DECL_ATANL=1; ++ HAVE_DECL_CEILF=1; ++ HAVE_DECL_CEILL=1; ++ HAVE_DECL_COSL=1; ++ HAVE_DECL_EXPL=1; ++ HAVE_DECL_FLOORF=1; ++ HAVE_DECL_FLOORL=1; ++ HAVE_DECL_FREXPL=1; ++ HAVE_DECL_LDEXPL=1; ++ HAVE_DECL_LOGB=1; ++ HAVE_DECL_LOGL=1; ++ HAVE_DECL_ROUND=1; ++ HAVE_DECL_ROUNDF=1; ++ HAVE_DECL_ROUNDL=1; ++ HAVE_DECL_SINL=1; ++ HAVE_DECL_SQRTL=1; ++ HAVE_DECL_TANL=1; ++ HAVE_DECL_TRUNC=1; ++ HAVE_DECL_TRUNCF=1; ++ HAVE_DECL_TRUNCL=1; ++ REPLACE_CEIL=0; ++ REPLACE_CEILF=0; ++ REPLACE_CEILL=0; ++ REPLACE_FLOOR=0; ++ REPLACE_FLOORF=0; ++ REPLACE_FLOORL=0; ++ REPLACE_FREXP=0; ++ REPLACE_FREXPL=0; ++ REPLACE_HUGE_VAL=0; ++ REPLACE_ISFINITE=0; ++ REPLACE_ISINF=0; ++ REPLACE_ISNAN=0; ++ REPLACE_LDEXPL=0; ++ REPLACE_NAN=0; ++ REPLACE_ROUND=0; ++ REPLACE_ROUNDF=0; ++ REPLACE_ROUNDL=0; ++ REPLACE_SIGNBIT=0; ++ REPLACE_SIGNBIT_USING_GCC=0; ++ REPLACE_TRUNC=0; ++ REPLACE_TRUNCF=0; ++ REPLACE_TRUNCL=0; ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5 ++$as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_frexp_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ double x; ++int ++main () ++{ ++int e; return frexp (x, &e) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_frexp_no_libm=yes ++else ++ gl_cv_func_frexp_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5 ++$as_echo "$gl_cv_func_frexp_no_libm" >&6; } ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 ++$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } ++if ${gl_cv_var_stdin_large_offset+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_var_stdin_large_offset=yes ++else ++ gl_cv_var_stdin_large_offset=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 ++$as_echo "$gl_cv_var_stdin_large_offset" >&6; } ++ ++ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fseeko" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FSEEKO $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default" ++if test "x$ac_cv_have_decl_ftello" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FTELLO $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_getopt_h='<'getopt.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_getopt_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_getopt_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/getopt.h#{ ++ s#.*"\(.*/getopt.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_getopt_h='<'getopt.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 ++$as_echo "$gl_cv_next_getopt_h" >&6; } ++ fi ++ NEXT_GETOPT_H=$gl_cv_next_getopt_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'getopt.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_getopt_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_getopt_h = yes; then ++ HAVE_GETOPT_H=1 ++ else ++ HAVE_GETOPT_H=0 ++ fi ++ ++ ++ gl_replace_getopt= ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ for ac_header in getopt.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" ++if test "x$ac_cv_header_getopt_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETOPT_H 1 ++_ACEOF ++ ++else ++ gl_replace_getopt=yes ++fi ++ ++done ++ ++ fi ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ for ac_func in getopt_long_only ++do : ++ ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" ++if test "x$ac_cv_func_getopt_long_only" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETOPT_LONG_ONLY 1 ++_ACEOF ++ ++else ++ gl_replace_getopt=yes ++fi ++done ++ ++ fi ++ ++ if test -z "$gl_replace_getopt"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 ++$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } ++if ${gl_cv_func_getopt_posix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int *p = &optreset; return optreset; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_optind_min=1 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++return !getopt_clip; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_optind_min=1 ++else ++ gl_optind_min=0 ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ gl_save_CPPFLAGS=$CPPFLAGS ++ CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ mingw*) gl_cv_func_getopt_posix="guessing no";; ++ darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; ++ *) gl_cv_func_getopt_posix="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++ ++int ++main () ++{ ++ { ++ int argc = 0; ++ char *argv[10]; ++ int c; ++ ++ argv[argc++] = "program"; ++ argv[argc++] = "-a"; ++ argv[argc++] = "foo"; ++ argv[argc++] = "bar"; ++ argv[argc] = NULL; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ ++ c = getopt (argc, argv, "ab"); ++ if (!(c == 'a')) ++ return 1; ++ c = getopt (argc, argv, "ab"); ++ if (!(c == -1)) ++ return 2; ++ if (!(optind == 2)) ++ return 3; ++ } ++ /* Some internal state exists at this point. */ ++ { ++ int argc = 0; ++ char *argv[10]; ++ int c; ++ ++ argv[argc++] = "program"; ++ argv[argc++] = "donald"; ++ argv[argc++] = "-p"; ++ argv[argc++] = "billy"; ++ argv[argc++] = "duck"; ++ argv[argc++] = "-a"; ++ argv[argc++] = "bar"; ++ argv[argc] = NULL; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ ++ c = getopt (argc, argv, "+abp:q:"); ++ if (!(c == -1)) ++ return 4; ++ if (!(strcmp (argv[0], "program") == 0)) ++ return 5; ++ if (!(strcmp (argv[1], "donald") == 0)) ++ return 6; ++ if (!(strcmp (argv[2], "-p") == 0)) ++ return 7; ++ if (!(strcmp (argv[3], "billy") == 0)) ++ return 8; ++ if (!(strcmp (argv[4], "duck") == 0)) ++ return 9; ++ if (!(strcmp (argv[5], "-a") == 0)) ++ return 10; ++ if (!(strcmp (argv[6], "bar") == 0)) ++ return 11; ++ if (!(optind == 1)) ++ return 12; ++ } ++ /* Detect MacOS 10.5, AIX 7.1 bug. */ ++ { ++ char *argv[3] = { "program", "-ab", NULL }; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ if (getopt (2, argv, "ab:") != 'a') ++ return 13; ++ if (getopt (2, argv, "ab:") != '?') ++ return 14; ++ if (optopt != 'b') ++ return 15; ++ if (optind != 2) ++ return 16; ++ } ++ ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_getopt_posix=yes ++else ++ gl_cv_func_getopt_posix=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ CPPFLAGS=$gl_save_CPPFLAGS ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 ++$as_echo "$gl_cv_func_getopt_posix" >&6; } ++ case "$gl_cv_func_getopt_posix" in ++ *no) gl_replace_getopt=yes ;; ++ esac ++ fi ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 ++$as_echo_n "checking for working GNU getopt function... " >&6; } ++if ${gl_cv_func_getopt_gnu+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the ++ # optstring is necessary for programs like m4 that have POSIX-mandated ++ # semantics for supporting options interspersed with files. ++ # Also, since getopt_long is a GNU extension, we require optind=0. ++ # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; ++ # so take care to revert to the correct (non-)export state. ++ gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' ++ case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ int result = 0; ++ /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, ++ and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, ++ OSF/1 5.1, Solaris 10. */ ++ { ++ char *myargv[3]; ++ myargv[0] = "conftest"; ++ myargv[1] = "-+"; ++ myargv[2] = 0; ++ opterr = 0; ++ if (getopt (2, myargv, "+a") != '?') ++ result |= 1; ++ } ++ /* This code succeeds on glibc 2.8, mingw, ++ and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, ++ IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ ++ { ++ char *argv[] = { "program", "-p", "foo", "bar", NULL }; ++ ++ optind = 1; ++ if (getopt (4, argv, "p::") != 'p') ++ result |= 2; ++ else if (optarg != NULL) ++ result |= 4; ++ else if (getopt (4, argv, "p::") != -1) ++ result |= 6; ++ else if (optind != 2) ++ result |= 8; ++ } ++ /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ ++ { ++ char *argv[] = { "program", "foo", "-p", NULL }; ++ optind = 0; ++ if (getopt (3, argv, "-p") != 1) ++ result |= 16; ++ else if (getopt (3, argv, "-p") != 'p') ++ result |= 32; ++ } ++ /* This code fails on glibc 2.11. */ ++ { ++ char *argv[] = { "program", "-b", "-a", NULL }; ++ optind = opterr = 0; ++ if (getopt (3, argv, "+:a:b") != 'b') ++ result |= 64; ++ else if (getopt (3, argv, "+:a:b") != ':') ++ result |= 64; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_getopt_gnu=yes ++else ++ gl_cv_func_getopt_gnu=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ case $gl_had_POSIXLY_CORRECT in ++ exported) ;; ++ yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; ++ *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; ++ esac ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 ++$as_echo "$gl_cv_func_getopt_gnu" >&6; } ++ if test "$gl_cv_func_getopt_gnu" = "no"; then ++ gl_replace_getopt=yes ++ fi ++ fi ++ ++ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getenv" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETENV $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ if test -n "$gl_replace_getopt"; then : ++ ++ ++ ++ GETOPT_H=getopt.h ++ ++$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h ++ ++ ++ ++ GNULIB_UNISTD_H_GETOPT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext" ++ ++ ++ ++ ++ ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 ++$as_echo_n "checking for C/C++ restrict keyword... " >&6; } ++if ${ac_cv_c_restrict+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_restrict=no ++ # The order here caters to the fact that C++ does not require restrict. ++ for ac_kw in __restrict __restrict__ _Restrict restrict; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++typedef int * int_ptr; ++ int foo (int_ptr $ac_kw ip) { ++ return ip[0]; ++ } ++int ++main () ++{ ++int s[1]; ++ int * $ac_kw t = s; ++ t[0] = 0; ++ return foo(t) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_restrict=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_restrict" != no && break ++ done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 ++$as_echo "$ac_cv_c_restrict" >&6; } ++ ++ case $ac_cv_c_restrict in ++ restrict) ;; ++ no) $as_echo "@%:@define restrict /**/" >>confdefs.h ++ ;; ++ *) cat >>confdefs.h <<_ACEOF ++@%:@define restrict $ac_cv_c_restrict ++_ACEOF ++ ;; ++ esac ++ ++ ++ GNULIB_GETTIMEOFDAY=0; ++ HAVE_GETTIMEOFDAY=1; ++ HAVE_STRUCT_TIMEVAL=1; ++ HAVE_SYS_TIME_H=1; ++ REPLACE_GETTIMEOFDAY=0; ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sys_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_time_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/time.h#{ ++ s#.*"\(.*/sys/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_time_h='<'sys/time.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 ++$as_echo "$gl_cv_next_sys_time_h" >&6; } ++ fi ++ NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sys_time_h != yes; then ++ HAVE_SYS_TIME_H=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 ++$as_echo_n "checking for struct timeval... " >&6; } ++if ${gl_cv_sys_struct_timeval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include ++ ++int ++main () ++{ ++static struct timeval x; x.tv_sec = x.tv_usec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timeval=yes ++else ++ gl_cv_sys_struct_timeval=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 ++$as_echo "$gl_cv_sys_struct_timeval" >&6; } ++ if test $gl_cv_sys_struct_timeval != yes; then ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 ++$as_echo_n "checking where to find the exponent in a 'float'... " >&6; } ++if ${gl_cv_cc_float_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_cc_float_expbit0="word 0 bit 23" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_float_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 ++$as_echo "$gl_cv_cc_float_expbit0" >&6; } ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 ++$as_echo_n "checking whether byte ordering is bigendian... " >&6; } ++if ${ac_cv_c_bigendian+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_bigendian=unknown ++ # See if we're dealing with a universal compiler. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ # Check for potential -arch flags. It is not universal unless ++ # there are at least two -arch flags with different values. ++ ac_arch= ++ ac_prev= ++ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ++ if test -n "$ac_prev"; then ++ case $ac_word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ++ ac_arch=$ac_word ++ else ++ ac_cv_c_bigendian=universal ++ break ++ fi ++ ;; ++ esac ++ ac_prev= ++ elif test "x$ac_word" = "x-arch"; then ++ ac_prev=arch ++ fi ++ done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if sys/param.h defines the BYTE_ORDER macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ++ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ++ && LITTLE_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if BYTE_ORDER != BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to _BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#ifndef _BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # Compile a test program. ++ if test "$cross_compiling" = yes; then : ++ # Try to guess by grepping values from an object file. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++short int ascii_mm[] = ++ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ++ short int ascii_ii[] = ++ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ++ int use_ascii (int i) { ++ return ascii_mm[i] + ascii_ii[i]; ++ } ++ short int ebcdic_ii[] = ++ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ++ short int ebcdic_mm[] = ++ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ++ int use_ebcdic (int i) { ++ return ebcdic_mm[i] + ebcdic_ii[i]; ++ } ++ extern int foo; ++ ++int ++main () ++{ ++return use_ascii (foo) == use_ebcdic (foo); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then ++ ac_cv_c_bigendian=no ++ else ++ # finding both strings is unlikely to happen, but who knows? ++ ac_cv_c_bigendian=unknown ++ fi ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Are we little or big endian? From Harbison&Steele. */ ++ union ++ { ++ long int l; ++ char c[sizeof (long int)]; ++ } u; ++ u.l = 1; ++ return u.c[sizeof (long int) - 1] == 1; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_bigendian=no ++else ++ ac_cv_c_bigendian=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 ++$as_echo "$ac_cv_c_bigendian" >&6; } ++ case $ac_cv_c_bigendian in #( ++ yes) ++ $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h ++;; #( ++ no) ++ ;; #( ++ universal) ++ ++$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ ;; #( ++ *) ++ as_fn_error $? "unknown endianness ++ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; ++ esac ++ ++ ++ ++ GNULIB_NL_LANGINFO=0; ++ HAVE_NL_LANGINFO=1; ++ REPLACE_NL_LANGINFO=0; ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 ++$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } ++if ${ac_cv_gnu_library_2_1+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) ++ Lucky GNU user ++ #endif ++#endif ++#ifdef __UCLIBC__ ++ Lucky user ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky" >/dev/null 2>&1; then : ++ ac_cv_gnu_library_2_1=yes ++else ++ ac_cv_gnu_library_2_1=no ++fi ++rm -f conftest* ++ ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 ++$as_echo "$ac_cv_gnu_library_2_1" >&6; } ++ ++ GLIBC21="$ac_cv_gnu_library_2_1" ++ ++ ++ ++ ++ gl_threads_api=none ++ LIBTHREAD= ++ LTLIBTHREAD= ++ LIBMULTITHREAD= ++ LTLIBMULTITHREAD= ++ if test "$gl_use_threads" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 ++$as_echo_n "checking whether imported symbols can be declared weak... " >&6; } ++if ${gl_cv_have_weak+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_have_weak=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++extern void xyzzy (); ++#pragma weak xyzzy ++int ++main () ++{ ++xyzzy(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_have_weak=maybe ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test $gl_cv_have_weak = maybe; then ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __ELF__ ++ Extensible Linking Format ++ #endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : ++ gl_cv_have_weak="guessing yes" ++else ++ gl_cv_have_weak="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#pragma weak fputs ++int main () ++{ ++ return (fputs == NULL); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_have_weak=yes ++else ++ gl_cv_have_weak=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 ++$as_echo "$gl_cv_have_weak" >&6; } ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then ++ # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that ++ # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. ++ ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = xyes; then : ++ gl_have_pthread_h=yes ++else ++ gl_have_pthread_h=no ++fi ++ ++ ++ if test "$gl_have_pthread_h" = yes; then ++ # Other possible tests: ++ # -lpthreads (FSU threads, PCthreads) ++ # -lgthreads ++ gl_have_pthread= ++ # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist ++ # in libc. IRIX 6.5 has the first one in both libc and libpthread, but ++ # the second one only in libpthread, and lock.c needs it. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++pthread_mutex_lock((pthread_mutex_t*)0); ++ pthread_mutexattr_init((pthread_mutexattr_t*)0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_have_pthread=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ # Test for libpthread by looking for pthread_kill. (Not pthread_self, ++ # since it is defined as a macro on OSF/1.) ++ if test -n "$gl_have_pthread"; then ++ # The program links fine without libpthread. But it may actually ++ # need to link with libpthread in order to create multiple threads. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 ++$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } ++if ${ac_cv_lib_pthread_pthread_kill+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpthread $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_kill (); ++int ++main () ++{ ++return pthread_kill (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pthread_pthread_kill=yes ++else ++ ac_cv_lib_pthread_pthread_kill=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 ++$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } ++if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : ++ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread ++ # On Solaris and HP-UX, most pthread functions exist also in libc. ++ # Therefore pthread_in_use() needs to actually try to create a ++ # thread: pthread_create from libc will fail, whereas ++ # pthread_create will actually create a thread. ++ case "$host_os" in ++ solaris* | hpux*) ++ ++$as_echo "@%:@define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h ++ ++ esac ++ ++fi ++ ++ else ++ # Some library is needed. Try libpthread and libc_r. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 ++$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } ++if ${ac_cv_lib_pthread_pthread_kill+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpthread $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_kill (); ++int ++main () ++{ ++return pthread_kill (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pthread_pthread_kill=yes ++else ++ ac_cv_lib_pthread_pthread_kill=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 ++$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } ++if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : ++ gl_have_pthread=yes ++ LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread ++ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread ++fi ++ ++ if test -z "$gl_have_pthread"; then ++ # For FreeBSD 4. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 ++$as_echo_n "checking for pthread_kill in -lc_r... " >&6; } ++if ${ac_cv_lib_c_r_pthread_kill+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lc_r $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pthread_kill (); ++int ++main () ++{ ++return pthread_kill (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_c_r_pthread_kill=yes ++else ++ ac_cv_lib_c_r_pthread_kill=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 ++$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } ++if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : ++ gl_have_pthread=yes ++ LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r ++ LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r ++fi ++ ++ fi ++ fi ++ if test -n "$gl_have_pthread"; then ++ gl_threads_api=posix ++ ++$as_echo "@%:@define USE_POSIX_THREADS 1" >>confdefs.h ++ ++ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ ++$as_echo "@%:@define USE_POSIX_THREADS_WEAK 1" >>confdefs.h ++ ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -z "$gl_have_pthread"; then ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then ++ gl_have_solaristhread= ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lthread" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++thr_self(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_have_solaristhread=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ if test -n "$gl_have_solaristhread"; then ++ gl_threads_api=solaris ++ LIBTHREAD=-lthread ++ LTLIBTHREAD=-lthread ++ LIBMULTITHREAD="$LIBTHREAD" ++ LTLIBMULTITHREAD="$LTLIBTHREAD" ++ ++$as_echo "@%:@define USE_SOLARIS_THREADS 1" >>confdefs.h ++ ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ ++$as_echo "@%:@define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h ++ ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ fi ++ fi ++ if test "$gl_use_threads" = pth; then ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 ++$as_echo_n "checking how to link with libpth... " >&6; } ++if ${ac_cv_libpth_libs+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libpth-prefix was given. ++if test "${with_libpth_prefix+set}" = set; then : ++ withval=$with_libpth_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++ ++fi ++ ++ LIBPTH= ++ LTLIBPTH= ++ INCPTH= ++ LIBPTH_PREFIX= ++ HAVE_LIBPTH= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='pth ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$acl_hardcode_direct" = yes; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" ++ else ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a" ++ else ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = 'pth'; then ++ LIBPTH_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = 'pth'; then ++ LIBPTH_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBPTH; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$dep" ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ac_cv_libpth_libs="$LIBPTH" ++ ac_cv_libpth_ltlibs="$LTLIBPTH" ++ ac_cv_libpth_cppflags="$INCPTH" ++ ac_cv_libpth_prefix="$LIBPTH_PREFIX" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 ++$as_echo "$ac_cv_libpth_libs" >&6; } ++ LIBPTH="$ac_cv_libpth_libs" ++ LTLIBPTH="$ac_cv_libpth_ltlibs" ++ INCPTH="$ac_cv_libpth_cppflags" ++ LIBPTH_PREFIX="$ac_cv_libpth_prefix" ++ ++ for element in $INCPTH; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ ++ ++ HAVE_LIBPTH=yes ++ ++ ++ ++ gl_have_pth= ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBPTH" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++pth_self(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_have_pth=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gl_save_LIBS" ++ if test -n "$gl_have_pth"; then ++ gl_threads_api=pth ++ LIBTHREAD="$LIBPTH" ++ LTLIBTHREAD="$LTLIBPTH" ++ LIBMULTITHREAD="$LIBTHREAD" ++ LTLIBMULTITHREAD="$LTLIBTHREAD" ++ ++$as_echo "@%:@define USE_PTH_THREADS 1" >>confdefs.h ++ ++ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ ++$as_echo "@%:@define USE_PTH_THREADS_WEAK 1" >>confdefs.h ++ ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ else ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ fi ++ fi ++ if test -z "$gl_have_pthread"; then ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then ++ if { case "$host_os" in ++ mingw*) true;; ++ *) false;; ++ esac ++ }; then ++ gl_threads_api=win32 ++ ++$as_echo "@%:@define USE_WIN32_THREADS 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 ++$as_echo_n "checking for multithread API to use... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 ++$as_echo "$gl_threads_api" >&6; } ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_FCHMODAT=0; ++ GNULIB_FSTATAT=0; ++ GNULIB_FUTIMENS=0; ++ GNULIB_LCHMOD=0; ++ GNULIB_LSTAT=0; ++ GNULIB_MKDIRAT=0; ++ GNULIB_MKFIFO=0; ++ GNULIB_MKFIFOAT=0; ++ GNULIB_MKNOD=0; ++ GNULIB_MKNODAT=0; ++ GNULIB_STAT=0; ++ GNULIB_UTIMENSAT=0; ++ HAVE_FCHMODAT=1; ++ HAVE_FSTATAT=1; ++ HAVE_FUTIMENS=1; ++ HAVE_LCHMOD=1; ++ HAVE_LSTAT=1; ++ HAVE_MKDIRAT=1; ++ HAVE_MKFIFO=1; ++ HAVE_MKFIFOAT=1; ++ HAVE_MKNOD=1; ++ HAVE_MKNODAT=1; ++ HAVE_UTIMENSAT=1; ++ REPLACE_FSTAT=0; ++ REPLACE_FSTATAT=0; ++ REPLACE_FUTIMENS=0; ++ REPLACE_LSTAT=0; ++ REPLACE_MKDIR=0; ++ REPLACE_MKFIFO=0; ++ REPLACE_MKNOD=0; ++ REPLACE_STAT=0; ++ REPLACE_UTIMENSAT=0; ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 ++$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } ++if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -f conftest.sym conftest.file ++ echo >conftest.file ++ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then ++ if test "$cross_compiling" = yes; then : ++ # When cross-compiling, be pessimistic so we will end up using the ++ # replacement version of lstat that checks for trailing slashes and ++ # calls lstat a second time when necessary. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++struct stat sbuf; ++ /* Linux will dereference the symlink and fail, as required by ++ POSIX. That is better in the sense that it means we will not ++ have to compile and use the lstat wrapper. */ ++ return lstat ("conftest.sym/", &sbuf) == 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_lstat_dereferences_slashed_symlink=yes ++else ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ else ++ # If the 'ln -s' command failed, then we probably don't even ++ # have an lstat function. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++ fi ++ rm -f conftest.sym conftest.file ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 ++$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } ++ test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 ++_ACEOF ++ ++ if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS lstat.$ac_objext" ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 ++$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } ++if ${gl_cv_func_malloc_posix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_malloc_posix=yes ++else ++ gl_cv_func_malloc_posix=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 ++$as_echo "$gl_cv_func_malloc_posix" >&6; } ++ ++ ++ for ac_header in stdlib.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdlib_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDLIB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 ++$as_echo_n "checking for GNU libc compatible malloc... " >&6; } ++if ${ac_cv_func_malloc_0_nonnull+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_malloc_0_nonnull=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined STDC_HEADERS || defined HAVE_STDLIB_H ++# include ++#else ++char *malloc (); ++#endif ++ ++int ++main () ++{ ++return ! malloc (0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_malloc_0_nonnull=yes ++else ++ ac_cv_func_malloc_0_nonnull=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: $ac_cv_func_malloc_0_nonnull" >&5 ++$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } ++if test $ac_cv_func_malloc_0_nonnull = yes; then : ++ gl_cv_func_malloc_0_nonnull=1 ++else ++ gl_cv_func_malloc_0_nonnull=0 ++fi ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull ++_ACEOF ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 ++$as_echo_n "checking for mbstate_t... " >&6; } ++if ${ac_cv_type_mbstate_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int ++main () ++{ ++mbstate_t x; return sizeof x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_type_mbstate_t=yes ++else ++ ac_cv_type_mbstate_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 ++$as_echo "$ac_cv_type_mbstate_t" >&6; } ++ if test $ac_cv_type_mbstate_t = yes; then ++ ++$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h ++ ++ else ++ ++$as_echo "@%:@define mbstate_t int" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_MEMCHR=0; ++ GNULIB_MEMMEM=0; ++ GNULIB_MEMPCPY=0; ++ GNULIB_MEMRCHR=0; ++ GNULIB_RAWMEMCHR=0; ++ GNULIB_STPCPY=0; ++ GNULIB_STPNCPY=0; ++ GNULIB_STRCHRNUL=0; ++ GNULIB_STRDUP=0; ++ GNULIB_STRNCAT=0; ++ GNULIB_STRNDUP=0; ++ GNULIB_STRNLEN=0; ++ GNULIB_STRPBRK=0; ++ GNULIB_STRSEP=0; ++ GNULIB_STRSTR=0; ++ GNULIB_STRCASESTR=0; ++ GNULIB_STRTOK_R=0; ++ GNULIB_MBSLEN=0; ++ GNULIB_MBSNLEN=0; ++ GNULIB_MBSCHR=0; ++ GNULIB_MBSRCHR=0; ++ GNULIB_MBSSTR=0; ++ GNULIB_MBSCASECMP=0; ++ GNULIB_MBSNCASECMP=0; ++ GNULIB_MBSPCASECMP=0; ++ GNULIB_MBSCASESTR=0; ++ GNULIB_MBSCSPN=0; ++ GNULIB_MBSPBRK=0; ++ GNULIB_MBSSPN=0; ++ GNULIB_MBSSEP=0; ++ GNULIB_MBSTOK_R=0; ++ GNULIB_STRERROR=0; ++ GNULIB_STRERROR_R=0; ++ GNULIB_STRSIGNAL=0; ++ GNULIB_STRVERSCMP=0; ++ HAVE_MBSLEN=0; ++ HAVE_MEMCHR=1; ++ HAVE_DECL_MEMMEM=1; ++ HAVE_MEMPCPY=1; ++ HAVE_DECL_MEMRCHR=1; ++ HAVE_RAWMEMCHR=1; ++ HAVE_STPCPY=1; ++ HAVE_STPNCPY=1; ++ HAVE_STRCHRNUL=1; ++ HAVE_DECL_STRDUP=1; ++ HAVE_DECL_STRNDUP=1; ++ HAVE_DECL_STRNLEN=1; ++ HAVE_STRPBRK=1; ++ HAVE_STRSEP=1; ++ HAVE_STRCASESTR=1; ++ HAVE_DECL_STRTOK_R=1; ++ HAVE_DECL_STRERROR_R=1; ++ HAVE_DECL_STRSIGNAL=1; ++ HAVE_STRVERSCMP=1; ++ REPLACE_MEMCHR=0; ++ REPLACE_MEMMEM=0; ++ REPLACE_STPNCPY=0; ++ REPLACE_STRDUP=0; ++ REPLACE_STRSTR=0; ++ REPLACE_STRCASESTR=0; ++ REPLACE_STRERROR=0; ++ REPLACE_STRERROR_R=0; ++ REPLACE_STRNCAT=0; ++ REPLACE_STRNDUP=0; ++ REPLACE_STRNLEN=0; ++ REPLACE_STRSIGNAL=0; ++ REPLACE_STRTOK_R=0; ++ UNDEFINE_STRTOK_R=0; ++ ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 ++$as_echo_n "checking whether memchr works... " >&6; } ++if ${gl_cv_func_memchr_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_memchr_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif ++#endif ++ ++int ++main () ++{ ++ ++ int result = 0; ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ result |= 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ result |= 2; ++ if (memchr (fence - 1, 0, 3) != fence - 1) ++ result |= 4; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_memchr_works=yes ++else ++ gl_cv_func_memchr_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_memchr_works" >&5 ++$as_echo "$gl_cv_func_memchr_works" >&6; } ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_MEMCHR=1 ++ fi ++ else ++ HAVE_MEMCHR=0 ++ fi ++ if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS memchr.$ac_objext" ++ ++ ++ for ac_header in bp-sym.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" ++if test "x$ac_cv_header_bp_sym_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_BP_SYM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ fi ++ ++@%:@ Check whether --enable-largefile was given. ++if test "${enable_largefile+set}" = set; then : ++ enableval=$enable_largefile; ++fi ++ ++if test "$enable_largefile" != no; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 ++$as_echo_n "checking for special C compiler options needed for large files... " >&6; } ++if ${ac_cv_sys_largefile_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_sys_largefile_CC=no ++ if test "$GCC" != yes; then ++ ac_save_CC=$CC ++ while :; do ++ # IRIX 6.2 and later do not support large files by default, ++ # so use the C compiler's -n32 option if that helps. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ if ac_fn_c_try_compile "$LINENO"; then : ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ CC="$CC -n32" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_largefile_CC=' -n32'; break ++fi ++rm -f core conftest.err conftest.$ac_objext ++ break ++ done ++ CC=$ac_save_CC ++ rm -f conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 ++$as_echo "$ac_cv_sys_largefile_CC" >&6; } ++ if test "$ac_cv_sys_largefile_CC" != no; then ++ CC=$CC$ac_cv_sys_largefile_CC ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ++if ${ac_cv_sys_file_offset_bits+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _FILE_OFFSET_BITS 64 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_file_offset_bits=64; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_file_offset_bits=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 ++$as_echo "$ac_cv_sys_file_offset_bits" >&6; } ++case $ac_cv_sys_file_offset_bits in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ if test $ac_cv_sys_file_offset_bits = unknown; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 ++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ++if ${ac_cv_sys_large_files+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ while :; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=no; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@define _LARGE_FILES 1 ++@%:@include ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_sys_large_files=1; break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cv_sys_large_files=unknown ++ break ++done ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 ++$as_echo "$ac_cv_sys_large_files" >&6; } ++case $ac_cv_sys_large_files in #( ++ no | unknown) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define _LARGE_FILES $ac_cv_sys_large_files ++_ACEOF ++;; ++esac ++rm -rf conftest* ++ fi ++ ++ ++fi ++ ++ ++ ++ ++ gl_cv_c_multiarch=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $gl_cv_c_multiarch = yes; then ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 ++$as_echo_n "checking for promoted mode_t type... " >&6; } ++if ${gl_cv_promoted_mode_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_promoted_mode_t='int' ++else ++ gl_cv_promoted_mode_t='mode_t' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 ++$as_echo "$gl_cv_promoted_mode_t" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PROMOTED_MODE_T $gl_cv_promoted_mode_t ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_POSIX_SPAWN=0; ++ GNULIB_POSIX_SPAWNP=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=0; ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=0; ++ GNULIB_POSIX_SPAWNATTR_INIT=0; ++ GNULIB_POSIX_SPAWNATTR_GETFLAGS=0; ++ GNULIB_POSIX_SPAWNATTR_SETFLAGS=0; ++ GNULIB_POSIX_SPAWNATTR_GETPGROUP=0; ++ GNULIB_POSIX_SPAWNATTR_SETPGROUP=0; ++ GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM=0; ++ GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM=0; ++ GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY=0; ++ GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY=0; ++ GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT=0; ++ GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT=0; ++ GNULIB_POSIX_SPAWNATTR_GETSIGMASK=0; ++ GNULIB_POSIX_SPAWNATTR_SETSIGMASK=0; ++ GNULIB_POSIX_SPAWNATTR_DESTROY=0; ++ HAVE_POSIX_SPAWN=1; ++ HAVE_POSIX_SPAWNATTR_T=1; ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=1; ++ ++ REPLACE_POSIX_SPAWN=0; ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_posix_spawn != yes; then ++ HAVE_POSIX_SPAWN=0 ++ fi ++ ++ ++ ++ ++ if test $ac_cv_func_posix_spawn = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5 ++$as_echo_n "checking whether posix_spawn works... " >&6; } ++if ${gl_cv_func_posix_spawn_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++extern char **environ; ++ ++#ifndef STDIN_FILENO ++# define STDIN_FILENO 0 ++#endif ++#ifndef STDOUT_FILENO ++# define STDOUT_FILENO 1 ++#endif ++#ifndef STDERR_FILENO ++# define STDERR_FILENO 2 ++#endif ++ ++#ifndef WTERMSIG ++# define WTERMSIG(x) ((x) & 0x7f) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(x) (WTERMSIG (x) == 0) ++#endif ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(x) (((x) >> 8) & 0xff) ++#endif ++ ++#define CHILD_PROGRAM_FILENAME "/non/exist/ent" ++ ++static int ++fd_safer (int fd) ++{ ++ if (0 <= fd && fd <= 2) ++ { ++ int f = fd_safer (dup (fd)); ++ int e = errno; ++ close (fd); ++ errno = e; ++ fd = f; ++ } ++ ++ return fd; ++} ++ ++int ++main () ++{ ++ char *argv[2] = { CHILD_PROGRAM_FILENAME, NULL }; ++ int ofd[2]; ++ sigset_t blocked_signals; ++ sigset_t fatal_signal_set; ++ posix_spawn_file_actions_t actions; ++ bool actions_allocated; ++ posix_spawnattr_t attrs; ++ bool attrs_allocated; ++ int err; ++ pid_t child; ++ int status; ++ int exitstatus; ++ ++ setvbuf (stdout, NULL, _IOFBF, 0); ++ puts ("This should be seen only once."); ++ if (pipe (ofd) < 0 || (ofd[1] = fd_safer (ofd[1])) < 0) ++ { ++ perror ("cannot create pipe"); ++ exit (1); ++ } ++ sigprocmask (SIG_SETMASK, NULL, &blocked_signals); ++ sigemptyset (&fatal_signal_set); ++ sigaddset (&fatal_signal_set, SIGINT); ++ sigaddset (&fatal_signal_set, SIGTERM); ++ sigaddset (&fatal_signal_set, SIGHUP); ++ sigaddset (&fatal_signal_set, SIGPIPE); ++ sigprocmask (SIG_BLOCK, &fatal_signal_set, NULL); ++ actions_allocated = false; ++ attrs_allocated = false; ++ if ((err = posix_spawn_file_actions_init (&actions)) != 0 ++ || (actions_allocated = true, ++ (err = posix_spawn_file_actions_adddup2 (&actions, ofd[0], STDIN_FILENO)) != 0 ++ || (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) != 0 ++ || (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) != 0 ++ || (err = posix_spawnattr_init (&attrs)) != 0 ++ || (attrs_allocated = true, ++ (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 ++ || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0) ++ || (err = posix_spawnp (&child, CHILD_PROGRAM_FILENAME, &actions, &attrs, argv, environ)) != 0)) ++ { ++ if (actions_allocated) ++ posix_spawn_file_actions_destroy (&actions); ++ if (attrs_allocated) ++ posix_spawnattr_destroy (&attrs); ++ sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL); ++ if (err == ENOENT) ++ return 0; ++ else ++ { ++ errno = err; ++ perror ("subprocess failed"); ++ exit (1); ++ } ++ } ++ posix_spawn_file_actions_destroy (&actions); ++ posix_spawnattr_destroy (&attrs); ++ sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL); ++ close (ofd[0]); ++ close (ofd[1]); ++ status = 0; ++ while (waitpid (child, &status, 0) != child) ++ ; ++ if (!WIFEXITED (status)) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status); ++ exit (1); ++ } ++ exitstatus = WEXITSTATUS (status); ++ if (exitstatus != 127) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus); ++ exit (1); ++ } ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext > conftest.out \ ++ && echo 'This should be seen only once.' > conftest.ok \ ++ && cmp conftest.out conftest.ok > /dev/null; then ++ gl_cv_func_posix_spawn_works=yes ++ else ++ gl_cv_func_posix_spawn_works=no ++ fi ++else ++ gl_cv_func_posix_spawn_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ if test $gl_cv_func_posix_spawn_works = yes; then ++ if test "$cross_compiling" = yes; then : ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot run test program while cross compiling ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Test whether posix_spawn_file_actions_addopen supports filename arguments ++ that contain special characters such as '*'. */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++extern char **environ; ++ ++#ifndef STDIN_FILENO ++# define STDIN_FILENO 0 ++#endif ++#ifndef STDOUT_FILENO ++# define STDOUT_FILENO 1 ++#endif ++#ifndef STDERR_FILENO ++# define STDERR_FILENO 2 ++#endif ++ ++#ifndef WTERMSIG ++# define WTERMSIG(x) ((x) & 0x7f) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(x) (WTERMSIG (x) == 0) ++#endif ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(x) (((x) >> 8) & 0xff) ++#endif ++ ++#define CHILD_PROGRAM_FILENAME "conftest" ++#define DATA_FILENAME "conftest%=*#?" ++ ++static int ++parent_main (void) ++{ ++ FILE *fp; ++ char *argv[3] = { CHILD_PROGRAM_FILENAME, "-child", NULL }; ++ posix_spawn_file_actions_t actions; ++ bool actions_allocated; ++ int err; ++ pid_t child; ++ int status; ++ int exitstatus; ++ ++ /* Create a data file with specific contents. */ ++ fp = fopen (DATA_FILENAME, "wb"); ++ if (fp == NULL) ++ { ++ perror ("cannot create data file"); ++ return 1; ++ } ++ fwrite ("Halle Potta", 1, 11, fp); ++ if (fflush (fp) || fclose (fp)) ++ { ++ perror ("cannot prepare data file"); ++ return 2; ++ } ++ ++ /* Avoid reading from our stdin, as it could block. */ ++ freopen ("/dev/null", "rb", stdin); ++ ++ /* Test whether posix_spawn_file_actions_addopen with this file name ++ actually works, but spawning a child that reads from this file. */ ++ actions_allocated = false; ++ if ((err = posix_spawn_file_actions_init (&actions)) != 0 ++ || (actions_allocated = true, ++ (err = posix_spawn_file_actions_addopen (&actions, STDIN_FILENO, DATA_FILENAME, O_RDONLY, 0600)) != 0 ++ || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0)) ++ { ++ if (actions_allocated) ++ posix_spawn_file_actions_destroy (&actions); ++ errno = err; ++ perror ("subprocess failed"); ++ return 3; ++ } ++ posix_spawn_file_actions_destroy (&actions); ++ status = 0; ++ while (waitpid (child, &status, 0) != child) ++ ; ++ if (!WIFEXITED (status)) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status); ++ return 4; ++ } ++ exitstatus = WEXITSTATUS (status); ++ if (exitstatus != 0) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus); ++ return 5; ++ } ++ return 0; ++} ++ ++static int ++child_main (void) ++{ ++ char buf[1024]; ++ ++ /* See if reading from STDIN_FILENO yields the expected contents. */ ++ if (fread (buf, 1, sizeof (buf), stdin) == 11 ++ && memcmp (buf, "Halle Potta", 11) == 0) ++ return 0; ++ else ++ return 8; ++} ++ ++static void ++cleanup_then_die (int sig) ++{ ++ /* Clean up data file. */ ++ unlink (DATA_FILENAME); ++ ++ /* Re-raise the signal and die from it. */ ++ signal (sig, SIG_DFL); ++ raise (sig); ++} ++ ++int ++main (int argc, char *argv[]) ++{ ++ int exitstatus; ++ ++ if (!(argc > 1 && strcmp (argv[1], "-child") == 0)) ++ { ++ /* This is the parent process. */ ++ signal (SIGINT, cleanup_then_die); ++ signal (SIGTERM, cleanup_then_die); ++ #ifdef SIGHUP ++ signal (SIGHUP, cleanup_then_die); ++ #endif ++ ++ exitstatus = parent_main (); ++ } ++ else ++ { ++ /* This is the child process. */ ++ ++ exitstatus = child_main (); ++ } ++ unlink (DATA_FILENAME); ++ return exitstatus; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ gl_cv_func_posix_spawn_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 ++ else ++ case "$host_os" in ++ aix*) gl_cv_func_posix_spawn_works="guessing no";; ++ *) gl_cv_func_posix_spawn_works="guessing yes";; ++ esac ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_posix_spawn_works" >&5 ++$as_echo "$gl_cv_func_posix_spawn_works" >&6; } ++ ++ case "$gl_cv_func_posix_spawn_works" in ++ *yes) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedpolicy is supported" >&5 ++$as_echo_n "checking whether posix_spawnattr_setschedpolicy is supported... " >&6; } ++if ${gl_cv_func_spawnattr_setschedpolicy+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if POSIX_SPAWN_SETSCHEDULER ++ POSIX scheduling supported ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then : ++ gl_cv_func_spawnattr_setschedpolicy=yes ++else ++ gl_cv_func_spawnattr_setschedpolicy=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedpolicy" >&5 ++$as_echo "$gl_cv_func_spawnattr_setschedpolicy" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedparam is supported" >&5 ++$as_echo_n "checking whether posix_spawnattr_setschedparam is supported... " >&6; } ++if ${gl_cv_func_spawnattr_setschedparam+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if POSIX_SPAWN_SETSCHEDPARAM ++ POSIX scheduling supported ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then : ++ gl_cv_func_spawnattr_setschedparam=yes ++else ++ gl_cv_func_spawnattr_setschedparam=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedparam" >&5 ++$as_echo "$gl_cv_func_spawnattr_setschedparam" >&6; } ++ ;; ++ *) REPLACE_POSIX_SPAWN=1 ;; ++ esac ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ GNULIB_SIGNAL_H_SIGPIPE=0; ++ GNULIB_SIGPROCMASK=0; ++ GNULIB_SIGACTION=0; ++ HAVE_POSIX_SIGNALBLOCKING=1; ++ HAVE_SIGSET_T=1; ++ HAVE_SIGINFO_T=1; ++ HAVE_SIGACTION=1; ++ HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; ++ ++ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 ++$as_echo_n "checking for uid_t in sys/types.h... " >&6; } ++if ${ac_cv_type_uid_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "uid_t" >/dev/null 2>&1; then : ++ ac_cv_type_uid_t=yes ++else ++ ac_cv_type_uid_t=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 ++$as_echo "$ac_cv_type_uid_t" >&6; } ++if test $ac_cv_type_uid_t = no; then ++ ++$as_echo "@%:@define uid_t int" >>confdefs.h ++ ++ ++$as_echo "@%:@define gid_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 ++$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } ++if ${gl_cv_func_snprintf_retval_c99+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_retval_c99="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ strcpy (buf, "ABCDEF"); ++ if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) ++ return 1; ++ if (snprintf (buf, 0, "%d %d", 4567, 89) != 7) ++ return 2; ++ if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7) ++ return 3; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_snprintf_retval_c99=yes ++else ++ gl_cv_func_snprintf_retval_c99=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_snprintf_retval_c99" >&5 ++$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } ++ ++ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" ++if test "x$ac_cv_have_decl_snprintf" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 ++$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } ++if ${ac_cv_header_stdbool_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ /* See body of main program for 'e'. */ ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ /* The following fails for ++ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ ++int ++main () ++{ ++ ++ bool e = &s; ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdbool_h=yes ++else ++ ac_cv_header_stdbool_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 ++$as_echo "$ac_cv_header_stdbool_h" >&6; } ++ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" ++if test "x$ac_cv_type__Bool" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__BOOL 1 ++_ACEOF ++ ++ ++fi ++ ++ ++ ++ REPLACE_NULL=0; ++ HAVE_WCHAR_T=1; ++ STDDEF_H=''; ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if ${gt_cv_c_wchar_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test -z "$ERRNO_H"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 ++$as_echo_n "checking for working strerror function... " >&6; } ++if ${gl_cv_func_working_strerror+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*strerror (-2); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strerror=yes ++else ++ gl_cv_func_working_strerror=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_working_strerror" >&5 ++$as_echo "$gl_cv_func_working_strerror" >&6; } ++ if test $gl_cv_func_working_strerror = no; then ++ REPLACE_STRERROR=1 ++ fi ++ else ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then ++ ++ ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strerror" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRERROR $ac_have_decl ++_ACEOF ++ ++ ++ if test $ac_cv_header_sys_socket_h != yes; then ++ for ac_header in winsock2.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WINSOCK2_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ fi ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_string_h='<'string.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_string_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/string.h#{ ++ s#.*"\(.*/string.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 ++$as_echo "$gl_cv_next_string_h" >&6; } ++ fi ++ NEXT_STRING_H=$gl_cv_next_string_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'string.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_string_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strndup" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNDUP $ac_have_decl ++_ACEOF ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strnlen" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRNLEN $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strsignal" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include ++/* NetBSD declares sys_siglist in unistd.h. */ ++#ifdef HAVE_UNISTD_H ++# include ++#endif ++ ++" ++if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 ++$as_echo_n "checking whether strstr works... " >&6; } ++if ${gl_cv_func_strstr_works_always+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __GNU_LIBRARY__ ++ #include ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ || defined __UCLIBC__ ++ Lucky user ++ #endif ++#elif defined __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#else ++ Lucky user ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for strstr */ ++#define P "_EF_BF_BD" ++#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P ++#define NEEDLE P P P P P ++ ++int ++main () ++{ ++return !!strstr (HAYSTACK, NEEDLE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always=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_strstr_works_always" >&5 ++$as_echo "$gl_cv_func_strstr_works_always" >&6; } ++ if test "$gl_cv_func_strstr_works_always" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ fi ++ fi ++ ++ac_fn_c_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strtod" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRTOD $ac_have_decl ++_ACEOF ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5 ++$as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_ldexp_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __NO_MATH_INLINES ++ # define __NO_MATH_INLINES 1 /* for glibc */ ++ #endif ++ #include ++ double (*funcptr) (double, int) = ldexp; ++ double x; ++int ++main () ++{ ++return ldexp (x, -1) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ldexp_no_libm=yes ++else ++ gl_cv_func_ldexp_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5 ++$as_echo "$gl_cv_func_ldexp_no_libm" >&6; } ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 ++$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } ++if ${ac_cv_header_stat_broken+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++#if defined S_ISBLK && defined S_IFDIR ++extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISBLK && defined S_IFCHR ++extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; ++#endif ++ ++#if defined S_ISLNK && defined S_IFREG ++extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; ++#endif ++ ++#if defined S_ISSOCK && defined S_IFREG ++extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stat_broken=no ++else ++ ac_cv_header_stat_broken=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 ++$as_echo "$ac_cv_header_stat_broken" >&6; } ++if test $ac_cv_header_stat_broken = yes; then ++ ++$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ GNULIB_WAITPID=0; ++ ++ ++ ++ ++ GNULIB_MKTIME=0; ++ GNULIB_NANOSLEEP=0; ++ GNULIB_STRPTIME=0; ++ GNULIB_TIMEGM=0; ++ GNULIB_TIME_R=0; ++ HAVE_DECL_LOCALTIME_R=1; ++ HAVE_NANOSLEEP=1; ++ HAVE_STRPTIME=1; ++ HAVE_TIMEGM=1; ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; ++ REPLACE_MKTIME=GNULIB_PORTCHECK; ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_time_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_sys_struct_timespec_in_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_sys_time_h=yes ++else ++ gl_cv_sys_struct_timespec_in_sys_time_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_sys_struct_timespec_in_sys_time_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 ++$as_echo_n "checking for struct timespec in ... " >&6; } ++if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++static struct timespec x; x.tv_sec = x.tv_nsec; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_sys_struct_timespec_in_pthread_h=yes ++else ++ gl_cv_sys_struct_timespec_in_pthread_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_sys_struct_timespec_in_pthread_h" >&5 ++$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } ++ if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then ++ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_time_h='<'time.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_time_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/time.h#{ ++ s#.*"\(.*/time.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 ++$as_echo "$gl_cv_next_time_h" >&6; } ++ fi ++ NEXT_TIME_H=$gl_cv_next_time_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'time.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_time_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" ++if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if ${gt_cv_c_wint_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ if test $ac_cv_header_features_h = yes; then ++ HAVE_FEATURES_H=1 ++ else ++ HAVE_FEATURES_H=0 ++ fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 ++$as_echo_n "checking for inttypes.h... " >&6; } ++if ${gl_cv_header_inttypes_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_inttypes_h=yes ++else ++ gl_cv_header_inttypes_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_inttypes_h" >&5 ++$as_echo "$gl_cv_header_inttypes_h" >&6; } ++ if test $gl_cv_header_inttypes_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 ++$as_echo_n "checking for stdint.h... " >&6; } ++if ${gl_cv_header_stdint_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++int ++main () ++{ ++uintmax_t i = (uintmax_t) -1; return !i; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_stdint_h=yes ++else ++ gl_cv_header_stdint_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_h" >&5 ++$as_echo "$gl_cv_header_stdint_h" >&6; } ++ if test $gl_cv_header_stdint_h = yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H_WITH_UINTMAX 1 ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 ++$as_echo_n "checking for intmax_t... " >&6; } ++if ${gt_cv_c_intmax_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++ ++int ++main () ++{ ++intmax_t x = -1; return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_intmax_t=yes ++else ++ gt_cv_c_intmax_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 ++$as_echo "$gt_cv_c_intmax_t" >&6; } ++ if test $gt_cv_c_intmax_t = yes; then ++ ++$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h ++ ++ else ++ ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define intmax_t $ac_type ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include ++" ++if test "x$ac_cv_have_decl__snprintf" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL__SNPRINTF $ac_have_decl ++_ACEOF ++ ++ ++ case "$gl_cv_func_snprintf_retval_c99" in ++ *yes) ++ ++$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5 ++$as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; } ++if ${gl_cv_func_printf_sizes_c99+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; ++ darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_sizes_c99="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++# include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++# include ++#endif ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 ++ || strcmp (buf, "12345671 33") != 0) ++ result |= 1; ++#endif ++ buf[0] = '\0'; ++ if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 ++ || strcmp (buf, "12345672 33") != 0) ++ result |= 2; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 ++ || strcmp (buf, "12345673 33") != 0) ++ result |= 4; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 ++ || strcmp (buf, "1.5 33") != 0) ++ result |= 8; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_sizes_c99=yes ++else ++ gl_cv_func_printf_sizes_c99=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_printf_sizes_c99" >&5 ++$as_echo "$gl_cv_func_printf_sizes_c99" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5 ++$as_echo_n "checking whether printf supports 'long double' arguments... " >&6; } ++if ${gl_cv_func_printf_long_double+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ beos*) gl_cv_func_printf_long_double="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_long_double="guessing no";; ++ *) gl_cv_func_printf_long_double="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[10000]; ++int main () ++{ ++ int result = 0; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000 33") != 0) ++ result |= 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000e+00 33") != 0) ++ result |= 2; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.75 33") != 0) ++ result |= 4; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_long_double=yes ++else ++ gl_cv_func_printf_long_double=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_printf_long_double" >&5 ++$as_echo "$gl_cv_func_printf_long_double" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5 ++$as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; } ++if ${gl_cv_func_printf_infinite+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; ++ darwin*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; ++ hpux*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_infinite="guessing no";; ++ netbsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_infinite="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static int ++have_minus_zero () ++{ ++ static double plus_zero = 0.0; ++ double minus_zero = - plus_zero; ++ return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; ++} ++static char buf[10000]; ++static double zero = 0.0; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%f", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%f", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%f", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%e", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 4; ++ if (sprintf (buf, "%e", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 4; ++ if (sprintf (buf, "%e", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%g", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 16; ++ if (sprintf (buf, "%g", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 16; ++ if (sprintf (buf, "%g", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ /* This test fails on HP-UX 10.20. */ ++ if (have_minus_zero ()) ++ if (sprintf (buf, "%g", - zero) < 0 ++ || strcmp (buf, "-0") != 0) ++ result |= 64; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_infinite=yes ++else ++ gl_cv_func_printf_infinite=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_printf_infinite" >&5 ++$as_echo "$gl_cv_func_printf_infinite" >&6; } ++ ++ ++ ++ ++ ++ if test -n "$gl_printf_safe"; then ++ ++$as_echo "@%:@define CHECK_PRINTF_SAFE 1" >>confdefs.h ++ ++ fi ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5 ++$as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; } ++if ${gl_cv_func_printf_infinite_long_double+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; ++ *) ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite_long_double="guessing no";; ++ esac ++ ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++#if defined __MACH__ && defined __APPLE__ ++/* Avoid a crash on MacOS X. */ ++#include ++#include ++#include ++#include ++#include ++#include ++/* The exception port on which our thread listens. */ ++static mach_port_t our_exception_port; ++/* The main function of the thread listening for exceptions of type ++ EXC_BAD_ACCESS. */ ++static void * ++mach_exception_thread (void *arg) ++{ ++ /* Buffer for a message to be received. */ ++ struct { ++ mach_msg_header_t head; ++ mach_msg_body_t msgh_body; ++ char data[1024]; ++ } msg; ++ mach_msg_return_t retval; ++ /* Wait for a message on the exception port. */ ++ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), ++ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); ++ if (retval != MACH_MSG_SUCCESS) ++ abort (); ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++ mach_port_t self = mach_task_self (); ++ /* Allocate a port on which the thread shall listen for exceptions. */ ++ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) ++ == KERN_SUCCESS) { ++ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ ++ if (mach_port_insert_right (self, our_exception_port, our_exception_port, ++ MACH_MSG_TYPE_MAKE_SEND) ++ == KERN_SUCCESS) { ++ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting ++ for us. */ ++ exception_mask_t mask = EXC_MASK_BAD_ACCESS; ++ /* Create the thread listening on the exception port. */ ++ pthread_attr_t attr; ++ pthread_t thread; ++ if (pthread_attr_init (&attr) == 0 ++ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 ++ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { ++ pthread_attr_destroy (&attr); ++ /* Replace the exception port info for these exceptions with our own. ++ Note that we replace the exception port for the entire task, not only ++ for a particular thread. This has the effect that when our exception ++ port gets the message, the thread specific exception port has already ++ been asked, and we don't need to bother about it. ++ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ ++ task_set_exception_ports (self, mask, our_exception_port, ++ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); ++ } ++ } ++ } ++} ++#else ++/* Avoid a crash on POSIX systems. */ ++#include ++/* A POSIX signal handler. */ ++static void ++exception_handler (int sig) ++{ ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++#ifdef SIGSEGV ++ signal (SIGSEGV, exception_handler); ++#endif ++#ifdef SIGBUS ++ signal (SIGBUS, exception_handler); ++#endif ++} ++#endif ++ ++#include ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static char buf[10000]; ++static long double zeroL = 0.0L; ++int main () ++{ ++ int result = 0; ++ nocrash_init(); ++ if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++ if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Le", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++ if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ } ++ { ++ /* Signalling NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ } ++ { /* Pseudo-NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ } ++ { /* Pseudo-Infinity. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ } ++ { /* Pseudo-Zero. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ } ++ { /* Unnormalized number. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ } ++ { /* Pseudo-Denormal. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ } ++#endif ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_infinite_long_double=yes ++else ++ gl_cv_func_printf_infinite_long_double=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_printf_infinite_long_double" >&5 ++$as_echo "$gl_cv_func_printf_infinite_long_double" >&6; } ++ ;; ++ *) ++ gl_cv_func_printf_infinite_long_double="irrelevant" ++ ;; ++ esac ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5 ++$as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; } ++if ${gl_cv_func_printf_directive_a+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc >= 2.5 systems. ++ *-gnu*) ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__ ++ BZ2908 ++ #endif ++ #endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "BZ2908" >/dev/null 2>&1; then : ++ gl_cv_func_printf_directive_a="guessing yes" ++else ++ gl_cv_func_printf_directive_a="guessing no" ++fi ++rm -f conftest* ++ ++ ;; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_a="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.922p+1 33") != 0 ++ && strcmp (buf, "0x3.244p+0 33") != 0 ++ && strcmp (buf, "0x6.488p-1 33") != 0 ++ && strcmp (buf, "0xc.91p-2 33") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "-0X1.922P+1 33") != 0 ++ && strcmp (buf, "-0X3.244P+0 33") != 0 ++ && strcmp (buf, "-0X6.488P-1 33") != 0 ++ && strcmp (buf, "-0XC.91P-2 33") != 0)) ++ result |= 2; ++ /* This catches a FreeBSD 6.1 bug: it doesn't round. */ ++ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.83p+0 33") != 0 ++ && strcmp (buf, "0x3.05p-1 33") != 0 ++ && strcmp (buf, "0x6.0ap-2 33") != 0 ++ && strcmp (buf, "0xc.14p-3 33") != 0)) ++ result |= 4; ++ /* This catches a FreeBSD 6.1 bug. See ++ */ ++ if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0 ++ || buf[0] == '0') ++ result |= 8; ++ /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ ++ if (sprintf (buf, "%.1a", 1.999) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ result |= 16; ++ /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a ++ glibc 2.4 bug . */ ++ if (sprintf (buf, "%.1La", 1.999L) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ result |= 32; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_a=yes ++else ++ gl_cv_func_printf_directive_a=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_printf_directive_a" >&5 ++$as_echo "$gl_cv_func_printf_directive_a" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5 ++$as_echo_n "checking whether printf supports the 'F' directive... " >&6; } ++if ${gl_cv_func_printf_directive_f+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; ++ darwin*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_f="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 ++ || strcmp (buf, "1234567.000000 33") != 0) ++ result |= 1; ++ if (sprintf (buf, "%F", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) ++ result |= 2; ++ /* This catches a Cygwin 1.5.x bug. */ ++ if (sprintf (buf, "%.F", 1234.0) < 0 ++ || strcmp (buf, "1234") != 0) ++ result |= 4; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_f=yes ++else ++ gl_cv_func_printf_directive_f=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_printf_directive_f" >&5 ++$as_echo "$gl_cv_func_printf_directive_f" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5 ++$as_echo_n "checking whether printf supports the 'n' directive... " >&6; } ++if ${gl_cv_func_printf_directive_n+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ *) gl_cv_func_printf_directive_n="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char fmtstring[10]; ++static char buf[100]; ++int main () ++{ ++ int count = -1; ++ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) ++ support %n in format strings in read-only memory but not in writable ++ memory. */ ++ strcpy (fmtstring, "%d %n"); ++ if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 ++ || strcmp (buf, "123 ") != 0 ++ || count != 4) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_n=yes ++else ++ gl_cv_func_printf_directive_n=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_printf_directive_n" >&5 ++$as_echo "$gl_cv_func_printf_directive_n" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5 ++$as_echo_n "checking whether printf supports the 'ls' directive... " >&6; } ++if ${gl_cv_func_printf_directive_ls+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ openbsd*) gl_cv_func_printf_directive_ls="guessing no";; ++ irix*) gl_cv_func_printf_directive_ls="guessing no";; ++ solaris*) gl_cv_func_printf_directive_ls="guessing no";; ++ cygwin*) gl_cv_func_printf_directive_ls="guessing no";; ++ beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; ++ *) gl_cv_func_printf_directive_ls="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ char buf[100]; ++ /* Test whether %ls works at all. ++ This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on ++ Cygwin 1.5. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "abc") != 0) ++ result |= 1; ++ } ++ /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an ++ assertion failure inside libc), but not on OpenBSD 4.0. */ ++ { ++ static const wchar_t wstring[] = { 'a', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "a") != 0) ++ result |= 2; ++ } ++ /* Test whether precisions in %ls are supported as specified in ISO C 99 ++ section 7.19.6.1: ++ "If a precision is specified, no more than that many bytes are written ++ (including shift sequences, if any), and the array shall contain a ++ null wide character if, to equal the multibyte character sequence ++ length given by the precision, the function would need to access a ++ wide character one past the end of the array." ++ This test fails on Solaris 10. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%.2ls", wstring) < 0 ++ || strcmp (buf, "ab") != 0) ++ result |= 8; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_directive_ls=yes ++else ++ gl_cv_func_printf_directive_ls=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_printf_directive_ls" >&5 ++$as_echo "$gl_cv_func_printf_directive_ls" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 ++$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } ++if ${gl_cv_func_printf_positions+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) ++ gl_cv_func_printf_positions="guessing no";; ++ beos*) gl_cv_func_printf_positions="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_positions="guessing no";; ++ *) gl_cv_func_printf_positions="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* The string "%2$d %1$d", with dollar characters protected from the shell's ++ dollar expansion (possibly an autoconf bug). */ ++static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ++static char buf[100]; ++int main () ++{ ++ sprintf (buf, format, 33, 55); ++ return (strcmp (buf, "55 33") != 0); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_positions=yes ++else ++ gl_cv_func_printf_positions=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_printf_positions" >&5 ++$as_echo "$gl_cv_func_printf_positions" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5 ++$as_echo_n "checking whether printf supports the grouping flag... " >&6; } ++if ${gl_cv_func_printf_flag_grouping+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; ++ netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; ++ *) gl_cv_func_printf_flag_grouping="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%'d %d", 1234567, 99) < 0 ++ || buf[strlen (buf) - 1] != '9') ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_flag_grouping=yes ++else ++ gl_cv_func_printf_flag_grouping=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_printf_flag_grouping" >&5 ++$as_echo "$gl_cv_func_printf_flag_grouping" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5 ++$as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; } ++if ${gl_cv_func_printf_flag_leftadjust+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on HP-UX 11. ++ hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ # Guess no on HP-UX 10 and older. ++ hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ /* Check that a '-' flag is not annihilated by a negative width. */ ++ if (sprintf (buf, "a%-*sc", -3, "b") < 0 ++ || strcmp (buf, "ab c") != 0) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_flag_leftadjust=yes ++else ++ gl_cv_func_printf_flag_leftadjust=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_printf_flag_leftadjust" >&5 ++$as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5 ++$as_echo_n "checking whether printf supports the zero flag correctly... " >&6; } ++if ${gl_cv_func_printf_flag_zero+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_flag_zero="guessing no";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0 ++ || (strcmp (buf, " inf") != 0 ++ && strcmp (buf, " infinity") != 0)) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_flag_zero=yes ++else ++ gl_cv_func_printf_flag_zero=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_printf_flag_zero" >&5 ++$as_echo "$gl_cv_func_printf_flag_zero" >&6; } ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5 ++$as_echo_n "checking whether printf supports large precisions... " >&6; } ++if ${gl_cv_func_printf_precision+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no only on Solaris, native Win32, and BeOS systems. ++ solaris*) gl_cv_func_printf_precision="guessing no" ;; ++ mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; ++ beos*) gl_cv_func_printf_precision="guessing no" ;; ++ *) gl_cv_func_printf_precision="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++static char buf[5000]; ++int main () ++{ ++ int result = 0; ++#ifdef __BEOS__ ++ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ ++ return 1; ++#endif ++ if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) ++ result |= 1; ++ if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) ++ result |= 2; ++ if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 ++ || buf[0] != '1') ++ result |= 4; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_printf_precision=yes ++else ++ gl_cv_func_printf_precision=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_printf_precision" >&5 ++$as_echo "$gl_cv_func_printf_precision" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5 ++$as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; } ++if ${gl_cv_func_printf_enomem+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_func_printf_enomem="guessing no" ++ if test "$cross_compiling" = no; then ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++#if defined __MACH__ && defined __APPLE__ ++/* Avoid a crash on MacOS X. */ ++#include ++#include ++#include ++#include ++#include ++#include ++/* The exception port on which our thread listens. */ ++static mach_port_t our_exception_port; ++/* The main function of the thread listening for exceptions of type ++ EXC_BAD_ACCESS. */ ++static void * ++mach_exception_thread (void *arg) ++{ ++ /* Buffer for a message to be received. */ ++ struct { ++ mach_msg_header_t head; ++ mach_msg_body_t msgh_body; ++ char data1024; ++ } msg; ++ mach_msg_return_t retval; ++ /* Wait for a message on the exception port. */ ++ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), ++ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); ++ if (retval != MACH_MSG_SUCCESS) ++ abort (); ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++ mach_port_t self = mach_task_self (); ++ /* Allocate a port on which the thread shall listen for exceptions. */ ++ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) ++ == KERN_SUCCESS) { ++ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ ++ if (mach_port_insert_right (self, our_exception_port, our_exception_port, ++ MACH_MSG_TYPE_MAKE_SEND) ++ == KERN_SUCCESS) { ++ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting ++ for us. */ ++ exception_mask_t mask = EXC_MASK_BAD_ACCESS; ++ /* Create the thread listening on the exception port. */ ++ pthread_attr_t attr; ++ pthread_t thread; ++ if (pthread_attr_init (&attr) == 0 ++ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 ++ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { ++ pthread_attr_destroy (&attr); ++ /* Replace the exception port info for these exceptions with our own. ++ Note that we replace the exception port for the entire task, not only ++ for a particular thread. This has the effect that when our exception ++ port gets the message, the thread specific exception port has already ++ been asked, and we don't need to bother about it. ++ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ ++ task_set_exception_ports (self, mask, our_exception_port, ++ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); ++ } ++ } ++ } ++} ++#else ++/* Avoid a crash on POSIX systems. */ ++#include ++/* A POSIX signal handler. */ ++static void ++exception_handler (int sig) ++{ ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++#ifdef SIGSEGV ++ signal (SIGSEGV, exception_handler); ++#endif ++#ifdef SIGBUS ++ signal (SIGBUS, exception_handler); ++#endif ++} ++#endif ++ ++#include ++#include ++#include ++#include ++#include ++int main() ++{ ++ struct rlimit limit; ++ int ret; ++ nocrash_init (); ++ /* Some printf implementations allocate temporary space with malloc. */ ++ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ ++#ifdef RLIMIT_DATA ++ if (getrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++#endif ++ /* On Linux systems, malloc() is limited by RLIMIT_AS. */ ++#ifdef RLIMIT_AS ++ if (getrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++#endif ++ /* Some printf implementations allocate temporary space on the stack. */ ++#ifdef RLIMIT_STACK ++ if (getrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++#endif ++ ret = printf ("%.5000000f", 1.0); ++ return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ (./conftest ++ result=$? ++ if test $result != 0 && test $result != 77; then result=1; fi ++ exit $result ++ ) >/dev/null 2>/dev/null ++ case $? in ++ 0) gl_cv_func_printf_enomem="yes" ;; ++ 77) gl_cv_func_printf_enomem="guessing no" ;; ++ *) gl_cv_func_printf_enomem="no" ;; ++ esac ++ else ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ rm -fr conftest* ++ else ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ fi ++ if test "$gl_cv_func_printf_enomem" = "guessing no"; then ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Solaris. ++ solaris*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on AIX. ++ aix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on HP-UX/hppa. ++ hpux*) case "$host_cpu" in ++ hppa*) gl_cv_func_printf_enomem="guessing yes";; ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++ ;; ++ # Guess yes on IRIX. ++ irix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on OSF/1. ++ osf*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Haiku. ++ haiku*) gl_cv_func_printf_enomem="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5 ++$as_echo "$gl_cv_func_printf_enomem" >&6; } ++ ++ ++ ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ GNULIB_ISWBLANK=0; ++ GNULIB_WCTYPE=0; ++ GNULIB_ISWCTYPE=0; ++ GNULIB_WCTRANS=0; ++ GNULIB_TOWCTRANS=0; ++ HAVE_ISWBLANK=1; ++ HAVE_WCTYPE_T=1; ++ HAVE_WCTRANS_T=1; ++ REPLACE_ISWBLANK=0; ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use C++" >&5 ++$as_echo_n "checking whether to use C++... " >&6; } ++ @%:@ Check whether --enable-c++ was given. ++if test "${enable_c__+set}" = set; then : ++ enableval=$enable_c__; CXX_CHOICE="$enableval" ++else ++ CXX_CHOICE=no ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_CHOICE" >&5 ++$as_echo "$CXX_CHOICE" >&6; } ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 ++$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } ++if ${gl_cv_func_ungetc_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_ungetc_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++ ++int ++main () ++{ ++FILE *f; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp"); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ungetc_works=yes ++else ++ gl_cv_func_ungetc_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_ungetc_works" >&5 ++$as_echo "$gl_cv_func_ungetc_works" >&6; } ++ if test "$gl_cv_func_ungetc_works" != yes; then ++ ++$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SETLOCALE=0; ++ GNULIB_DUPLOCALE=0; ++ HAVE_DUPLOCALE=1; ++ REPLACE_SETLOCALE=0; ++ REPLACE_DUPLOCALE=0; ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 ++$as_echo_n "checking for LC_MESSAGES... " >&6; } ++if ${gt_cv_val_LC_MESSAGES+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++return LC_MESSAGES ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_val_LC_MESSAGES=yes ++else ++ gt_cv_val_LC_MESSAGES=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 ++$as_echo "$gt_cv_val_LC_MESSAGES" >&6; } ++ if test $gt_cv_val_LC_MESSAGES = yes; then ++ ++$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 ++$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } ++if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++CFPreferencesCopyAppValue(NULL, NULL) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_CFPreferencesCopyAppValue=yes ++else ++ gt_cv_func_CFPreferencesCopyAppValue=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gt_save_LIBS" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 ++$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } ++ if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then ++ ++$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 ++$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } ++if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gt_save_LIBS="$LIBS" ++ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++CFLocaleCopyCurrent(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gt_cv_func_CFLocaleCopyCurrent=yes ++else ++ gt_cv_func_CFLocaleCopyCurrent=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$gt_save_LIBS" ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 ++$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } ++ if test $gt_cv_func_CFLocaleCopyCurrent = yes; then ++ ++$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h ++ ++ fi ++ INTL_MACOSX_LIBS= ++ if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then ++ INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" ++ fi ++ ++ ++ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" ++if test "x$ac_cv_have_decl_setenv" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SETENV $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_setenv = no; then ++ HAVE_DECL_SETENV=0 ++ fi ++ ++ if test $ac_cv_func_setenv = no; then ++ HAVE_SETENV=0 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5 ++$as_echo_n "checking whether setenv validates arguments... " >&6; } ++if ${gl_cv_func_setenv_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_setenv_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ int result = 0; ++ { ++ if (setenv ("", "", 0) != -1) ++ result |= 1; ++ else if (errno != EINVAL) ++ result |= 2; ++ } ++ { ++ if (setenv ("a", "=", 1) != 0) ++ result |= 4; ++ else if (strcmp (getenv ("a"), "=") != 0) ++ result |= 8; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_setenv_works=yes ++else ++ gl_cv_func_setenv_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_setenv_works" >&5 ++$as_echo "$gl_cv_func_setenv_works" >&6; } ++ if test "$gl_cv_func_setenv_works" != yes; then ++ REPLACE_SETENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ for ac_header in search.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" ++if test "x$ac_cv_header_search_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SEARCH_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in tsearch ++do : ++ ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" ++if test "x$ac_cv_func_tsearch" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_TSEARCH 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" ++if test "x$ac_cv_have_decl_strdup" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_STRDUP $ac_have_decl ++_ACEOF ++ ++ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" ++if test "x$ac_cv_have_decl_alarm" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_ALARM $ac_have_decl ++_ACEOF ++ ++ ++ ++ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" ++if test "x$ac_cv_have_decl_unsetenv" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_UNSETENV $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ if false; then ++ GL_COND_LIBTOOL_TRUE= ++ GL_COND_LIBTOOL_FALSE='#' ++else ++ GL_COND_LIBTOOL_TRUE='#' ++ GL_COND_LIBTOOL_FALSE= ++fi ++ ++ gl_cond_libtool=false ++ gl_libdeps= ++ gl_ltlibdeps= ++ gl_m4_base='m4' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='lib' ++ # Code from module alloca-opt: ++ ++ ++ if test $ac_cv_func_alloca_works = no; then ++ : ++ fi ++ ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 ++$as_echo_n "checking for alloca as a compiler built-in... " >&6; } ++if ${gl_cv_rpl_alloca+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Need own alloca" >/dev/null 2>&1; then : ++ gl_cv_rpl_alloca=yes ++else ++ gl_cv_rpl_alloca=no ++fi ++rm -f conftest* ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 ++$as_echo "$gl_cv_rpl_alloca" >&6; } ++ if test $gl_cv_rpl_alloca = yes; then ++ ++$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h ++ ++ ALLOCA_H=alloca.h ++ else ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ ++ ++ # Code from module announce-gen: ++ # Code from module arg-nonnull: ++ # Code from module assert: ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 ++$as_echo_n "checking whether to enable assertions... " >&6; } ++ @%:@ Check whether --enable-assert was given. ++if test "${enable_assert+set}" = set; then : ++ enableval=$enable_assert; if test "x$enableval" = xno; then : ++ ++$as_echo "@%:@define NDEBUG 1" >>confdefs.h ++ ++elif test "x$enableval" != xyes; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 ++$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} ++ enable_assert=yes ++fi ++else ++ enable_assert=yes ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5 ++$as_echo "$enable_assert" >&6; } ++ ++ # Code from module autobuild: ++ # Code from module avltree-oset: ++ # Code from module binary-io: ++ # Code from module btowc: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_btowc = no; then ++ HAVE_BTOWC=0 ++ else ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 ++$as_echo_n "checking whether btowc(0) is correct... " >&6; } ++if ${gl_cv_func_btowc_nul+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no on Cygwin. ++ cygwin*) gl_cv_func_btowc_nul="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_btowc_nul="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (btowc ('\0') != 0) ++ return 1; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_btowc_nul=yes ++else ++ gl_cv_func_btowc_nul=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_btowc_nul" >&5 ++$as_echo "$gl_cv_func_btowc_nul" >&6; } ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 ++$as_echo_n "checking whether btowc(EOF) is correct... " >&6; } ++if ${gl_cv_func_btowc_eof+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on IRIX. ++ irix*) gl_cv_func_btowc_eof="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_btowc_eof="guessing yes" ;; ++ esac ++ if test $LOCALE_FR != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ if (btowc (EOF) != WEOF) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_btowc_eof=yes ++else ++ gl_cv_func_btowc_eof=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 ++$as_echo "$gl_cv_func_btowc_eof" >&6; } ++ ++ case "$gl_cv_func_btowc_nul" in ++ *yes) ;; ++ *) REPLACE_BTOWC=1 ;; ++ esac ++ case "$gl_cv_func_btowc_eof" in ++ *yes) ;; ++ *) REPLACE_BTOWC=1 ;; ++ esac ++ fi ++ if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS btowc.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_BTOWC=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h ++ ++ ++ ++ # Code from module c++defs: ++ # Code from module c-ctype: ++ # Code from module c-stack: ++ ++ ++ ++ ++ # for STACK_DIRECTION ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "sigaltstack" "ac_cv_have_decl_sigaltstack" "#include ++" ++if test "x$ac_cv_have_decl_sigaltstack" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_SIGALTSTACK $ac_have_decl ++_ACEOF ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include ++" ++if test "x$ac_cv_type_stack_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STACK_T 1 ++_ACEOF ++ ++ ++fi ++ ++ ++ if test "$gl_cv_lib_sigsegv" = yes \ ++ && test $"ac_cv_sys_xsi_stack_overflow_heuristic" != yes ; then ++ LIBCSTACK=$LIBSIGSEGV ++ ++ LTLIBCSTACK=$LTLIBSIGSEGV ++ ++ fi ++ ++ ++ # Code from module canonicalize-lgpl: ++ ++ ++ if test $ac_cv_func_canonicalize_file_name = no; then ++ HAVE_CANONICALIZE_FILE_NAME=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext" ++ ++ if test $ac_cv_func_realpath = no; then ++ HAVE_REALPATH=0 ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ REPLACE_REALPATH=1 ++ fi ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext" ++ ++ REPLACE_REALPATH=1 ++ REPLACE_CANONICALIZE_FILE_NAME=1 ++ fi ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_CANONICALIZE_LGPL 1 ++_ACEOF ++ ++ ++ ++ ++ ++ GNULIB_CANONICALIZE_FILE_NAME=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ GNULIB_REALPATH=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_REALPATH 1" >>confdefs.h ++ ++ ++ ++ # Code from module clean-temp: ++ ++$as_echo "@%:@define SIGNAL_SAFE_LIST 1" >>confdefs.h ++ ++ # Code from module cloexec: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS cloexec.$ac_objext" ++ ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_CLOEXEC 1" >>confdefs.h ++ ++ ++ # Code from module close: ++ ++ ++ ++ ++ ++ ++ GNULIB_CLOSE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_CLOSE 1" >>confdefs.h ++ ++ ++ ++ # Code from module close-hook: ++ # Code from module close-stream: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS close-stream.$ac_objext" ++ ++ ++ : ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_CLOSE_STREAM 1 ++_ACEOF ++ ++ ++ # Code from module closein: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS closein.$ac_objext" ++ ++ ++ : ++ ++ # Code from module closeout: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS closeout.$ac_objext" ++ ++ ++ : ++ ++ # Code from module config-h: ++ ++ # Code from module configmake: ++ ++ if test "x$datarootdir" = x; then ++ datarootdir='${datadir}' ++ ++ fi ++ if test "x$docdir" = x; then ++ docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ++ ++ fi ++ if test "x$htmldir" = x; then ++ htmldir='${docdir}' ++ ++ fi ++ if test "x$dvidir" = x; then ++ dvidir='${docdir}' ++ ++ fi ++ if test "x$pdfdir" = x; then ++ pdfdir='${docdir}' ++ ++ fi ++ if test "x$psdir" = x; then ++ psdir='${docdir}' ++ ++ fi ++ if test "x$lispdir" = x; then ++ lispdir='${datarootdir}/emacs/site-lisp' ++ ++ fi ++ if test "x$localedir" = x; then ++ localedir='${datarootdir}/locale' ++ ++ fi ++ ++ pkglibexecdir='${libexecdir}/${PACKAGE}' ++ ++ ++ # Code from module dirname: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS basename.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dirname.$ac_objext" ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_DIRNAME 1 ++_ACEOF ++ ++ ++ # Code from module dirname-lgpl: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext" ++ ++ ++ ++ ++ ++ # Code from module dosname: ++ # Code from module double-slash-root: ++ ++ ++ { $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 : ++ $as_echo_n "(cached) " >&6 ++else ++ if test x"$cross_compiling" = xyes ; then ++ # When cross-compiling, there is no way to tell whether // is special ++ # short of a list of hosts. However, the only known hosts to date ++ # that have a distinct // are Apollo DomainOS (too old to port to), ++ # Cygwin, and z/OS. If anyone knows of another system for which // has ++ # special semantics and is distinct from /, please report it to ++ # . ++ case $host in ++ *-cygwin | i370-ibm-openedition) ++ gl_cv_double_slash_root=yes ;; ++ *) ++ # Be optimistic and assume that / and // are the same when we ++ # don't know. ++ gl_cv_double_slash_root='unknown, assuming no' ;; ++ esac ++ else ++ set x `ls -di / // 2>/dev/null` ++ if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then ++ gl_cv_double_slash_root=no ++ else ++ gl_cv_double_slash_root=yes ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 ++$as_echo "$gl_cv_double_slash_root" >&6; } ++ if test "$gl_cv_double_slash_root" = yes; then ++ ++$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h ++ ++ fi ++ ++ # Code from module dup2: ++ ++ ++ ++ ++ if test $ac_cv_func_dup2 = no; then ++ HAVE_DUP2=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 ++$as_echo_n "checking whether dup2 works... " >&6; } ++if ${gl_cv_func_dup2_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ mingw*) # on this platform, dup2 always returns 0 for success ++ gl_cv_func_dup2_works=no;; ++ cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 ++ gl_cv_func_dup2_works=no;; ++ linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a ++ # closed fd may yield -EBADF instead of -1 / errno=EBADF. ++ gl_cv_func_dup2_works=no;; ++ freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF. ++ gl_cv_func_dup2_works=no;; ++ haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. ++ gl_cv_func_dup2_works=no;; ++ *) gl_cv_func_dup2_works=yes;; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++#include ++#include ++int ++main () ++{ ++int result = 0; ++#if HAVE_FCNTL ++ if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) ++ result |= 1; ++#endif HAVE_FCNTL ++ if (dup2 (1, 1) == 0) ++ result |= 2; ++#if HAVE_FCNTL ++ if (fcntl (1, F_GETFD) != FD_CLOEXEC) ++ result |= 4; ++#endif ++ close (0); ++ if (dup2 (0, 0) != -1) ++ result |= 8; ++ /* Many gnulib modules require POSIX conformance of EBADF. */ ++ if (dup2 (2, 1000000) == -1 && errno != EBADF) ++ result |= 16; ++ return result; ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_dup2_works=yes ++else ++ gl_cv_func_dup2_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_dup2_works" >&5 ++$as_echo "$gl_cv_func_dup2_works" >&6; } ++ if test "$gl_cv_func_dup2_works" = no; then ++ ++ ++ if test $ac_cv_func_dup2 = yes; then ++ REPLACE_DUP2=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext" ++ ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_DUP2=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_DUP2 1" >>confdefs.h ++ ++ ++ ++ # Code from module environ: ++ ++ ++ ++ ++ GNULIB_ENVIRON=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_ENVIRON 1" >>confdefs.h ++ ++ ++ ++ # Code from module errno: ++ ++ # Code from module error: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 ++$as_echo_n "checking for error_at_line... " >&6; } ++if ${ac_cv_lib_error_at_line+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++error_at_line (0, 0, "", 0, "an error occurred"); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_error_at_line=yes ++else ++ ac_cv_lib_error_at_line=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 ++$as_echo "$ac_cv_lib_error_at_line" >&6; } ++ if test $ac_cv_lib_error_at_line = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS error.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ : ++ ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" ++ ++ # Code from module execute: ++ ++ ++ ++ ++ # Code from module exitfail: ++ # Code from module extensions: ++ # Code from module fatal-signal: ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module fclose: ++ ++ ++ ++ ++ ++ GNULIB_FCLOSE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FCLOSE 1" >>confdefs.h ++ ++ ++ ++ # Code from module fcntl: ++ ++ ++ ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext" ++ ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 ++$as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; } ++if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ # Guess that it works on glibc systems ++ case $host_os in #(( ++ *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";; ++ *) gl_cv_func_fcntl_f_dupfd_works="guessing no";; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++int result = 0; ++ if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; ++ if (errno != EINVAL) result |= 2; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fcntl_f_dupfd_works=yes ++else ++ gl_cv_func_fcntl_f_dupfd_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_fcntl_f_dupfd_works" >&5 ++$as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; } ++ case $gl_cv_func_fcntl_f_dupfd_works in ++ *yes) ;; ++ *) ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext" ++ ++ ++ ++$as_echo "@%:@define FCNTL_DUPFD_BUGGY 1" >>confdefs.h ++ ;; ++ esac ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 ++$as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } ++if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifndef F_DUPFD_CLOEXEC ++choke me ++#endif ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __linux__ ++/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace ++ it to support the semantics on older kernels that failed with EINVAL. */ ++choke me ++#endif ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_fcntl_f_dupfd_cloexec=yes ++else ++ gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ gl_cv_func_fcntl_f_dupfd_cloexec=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 ++$as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } ++ if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then ++ ++ ++ ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext" ++ ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_FCNTL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FCNTL 1" >>confdefs.h ++ ++ ++ ++ # Code from module fcntl-h: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_fcntl_h='<'fcntl.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_fcntl_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/fcntl.h#{ ++ s#.*"\(.*/fcntl.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 ++$as_echo "$gl_cv_next_fcntl_h" >&6; } ++ fi ++ NEXT_FCNTL_H=$gl_cv_next_fcntl_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'fcntl.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_fcntl_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ # Code from module fd-safer-flag: ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_FD_SAFER_FLAG 1 ++_ACEOF ++ ++ ++ # Code from module fdl-1.3: ++ # Code from module fflush: ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 ++$as_echo_n "checking whether fflush works on input streams... " >&6; } ++if ${gl_cv_func_fflush_stdin+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ echo hello world > conftest.txt ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_fflush_stdin=cross ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++ ++int ++main () ++{ ++FILE *f = fopen ("conftest.txt", "r"); ++ char buffer[10]; ++ int fd; ++ int c; ++ if (f == NULL) ++ return 1; ++ fd = fileno (f); ++ if (fd < 0 || fread (buffer, 1, 5, f) != 5) ++ return 2; ++ /* For deterministic results, ensure f read a bigger buffer. */ ++ if (lseek (fd, 0, SEEK_CUR) == 5) ++ return 3; ++ /* POSIX requires fflush-fseek to set file offset of fd. This fails ++ on BSD systems and on mingw. */ ++ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) ++ return 4; ++ if (lseek (fd, 0, SEEK_CUR) != 5) ++ return 5; ++ /* Verify behaviour of fflush after ungetc. See ++ */ ++ /* Verify behaviour of fflush after a backup ungetc. This fails on ++ mingw. */ ++ c = fgetc (f); ++ ungetc (c, f); ++ fflush (f); ++ if (fgetc (f) != c) ++ return 6; ++ /* Verify behaviour of fflush after a non-backup ungetc. This fails ++ on glibc 2.8 and on BSD systems. */ ++ c = fgetc (f); ++ ungetc ('@', f); ++ fflush (f); ++ if (fgetc (f) != c) ++ return 7; ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fflush_stdin=yes ++else ++ gl_cv_func_fflush_stdin=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm conftest.txt ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 ++$as_echo "$gl_cv_func_fflush_stdin" >&6; } ++ case $gl_cv_func_fflush_stdin in ++ yes) gl_func_fflush_stdin=1 ;; ++ no) gl_func_fflush_stdin=0 ;; ++ *) gl_func_fflush_stdin='(-1)' ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin ++_ACEOF ++ ++ if test $gl_cv_func_fflush_stdin != yes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fflush.$ac_objext" ++ ++ ++ REPLACE_FFLUSH=1 ++ ++ ++ : ++ ++ ++ ++ ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext" ++ ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FFLUSH=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FFLUSH 1" >>confdefs.h ++ ++ ++ ++ # Code from module filenamecat: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS filenamecat.$ac_objext" ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_FILENAMECAT 1 ++_ACEOF ++ ++ ++ # Code from module filenamecat-lgpl: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext" ++ ++ ++ ++ ++ # Code from module float: ++ ++ ++ ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd* | mirbsd*) ++ FLOAT_H=float.h ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_float_h='<'float.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_float_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/float.h#{ ++ s#.*"\(.*/float.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 ++$as_echo "$gl_cv_next_float_h" >&6; } ++ fi ++ NEXT_FLOAT_H=$gl_cv_next_float_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'float.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_float_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ;; ++ esac ++ ++ ++ # Code from module fopen: ++ ++ ++ ++ case "$host_os" in ++ mingw* | pw*) ++ REPLACE_FOPEN=1 ++ gl_cv_func_fopen_slash="guessing no" ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5 ++$as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; } ++if ${gl_cv_func_fopen_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) ++ gl_cv_func_fopen_slash="guessing no" ;; ++ *) ++ gl_cv_func_fopen_slash="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++int main () ++{ ++ return fopen ("conftest.sl/", "w") != NULL; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fopen_slash=yes ++else ++ gl_cv_func_fopen_slash=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.sl ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5 ++$as_echo "$gl_cv_func_fopen_slash" >&6; } ++ ;; ++ esac ++ case "$gl_cv_func_fopen_slash" in ++ *no) ++ ++$as_echo "@%:@define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ++ ++ REPLACE_FOPEN=1 ++ ;; ++ esac ++ if test $REPLACE_FOPEN = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fopen.$ac_objext" ++ ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FOPEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FOPEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module fopen-safer: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fopen-safer.$ac_objext" ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_FOPEN_SAFER 1 ++_ACEOF ++ ++ ++ # Code from module fpending: ++ ++ ++ ++ fp_headers=' ++# include ++# if HAVE_STDIO_EXT_H ++# include ++# endif ++' ++ ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers ++" ++if test "x$ac_cv_have_decl___fpending" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL___FPENDING $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_func___fpending = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5 ++$as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; } ++if ${ac_cv_sys_pending_output_n_bytes+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ for ac_expr in \ ++ \ ++ '# glibc2' \ ++ 'fp->_IO_write_ptr - fp->_IO_write_base' \ ++ \ ++ '# traditional Unix' \ ++ 'fp->_ptr - fp->_base' \ ++ \ ++ '# BSD' \ ++ 'fp->_p - fp->_bf._base' \ ++ \ ++ '# SCO, Unixware' \ ++ '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \ ++ \ ++ '# QNX' \ ++ '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \ ++ \ ++ '# old glibc?' \ ++ 'fp->__bufp - fp->__buffer' \ ++ \ ++ '# old glibc iostream?' \ ++ 'fp->_pptr - fp->_pbase' \ ++ \ ++ '# emx+gcc' \ ++ 'fp->_ptr - fp->_buffer' \ ++ \ ++ '# VMS' \ ++ '(*fp)->_ptr - (*fp)->_base' \ ++ \ ++ '# e.g., DGUX R4.11; the info is not available' \ ++ 1 \ ++ ; do ++ ++ # Skip each embedded comment. ++ case "$ac_expr" in '#'*) continue;; esac ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++FILE *fp = stdin; (void) ($ac_expr); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ fp_done=yes ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$fp_done" = yes && break ++ done ++ ++ ac_cv_sys_pending_output_n_bytes=$ac_expr ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5 ++$as_echo "$ac_cv_sys_pending_output_n_bytes" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes ++_ACEOF ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fpending.$ac_objext" ++ ++ fi ++ ++ # Code from module fpieee: ++ # Code from module fpucw: ++ # Code from module fpurge: ++ ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include ++" ++if test "x$ac_cv_have_decl_fpurge" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_FPURGE $ac_have_decl ++_ACEOF ++ ++ if test "x$ac_cv_func_fpurge" = xyes; then ++ # Detect BSD bug. Only cygwin 1.7 is known to be immune. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5 ++$as_echo_n "checking whether fpurge works... " >&6; } ++if ${gl_cv_func_fpurge_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_fpurge_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++FILE *f = fopen ("conftest.txt", "w+"); ++ if (!f) return 1; ++ if (fputc ('a', f) != 'a') return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != EOF) return 4; ++ if (fpurge (f) != 0) return 5; ++ if (putc ('b', f) != 'b') return 6; ++ if (fclose (f) != 0) return 7; ++ if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; ++ if (fgetc (f) != 'a') return 9; ++ if (fgetc (f) != 'b') return 10; ++ if (fgetc (f) != EOF) return 11; ++ if (fclose (f) != 0) return 12; ++ if (remove ("conftest.txt") != 0) return 13; ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_fpurge_works=yes ++else ++ gl_cv_func_fpurge_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_fpurge_works" >&5 ++$as_echo "$gl_cv_func_fpurge_works" >&6; } ++ if test "x$gl_cv_func_fpurge_works" != xyes; then ++ REPLACE_FPURGE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext" ++ ++ fi ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext" ++ ++ fi ++ if test "x$ac_cv_have_decl_fpurge" = xno; then ++ HAVE_DECL_FPURGE=0 ++ fi ++ ++ ++ ++ ++ GNULIB_FPURGE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FPURGE 1" >>confdefs.h ++ ++ ++ ++ # Code from module freadahead: ++ # Code from module freading: ++ ++ ++ ++ # Code from module frexp-nolibm: ++ ++ ++ ++ if test $gl_cv_func_frexp_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 ++$as_echo_n "checking whether frexp works... " >&6; } ++if ${gl_cv_func_frexp_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";; ++ *) gl_cv_func_frexp_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ ICC 10.0 has a bug when optimizing the expression -zero. ++ The expression -DBL_MIN * DBL_MIN does not work when cross-compiling ++ to PowerPC on MacOS X 10.5. */ ++#if defined __hpux || defined __sgi || defined __ICC ++static double ++compute_minus_zero (void) ++{ ++ return -DBL_MIN * DBL_MIN; ++} ++# define minus_zero compute_minus_zero () ++#else ++double minus_zero = -0.0; ++#endif ++int main() ++{ ++ int result = 0; ++ int i; ++ volatile double x; ++ double zero = 0.0; ++ /* Test on denormalized numbers. */ ++ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ++ ; ++ if (x > 0.0) ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. ++ On NetBSD: y = 0.75. Correct: y = 0.5. */ ++ if (y != 0.5) ++ result |= 1; ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0 / 0.0; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (y != x) ++ result |= 2; ++ } ++ /* Test on negative zero. */ ++ x = minus_zero; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (memcmp (&y, &x, sizeof x)) ++ result |= 4; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexp_works=yes ++else ++ gl_cv_func_frexp_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_frexp_works" >&5 ++$as_echo "$gl_cv_func_frexp_works" >&6; } ++ ++ case "$gl_cv_func_frexp_works" in ++ *yes) gl_func_frexp_no_libm=yes ;; ++ *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;; ++ esac ++ else ++ gl_func_frexp_no_libm=no ++ REPLACE_FREXP=1 ++ fi ++ if test $gl_func_frexp_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS frexp.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FREXP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FREXP 1" >>confdefs.h ++ ++ ++ ++ # Code from module frexpl-nolibm: ++ ++ ++ ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include ++" ++if test "x$ac_cv_have_decl_frexpl" = xyes; then : ++ ++else ++ HAVE_DECL_FREXPL=0 ++fi ++ ++ if test $HAVE_DECL_FREXPL = 1; then ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 ++$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_frexpl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x; ++int ++main () ++{ ++int e; return frexpl (x, &e) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_frexpl_no_libm=yes ++else ++ gl_cv_func_frexpl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5 ++$as_echo "$gl_cv_func_frexpl_no_libm" >&6; } ++ ++ if test $gl_cv_func_frexpl_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 ++$as_echo_n "checking whether frexpl works... " >&6; } ++if ${gl_cv_func_frexpl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*) ++ gl_cv_func_frexpl_works="guessing no";; ++ *) gl_cv_func_frexpl_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Override the values of , like done in float.in.h. */ ++#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) ++# undef LDBL_MIN_EXP ++# define LDBL_MIN_EXP (-16381) ++#endif ++extern long double frexpl (long double, int *); ++int main() ++{ ++ int result = 0; ++ volatile long double x; ++ /* Test on finite numbers that fails on AIX 5.1. */ ++ x = 16.0L; ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != 5) ++ result |= 1; ++ } ++ /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl ++ function returns an invalid (incorrectly normalized) value: it returns ++ y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } ++ but the correct result is ++ 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ ++ x = 1.01L; ++ { ++ int exp = -9999; ++ long double y = frexpl (x, &exp); ++ if (!(exp == 1 && y == 0.505L)) ++ result |= 2; ++ } ++ /* Test on large finite numbers. This fails on BeOS at i = 16322, while ++ LDBL_MAX_EXP = 16384. ++ In the loop end test, we test x against Infinity, rather than comparing ++ i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != i) ++ { ++ result |= 4; ++ break; ++ } ++ } ++ } ++ /* Test on denormalized numbers. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ++ ; ++ if (x > 0.0L) ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, ++ exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */ ++ if (exp != LDBL_MIN_EXP - 1) ++ result |= 8; ++ } ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0L / 0.0L; ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ if (y != x) ++ result |= 16; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexpl_works=yes ++else ++ gl_cv_func_frexpl_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_frexpl_works" >&5 ++$as_echo "$gl_cv_func_frexpl_works" >&6; } ++ ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl_no_libm=yes ;; ++ *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; ++ esac ++ else ++ gl_func_frexpl_no_libm=no ++ REPLACE_FREXPL=1 ++ fi ++ if test $gl_func_frexpl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS frexpl.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FREXPL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FREXPL 1" >>confdefs.h ++ ++ ++ ++ # Code from module fseeko: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_fseeko = no; then ++ HAVE_DECL_FSEEKO=0 ++ fi ++ ++ if test $gl_cv_func_fseeko = no; then ++ HAVE_FSEEKO=0 ++ ++ ++ ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext" ++ ++ ++ ++ else ++ if test $gl_cv_var_stdin_large_offset = no; then ++ ++ ++ ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext" ++ ++ ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_FSEEKO=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FSEEKO 1" >>confdefs.h ++ ++ ++ ++ # Code from module ftello: ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_ftello = no; then ++ HAVE_DECL_FTELLO=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 ++$as_echo_n "checking for ftello... " >&6; } ++if ${gl_cv_func_ftello+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ftello (stdin); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ftello=yes ++else ++ gl_cv_func_ftello=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5 ++$as_echo "$gl_cv_func_ftello" >&6; } ++ if test $gl_cv_func_ftello = no; then ++ HAVE_FTELLO=0 ++ else ++ if test $gl_cv_var_stdin_large_offset = no; then ++ REPLACE_FTELLO=1 ++ else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 ++$as_echo_n "checking whether ftello works... " >&6; } ++if ${gl_cv_func_ftello_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris. ++ solaris*) gl_cv_func_ftello_works="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_ftello_works="guessing yes" ;; ++ esac ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#define TESTFILE "conftest.tmp" ++int ++main (void) ++{ ++ FILE *fp; ++ ++ /* Create a file with some contents. */ ++ fp = fopen (TESTFILE, "w"); ++ if (fp == NULL) ++ return 70; ++ if (fwrite ("foogarsh", 1, 8, fp) < 8) ++ return 71; ++ if (fclose (fp)) ++ return 72; ++ ++ /* The file's contents is now "foogarsh". */ ++ ++ /* Try writing after reading to EOF. */ ++ fp = fopen (TESTFILE, "r+"); ++ if (fp == NULL) ++ return 73; ++ if (fseek (fp, -1, SEEK_END)) ++ return 74; ++ if (!(getc (fp) == 'h')) ++ return 1; ++ if (!(getc (fp) == EOF)) ++ return 2; ++ if (!(ftell (fp) == 8)) ++ return 3; ++ if (!(ftell (fp) == 8)) ++ return 4; ++ if (!(putc ('!', fp) == '!')) ++ return 5; ++ if (!(ftell (fp) == 9)) ++ return 6; ++ if (!(fclose (fp) == 0)) ++ return 7; ++ fp = fopen (TESTFILE, "r"); ++ if (fp == NULL) ++ return 75; ++ { ++ char buf[10]; ++ if (!(fread (buf, 1, 10, fp) == 9)) ++ return 10; ++ if (!(memcmp (buf, "foogarsh!", 9) == 0)) ++ return 11; ++ } ++ if (!(fclose (fp) == 0)) ++ return 12; ++ ++ /* The file's contents is now "foogarsh!". */ ++ ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ftello_works=yes ++else ++ gl_cv_func_ftello_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_ftello_works" >&5 ++$as_echo "$gl_cv_func_ftello_works" >&6; } ++ case "$gl_cv_func_ftello_works" in ++ *yes) ;; ++ *) ++ REPLACE_FTELLO=1 ++ ++$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h ++ ++ ;; ++ esac ++ fi ++ fi ++ if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS ftello.$ac_objext" ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_FTELLO=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FTELLO 1" >>confdefs.h ++ ++ ++ ++ # Code from module gendocs: ++ # Code from module getdtablesize: ++ ++ ++ ++ if test $ac_cv_func_getdtablesize != yes; then ++ HAVE_GETDTABLESIZE=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getdtablesize.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_GETDTABLESIZE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h ++ ++ ++ ++ # Code from module getopt-gnu: ++ ++ ++ ++ ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h ++ ++ ++ # Code from module getopt-posix: ++ ++ ++ ++ ++ ++ if test -n "$gl_replace_getopt"; then : ++ ++ ++ ++ GETOPT_H=getopt.h ++ ++$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h ++ ++ ++ ++ GNULIB_UNISTD_H_GETOPT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext" ++ ++ ++ ++ ++ ++ ++fi ++ ++ ++ # Code from module gettext-h: ++ ++ ++ # Code from module gettimeofday: ++ ++ ++ ++ ++ ++ ++ gl_gettimeofday_timezone=void ++ if test $ac_cv_func_gettimeofday != yes; then ++ HAVE_GETTIMEOFDAY=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ else ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 ++$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } ++if ${gl_cv_func_gettimeofday_clobber+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_gettimeofday_clobber=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_gettimeofday_clobber=no ++else ++ gl_cv_func_gettimeofday_clobber=yes ++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_gettimeofday_clobber" >&5 ++$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } ++ ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h ++ ++ ++$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h ++ ++ ++ ++$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 ++$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } ++if ${gl_cv_func_gettimeofday_posix_signature+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ struct timeval c; ++ int gettimeofday (struct timeval *restrict, void *restrict); ++ ++int ++main () ++{ ++/* glibc uses struct timezone * rather than the POSIX void * ++ if _GNU_SOURCE is defined. However, since the only portable ++ use of gettimeofday uses NULL as the second parameter, and ++ since the glibc definition is actually more typesafe, it is ++ not worth wrapping this to get a compliant signature. */ ++ int (*f) (struct timeval *restrict, void *restrict) ++ = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=yes ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int gettimeofday (struct timeval *restrict, struct timezone *restrict); ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_gettimeofday_posix_signature=almost ++else ++ gl_cv_func_gettimeofday_posix_signature=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5 ++$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } ++ if test $gl_cv_func_gettimeofday_posix_signature = almost; then ++ gl_gettimeofday_timezone='struct timezone' ++ elif test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext" ++ ++ ++ for ac_header in sys/timeb.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_TIMEB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in _ftime ++do : ++ ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" ++if test "x$ac_cv_func__ftime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE__FTIME 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone ++_ACEOF ++ ++ ++ ++ ++ ++ GNULIB_GETTIMEOFDAY=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h ++ ++ ++ ++ # Code from module git-version-gen: ++ # Code from module gnu-web-doc-update: ++ # Code from module gnumakefile: ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" ++ ++ # Code from module gnupload: ++ # Code from module gpl-3.0: ++ # Code from module havelib: ++ # Code from module ignore-value: ++ ++ # Code from module include_next: ++ # Code from module inline: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5 ++$as_echo_n "checking whether the compiler generally respects inline... " >&6; } ++if ${gl_cv_c_inline_effective+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $ac_cv_c_inline = no; then ++ gl_cv_c_inline_effective=no ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifdef __NO_INLINE__ ++ #error "inline is not effective" ++ #endif ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_c_inline_effective=yes ++else ++ gl_cv_c_inline_effective=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5 ++$as_echo "$gl_cv_c_inline_effective" >&6; } ++ if test $gl_cv_c_inline_effective = yes; then ++ ++$as_echo "@%:@define HAVE_INLINE 1" >>confdefs.h ++ ++ fi ++ ++ # Code from module intprops: ++ # Code from module isnand-nolibm: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5 ++$as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; } ++if ${gl_cv_func_isnand_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNUC__ >= 4 ++ # undef isnand ++ # define isnand(x) __builtin_isnan ((double)(x)) ++ #else ++ # undef isnand ++ # define isnand(x) isnan ((double)(x)) ++ #endif ++ double x; ++int ++main () ++{ ++return isnand (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_isnand_no_libm=yes ++else ++ gl_cv_func_isnand_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5 ++$as_echo "$gl_cv_func_isnand_no_libm" >&6; } ++ ++ if test $gl_cv_func_isnand_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS isnand.$ac_objext" ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'double'... " >&6; } ++if ${gl_cv_cc_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined arm || defined __arm || defined __arm__ ++ mixed_endianness ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "mixed_endianness" >/dev/null 2>&1; then : ++ gl_cv_cc_double_expbit0="unknown" ++else ++ ++ : ++if ${ac_cv_c_bigendian+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_bigendian=unknown ++ # See if we're dealing with a universal compiler. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ # Check for potential -arch flags. It is not universal unless ++ # there are at least two -arch flags with different values. ++ ac_arch= ++ ac_prev= ++ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ++ if test -n "$ac_prev"; then ++ case $ac_word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ++ ac_arch=$ac_word ++ else ++ ac_cv_c_bigendian=universal ++ break ++ fi ++ ;; ++ esac ++ ac_prev= ++ elif test "x$ac_word" = "x-arch"; then ++ ac_prev=arch ++ fi ++ done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if sys/param.h defines the BYTE_ORDER macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ++ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ++ && LITTLE_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if BYTE_ORDER != BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to _BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#ifndef _BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # Compile a test program. ++ if test "$cross_compiling" = yes; then : ++ # Try to guess by grepping values from an object file. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++short int ascii_mm[] = ++ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ++ short int ascii_ii[] = ++ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ++ int use_ascii (int i) { ++ return ascii_mm[i] + ascii_ii[i]; ++ } ++ short int ebcdic_ii[] = ++ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ++ short int ebcdic_mm[] = ++ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ++ int use_ebcdic (int i) { ++ return ebcdic_mm[i] + ebcdic_ii[i]; ++ } ++ extern int foo; ++ ++int ++main () ++{ ++return use_ascii (foo) == use_ebcdic (foo); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then ++ ac_cv_c_bigendian=no ++ else ++ # finding both strings is unlikely to happen, but who knows? ++ ac_cv_c_bigendian=unknown ++ fi ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Are we little or big endian? From Harbison&Steele. */ ++ union ++ { ++ long int l; ++ char c[sizeof (long int)]; ++ } u; ++ u.l = 1; ++ return u.c[sizeof (long int) - 1] == 1; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_bigendian=no ++else ++ ac_cv_c_bigendian=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++fi ++: ++ case $ac_cv_c_bigendian in #( ++ yes) ++ gl_cv_cc_double_expbit0="word 0 bit 20";; #( ++ no) ++ gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( ++ universal) ++ ++$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ ;; #( ++ *) ++ gl_cv_cc_double_expbit0="unknown" ;; ++ esac ++ ++ ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } memory_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (double x) ++{ ++ memory_double m; ++ size_t i; ++ /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ ++ memset (&m, 0, sizeof (memory_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25); ++ add_to_ored_words (0.5); ++ add_to_ored_words (1.0); ++ add_to_ored_words (2.0); ++ add_to_ored_words (4.0); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_double_expbit0" >&6; } ++ case "$gl_cv_cc_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ fi ++ ++ # Code from module isnanf-nolibm: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5 ++$as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; } ++if ${gl_cv_func_isnanf_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNUC__ >= 4 ++ # undef isnanf ++ # define isnanf(x) __builtin_isnanf ((float)(x)) ++ #elif defined isnan ++ # undef isnanf ++ # define isnanf(x) isnan ((float)(x)) ++ #endif ++ float x; ++int ++main () ++{ ++return isnanf (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_isnanf_no_libm=yes ++else ++ gl_cv_func_isnanf_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5 ++$as_echo "$gl_cv_func_isnanf_no_libm" >&6; } ++ ++ if test $gl_cv_func_isnanf_no_libm = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5 ++$as_echo_n "checking whether isnan(float) works... " >&6; } ++if ${gl_cv_func_isnanf_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ irix* | solaris*) gl_cv_func_isnanf_works="guessing no";; ++ *) gl_cv_func_isnanf_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if __GNUC__ >= 4 ++# undef isnanf ++# define isnanf(x) __builtin_isnanf ((float)(x)) ++#elif defined isnan ++# undef isnanf ++# define isnanf(x) isnan ((float)(x)) ++#endif ++/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ ++#ifdef __DECC ++static float ++NaN () ++{ ++ static float zero = 0.0f; ++ return zero / zero; ++} ++#else ++# define NaN() (0.0f / 0.0f) ++#endif ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { unsigned int word[NWORDS]; float value; } memory_float; ++int main() ++{ ++ int result = 0; ++ ++ if (isnanf (1.0f / 0.0f)) ++ result |= 1; ++ ++ if (!isnanf (NaN ())) ++ result |= 2; ++ ++#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT ++ /* The isnanf function should be immune against changes in the sign bit and ++ in the mantissa bits. The xor operation twiddles a bit that can only be ++ a sign bit or a mantissa bit. */ ++ if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0) ++ { ++ memory_float m; ++ ++ m.value = NaN (); ++ /* Set the bits below the exponent to 01111...111. */ ++ m.word[0] &= -1U << FLT_EXPBIT0_BIT; ++ m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1; ++ if (!isnanf (m.value)) ++ result |= 4; ++ } ++#endif ++ ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_isnanf_works=yes ++else ++ gl_cv_func_isnanf_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_isnanf_works" >&5 ++$as_echo "$gl_cv_func_isnanf_works" >&6; } ++ ++ fi ++ if test $gl_cv_func_isnanf_no_libm = yes \ ++ && { case "$gl_cv_func_isnanf_works" in ++ *yes) true;; ++ *) false;; ++ esac ++ }; then ++ ++$as_echo "@%:@define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS isnanf.$ac_objext" ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 ++$as_echo_n "checking where to find the exponent in a 'float'... " >&6; } ++if ${gl_cv_cc_float_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_cc_float_expbit0="word 0 bit 23" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_float_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 ++$as_echo "$gl_cv_cc_float_expbit0" >&6; } ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ fi ++ ++ # Code from module isnanl-nolibm: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5 ++$as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; } ++if ${gl_cv_func_isnanl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNUC__ >= 4 ++ # undef isnanl ++ # define isnanl(x) __builtin_isnanl ((long double)(x)) ++ #elif defined isnan ++ # undef isnanl ++ # define isnanl(x) isnan ((long double)(x)) ++ #endif ++ long double x; ++int ++main () ++{ ++return isnanl (x); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_isnanl_no_libm=yes ++else ++ gl_cv_func_isnanl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5 ++$as_echo "$gl_cv_func_isnanl_no_libm" >&6; } ++ ++ gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm ++ if test $gl_func_isnanl_no_libm = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5 ++$as_echo_n "checking whether isnanl works... " >&6; } ++if ${gl_cv_func_isnanl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";; ++ *) ++ case "$host_os" in ++ netbsd*) gl_cv_func_isnanl_works="guessing no";; ++ *) gl_cv_func_isnanl_works="guessing yes";; ++ esac ++ ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if __GNUC__ >= 4 ++# undef isnanl ++# define isnanl(x) __builtin_isnanl ((long double)(x)) ++#elif defined isnan ++# undef isnanl ++# define isnanl(x) isnan ((long double)(x)) ++#endif ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { unsigned int word[NWORDS]; long double value; } ++ memory_long_double; ++/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the ++ runtime type conversion. */ ++#ifdef __sgi ++static long double NaNl () ++{ ++ double zero = 0.0; ++ return zero / zero; ++} ++#else ++# define NaNl() (0.0L / 0.0L) ++#endif ++int main () ++{ ++ int result = 0; ++ ++ if (!isnanl (NaNl ())) ++ result |= 1; ++ ++ { ++ memory_long_double m; ++ unsigned int i; ++ ++ /* The isnanl function should be immune against changes in the sign bit and ++ in the mantissa bits. The xor operation twiddles a bit that can only be ++ a sign bit or a mantissa bit (since the exponent never extends to ++ bit 31). */ ++ m.value = NaNl (); ++ m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); ++ for (i = 0; i < NWORDS; i++) ++ m.word[i] |= 1; ++ if (!isnanl (m.value)) ++ result |= 1; ++ } ++ ++#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 2; ++ } ++ { ++ /* Signalling NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 2; ++ } ++ /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities, ++ Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in ++ Intel IA-64 Architecture Software Developer's Manual, Volume 1: ++ Application Architecture. ++ Table 5-2 "Floating-Point Register Encodings" ++ Figure 5-6 "Memory to Floating-Point Register Data Translation" ++ */ ++ { /* Pseudo-NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 4; ++ } ++ { /* Pseudo-Infinity. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 8; ++ } ++ { /* Pseudo-Zero. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 16; ++ } ++ { /* Unnormalized number. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 32; ++ } ++ { /* Pseudo-Denormal. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 64; ++ } ++#endif ++ ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_isnanl_works=yes ++else ++ gl_cv_func_isnanl_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_isnanl_works" >&5 ++$as_echo "$gl_cv_func_isnanl_works" >&6; } ++ ++ case "$gl_cv_func_isnanl_works" in ++ *yes) ;; ++ *) gl_func_isnanl_no_libm=no ;; ++ esac ++ fi ++ if test $gl_func_isnanl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS isnanl.$ac_objext" ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; } ++if ${gl_cv_cc_long_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_long_double_expbit0="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_long_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (long double x) ++{ ++ memory_long_double m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (long double) < sizeof (memory_long_double). */ ++ memset (&m, 0, sizeof (memory_long_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25L); ++ add_to_ored_words (0.5L); ++ add_to_ored_words (1.0L); ++ add_to_ored_words (2.0L); ++ add_to_ored_words (4.0L); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_long_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_long_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_long_double_expbit0" >&6; } ++ case "$gl_cv_cc_long_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ fi ++ ++ # Code from module langinfo: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_langinfo_h='<'langinfo.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_langinfo_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_langinfo_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/langinfo.h#{ ++ s#.*"\(.*/langinfo.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_langinfo_h='<'langinfo.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 ++$as_echo "$gl_cv_next_langinfo_h" >&6; } ++ fi ++ NEXT_LANGINFO_H=$gl_cv_next_langinfo_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'langinfo.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_langinfo_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ HAVE_LANGINFO_CODESET=0 ++ HAVE_LANGINFO_T_FMT_AMPM=0 ++ HAVE_LANGINFO_ERA=0 ++ HAVE_LANGINFO_YESEXPR=0 ++ ++ if test $ac_cv_header_langinfo_h = yes; then ++ HAVE_LANGINFO_H=1 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 ++$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } ++if ${gl_cv_header_langinfo_codeset+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = CODESET; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_codeset=yes ++else ++ gl_cv_header_langinfo_codeset=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_langinfo_codeset" >&5 ++$as_echo "$gl_cv_header_langinfo_codeset" >&6; } ++ if test $gl_cv_header_langinfo_codeset = yes; then ++ HAVE_LANGINFO_CODESET=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 ++$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } ++if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = T_FMT_AMPM; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_t_fmt_ampm=yes ++else ++ gl_cv_header_langinfo_t_fmt_ampm=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_langinfo_t_fmt_ampm" >&5 ++$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } ++ if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then ++ HAVE_LANGINFO_T_FMT_AMPM=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 ++$as_echo_n "checking whether langinfo.h defines ERA... " >&6; } ++if ${gl_cv_header_langinfo_era+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = ERA; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_era=yes ++else ++ gl_cv_header_langinfo_era=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_langinfo_era" >&5 ++$as_echo "$gl_cv_header_langinfo_era" >&6; } ++ if test $gl_cv_header_langinfo_era = yes; then ++ HAVE_LANGINFO_ERA=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 ++$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } ++if ${gl_cv_header_langinfo_yesexpr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int a = YESEXPR; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_langinfo_yesexpr=yes ++else ++ gl_cv_header_langinfo_yesexpr=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_langinfo_yesexpr" >&5 ++$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } ++ if test $gl_cv_header_langinfo_yesexpr = yes; then ++ HAVE_LANGINFO_YESEXPR=1 ++ fi ++ else ++ HAVE_LANGINFO_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module libsigsegv: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ use_additional=yes ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ ++@%:@ Check whether --with-libsigsegv-prefix was given. ++if test "${with_libsigsegv_prefix+set}" = set; then : ++ withval=$with_libsigsegv_prefix; ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++ ++fi ++ ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ INCSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ HAVE_LIBSIGSEGV= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='sigsegv ' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value" ++ else ++ : ++ fi ++ else ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ if test "$acl_hardcode_direct" = yes; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a" ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name" ++ fi ++ fi ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = 'sigsegv'; then ++ LIBSIGSEGV_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INCSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -n "$found_la"; then ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIBSIGSEGV; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ else ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ for found_dir in $ltrpathdirs; do ++ LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir" ++ done ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ ++ for element in $INCSIGSEGV; do ++ haveit= ++ for x in $CPPFLAGS; do ++ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ eval x=\"$x\" ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++ ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ++ fi ++ done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 ++$as_echo_n "checking for libsigsegv... " >&6; } ++if ${ac_cv_libsigsegv+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_save_LIBS="$LIBS" ++ case " $LIBSIGSEGV" in ++ *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;; ++ *) LIBS="$LIBSIGSEGV $LIBS" ;; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++sigsegv_deinstall_handler(); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_libsigsegv=yes ++else ++ ac_cv_libsigsegv='no, consider installing GNU libsigsegv' ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$ac_save_LIBS" ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5 ++$as_echo "$ac_cv_libsigsegv" >&6; } ++ if test "$ac_cv_libsigsegv" = yes; then ++ HAVE_LIBSIGSEGV=yes ++ ++$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5 ++$as_echo_n "checking how to link with libsigsegv... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5 ++$as_echo "$LIBSIGSEGV" >&6; } ++ else ++ HAVE_LIBSIGSEGV=no ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIBSIGSEGV= ++ LTLIBSIGSEGV= ++ LIBSIGSEGV_PREFIX= ++ fi ++ ++ ++ ++ ++ ++ ++ ++ gl_cv_lib_sigsegv="$ac_cv_libsigsegv" ++ ++ # Code from module linkedhash-list: ++ # Code from module list: ++ ++ ++ ++ # Code from module localcharset: ++ ++ ++ ++ ++ ++ ++ ++ ++ LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" ++ ++ # Code from module lock: ++ ++ ++ if test "$gl_threads_api" = posix; then ++ # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the ++ # pthread_rwlock_* functions. ++ ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include ++" ++if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : ++ ++$as_echo "@%:@define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h ++ ++fi ++ ++ # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++int ++main () ++{ ++ ++#if __FreeBSD__ == 4 ++error "No, in FreeBSD 4.0 recursive mutexes actually don't work." ++#else ++int x = (int)PTHREAD_MUTEX_RECURSIVE; ++return !x; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "@%:@define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ ++ ++ ++ ++ # Code from module lseek: ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 ++$as_echo_n "checking whether lseek detects pipes... " >&6; } ++if ${gl_cv_func_lseek_pipe+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test $cross_compiling = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ++int ++main () ++{ ++ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && test 1 = "`echo hi \ ++ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_lseek_pipe=yes ++else ++ gl_cv_func_lseek_pipe=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 ++$as_echo "$gl_cv_func_lseek_pipe" >&6; } ++ if test $gl_cv_func_lseek_pipe = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS lseek.$ac_objext" ++ ++ ++ REPLACE_LSEEK=1 ++ ++$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_LSEEK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_LSEEK 1" >>confdefs.h ++ ++ ++ ++ # Code from module lstat: ++ ++ ++ ++ if test $ac_cv_func_lstat = yes; then ++ ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. ++ ++ else ++ HAVE_LSTAT=0 ++ fi ++ ++ ++ ++ ++ GNULIB_LSTAT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_LSTAT 1" >>confdefs.h ++ ++ ++ ++ # Code from module maintainer-makefile: ++ ++ # Code from module malloc-gnu: ++ ++ ++ for ac_header in stdlib.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdlib_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDLIB_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 ++$as_echo_n "checking for GNU libc compatible malloc... " >&6; } ++if ${ac_cv_func_malloc_0_nonnull+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_malloc_0_nonnull=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined STDC_HEADERS || defined HAVE_STDLIB_H ++# include ++#else ++char *malloc (); ++#endif ++ ++int ++main () ++{ ++return ! malloc (0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_malloc_0_nonnull=yes ++else ++ ac_cv_func_malloc_0_nonnull=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: $ac_cv_func_malloc_0_nonnull" >&5 ++$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } ++if test $ac_cv_func_malloc_0_nonnull = yes; then : ++ ++$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h ++ ++else ++ $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext" ++ ++ REPLACE_MALLOC=1 ++ ++ ++fi ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_MALLOC_GNU 1 ++_ACEOF ++ ++ ++ # Code from module malloc-posix: ++ ++ ++ ++ if test $gl_cv_func_malloc_posix = yes; then ++ ++$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h ++ ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext" ++ ++ REPLACE_MALLOC=1 ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MALLOC_POSIX=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h ++ ++ ++ ++ # Code from module malloca: ++ ++ ++ ++ ++ # Code from module manywarnings: ++ # Code from module math: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_math_h='<'math.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_math_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_math_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/math.h#{ ++ s#.*"\(.*/math.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_math_h='<'math.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5 ++$as_echo "$gl_cv_next_math_h" >&6; } ++ fi ++ NEXT_MATH_H=$gl_cv_next_math_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'math.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_math_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5 ++$as_echo_n "checking whether NAN macro works... " >&6; } ++if ${gl_cv_header_math_nan_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++/* Solaris 10 has a broken definition of NAN. Other platforms ++ fail to provide NAN, or provide it only in C99 mode; this ++ test only needs to fail when NAN is provided but wrong. */ ++ float f = 1.0f; ++#ifdef NAN ++ f = NAN; ++#endif ++ return f == 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_math_nan_works=yes ++else ++ gl_cv_header_math_nan_works=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_math_nan_works" >&5 ++$as_echo "$gl_cv_header_math_nan_works" >&6; } ++ if test $gl_cv_header_math_nan_works = no; then ++ REPLACE_NAN=1 ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5 ++$as_echo_n "checking whether HUGE_VAL works... " >&6; } ++if ${gl_cv_header_math_huge_val_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main () ++{ ++/* Solaris 10 has a broken definition of HUGE_VAL. */ ++ double d = HUGE_VAL; ++ return d == 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_math_huge_val_works=yes ++else ++ gl_cv_header_math_huge_val_works=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_math_huge_val_works" >&5 ++$as_echo "$gl_cv_header_math_huge_val_works" >&6; } ++ if test $gl_cv_header_math_huge_val_works = no; then ++ REPLACE_HUGE_VAL=1 ++ fi ++ ++ ++ ++ # Code from module mbrtowc: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 ++$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++ if test $LOCALE_JA != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_incomplete_state=yes ++else ++ gl_cv_func_mbrtowc_incomplete_state=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 ++$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 ++$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_sanitycheck=yes ++else ++ gl_cv_func_mbrtowc_sanitycheck=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 ++$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } ++ ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ ++ : ++ ++ fi ++ ++ ++ ++ if test $ac_cv_func_mbrtowc = no; then ++ HAVE_MBRTOWC=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_MBRTOWC=1 ++ else ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 ++$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; } ++if ${gl_cv_func_mbrtowc_null_arg1+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris. ++ solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; ++ esac ++ if test $LOCALE_FR_UTF8 != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ char input[] = "\303\237er"; ++ mbstate_t state; ++ wchar_t wc; ++ size_t ret; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ wc = (wchar_t) 0xBADFACE; ++ ret = mbrtowc (&wc, input, 5, &state); ++ if (ret != 2) ++ result |= 1; ++ if (!mbsinit (&state)) ++ result |= 2; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ ret = mbrtowc (NULL, input, 5, &state); ++ if (ret != 2) /* Solaris 7 fails here: ret is -1. */ ++ result |= 4; ++ if (!mbsinit (&state)) ++ result |= 8; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_null_arg1=yes ++else ++ gl_cv_func_mbrtowc_null_arg1=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 ++$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 ++$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } ++if ${gl_cv_func_mbrtowc_null_arg2+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on OSF/1. ++ osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; ++ esac ++ if test $LOCALE_FR_UTF8 != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ mbstate_t state; ++ wchar_t wc; ++ int ret; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ wc = (wchar_t) 0xBADFACE; ++ mbrtowc (&wc, NULL, 5, &state); ++ /* Check that wc was not modified. */ ++ if (wc != (wchar_t) 0xBADFACE) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_null_arg2=yes ++else ++ gl_cv_func_mbrtowc_null_arg2=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 ++$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; } ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 ++$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } ++if ${gl_cv_func_mbrtowc_retval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on HP-UX, Solaris, native Windows. ++ hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_retval="guessing yes" ;; ++ esac ++ if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ ++ || { case "$host_os" in mingw*) true;; *) false;; esac; }; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ int found_some_locale = 0; ++ /* This fails on Solaris. */ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ char input[] = "B\303\274\303\237er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ { ++ input[1] = '\0'; ++ if (mbrtowc (&wc, input + 2, 5, &state) != 1) ++ result |= 1; ++ } ++ found_some_locale = 1; ++ } ++ /* This fails on HP-UX 11.11. */ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ { ++ input[1] = '\0'; ++ if (mbrtowc (&wc, input + 2, 5, &state) != 2) ++ result |= 2; ++ } ++ found_some_locale = 1; ++ } ++ /* This fails on native Windows. */ ++ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) ++ { ++ char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 4; ++ } ++ found_some_locale = 1; ++ } ++ if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) ++ { ++ char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 8; ++ } ++ found_some_locale = 1; ++ } ++ if (setlocale (LC_ALL, "Chinese_China.936") != NULL) ++ { ++ char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 16; ++ } ++ found_some_locale = 1; ++ } ++ return (found_some_locale ? result : 77); ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_retval=yes ++else ++ if test $? != 77; then ++ gl_cv_func_mbrtowc_retval=no ++ fi ++ ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 ++$as_echo "$gl_cv_func_mbrtowc_retval" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 ++$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } ++if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8 and 9. ++ solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8 and 9. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, "", 1, &state) != 0) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_nul_retval=yes ++else ++ gl_cv_func_mbrtowc_nul_retval=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 ++$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } ++ ++ case "$gl_cv_func_mbrtowc_null_arg1" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_null_arg2" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_retval" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_nul_retval" in ++ *yes) ;; ++ *) ++$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h ++ ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ fi ++ fi ++ if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mbrtowc.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MBRTOWC=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h ++ ++ ++ ++ # Code from module mbsinit: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 ++$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++ if test $LOCALE_JA != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_incomplete_state=yes ++else ++ gl_cv_func_mbrtowc_incomplete_state=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 ++$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 ++$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_sanitycheck=yes ++else ++ gl_cv_func_mbrtowc_sanitycheck=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 ++$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } ++ ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ ++ : ++ ++ fi ++ ++ ++ ++ if test $ac_cv_func_mbsinit = no; then ++ HAVE_MBSINIT=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_MBSINIT=1 ++ else ++ case "$host_os" in ++ mingw*) REPLACE_MBSINIT=1 ;; ++ esac ++ fi ++ fi ++ if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mbsinit.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MBSINIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module mbtowc: ++ ++ ++ ++ if false; then ++ REPLACE_MBTOWC=1 ++ fi ++ if test $REPLACE_MBTOWC = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mbtowc.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MBTOWC=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MBTOWC 1" >>confdefs.h ++ ++ ++ ++ # Code from module memchr: ++ ++ ++ ++ ++ GNULIB_MEMCHR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h ++ ++ ++ ++ # Code from module memchr2: ++ # Code from module mkdtemp: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in mkdtemp ++do : ++ ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp" ++if test "x$ac_cv_func_mkdtemp" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_MKDTEMP 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_mkdtemp = no; then ++ HAVE_MKDTEMP=0 ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MKDTEMP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MKDTEMP 1" >>confdefs.h ++ ++ ++ ++ # Code from module mkstemp: ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mkstemp = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 ++$as_echo_n "checking for working mkstemp... " >&6; } ++if ${gl_cv_func_working_mkstemp+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ mkdir conftest.mkstemp ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_working_mkstemp=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++int result = 0; ++ int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0) ++ result |= 1; ++ else ++ { ++ if (lseek (fd, large, SEEK_SET) != large) ++ result |= 2; ++ close (fd); ++ } ++ } ++ return result; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_mkstemp=yes ++else ++ gl_cv_func_working_mkstemp=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -rf conftest.mkstemp ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5 ++$as_echo "$gl_cv_func_working_mkstemp" >&6; } ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext" ++ ++ ++ ++ fi ++ else ++ HAVE_MKSTEMP=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext" ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_MKSTEMP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_MKSTEMP 1" >>confdefs.h ++ ++ ++ ++ # Code from module multiarch: ++ ++ # Code from module nl_langinfo: ++ ++ ++ ++ ++ if test $ac_cv_func_nl_langinfo = yes; then ++ # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5 ++$as_echo_n "checking whether YESEXPR works... " >&6; } ++if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ # Guess no on irix systems. ++ irix*) gl_cv_func_nl_langinfo_yesexpr_works="guessing no";; ++ # Guess yes elsewhere. ++ *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++return !*nl_langinfo(YESEXPR); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_nl_langinfo_yesexpr_works=yes ++else ++ gl_cv_func_nl_langinfo_yesexpr_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_nl_langinfo_yesexpr_works" >&5 ++$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; } ++ case $gl_cv_func_nl_langinfo_yesexpr_works in ++ *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;; ++ *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS ++_ACEOF ++ ++ if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \ ++ && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then ++ : ++ else ++ REPLACE_NL_LANGINFO=1 ++ ++$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext" ++ ++ fi ++ else ++ HAVE_NL_LANGINFO=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_NL_LANGINFO=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h ++ ++ ++ ++ # Code from module nocrash: ++ # Code from module obstack: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5 ++$as_echo_n "checking for obstacks... " >&6; } ++if ${ac_cv_func_obstack+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++ @%:@include "obstack.h" ++int ++main () ++{ ++struct obstack mem; ++ @%:@define obstack_chunk_alloc malloc ++ @%:@define obstack_chunk_free free ++ obstack_init (&mem); ++ obstack_free (&mem, 0); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_obstack=yes ++else ++ ac_cv_func_obstack=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5 ++$as_echo "$ac_cv_func_obstack" >&6; } ++if test $ac_cv_func_obstack = yes; then ++ ++$as_echo "@%:@define HAVE_OBSTACK 1" >>confdefs.h ++ ++else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS obstack.$ac_objext" ++ ++fi ++ ++ # Code from module open: ++ ++ ++ case "$host_os" in ++ mingw* | pw*) ++ ++ ++ REPLACE_OPEN=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext" ++ ++ ++ ++ ++ : ++ ++ ++ ;; ++ *) ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5 ++$as_echo_n "checking whether open recognizes a trailing slash... " >&6; } ++if ${gl_cv_func_open_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ touch conftest.tmp ++ ln -s conftest.tmp conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) ++ gl_cv_func_open_slash="guessing no" ;; ++ *) ++ gl_cv_func_open_slash="guessing yes" ;; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_UNISTD_H ++# include ++#endif ++int main () ++{ ++ int result = 0; ++#if HAVE_LSTAT ++ if (open ("conftest.lnk/", O_RDONLY) != -1) ++ result |= 1; ++#endif ++ if (open ("conftest.sl/", O_CREAT, 0600) >= 0) ++ result |= 2; ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_open_slash=yes ++else ++ gl_cv_func_open_slash=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.sl conftest.tmp conftest.lnk ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5 ++$as_echo "$gl_cv_func_open_slash" >&6; } ++ case "$gl_cv_func_open_slash" in ++ *no) ++ ++$as_echo "@%:@define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ++ ++ ++ ++ REPLACE_OPEN=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext" ++ ++ ++ ++ ++ : ++ ++ ++ ;; ++ esac ++ ;; ++ esac ++ ++ ++ ++ ++ GNULIB_OPEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_OPEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module oset: ++ ++ ++ ++ # Code from module pathmax: ++ ++ ++ ++ ++ # Code from module pipe2: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_pipe2 != yes; then ++ HAVE_PIPE2=0 ++ fi ++ ++ ++ ++ ++ GNULIB_PIPE2=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_PIPE2 1" >>confdefs.h ++ ++ ++ ++ # Code from module pipe2-safer: ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_PIPE2_SAFER 1 ++_ACEOF ++ ++ ++ # Code from module posix_spawn-internal: ++ # Code from module posix_spawn_file_actions_addclose: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addclose.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_adddup2: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_adddup2.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_addopen: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addopen.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_destroy: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_destroy.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawn_file_actions_init: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawn_faction_init.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_destroy: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_destroy.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_DESTROY=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_DESTROY 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_init: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_init.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_INIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_INIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_setflags: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_setflags.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_SETFLAGS=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnattr_setsigmask: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnattr_setsigmask.$ac_objext" ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNATTR_SETSIGMASK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK 1" >>confdefs.h ++ ++ ++ ++ # Code from module posix_spawnp: ++ ++ ++ ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawnp.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS spawni.$ac_objext" ++ ++ for ac_header in paths.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" ++if test "x$ac_cv_header_paths_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_PATHS_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ for ac_func in confstr sched_setparam sched_setscheduler setegid seteuid vfork ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ fi ++ ++ ++ ++ GNULIB_POSIX_SPAWNP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNP 1" >>confdefs.h ++ ++ ++ ++ # Code from module printf-frexp: ++ ++ ++ if test $gl_cv_func_frexp_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 ++$as_echo_n "checking whether frexp works... " >&6; } ++if ${gl_cv_func_frexp_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";; ++ *) gl_cv_func_frexp_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ ICC 10.0 has a bug when optimizing the expression -zero. ++ The expression -DBL_MIN * DBL_MIN does not work when cross-compiling ++ to PowerPC on MacOS X 10.5. */ ++#if defined __hpux || defined __sgi || defined __ICC ++static double ++compute_minus_zero (void) ++{ ++ return -DBL_MIN * DBL_MIN; ++} ++# define minus_zero compute_minus_zero () ++#else ++double minus_zero = -0.0; ++#endif ++int main() ++{ ++ int result = 0; ++ int i; ++ volatile double x; ++ double zero = 0.0; ++ /* Test on denormalized numbers. */ ++ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ++ ; ++ if (x > 0.0) ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. ++ On NetBSD: y = 0.75. Correct: y = 0.5. */ ++ if (y != 0.5) ++ result |= 1; ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0 / 0.0; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (y != x) ++ result |= 2; ++ } ++ /* Test on negative zero. */ ++ x = minus_zero; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (memcmp (&y, &x, sizeof x)) ++ result |= 4; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexp_works=yes ++else ++ gl_cv_func_frexp_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_frexp_works" >&5 ++$as_echo "$gl_cv_func_frexp_works" >&6; } ++ ++ case "$gl_cv_func_frexp_works" in ++ *yes) ++ ++$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h ++ ++ ;; ++ esac ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5 ++$as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; } ++if ${gl_cv_func_ldexp_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ double x; ++ int y; ++int ++main () ++{ ++return ldexp (x, y) < 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ldexp_no_libm=yes ++else ++ gl_cv_func_ldexp_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5 ++$as_echo "$gl_cv_func_ldexp_no_libm" >&6; } ++ if test $gl_cv_func_ldexp_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ ++ # Code from module printf-frexpl: ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 ++$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_frexpl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x; ++int ++main () ++{ ++int e; return frexpl (x, &e) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_frexpl_no_libm=yes ++else ++ gl_cv_func_frexpl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5 ++$as_echo "$gl_cv_func_frexpl_no_libm" >&6; } ++ ++ if test $gl_cv_func_frexpl_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 ++$as_echo_n "checking whether frexpl works... " >&6; } ++if ${gl_cv_func_frexpl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*) ++ gl_cv_func_frexpl_works="guessing no";; ++ *) gl_cv_func_frexpl_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Override the values of , like done in float.in.h. */ ++#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) ++# undef LDBL_MIN_EXP ++# define LDBL_MIN_EXP (-16381) ++#endif ++extern long double frexpl (long double, int *); ++int main() ++{ ++ int result = 0; ++ volatile long double x; ++ /* Test on finite numbers that fails on AIX 5.1. */ ++ x = 16.0L; ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != 5) ++ result |= 1; ++ } ++ /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl ++ function returns an invalid (incorrectly normalized) value: it returns ++ y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } ++ but the correct result is ++ 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ ++ x = 1.01L; ++ { ++ int exp = -9999; ++ long double y = frexpl (x, &exp); ++ if (!(exp == 1 && y == 0.505L)) ++ result |= 2; ++ } ++ /* Test on large finite numbers. This fails on BeOS at i = 16322, while ++ LDBL_MAX_EXP = 16384. ++ In the loop end test, we test x against Infinity, rather than comparing ++ i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != i) ++ { ++ result |= 4; ++ break; ++ } ++ } ++ } ++ /* Test on denormalized numbers. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ++ ; ++ if (x > 0.0L) ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, ++ exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */ ++ if (exp != LDBL_MIN_EXP - 1) ++ result |= 8; ++ } ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0L / 0.0L; ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ if (y != x) ++ result |= 16; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_frexpl_works=yes ++else ++ gl_cv_func_frexpl_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_frexpl_works" >&5 ++$as_echo "$gl_cv_func_frexpl_works" >&6; } ++ ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl_no_libm=yes ;; ++ *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; ++ esac ++ else ++ gl_func_frexpl_no_libm=no ++ REPLACE_FREXPL=1 ++ fi ++ if test $gl_func_frexpl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h ++ ++ ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include ++" ++if test "x$ac_cv_have_decl_frexpl" = xyes; then : ++ ++else ++ HAVE_DECL_FREXPL=0 ++fi ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5 ++$as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; } ++if ${gl_cv_func_ldexpl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x; ++int ++main () ++{ ++return ldexpl (x, -1) > 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_ldexpl_no_libm=yes ++else ++ gl_cv_func_ldexpl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5 ++$as_echo "$gl_cv_func_ldexpl_no_libm" >&6; } ++ ++ if test $gl_cv_func_ldexpl_no_libm = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5 ++$as_echo_n "checking whether ldexpl works... " >&6; } ++if ${gl_cv_func_ldexpl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ case "$host_os" in ++ aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";; ++ *) gl_cv_func_ldexpl_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++extern long double ldexpl (long double, int); ++int main() ++{ ++ int result = 0; ++ { ++ volatile long double x = 1.0; ++ volatile long double y = ldexpl (x, -1); ++ if (y != 0.5L) ++ result |= 1; ++ } ++ { ++ volatile long double x = 1.73205L; ++ volatile long double y = ldexpl (x, 0); ++ if (y != x) ++ result |= 2; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_ldexpl_works=yes ++else ++ gl_cv_func_ldexpl_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_ldexpl_works" >&5 ++$as_echo "$gl_cv_func_ldexpl_works" >&6; } ++ ++ case "$gl_cv_func_ldexpl_works" in ++ *yes) ++ ++$as_echo "@%:@define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h ++ ++ ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include ++" ++if test "x$ac_cv_have_decl_ldexpl" = xyes; then : ++ ++else ++ HAVE_DECL_LDEXPL=0 ++fi ++ ++ ;; ++ esac ++ fi ++ ++ # Code from module printf-safe: ++ ++ # Code from module progname: ++ ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include ++" ++if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl ++_ACEOF ++ ++ ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include ++" ++if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl ++_ACEOF ++ ++ # Code from module quotearg: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS quotearg.$ac_objext" ++ ++ ++ # Code from module quotearg-simple: ++ # Code from module rawmemchr: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in rawmemchr ++do : ++ ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr" ++if test "x$ac_cv_func_rawmemchr" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_RAWMEMCHR 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_rawmemchr = no; then ++ HAVE_RAWMEMCHR=0 ++ : ++ fi ++ ++ ++ ++ ++ GNULIB_RAWMEMCHR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h ++ ++ ++ ++ # Code from module readlink: ++ ++ ++ ++ if test $ac_cv_func_readlink = no; then ++ HAVE_READLINK=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext" ++ ++ ++ : ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5 ++$as_echo_n "checking whether readlink signature is correct... " >&6; } ++if ${gl_cv_decl_readlink_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ /* Cause compilation failure if original declaration has wrong type. */ ++ ssize_t readlink (const char *, char *, size_t); ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_decl_readlink_works=yes ++else ++ gl_cv_decl_readlink_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5 ++$as_echo "$gl_cv_decl_readlink_works" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5 ++$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; } ++if ${gl_cv_func_readlink_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # We have readlink, so assume ln -s works. ++ ln -s conftest.no-such conftest.link ++ ln -s conftest.link conftest.lnk2 ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_readlink_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++char buf[20]; ++ return readlink ("conftest.lnk2/", buf, sizeof buf) != -1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_readlink_works=yes ++else ++ gl_cv_func_readlink_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 ++ ++ rm -f conftest.link conftest.lnk2 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5 ++$as_echo "$gl_cv_func_readlink_works" >&6; } ++ if test "$gl_cv_func_readlink_works" != yes; then ++ ++$as_echo "@%:@define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h ++ ++ REPLACE_READLINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext" ++ ++ elif test "$gl_cv_decl_readlink_works" != yes; then ++ REPLACE_READLINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_READLINK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_READLINK 1" >>confdefs.h ++ ++ ++ ++ # Code from module regex: ++ ++ ++@%:@ Check whether --with-included-regex was given. ++if test "${with_included_regex+set}" = set; then : ++ withval=$with_included_regex; ++fi ++ ++ ++ case $with_included_regex in #( ++ yes|no) ac_use_included_regex=$with_included_regex ++ ;; ++ '') ++ # If the system regex support is good enough that it passes the ++ # following run test, then default to *not* using the included regex.c. ++ # If cross compiling, assume the test would fail and use the included ++ # regex.c. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 ++$as_echo_n "checking for working re_compile_pattern... " >&6; } ++if ${gl_cv_func_re_compile_pattern_working+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_re_compile_pattern_working=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++int result = 0; ++ static struct re_pattern_buffer regex; ++ unsigned char folded_chars[UCHAR_MAX + 1]; ++ int i; ++ const char *s; ++ struct re_registers regs; ++ ++ /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html ++ This test needs valgrind to catch the bug on Debian ++ GNU/Linux 3.1 x86, but it might catch the bug better ++ on other platforms and it shouldn't hurt to try the ++ test here. */ ++ if (setlocale (LC_ALL, "en_US.UTF-8")) ++ { ++ static char const pat[] = "insert into"; ++ static char const data[] = ++ "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; ++ re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE ++ | RE_ICASE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern (pat, sizeof pat - 1, ®ex); ++ if (s) ++ result |= 1; ++ else if (re_search (®ex, data, sizeof data - 1, ++ 0, sizeof data - 1, ®s) ++ != -1) ++ result |= 1; ++ if (! setlocale (LC_ALL, "C")) ++ return 1; ++ } ++ ++ /* This test is from glibc bug 3957, reported by Andrew Mackey. */ ++ re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("a[^x]b", 6, ®ex); ++ if (s) ++ result |= 2; ++ /* This should fail, but succeeds for glibc-2.5. */ ++ else if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) ++ result |= 2; ++ ++ /* This regular expression is from Spencer ere test number 75 ++ in grep-2.3. */ ++ re_set_syntax (RE_SYNTAX_POSIX_EGREP); ++ memset (®ex, 0, sizeof regex); ++ for (i = 0; i <= UCHAR_MAX; i++) ++ folded_chars[i] = i; ++ regex.translate = folded_chars; ++ s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, ®ex); ++ /* This should fail with _Invalid character class name_ error. */ ++ if (!s) ++ result |= 4; ++ ++ /* Ensure that [b-a] is diagnosed as invalid, when ++ using RE_NO_EMPTY_RANGES. */ ++ re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("a[b-a]", 6, ®ex); ++ if (s == 0) ++ result |= 8; ++ ++ /* This should succeed, but does not for glibc-2.1.3. */ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("{1", 2, ®ex); ++ if (s) ++ result |= 8; ++ ++ /* The following example is derived from a problem report ++ against gawk from Jorge Stolfi . */ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("[an\371]*n", 7, ®ex); ++ if (s) ++ result |= 8; ++ /* This should match, but does not for glibc-2.2.1. */ ++ else if (re_match (®ex, "an", 2, 0, ®s) != 2) ++ result |= 8; ++ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("x", 1, ®ex); ++ if (s) ++ result |= 8; ++ /* glibc-2.2.93 does not work with a negative RANGE argument. */ ++ else if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) ++ result |= 8; ++ ++ /* The version of regex.c in older versions of gnulib ++ ignored RE_ICASE. Detect that problem too. */ ++ re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("x", 1, ®ex); ++ if (s) ++ result |= 16; ++ else if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) ++ result |= 16; ++ ++ /* Catch a bug reported by Vin Shelton in ++ http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html ++ */ ++ re_set_syntax (RE_SYNTAX_POSIX_BASIC ++ & ~RE_CONTEXT_INVALID_DUP ++ & ~RE_NO_EMPTY_RANGES); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); ++ if (s) ++ result |= 32; ++ ++ /* REG_STARTEND was added to glibc on 2004-01-15. ++ Reject older versions. */ ++ if (! REG_STARTEND) ++ result |= 64; ++ ++#if 0 ++ /* It would be nice to reject hosts whose regoff_t values are too ++ narrow (including glibc on hosts with 64-bit ptrdiff_t and ++ 32-bit int), but we should wait until glibc implements this ++ feature. Otherwise, support for equivalence classes and ++ multibyte collation symbols would always be broken except ++ when compiling --without-included-regex. */ ++ if (sizeof (regoff_t) < sizeof (ptrdiff_t) ++ || sizeof (regoff_t) < sizeof (ssize_t)) ++ result |= 64; ++#endif ++ ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_re_compile_pattern_working=yes ++else ++ gl_cv_func_re_compile_pattern_working=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_re_compile_pattern_working" >&5 ++$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } ++ case $gl_cv_func_re_compile_pattern_working in #( ++ yes) ac_use_included_regex=no;; #( ++ no) ac_use_included_regex=yes;; ++ esac ++ ;; ++ *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5 ++ ;; ++ esac ++ ++ if test $ac_use_included_regex = yes; then ++ ++$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h ++ ++ ++$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h ++ ++ ++$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h ++ ++ ++$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h ++ ++ ++$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h ++ ++ ++$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS regex.$ac_objext" ++ ++ ++ ++ ++ ++ ++ for ac_header in libintl.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libintl_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_LIBINTL_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include ++" ++if test "x$ac_cv_have_decl_isblank" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_ISBLANK $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ # Code from module rename: ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5 ++$as_echo_n "checking whether rename honors trailing slash on destination... " >&6; } ++if ${gl_cv_func_rename_slash_dst_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk ++ touch conftest.f && touch conftest.f1 && mkdir conftest.d1 || ++ as_fn_error $? "cannot create temporary files" "$LINENO" 5 ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.f conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_slash_dst_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.f1", "conftest.f2/") == 0) ++ result |= 1; ++ if (rename ("conftest.d1", "conftest.d2/") != 0) ++ result |= 2; ++#if HAVE_LSTAT ++ if (rename ("conftest.f", "conftest.lnk/") == 0) ++ result |= 4; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_slash_dst_works=yes ++else ++ gl_cv_func_rename_slash_dst_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 ++ ++ rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5 ++$as_echo "$gl_cv_func_rename_slash_dst_works" >&6; } ++ if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5 ++$as_echo_n "checking whether rename honors trailing slash on source... " >&6; } ++if ${gl_cv_func_rename_slash_src_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk ++ touch conftest.f && touch conftest.f1 && mkdir conftest.d1 || ++ as_fn_error $? "cannot create temporary files" "$LINENO" 5 ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.f conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_slash_src_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.f1/", "conftest.d3") == 0) ++ result |= 1; ++ if (rename ("conftest.d1/", "conftest.d2") != 0) ++ result |= 2; ++#if HAVE_LSTAT ++ if (rename ("conftest.lnk/", "conftest.f") == 0) ++ result |= 4; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_slash_src_works=yes ++else ++ gl_cv_func_rename_slash_src_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 ++ ++ rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5 ++$as_echo "$gl_cv_func_rename_slash_src_works" >&6; } ++ if test "x$gl_cv_func_rename_slash_src_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5 ++$as_echo_n "checking whether rename manages hard links correctly... " >&6; } ++if ${gl_cv_func_rename_link_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.f1 ++ if touch conftest.f && ln conftest.f conftest.f1 && ++ set x `ls -i conftest.f conftest.f1` && test "" = ""; then ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_link_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.f", "conftest.f1")) ++ result |= 1; ++ if (unlink ("conftest.f1")) ++ result |= 2; ++ if (rename ("conftest.f", "conftest.f")) ++ result |= 4; ++ if (rename ("conftest.f1", "conftest.f1") == 0) ++ result |= 8; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_link_works=yes ++else ++ gl_cv_func_rename_link_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 ++ ++ else ++ gl_cv_func_rename_link_works="guessing no" ++ fi ++ rm -rf conftest.f conftest.f1 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5 ++$as_echo "$gl_cv_func_rename_link_works" >&6; } ++ if test "x$gl_cv_func_rename_link_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_HARD_LINK_BUG 1" >>confdefs.h ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5 ++$as_echo_n "checking whether rename manages existing destinations correctly... " >&6; } ++if ${gl_cv_func_rename_dest_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ rm -rf conftest.f conftest.d1 conftest.d2 ++ touch conftest.f && mkdir conftest.d1 conftest.d2 || ++ as_fn_error $? "cannot create temporary files" "$LINENO" 5 ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rename_dest_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++# include ++# include ++ ++int ++main () ++{ ++int result = 0; ++ if (rename ("conftest.d1", "conftest.d2") != 0) ++ result |= 1; ++ if (rename ("conftest.d2", "conftest.f") == 0) ++ result |= 2; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rename_dest_works=yes ++else ++ gl_cv_func_rename_dest_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 ++ ++ rm -rf conftest.f conftest.d1 conftest.d2 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5 ++$as_echo "$gl_cv_func_rename_dest_works" >&6; } ++ if test "x$gl_cv_func_rename_dest_works" != xyes; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext" ++ ++ REPLACE_RENAME=1 ++ ++$as_echo "@%:@define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ GNULIB_RENAME=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_RENAME 1" >>confdefs.h ++ ++ ++ ++ # Code from module rmdir: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5 ++$as_echo_n "checking whether rmdir works... " >&6; } ++if ${gl_cv_func_rmdir_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ mkdir conftest.dir ++ touch conftest.file ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_rmdir_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ #include ++ ++int ++main () ++{ ++int result = 0; ++ if (!rmdir ("conftest.file/")) ++ result |= 1; ++ else if (errno != ENOTDIR) ++ result |= 2; ++ if (!rmdir ("conftest.dir/./")) ++ result |= 4; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_rmdir_works=yes ++else ++ gl_cv_func_rmdir_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 ++ ++ rm -rf conftest.dir conftest.file ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5 ++$as_echo "$gl_cv_func_rmdir_works" >&6; } ++ if test x"$gl_cv_func_rmdir_works" != xyes; then ++ REPLACE_RMDIR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS rmdir.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_RMDIR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_RMDIR 1" >>confdefs.h ++ ++ ++ ++ # Code from module same-inode: ++ # Code from module sched: ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ struct sched_param a; ++ int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ SCHED_H='' ++else ++ SCHED_H='sched.h' ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sched_h='<'sched.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sched_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sched_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sched_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sched.h#{ ++ s#.*"\(.*/sched.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sched_h='<'sched.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 ++$as_echo "$gl_cv_next_sched_h" >&6; } ++ fi ++ NEXT_SCHED_H=$gl_cv_next_sched_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sched.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sched_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test $ac_cv_header_sched_h = yes; then ++ HAVE_SCHED_H=1 ++ else ++ HAVE_SCHED_H=0 ++ fi ++ ++ ++ ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include ++" ++if test "x$ac_cv_type_struct_sched_param" = xyes; then : ++ HAVE_STRUCT_SCHED_PARAM=1 ++else ++ HAVE_STRUCT_SCHED_PARAM=0 ++fi ++ ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ ++ # Code from module sigaction: ++ ++ ++ ++ if test $ac_cv_func_sigaction = yes; then ++ ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include ++" ++if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then ++ HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 ++ fi ++ else ++ HAVE_SIGACTION=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS sigaction.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" " ++#include ++ ++" ++if test "x$ac_cv_type_siginfo_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGINFO_T 1 ++_ACEOF ++ ++ ++fi ++ ++ if test $ac_cv_type_siginfo_t = no; then ++ HAVE_SIGINFO_T=0 ++ fi ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SIGACTION=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SIGACTION 1" >>confdefs.h ++ ++ ++ ++ # Code from module signal: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_signal_h='<'signal.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_signal_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/signal.h#{ ++ s#.*"\(.*/signal.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5 ++$as_echo "$gl_cv_next_signal_h" >&6; } ++ fi ++ NEXT_SIGNAL_H=$gl_cv_next_signal_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'signal.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_signal_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive ++ ++ ++ ++ ++# AIX declares sig_atomic_t to already include volatile, and C89 compilers ++# then choke on 'volatile sig_atomic_t'. C99 requires that it compile. ++ ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" " ++#include ++ ++" ++if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then : ++ ++else ++ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 ++fi ++ ++ ++ ++ ++ ++ # Code from module signbit: ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5 ++$as_echo_n "checking for signbit macro... " >&6; } ++if ${gl_cv_func_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_signbit="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++/* If signbit is defined as a function, don't use it, since calling it for ++ 'float' or 'long double' arguments would involve conversions. ++ If signbit is not declared at all but exists as a library function, don't ++ use it, since the prototype may not match. ++ If signbit is not declared at all but exists as a compiler built-in, don't ++ use it, since it's preferable to use __builtin_signbit* (no warnings, ++ no conversions). */ ++#ifndef signbit ++# error "signbit should be a macro" ++#endif ++#include ++ ++/* Global variables. ++ Needed because GCC 4 constant-folds __builtin_signbitl (literal) ++ but cannot constant-fold __builtin_signbitl (variable). */ ++float vf; ++double vd; ++long double vl; ++int main () ++{ ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ So we use -p0f and -p0d instead. */ ++float p0f = 0.0f; ++float m0f = -p0f; ++double p0d = 0.0; ++double m0d = -p0d; ++/* On HP-UX 10.20, negating 0.0L does not yield -0.0L. ++ So we use another constant expression instead. ++ But that expression does not work on other platforms, such as when ++ cross-compiling to PowerPC on MacOS X 10.5. */ ++long double p0l = 0.0L; ++#if defined __hpux || defined __sgi ++long double m0l = -LDBL_MIN * LDBL_MIN; ++#else ++long double m0l = -p0l; ++#endif ++ int result = 0; ++ if (signbit (vf)) /* link check */ ++ vf++; ++ { ++ float plus_inf = 1.0f / p0f; ++ float minus_inf = -1.0f / p0f; ++ if (!(!signbit (255.0f) ++ && signbit (-255.0f) ++ && !signbit (p0f) ++ && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 1; ++ } ++ if (signbit (vd)) /* link check */ ++ vd++; ++ { ++ double plus_inf = 1.0 / p0d; ++ double minus_inf = -1.0 / p0d; ++ if (!(!signbit (255.0) ++ && signbit (-255.0) ++ && !signbit (p0d) ++ && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 2; ++ } ++ if (signbit (vl)) /* link check */ ++ vl++; ++ { ++ long double plus_inf = 1.0L / p0l; ++ long double minus_inf = -1.0L / p0l; ++ if (signbit (255.0L)) ++ result |= 4; ++ if (!signbit (-255.0L)) ++ result |= 4; ++ if (signbit (p0l)) ++ result |= 8; ++ if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) ++ result |= 16; ++ if (signbit (plus_inf)) ++ result |= 32; ++ if (!signbit (minus_inf)) ++ result |= 64; ++ } ++ return result; ++} ++ ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_signbit=yes ++else ++ gl_cv_func_signbit=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_signbit" >&5 ++$as_echo "$gl_cv_func_signbit" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5 ++$as_echo_n "checking for signbit compiler built-ins... " >&6; } ++if ${gl_cv_func_signbit_gcc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_signbit_gcc="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if __GNUC__ >= 4 ++# define signbit(x) \ ++ (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ ++ sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ ++ __builtin_signbitf (x)) ++#else ++# error "signbit should be three compiler built-ins" ++#endif ++#include ++ ++/* Global variables. ++ Needed because GCC 4 constant-folds __builtin_signbitl (literal) ++ but cannot constant-fold __builtin_signbitl (variable). */ ++float vf; ++double vd; ++long double vl; ++int main () ++{ ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ So we use -p0f and -p0d instead. */ ++float p0f = 0.0f; ++float m0f = -p0f; ++double p0d = 0.0; ++double m0d = -p0d; ++/* On HP-UX 10.20, negating 0.0L does not yield -0.0L. ++ So we use another constant expression instead. ++ But that expression does not work on other platforms, such as when ++ cross-compiling to PowerPC on MacOS X 10.5. */ ++long double p0l = 0.0L; ++#if defined __hpux || defined __sgi ++long double m0l = -LDBL_MIN * LDBL_MIN; ++#else ++long double m0l = -p0l; ++#endif ++ int result = 0; ++ if (signbit (vf)) /* link check */ ++ vf++; ++ { ++ float plus_inf = 1.0f / p0f; ++ float minus_inf = -1.0f / p0f; ++ if (!(!signbit (255.0f) ++ && signbit (-255.0f) ++ && !signbit (p0f) ++ && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 1; ++ } ++ if (signbit (vd)) /* link check */ ++ vd++; ++ { ++ double plus_inf = 1.0 / p0d; ++ double minus_inf = -1.0 / p0d; ++ if (!(!signbit (255.0) ++ && signbit (-255.0) ++ && !signbit (p0d) ++ && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 2; ++ } ++ if (signbit (vl)) /* link check */ ++ vl++; ++ { ++ long double plus_inf = 1.0L / p0l; ++ long double minus_inf = -1.0L / p0l; ++ if (signbit (255.0L)) ++ result |= 4; ++ if (!signbit (-255.0L)) ++ result |= 4; ++ if (signbit (p0l)) ++ result |= 8; ++ if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) ++ result |= 16; ++ if (signbit (plus_inf)) ++ result |= 32; ++ if (!signbit (minus_inf)) ++ result |= 64; ++ } ++ return result; ++} ++ ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_signbit_gcc=yes ++else ++ gl_cv_func_signbit_gcc=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_signbit_gcc" >&5 ++$as_echo "$gl_cv_func_signbit_gcc" >&6; } ++ if test "$gl_cv_func_signbit_gcc" = yes; then ++ REPLACE_SIGNBIT_USING_GCC=1 ++ else ++ if test "$gl_cv_func_signbit" != yes; then ++ REPLACE_SIGNBIT=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS signbitf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS signbitd.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS signbitl.$ac_objext" ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5 ++$as_echo_n "checking where to find the sign bit in a 'float'... " >&6; } ++if ${gl_cv_cc_float_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_float_signbit="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0f }; ++static memory_float minus = { -1.0f }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_signbit=`cat conftest.out` ++else ++ gl_cv_cc_float_signbit="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5 ++$as_echo "$gl_cv_cc_float_signbit" >&6; } ++ case "$gl_cv_cc_float_signbit" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_SIGNBIT_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_SIGNBIT_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5 ++$as_echo_n "checking where to find the sign bit in a 'double'... " >&6; } ++if ${gl_cv_cc_double_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_double_signbit="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0 }; ++static memory_float minus = { -1.0 }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_double_signbit=`cat conftest.out` ++else ++ gl_cv_cc_double_signbit="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5 ++$as_echo "$gl_cv_cc_double_signbit" >&6; } ++ case "$gl_cv_cc_double_signbit" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_SIGNBIT_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_SIGNBIT_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5 ++$as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; } ++if ${gl_cv_cc_long_double_signbit+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_long_double_signbit="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0L }; ++static memory_float minus = { -1.0L }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_long_double_signbit=`cat conftest.out` ++else ++ gl_cv_cc_long_double_signbit="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5 ++$as_echo "$gl_cv_cc_long_double_signbit" >&6; } ++ case "$gl_cv_cc_long_double_signbit" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_SIGNBIT_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_SIGNBIT_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ if test "$gl_cv_cc_float_signbit" = unknown; then ++ ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include ++" ++if test "x$ac_cv_have_decl_copysignf" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_COPYSIGNF $ac_have_decl ++_ACEOF ++ ++ if test "$ac_cv_have_decl_copysignf" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5 ++$as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; } ++if ${gl_cv_func_copysignf_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ float x, y; ++int ++main () ++{ ++return copysignf (x, y) < 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_copysignf_no_libm=yes ++else ++ gl_cv_func_copysignf_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5 ++$as_echo "$gl_cv_func_copysignf_no_libm" >&6; } ++ if test $gl_cv_func_copysignf_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ if test "$gl_cv_cc_double_signbit" = unknown; then ++ ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include ++" ++if test "x$ac_cv_have_decl_copysign" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_COPYSIGN $ac_have_decl ++_ACEOF ++ ++ if test "$ac_cv_have_decl_copysign" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5 ++$as_echo_n "checking whether copysign can be used without linking with libm... " >&6; } ++if ${gl_cv_func_copysign_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ double x, y; ++int ++main () ++{ ++return copysign (x, y) < 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_copysign_no_libm=yes ++else ++ gl_cv_func_copysign_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5 ++$as_echo "$gl_cv_func_copysign_no_libm" >&6; } ++ if test $gl_cv_func_copysign_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ if test "$gl_cv_cc_long_double_signbit" = unknown; then ++ ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include ++" ++if test "x$ac_cv_have_decl_copysignl" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_COPYSIGNL $ac_have_decl ++_ACEOF ++ ++ if test "$ac_cv_have_decl_copysignl" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5 ++$as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; } ++if ${gl_cv_func_copysignl_no_libm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ long double x, y; ++int ++main () ++{ ++return copysignl (x, y) < 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ gl_cv_func_copysignl_no_libm=yes ++else ++ gl_cv_func_copysignl_no_libm=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5 ++$as_echo "$gl_cv_func_copysignl_no_libm" >&6; } ++ if test $gl_cv_func_copysignl_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_SIGNBIT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SIGNBIT 1" >>confdefs.h ++ ++ ++ ++ # Code from module sigprocmask: ++ ++ ++ signals_not_posix= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "sigset_t" >/dev/null 2>&1; then : ++ ++else ++ signals_not_posix=1 ++fi ++rm -f conftest* ++ ++ if test -z "$signals_not_posix"; then ++ ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" ++if test "x$ac_cv_func_sigprocmask" = xyes; then : ++ gl_cv_func_sigprocmask=1 ++fi ++ ++ fi ++ if test -z "$gl_cv_func_sigprocmask"; then ++ HAVE_POSIX_SIGNALBLOCKING=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS sigprocmask.$ac_objext" ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include ++/* Mingw defines sigset_t not in , but in . */ ++#include ++" ++if test "x$ac_cv_type_sigset_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGSET_T 1 ++_ACEOF ++ ++gl_cv_type_sigset_t=yes ++else ++ gl_cv_type_sigset_t=no ++fi ++ ++ if test $gl_cv_type_sigset_t != yes; then ++ HAVE_SIGSET_T=0 ++ fi ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SIGPROCMASK=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h ++ ++ ++ ++ # Code from module size_max: ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 ++$as_echo_n "checking for SIZE_MAX... " >&6; } ++if ${gl_cv_size_max+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ gl_cv_size_max= ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Found it" >/dev/null 2>&1; then : ++ gl_cv_size_max=yes ++fi ++rm -f conftest* ++ ++ if test -z "$gl_cv_size_max"; then ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include ++#include "; then : ++ ++else ++ size_t_bits_minus_1= ++fi ++ ++ if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : ++ ++else ++ fits_in_uint= ++fi ++ ++ if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then ++ if test $fits_in_uint = 1; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ fits_in_uint=0 ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $fits_in_uint = 1; then ++ gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" ++ else ++ gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" ++ fi ++ else ++ gl_cv_size_max='((size_t)~(size_t)0)' ++ fi ++ fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 ++$as_echo "$gl_cv_size_max" >&6; } ++ if test "$gl_cv_size_max" != yes; then ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SIZE_MAX $gl_cv_size_max ++_ACEOF ++ ++ fi ++ ++ ++ # Code from module snprintf: ++ ++ ++ gl_cv_func_snprintf_usable=no ++ for ac_func in snprintf ++do : ++ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" ++if test "x$ac_cv_func_snprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SNPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_snprintf = yes; then ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 ++$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } ++if ${gl_cv_func_snprintf_size1+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_snprintf_size1="guessing yes" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ snprintf (buf, 1, "%d", 12345); ++ return buf[1] != 'E'; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_snprintf_size1=yes ++else ++ gl_cv_func_snprintf_size1=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_snprintf_size1" >&5 ++$as_echo "$gl_cv_func_snprintf_size1" >&6; } ++ ++ case "$gl_cv_func_snprintf_size1" in ++ *yes) ++ ++ case "$gl_cv_func_snprintf_retval_c99" in ++ *yes) ++ gl_cv_func_snprintf_usable=yes ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ if test $gl_cv_func_snprintf_usable = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS snprintf.$ac_objext" ++ ++ if test $ac_cv_func_snprintf = yes; then ++ REPLACE_SNPRINTF=1 ++ fi ++ : ++ ++ fi ++ ++ if test $ac_cv_have_decl_snprintf = no; then ++ HAVE_DECL_SNPRINTF=0 ++ fi ++ ++ ++ ++ ++ GNULIB_SNPRINTF=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SNPRINTF 1" >>confdefs.h ++ ++ ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define GNULIB_SNPRINTF 1 ++_ACEOF ++ ++ ++ # Code from module spawn: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_spawn_h='<'spawn.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_spawn_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_spawn_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_spawn_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/spawn.h#{ ++ s#.*"\(.*/spawn.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_spawn_h='<'spawn.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_spawn_h" >&5 ++$as_echo "$gl_cv_next_spawn_h" >&6; } ++ fi ++ NEXT_SPAWN_H=$gl_cv_next_spawn_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'spawn.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_spawn_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SPAWN_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test $ac_cv_header_spawn_h = yes; then ++ HAVE_SPAWN_H=1 ++ ac_fn_c_check_type "$LINENO" "posix_spawnattr_t" "ac_cv_type_posix_spawnattr_t" " ++#include ++ ++" ++if test "x$ac_cv_type_posix_spawnattr_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POSIX_SPAWNATTR_T 1 ++_ACEOF ++ ++ ++else ++ HAVE_POSIX_SPAWNATTR_T=0 ++fi ++ ++ ac_fn_c_check_type "$LINENO" "posix_spawn_file_actions_t" "ac_cv_type_posix_spawn_file_actions_t" " ++#include ++ ++" ++if test "x$ac_cv_type_posix_spawn_file_actions_t" = xyes; then : ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_POSIX_SPAWN_FILE_ACTIONS_T 1 ++_ACEOF ++ ++ ++else ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0 ++fi ++ ++ else ++ HAVE_SPAWN_H=0 ++ HAVE_POSIX_SPAWNATTR_T=0 ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0 ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module spawn-pipe: ++ ++ ++ ++ ++ # Code from module ssize_t: ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 ++$as_echo_n "checking for ssize_t... " >&6; } ++if ${gt_cv_ssize_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int x = sizeof (ssize_t *) + sizeof (ssize_t); ++ return !x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_ssize_t=yes ++else ++ gt_cv_ssize_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 ++$as_echo "$gt_cv_ssize_t" >&6; } ++ if test $gt_cv_ssize_t = no; then ++ ++$as_echo "@%:@define ssize_t int" >>confdefs.h ++ ++ fi ++ ++ # Code from module stat: ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 ++$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; } ++if ${gl_cv_func_stat_dir_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ case $host_os in ++ mingw*) gl_cv_func_stat_dir_slash="guessing no";; ++ *) gl_cv_func_stat_dir_slash="guessing yes";; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++struct stat st; return stat (".", &st) != stat ("./", &st); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_stat_dir_slash=yes ++else ++ gl_cv_func_stat_dir_slash=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_stat_dir_slash" >&5 ++$as_echo "$gl_cv_func_stat_dir_slash" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 ++$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } ++if ${gl_cv_func_stat_file_slash+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ touch conftest.tmp ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.tmp conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_stat_file_slash="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++int result = 0; ++ struct stat st; ++ if (!stat ("conftest.tmp/", &st)) ++ result |= 1; ++#if HAVE_LSTAT ++ if (!stat ("conftest.lnk/", &st)) ++ result |= 2; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_stat_file_slash=yes ++else ++ gl_cv_func_stat_file_slash=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.tmp conftest.lnk ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5 ++$as_echo "$gl_cv_func_stat_file_slash" >&6; } ++ case $gl_cv_func_stat_dir_slash in ++ *no) REPLACE_STAT=1 ++ ++$as_echo "@%:@define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h ++;; ++ esac ++ case $gl_cv_func_stat_file_slash in ++ *no) REPLACE_STAT=1 ++ ++$as_echo "@%:@define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h ++;; ++ esac ++ if test $REPLACE_STAT = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS stat.$ac_objext" ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STAT=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STAT 1" >>confdefs.h ++ ++ ++ ++ # Code from module stdarg: ++ ++ STDARG_H=''; ++ NEXT_STDARG_H=''; ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 ++$as_echo_n "checking for va_copy... " >&6; } ++ if ${gl_cv_func_va_copy+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++#ifndef va_copy ++void (*func) (va_list, va_list) = va_copy; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_va_copy=yes ++else ++ gl_cv_func_va_copy=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5 ++$as_echo "$gl_cv_func_va_copy" >&6; } ++ if test $gl_cv_func_va_copy = no; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#if defined _AIX && !defined __GNUC__ ++ AIX vaccine ++ #endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "vaccine" >/dev/null 2>&1; then : ++ gl_aixcc=yes ++else ++ gl_aixcc=no ++fi ++rm -f conftest* ++ ++ if test $gl_aixcc = yes; then ++ STDARG_H=stdarg.h ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdarg_h='<'stdarg.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdarg_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdarg.h#{ ++ s#.*"\(.*/stdarg.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5 ++$as_echo "$gl_cv_next_stdarg_h" >&6; } ++ fi ++ NEXT_STDARG_H=$gl_cv_next_stdarg_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdarg.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdarg_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test "$gl_cv_next_stdarg_h" = '""'; then ++ gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' ++ NEXT_STDARG_H="$gl_cv_next_stdarg_h" ++ fi ++ else ++ ++ saved_as_echo_n="$as_echo_n" ++ as_echo_n=':' ++ if ${gl_cv_func___va_copy+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ ++#ifndef __va_copy ++error, bail out ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func___va_copy=yes ++else ++ gl_cv_func___va_copy=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++ as_echo_n="$saved_as_echo_n" ++ ++ if test $gl_cv_func___va_copy = yes; then ++ ++$as_echo "@%:@define va_copy __va_copy" >>confdefs.h ++ ++ else ++ ++ ++$as_echo "@%:@define va_copy gl_va_copy" >>confdefs.h ++ ++ fi ++ fi ++ fi ++ ++ # Code from module stdbool: ++ ++ ++ ++ # Define two additional variables used in the Makefile substitution. ++ ++ if test "$ac_cv_header_stdbool_h" = yes; then ++ STDBOOL_H='' ++ else ++ STDBOOL_H='stdbool.h' ++ fi ++ ++ ++ if test "$ac_cv_type__Bool" = yes; then ++ HAVE__BOOL=1 ++ else ++ HAVE__BOOL=0 ++ fi ++ ++ ++ # Code from module stddef: ++ ++ ++ ++ if test $gt_cv_c_wchar_t = no; then ++ HAVE_WCHAR_T=0 ++ STDDEF_H=stddef.h ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 ++$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } ++if ${gl_cv_decl_null_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ int test[2 * (sizeof NULL == sizeof (void *)) -1]; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_decl_null_works=yes ++else ++ gl_cv_decl_null_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 ++$as_echo "$gl_cv_decl_null_works" >&6; } ++ if test $gl_cv_decl_null_works = no; then ++ REPLACE_NULL=1 ++ STDDEF_H=stddef.h ++ fi ++ if test -n "$STDDEF_H"; then ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stddef_h='<'stddef.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stddef_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stddef.h#{ ++ s#.*"\(.*/stddef.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 ++$as_echo "$gl_cv_next_stddef_h" >&6; } ++ fi ++ NEXT_STDDEF_H=$gl_cv_next_stddef_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stddef.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stddef_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ fi ++ ++ # Code from module stdint: ++ ++ ++ ++ if test $ac_cv_type_long_long_int = yes; then ++ HAVE_LONG_LONG_INT=1 ++ else ++ HAVE_LONG_LONG_INT=0 ++ fi ++ ++ ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ HAVE_UNSIGNED_LONG_LONG_INT=1 ++ else ++ HAVE_UNSIGNED_LONG_LONG_INT=0 ++ fi ++ ++ ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_inttypes_h = yes; then ++ HAVE_INTTYPES_H=1 ++ else ++ HAVE_INTTYPES_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_sys_types_h = yes; then ++ HAVE_SYS_TYPES_H=1 ++ else ++ HAVE_SYS_TYPES_H=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdint_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdint.h#{ ++ s#.*"\(.*/stdint.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_stdint_h='<'stdint.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 ++$as_echo "$gl_cv_next_stdint_h" >&6; } ++ fi ++ NEXT_STDINT_H=$gl_cv_next_stdint_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdint.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdint_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ HAVE_STDINT_H=1 ++ else ++ HAVE_STDINT_H=0 ++ fi ++ ++ ++ if test $ac_cv_header_stdint_h = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 ++$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } ++if ${gl_cv_header_working_stdint_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ gl_cv_header_working_stdint_h=no ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ ++#if !(defined WCHAR_MIN && defined WCHAR_MAX) ++#error "WCHAR_MIN, WCHAR_MAX not defined in " ++#endif ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#ifdef INT8_MAX ++int8_t a1 = INT8_MAX; ++int8_t a1min = INT8_MIN; ++#endif ++#ifdef INT16_MAX ++int16_t a2 = INT16_MAX; ++int16_t a2min = INT16_MIN; ++#endif ++#ifdef INT32_MAX ++int32_t a3 = INT32_MAX; ++int32_t a3min = INT32_MIN; ++#endif ++#ifdef INT64_MAX ++int64_t a4 = INT64_MAX; ++int64_t a4min = INT64_MIN; ++#endif ++#ifdef UINT8_MAX ++uint8_t b1 = UINT8_MAX; ++#else ++typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; ++#endif ++#ifdef UINT16_MAX ++uint16_t b2 = UINT16_MAX; ++#endif ++#ifdef UINT32_MAX ++uint32_t b3 = UINT32_MAX; ++#endif ++#ifdef UINT64_MAX ++uint64_t b4 = UINT64_MAX; ++#endif ++int_least8_t c1 = INT8_C (0x7f); ++int_least8_t c1max = INT_LEAST8_MAX; ++int_least8_t c1min = INT_LEAST8_MIN; ++int_least16_t c2 = INT16_C (0x7fff); ++int_least16_t c2max = INT_LEAST16_MAX; ++int_least16_t c2min = INT_LEAST16_MIN; ++int_least32_t c3 = INT32_C (0x7fffffff); ++int_least32_t c3max = INT_LEAST32_MAX; ++int_least32_t c3min = INT_LEAST32_MIN; ++int_least64_t c4 = INT64_C (0x7fffffffffffffff); ++int_least64_t c4max = INT_LEAST64_MAX; ++int_least64_t c4min = INT_LEAST64_MIN; ++uint_least8_t d1 = UINT8_C (0xff); ++uint_least8_t d1max = UINT_LEAST8_MAX; ++uint_least16_t d2 = UINT16_C (0xffff); ++uint_least16_t d2max = UINT_LEAST16_MAX; ++uint_least32_t d3 = UINT32_C (0xffffffff); ++uint_least32_t d3max = UINT_LEAST32_MAX; ++uint_least64_t d4 = UINT64_C (0xffffffffffffffff); ++uint_least64_t d4max = UINT_LEAST64_MAX; ++int_fast8_t e1 = INT_FAST8_MAX; ++int_fast8_t e1min = INT_FAST8_MIN; ++int_fast16_t e2 = INT_FAST16_MAX; ++int_fast16_t e2min = INT_FAST16_MIN; ++int_fast32_t e3 = INT_FAST32_MAX; ++int_fast32_t e3min = INT_FAST32_MIN; ++int_fast64_t e4 = INT_FAST64_MAX; ++int_fast64_t e4min = INT_FAST64_MIN; ++uint_fast8_t f1 = UINT_FAST8_MAX; ++uint_fast16_t f2 = UINT_FAST16_MAX; ++uint_fast32_t f3 = UINT_FAST32_MAX; ++uint_fast64_t f4 = UINT_FAST64_MAX; ++#ifdef INTPTR_MAX ++intptr_t g = INTPTR_MAX; ++intptr_t gmin = INTPTR_MIN; ++#endif ++#ifdef UINTPTR_MAX ++uintptr_t h = UINTPTR_MAX; ++#endif ++intmax_t i = INTMAX_MAX; ++uintmax_t j = UINTMAX_MAX; ++ ++#include /* for CHAR_BIT */ ++#define TYPE_MINIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) ++#define TYPE_MAXIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 \ ++ ? (t) -1 \ ++ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) ++struct s { ++ int check_PTRDIFF: ++ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) ++ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ++ ? 1 : -1; ++ /* Detect bug in FreeBSD 6.0 / ia64. */ ++ int check_SIG_ATOMIC: ++ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) ++ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ++ ? 1 : -1; ++ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; ++ int check_WCHAR: ++ WCHAR_MIN == TYPE_MINIMUM (wchar_t) ++ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ++ ? 1 : -1; ++ /* Detect bug in mingw. */ ++ int check_WINT: ++ WINT_MIN == TYPE_MINIMUM (wint_t) ++ && WINT_MAX == TYPE_MAXIMUM (wint_t) ++ ? 1 : -1; ++ ++ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ ++ int check_UINT8_C: ++ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; ++ int check_UINT16_C: ++ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; ++ ++ /* Detect bugs in OpenBSD 3.9 stdint.h. */ ++#ifdef UINT8_MAX ++ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; ++#endif ++#ifdef UINT16_MAX ++ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; ++#endif ++#ifdef UINT32_MAX ++ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; ++#endif ++#ifdef UINT64_MAX ++ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; ++#endif ++ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; ++ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; ++ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; ++ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; ++ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; ++ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; ++ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; ++ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; ++ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; ++ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; ++ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; ++}; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if test "$cross_compiling" = yes; then : ++ gl_cv_header_working_stdint_h=yes ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ ++#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++ ++int ++main () ++{ ++ ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) ++ { ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return mv - macro_values + 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_header_working_stdint_h=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 ++$as_echo "$gl_cv_header_working_stdint_h" >&6; } ++ fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ for ac_header in sys/inttypes.h sys/bitypes.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi ++ ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi ++ ++ ++ ++ ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 ++$as_echo_n "checking for bit size of $gltype... " >&6; } ++if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++#include "; then : ++ ++else ++ result=unknown ++fi ++ ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ++fi ++eval ac_res=\$gl_cv_bitsizeof_${gltype} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ cat >>confdefs.h <<_ACEOF ++@%:@define BITSIZEOF_${GLTYPE} $result ++_ACEOF ++ ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ ++ ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 ++$as_echo_n "checking whether $gltype is signed... " >&6; } ++if eval \${gl_cv_type_${gltype}_signed+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ result=yes ++else ++ result=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval gl_cv_type_${gltype}_signed=\$result ++ ++fi ++eval ac_res=\$gl_cv_type_${gltype}_signed ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval result=\$gl_cv_type_${gltype}_signed ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ if test "$result" = yes; then ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SIGNED_${GLTYPE} 1 ++_ACEOF ++ ++ eval HAVE_SIGNED_${GLTYPE}=1 ++ else ++ eval HAVE_SIGNED_${GLTYPE}=0 ++ fi ++ done ++ ++ ++ gl_cv_type_ptrdiff_t_signed=yes ++ gl_cv_type_size_t_signed=no ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ ++ ++ for gltype in ptrdiff_t size_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if eval \${gl_cv_type_${gltype}_suffix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ fi ++ ++ ++ for gltype in sig_atomic_t wchar_t wint_t ; do ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 ++$as_echo_n "checking for $gltype integer literal suffix... " >&6; } ++if eval \${gl_cv_type_${gltype}_suffix+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++ ++ extern $gltype foo; ++ extern $gltype1 foo; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval gl_cv_type_${gltype}_suffix=\$glsuf ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done ++fi ++eval ac_res=\$gl_cv_type_${gltype}_suffix ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ cat >>confdefs.h <<_ACEOF ++@%:@define ${GLTYPE}_SUFFIX $result ++_ACEOF ++ ++ done ++ ++ ++ ++ STDINT_H=stdint.h ++ fi ++ ++ ++ # Code from module stdio: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdio_h='<'stdio.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdio_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdio.h#{ ++ s#.*"\(.*/stdio.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 ++$as_echo "$gl_cv_next_stdio_h" >&6; } ++ fi ++ NEXT_STDIO_H=$gl_cv_next_stdio_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdio.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdio_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ GNULIB_FPRINTF=1 ++ GNULIB_PRINTF=1 ++ GNULIB_VFPRINTF=1 ++ GNULIB_VPRINTF=1 ++ GNULIB_FPUTC=1 ++ GNULIB_PUTC=1 ++ GNULIB_PUTCHAR=1 ++ GNULIB_FPUTS=1 ++ GNULIB_PUTS=1 ++ GNULIB_FWRITE=1 ++ ++ ++ ++ ++ # Code from module stdlib: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_stdlib_h='<'stdlib.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_stdlib_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/stdlib.h#{ ++ s#.*"\(.*/stdlib.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 ++$as_echo "$gl_cv_next_stdlib_h" >&6; } ++ fi ++ NEXT_STDLIB_H=$gl_cv_next_stdlib_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'stdlib.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_stdlib_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ # Code from module stdlib-safer: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS mkstemp-safer.$ac_objext" ++ ++ ++ # Code from module strchrnul: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strchrnul ++do : ++ ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" ++if test "x$ac_cv_func_strchrnul" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRCHRNUL 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ if test $ac_cv_func_strchrnul = no; then ++ HAVE_STRCHRNUL=0 ++ : ++ fi ++ ++ ++ ++ ++ GNULIB_STRCHRNUL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h ++ ++ ++ ++ # Code from module streq: ++ # Code from module strerror: ++ ++ ++ if test $REPLACE_STRERROR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strerror.$ac_objext" ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define REPLACE_STRERROR $REPLACE_STRERROR ++_ACEOF ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRERROR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h ++ ++ ++ ++ # Code from module string: ++ ++ ++ ++ # Code from module strndup: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strndup = no; then ++ HAVE_DECL_STRNDUP=0 ++ fi ++ ++ if test $ac_cv_func_strndup = yes; then ++ # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 ++$as_echo_n "checking for working strndup... " >&6; } ++if ${gl_cv_func_strndup_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ++ case $host_os in ++ aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; ++ *) gl_cv_func_strndup_works="guessing yes";; ++ esac ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++int ++main () ++{ ++ ++#ifndef HAVE_DECL_STRNDUP ++ extern char *strndup (const char *, size_t); ++#endif ++ char *s; ++ s = strndup ("some longer string", 15); ++ free (s); ++ s = strndup ("shorter string", 13); ++ return s[13] != '\0'; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strndup_works=yes ++else ++ gl_cv_func_strndup_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_strndup_works" >&5 ++$as_echo "$gl_cv_func_strndup_works" >&6; } ++ case $gl_cv_func_strndup_works in ++ *no) ++ REPLACE_STRNDUP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext" ++ ++ ;; ++ esac ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRNDUP=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h ++ ++ ++ ++ # Code from module strnlen: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strnlen = no; then ++ HAVE_DECL_STRNLEN=0 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 ++$as_echo_n "checking for working strnlen... " >&6; } ++if ${ac_cv_func_strnlen_working+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ # Guess no on AIX systems, yes otherwise. ++ case "$host_os" in ++ aix*) ac_cv_func_strnlen_working=no;; ++ *) ac_cv_func_strnlen_working=yes;; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++#define S "foobar" ++#define S_LEN (sizeof S - 1) ++ ++ /* At least one implementation is buggy: that of AIX 4.3 would ++ give strnlen (S, 1) == 3. */ ++ ++ int i; ++ for (i = 0; i < S_LEN + 1; ++i) ++ { ++ int expected = i <= S_LEN ? i : S_LEN; ++ if (strnlen (S, i) != expected) ++ return 1; ++ } ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_strnlen_working=yes ++else ++ ac_cv_func_strnlen_working=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: $ac_cv_func_strnlen_working" >&5 ++$as_echo "$ac_cv_func_strnlen_working" >&6; } ++test $ac_cv_func_strnlen_working = no && ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext" ++ ++ ++ if test $ac_cv_func_strnlen_working = no; then ++ REPLACE_STRNLEN=1 ++ fi ++ fi ++ if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext" ++ ++ : ++ fi ++ ++ ++ ++ ++ GNULIB_STRNLEN=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h ++ ++ ++ ++ # Code from module strsignal: ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_strsignal = no; then ++ HAVE_DECL_STRSIGNAL=0 ++ fi ++ ++ for ac_func in strsignal ++do : ++ ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal" ++if test "x$ac_cv_func_strsignal" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRSIGNAL 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_strsignal = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5 ++$as_echo_n "checking whether strsignal always returns a string... " >&6; } ++if ${gl_cv_func_working_strsignal+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ case "$host_os" in ++ solaris* | aix*) gl_cv_func_working_strsignal=no;; ++ *) gl_cv_func_working_strsignal="guessing yes";; ++ esac ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include /* NetBSD 5.0 declares it in wrong header. */ ++ ++int ++main () ++{ ++int result = 0; ++ char *s = strsignal (-1); ++ if (s == (char *) 0) ++ result |= 1; ++ if (s == (char *) -1) ++ result |= 2; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_working_strsignal=yes ++else ++ gl_cv_func_working_strsignal=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_working_strsignal" >&5 ++$as_echo "$gl_cv_func_working_strsignal" >&6; } ++ else ++ gl_cv_func_working_strsignal=no ++ fi ++ ++ if test "$gl_cv_func_working_strsignal" = no; then ++ if test $ac_cv_func_strsignal = yes; then ++ REPLACE_STRSIGNAL=1 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strsignal.$ac_objext" ++ ++ ++ ++ ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include ++" ++if test "x$ac_cv_have_decl__sys_siglist" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl ++_ACEOF ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRSIGNAL=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRSIGNAL 1" >>confdefs.h ++ ++ ++ ++ # Code from module strstr: ++ ++ ++ if test $REPLACE_STRSTR = 0; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5 ++$as_echo_n "checking whether strstr works in linear time... " >&6; } ++if ${gl_cv_func_strstr_linear+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ && !defined __UCLIBC__ ++ Lucky user ++ #endif ++#endif ++#ifdef __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strstr_linear=yes ++else ++ gl_cv_func_strstr_linear="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for signal */ ++#include /* for strstr */ ++#include /* for malloc */ ++#include /* for alarm */ ++static void quit (int sig) { exit (sig + 128); } ++ ++int ++main () ++{ ++ ++ int result = 0; ++ size_t m = 1000000; ++ char *haystack = (char *) malloc (2 * m + 2); ++ char *needle = (char *) malloc (m + 2); ++ /* Failure to compile this test due to missing alarm is okay, ++ since all such platforms (mingw) also have quadratic strstr. */ ++ signal (SIGALRM, quit); ++ alarm (5); ++ /* Check for quadratic performance. */ ++ if (haystack && needle) ++ { ++ memset (haystack, 'A', 2 * m); ++ haystack[2 * m] = 'B'; ++ haystack[2 * m + 1] = 0; ++ memset (needle, 'A', m); ++ needle[m] = 'B'; ++ needle[m + 1] = 0; ++ if (!strstr (haystack, needle)) ++ result |= 1; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strstr_linear=yes ++else ++ gl_cv_func_strstr_linear=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_strstr_linear" >&5 ++$as_echo "$gl_cv_func_strstr_linear" >&6; } ++ if test "$gl_cv_func_strstr_linear" != yes; then ++ REPLACE_STRSTR=1 ++ fi ++ fi ++ if test $REPLACE_STRSTR = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ fi ++ ++ # Code from module strstr-simple: ++ ++ ++ ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 ++$as_echo_n "checking whether strstr works... " >&6; } ++if ${gl_cv_func_strstr_works_always+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#ifdef __GNU_LIBRARY__ ++ #include ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ || defined __UCLIBC__ ++ Lucky user ++ #endif ++#elif defined __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#else ++ Lucky user ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always="guessing no" ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include /* for strstr */ ++#define P "_EF_BF_BD" ++#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P ++#define NEEDLE P P P P P ++ ++int ++main () ++{ ++return !!strstr (HAYSTACK, NEEDLE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strstr_works_always=yes ++else ++ gl_cv_func_strstr_works_always=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_strstr_works_always" >&5 ++$as_echo "$gl_cv_func_strstr_works_always" >&6; } ++ if test "$gl_cv_func_strstr_works_always" != yes; then ++ REPLACE_STRSTR=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_STRSTR=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRSTR 1" >>confdefs.h ++ ++ ++ ++ # Code from module strtod: ++ ++ ++ ++ if test $ac_cv_have_decl_strtod != yes; then ++ HAVE_STRTOD=0 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5 ++$as_echo_n "checking whether strtod obeys C99... " >&6; } ++if ${gl_cv_func_strtod_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ ++ && !defined __UCLIBC__ ++ Lucky user ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "Lucky user" >/dev/null 2>&1; then : ++ gl_cv_func_strtod_works=yes ++else ++ gl_cv_func_strtod_works="guessing no" ++fi ++rm -f conftest* ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Compare two numbers with ==. ++ This is a separate function because IRIX 6.5 "cc -O" miscompiles an ++ 'x == x' test. */ ++static int ++numeric_equal (double x, double y) ++{ ++ return x == y; ++} ++ ++int ++main () ++{ ++ ++ int result = 0; ++ { ++ /* In some old versions of Linux (2000 or before), strtod mis-parses ++ strings with leading '+'. */ ++ const char *string = " +69"; ++ char *term; ++ double value = strtod (string, &term); ++ if (value != 69 || term != (string + 4)) ++ result |= 1; ++ } ++ { ++ /* Under Solaris 2.4, strtod returns the wrong value for the ++ terminating character under some conditions. */ ++ const char *string = "NaN"; ++ char *term; ++ strtod (string, &term); ++ if (term != string && *(term - 1) == 0) ++ result |= 2; ++ } ++ { ++ /* Older glibc and Cygwin mis-parse "-0x". */ ++ const char *string = "-0x"; ++ char *term; ++ double value = strtod (string, &term); ++ double zero = 0.0; ++ if (1.0 / value != -1.0 / zero || term != (string + 2)) ++ result |= 4; ++ } ++ { ++ /* Many platforms do not parse hex floats. */ ++ const char *string = "0XaP+1"; ++ char *term; ++ double value = strtod (string, &term); ++ if (value != 20.0 || term != (string + 6)) ++ result |= 8; ++ } ++ { ++ /* Many platforms do not parse infinities. HP-UX 11.31 parses inf, ++ but mistakenly sets errno. */ ++ const char *string = "inf"; ++ char *term; ++ double value; ++ errno = 0; ++ value = strtod (string, &term); ++ if (value != HUGE_VAL || term != (string + 3) || errno) ++ result |= 16; ++ } ++ { ++ /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */ ++ const char *string = "nan()"; ++ char *term; ++ double value = strtod (string, &term); ++ if (numeric_equal (value, value) || term != (string + 5)) ++ result |= 32; ++ } ++ { ++ /* darwin 10.6.1 misparses "nan(". */ ++ const char *string = "nan("; ++ char *term; ++ double value = strtod (string, &term); ++ if (numeric_equal (value, value) || term != (string + 3)) ++ result |= 64; ++ } ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_strtod_works=yes ++else ++ gl_cv_func_strtod_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_strtod_works" >&5 ++$as_echo "$gl_cv_func_strtod_works" >&6; } ++ if test "$gl_cv_func_strtod_works" != yes; then ++ REPLACE_STRTOD=1 ++ fi ++ fi ++ if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS strtod.$ac_objext" ++ ++ ++ ++ if test $gl_cv_func_ldexp_no_libm = yes; then ++ ++$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h ++ ++ fi ++ ++ fi ++ ++ ++ ++ ++ GNULIB_STRTOD=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRTOD 1" >>confdefs.h ++ ++ ++ ++ # Code from module strtol: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in strtol ++do : ++ ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" ++if test "x$ac_cv_func_strtol" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STRTOL 1 ++_ACEOF ++ ++else ++ ++ M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext" ++ ++fi ++done ++ ++ ++ ++ # Code from module sys_stat: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sys_stat_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_stat_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/stat.h#{ ++ s#.*"\(.*/sys/stat.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_stat_h='<'sys/stat.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 ++$as_echo "$gl_cv_next_sys_stat_h" >&6; } ++ fi ++ NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/stat.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_stat_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include ++ #include ++" ++if test "x$ac_cv_type_nlink_t" = xyes; then : ++ ++else ++ ++$as_echo "@%:@define nlink_t int" >>confdefs.h ++ ++fi ++ ++ ++ ++ ++ ++ # Code from module sys_time: ++ ++ ++ ++ ++ # Code from module sys_wait: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_sys_wait_h='<'sys/wait.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_sys_wait_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_sys_wait_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/sys/wait.h#{ ++ s#.*"\(.*/sys/wait.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_sys_wait_h='<'sys/wait.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5 ++$as_echo "$gl_cv_next_sys_wait_h" >&6; } ++ fi ++ NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'sys/wait.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_sys_wait_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module tempname: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS tempname.$ac_objext" ++ ++ ++ : ++ ++ ++ # Code from module threadlib: ++ ++ ++ ++ ++ # Code from module time: ++ ++ ++ ++ # Code from module tls: ++ ++ ++ ++ # Code from module tmpdir: ++ ++ for ac_func in __secure_getenv ++do : ++ ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv" ++if test "x$ac_cv_func___secure_getenv" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE___SECURE_GETENV 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ # Code from module unistd: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_unistd_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/unistd.h#{ ++ s#.*"\(.*/unistd.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_unistd_h='<'unistd.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 ++$as_echo "$gl_cv_next_unistd_h" >&6; } ++ fi ++ NEXT_UNISTD_H=$gl_cv_next_unistd_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'unistd.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_unistd_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_unistd_h = yes; then ++ HAVE_UNISTD_H=1 ++ else ++ HAVE_UNISTD_H=0 ++ fi ++ ++ ++ ++ ++ # Code from module unistd-safer: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS dup-safer.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS fd-safer.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS pipe-safer.$ac_objext" ++ ++ ++ # Code from module unlocked-io: ++ ++ ++$as_echo "@%:@define USE_UNLOCKED_IO 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ # Code from module update-copyright: ++ # Code from module useless-if-before-free: ++ # Code from module vasnprintf: ++ ++ ++ if test $ac_cv_func_vasnprintf = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext" ++ ++ if test $ac_cv_func_vasnprintf = yes; then ++ ++$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = xyes; then : ++ ++else ++ ++$as_echo "@%:@define ptrdiff_t long" >>confdefs.h ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ # Code from module vasprintf: ++ ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_VASPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_vasprintf = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext" ++ ++ ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ ++ ++ ++ GNULIB_VASPRINTF=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_VASPRINTF 1" >>confdefs.h ++ ++ ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format" ++ ++ # Code from module vasprintf-posix: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_cv_func_vasprintf_posix=no ++ for ac_func in vasprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" ++if test "x$ac_cv_func_vasprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_VASPRINTF 1 ++_ACEOF ++ ++fi ++done ++ ++ case "$gl_cv_func_printf_sizes_c99" in ++ *yes) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ case "$gl_cv_func_printf_directive_n" in ++ *yes) ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ case "$gl_cv_func_printf_positions" in ++ *yes) ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ if test $ac_cv_func_vasprintf = yes; then ++ # vasprintf exists and is ++ # already POSIX compliant. ++ gl_cv_func_vasprintf_posix=yes ++ fi ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ if test $gl_cv_func_vasprintf_posix = no; then ++ ++ ++ ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h ++ ++ for ac_func in nl_langinfo ++do : ++ ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" ++if test "x$ac_cv_func_nl_langinfo" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_NL_LANGINFO 1 ++_ACEOF ++ ++fi ++done ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ ;; ++ *) ++ ++$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h ++ ++ ++$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h ++ ++ ;; ++ esac ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext" ++ ++ if test $ac_cv_func_vasnprintf = yes; then ++ ++$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" ++if test "x$ac_cv_type_ptrdiff_t" = xyes; then : ++ ++else ++ ++$as_echo "@%:@define ptrdiff_t long" >>confdefs.h ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext" ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext" ++ ++ ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ fi ++ ++ # Code from module vc-list-files: ++ # Code from module verify: ++ # Code from module verror: ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror:3:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror_at_line:5:c-format" ++ ++ # Code from module version-etc: ++ ++@%:@ Check whether --with-packager was given. ++if test "${with_packager+set}" = set; then : ++ withval=$with_packager; case $withval in ++ yes|no) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_PACKAGER "$withval" ++_ACEOF ++ ;; ++ esac ++ ++fi ++ ++ ++ ++@%:@ Check whether --with-packager-version was given. ++if test "${with_packager_version+set}" = set; then : ++ withval=$with_packager_version; case $withval in ++ yes|no) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_PACKAGER_VERSION "$withval" ++_ACEOF ++ ;; ++ esac ++ ++fi ++ ++ ++ ++@%:@ Check whether --with-packager-bug-reports was given. ++if test "${with_packager_bug_reports+set}" = set; then : ++ withval=$with_packager_bug_reports; case $withval in ++ yes|no) ;; ++ *) ++cat >>confdefs.h <<_ACEOF ++@%:@define PACKAGE_PACKAGER_BUG_REPORTS "$withval" ++_ACEOF ++ ;; ++ esac ++ ++fi ++ ++ ++ if test "X$with_packager" = "X" && \ ++ test "X$with_packager_version$with_packager_bug_reports" != "X" ++ then ++ as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5 ++ fi ++ ++ # Code from module version-etc-fsf: ++ # Code from module wait-process: ++ ++ ++ ++ for ac_func in waitid ++do : ++ ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid" ++if test "x$ac_cv_func_waitid" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_WAITID 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ # Code from module waitpid: ++ ++ ++ case $host_os in ++ mingw*) ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS waitpid.$ac_objext" ++ ++ ;; ++ esac ++ ++ ++ ++ ++ GNULIB_WAITPID=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WAITPID 1" >>confdefs.h ++ ++ ++ ++ # Code from module warn-on-use: ++ # Code from module warnings: ++ ++ # Code from module wchar: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_wchar_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/wchar.h#{ ++ s#.*"\(.*/wchar.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_wchar_h='<'wchar.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 ++$as_echo "$gl_cv_next_wchar_h" >&6; } ++ fi ++ NEXT_WCHAR_H=$gl_cv_next_wchar_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'wchar.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_wchar_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ ++ ++ ++ ++ ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ ++ ++ ++ ++ # Code from module wcrtomb: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 ++$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++ if test $LOCALE_JA != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_incomplete_state=yes ++else ++ gl_cv_func_mbrtowc_incomplete_state=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 ++$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 ++$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++ if test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_mbrtowc_sanitycheck=yes ++else ++ gl_cv_func_mbrtowc_sanitycheck=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 ++$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } ++ ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ ++ : ++ ++ fi ++ ++ ++ ++ if test $ac_cv_func_wcrtomb = no; then ++ HAVE_WCRTOMB=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_WCRTOMB=1 ++ else ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 ++$as_echo_n "checking whether wcrtomb return value is correct... " >&6; } ++if ${gl_cv_func_wcrtomb_retval+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on AIX 4, OSF/1 and Solaris. ++ aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_wcrtomb_retval="guessing yes" ;; ++ esac ++ if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 1; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 2; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 4; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 8; ++ } ++ return result; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_wcrtomb_retval=yes ++else ++ gl_cv_func_wcrtomb_retval=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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 ++$as_echo "$gl_cv_func_wcrtomb_retval" >&6; } ++ case "$gl_cv_func_wcrtomb_retval" in ++ *yes) ;; ++ *) REPLACE_WCRTOMB=1 ;; ++ esac ++ fi ++ fi ++ if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS wcrtomb.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_WCRTOMB=1 ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h ++ ++ ++ ++ # Code from module wctype-h: ++ ++ ++ ++ ++ ++ if test $ac_cv_func_iswcntrl = yes; then ++ HAVE_ISWCNTRL=1 ++ else ++ HAVE_ISWCNTRL=0 ++ fi ++ ++ ++ ++ ++ ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_wctype_h='<'wctype.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_wctype_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test $ac_cv_header_wctype_h = yes; then ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/wctype.h#{ ++ s#.*"\(.*/wctype.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ else ++ gl_cv_next_wctype_h='<'wctype.h'>' ++ fi ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 ++$as_echo "$gl_cv_next_wctype_h" >&6; } ++ fi ++ NEXT_WCTYPE_H=$gl_cv_next_wctype_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'wctype.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_wctype_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ if test $ac_cv_header_wctype_h = yes; then ++ if test $ac_cv_func_iswcntrl = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 ++$as_echo_n "checking whether iswcntrl works... " >&6; } ++if ${gl_cv_func_iswcntrl_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #if __GNU_LIBRARY__ == 1 ++ Linux libc5 i18n is broken. ++ #endif ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_func_iswcntrl_works=yes ++else ++ gl_cv_func_iswcntrl_works=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ /* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #include ++ int main () { return iswprint ('x') == 0; } ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_iswcntrl_works=yes ++else ++ gl_cv_func_iswcntrl_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_iswcntrl_works" >&5 ++$as_echo "$gl_cv_func_iswcntrl_works" >&6; } ++ fi ++ HAVE_WCTYPE_H=1 ++ else ++ HAVE_WCTYPE_H=0 ++ fi ++ ++ ++ if test "$gl_cv_func_iswcntrl_works" = no; then ++ REPLACE_ISWCNTRL=1 ++ else ++ REPLACE_ISWCNTRL=0 ++ fi ++ ++ ++ if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then ++ : ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 ++$as_echo_n "checking for wctype_t... " >&6; } ++if ${gl_cv_type_wctype_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #if HAVE_WCTYPE_H ++ # include ++ #endif ++ wctype_t a; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_type_wctype_t=yes ++else ++ gl_cv_type_wctype_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 ++$as_echo "$gl_cv_type_wctype_t" >&6; } ++ if test $gl_cv_type_wctype_t = no; then ++ HAVE_WCTYPE_T=0 ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 ++$as_echo_n "checking for wctrans_t... " >&6; } ++if ${gl_cv_type_wctrans_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #include ++ wctrans_t a; ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_type_wctrans_t=yes ++else ++ gl_cv_type_wctrans_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 ++$as_echo "$gl_cv_type_wctrans_t" >&6; } ++ if test $gl_cv_type_wctrans_t = no; then ++ HAVE_WCTRANS_T=0 ++ fi ++ ++ ++ ++ # Code from module xalloc: ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4_LIBOBJS="$M4_LIBOBJS xmalloc.$ac_objext" ++ ++ ++ ++ ++ : ++ ++ ++ : ++ ++ ++ # Code from module xalloc-die: ++ # Code from module xlist: ++ ++ ++ ++ # Code from module xmalloca: ++ # Code from module xoset: ++ ++ ++ ++ # Code from module xprintf: ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xprintf:1:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvprintf:1:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xfprintf:2:c-format" ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvfprintf:2:c-format" ++ ++ # Code from module xsize: ++ ++ ++ ++ for ac_header in stdint.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_STDINT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++ # Code from module xstrndup: ++ ++ ++ : ++ ++ ++ # Code from module xvasprintf: ++ ++ ++ ++ ++ ++ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xasprintf:1:c-format" ++ ++ # Code from module xvasprintf-posix: ++ # End of code from modules ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gltests_libdeps= ++ gltests_ltlibdeps= ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ gl_source_base='tests' ++ M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS ++ ++ gl_module_indicator_condition=$M4tests_WITNESS ++ ++ ++ ++ ++ if test "$CXX_CHOICE" = no; then ++ CXX=":" ++ fi ++ if test -z "$CXX"; then ++ if test -n "$CCC"; then ++ CXX="$CCC" ++ else ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CXX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CXX"; then ++ ac_cv_prog_CXX="$CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CXX=$ac_cv_prog_CXX ++if test -n "$CXX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++$as_echo "$CXX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CXX" && break ++ done ++fi ++if test -z "$CXX"; then ++ ac_ct_CXX=$CXX ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CXX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CXX"; then ++ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CXX="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX ++if test -n "$ac_ct_CXX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++$as_echo "$ac_ct_CXX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CXX" && break ++done ++ ++ if test "x$ac_ct_CXX" = x; then ++ CXX=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CXX=$ac_ct_CXX ++ fi ++fi ++ ++ fi ++ fi ++ if test "$CXX" != ":"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ++$as_echo_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works... " >&6; } ++ ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++ ++ ++ echo 'int main () { return 0; }' > conftest.$ac_ext ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ gl_cv_prog_ansicxx_works=yes ++ if (./conftest; exit) 2>/dev/null; then ++ gl_cv_prog_ansicxx_cross=no ++ else ++ gl_cv_prog_ansicxx_cross=yes ++ fi ++ else ++ gl_cv_prog_ansicxx_works=no ++ fi ++ rm -fr conftest* ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_works" >&5 ++$as_echo "$gl_cv_prog_ansicxx_works" >&6; } ++ if test $gl_cv_prog_ansicxx_works = no; then ++ CXX=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports namespaces" >&5 ++$as_echo_n "checking whether the C++ compiler supports namespaces... " >&6; } ++ ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++ cat < conftest.$ac_ext ++#include ++namespace test { using namespace std; } ++std::ostream* ptr; ++int main () { return 0; } ++EOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ gl_cv_prog_ansicxx_namespaces=yes ++ else ++ gl_cv_prog_ansicxx_namespaces=no ++ fi ++ rm -fr conftest* ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_namespaces" >&5 ++$as_echo "$gl_cv_prog_ansicxx_namespaces" >&6; } ++ if test $gl_cv_prog_ansicxx_namespaces = no; then ++ CXX=: ++ fi ++ fi ++ fi ++ ++ ++ ++ if test "$CXX" != ":"; then ++ ANSICXX_TRUE= ++ ANSICXX_FALSE='#' ++else ++ ANSICXX_TRUE='#' ++ ANSICXX_FALSE= ++fi ++ ++ ++ if test "$CXX" != ":"; then ++ ++depcc="$CXX" am_compiler_list= ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++$as_echo_n "checking dependency style of $depcc... " >&6; } ++if ${am_cv_CXX_dependencies_compiler_type+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_CXX_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ++ fi ++ am__universal=false ++ case " $depcc " in #( ++ *\ -arch\ *\ -arch\ *) am__universal=true ;; ++ esac ++ ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. ++ am__obj=sub/conftest.${OBJEXT-o} ++ am__minus_obj="-o $am__obj" ++ case $depmode in ++ gcc) ++ # This depmode causes a compiler race in universal mode. ++ test "$am__universal" = false || continue ++ ;; ++ nosideeffect) ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has ++ # not run yet. These depmodes are late enough in the game, and ++ # so weak that their functioning should not be impacted. ++ am__obj=conftest.${OBJEXT-o} ++ am__minus_obj= ++ ;; ++ none) break ;; ++ esac ++ if depmode=$depmode \ ++ source=sub/conftest.c object=$am__obj \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_CXX_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_CXX_dependencies_compiler_type=none ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 ++$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } ++CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type ++ ++ if ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then ++ am__fastdepCXX_TRUE= ++ am__fastdepCXX_FALSE='#' ++else ++ am__fastdepCXX_TRUE='#' ++ am__fastdepCXX_FALSE= ++fi ++ ++ ++ else ++ if false; then ++ am__fastdepCXX_TRUE= ++ am__fastdepCXX_FALSE='#' ++else ++ am__fastdepCXX_TRUE='#' ++ am__fastdepCXX_FALSE= ++fi ++ ++ fi ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5 ++$as_echo_n "checking for a turkish Unicode locale... " >&6; } ++if ${gt_cv_locale_tr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. But BeOS does not ++ implement the Turkish upper-/lowercase mappings. Therefore, let this ++ program return 1 on BeOS. */ ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the eighth month, the second ++ character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f) ++ return 1; ++ /* Check whether the upper-/lowercase mappings are as expected for ++ Turkish. */ ++ if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i' ++ || towupper(0x0131) != 'I' || towlower ('I') != 0x0131) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=Turkish_Turkey.65001 ++ else ++ # None found. ++ gt_cv_locale_tr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr_TR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr_TR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_tr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ else ++ gt_cv_locale_tr_utf8=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5 ++$as_echo "$gt_cv_locale_tr_utf8" >&6; } ++ LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8 ++ ++ ++ ++ ++ ++ ++ if test $REPLACE_FTELLO != 0; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS ftell.$ac_objext" ++ ++ REPLACE_FTELL=1 ++ fi ++ ++ ++ ++ ++ GNULIB_FTELL=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_FTELL 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in getpagesize ++do : ++ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" ++if test "x$ac_cv_func_getpagesize" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_GETPAGESIZE 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ for ac_header in OS.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" ++if test "x$ac_cv_header_OS_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_OS_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ for ac_header in sys/param.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_param_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_SYS_PARAM_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 ++ fi ++ fi ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS getpagesize.$ac_objext" ++ ++ ;; ++ esac ++ ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default" ++if test "x$ac_cv_have_decl_getpagesize" = xyes; then : ++ ++else ++ HAVE_DECL_GETPAGESIZE=0 ++fi ++ ++ ++ ++ ++ ++ GNULIB_GETPAGESIZE=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'double'... " >&6; } ++if ${gl_cv_cc_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#if defined arm || defined __arm || defined __arm__ ++ mixed_endianness ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "mixed_endianness" >/dev/null 2>&1; then : ++ gl_cv_cc_double_expbit0="unknown" ++else ++ ++ : ++if ${ac_cv_c_bigendian+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_bigendian=unknown ++ # See if we're dealing with a universal compiler. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ # Check for potential -arch flags. It is not universal unless ++ # there are at least two -arch flags with different values. ++ ac_arch= ++ ac_prev= ++ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ++ if test -n "$ac_prev"; then ++ case $ac_word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ++ ac_arch=$ac_word ++ else ++ ac_cv_c_bigendian=universal ++ break ++ fi ++ ;; ++ esac ++ ac_prev= ++ elif test "x$ac_word" = "x-arch"; then ++ ac_prev=arch ++ fi ++ done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if sys/param.h defines the BYTE_ORDER macro. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ++ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ++ && LITTLE_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ #include ++ ++int ++main () ++{ ++#if BYTE_ORDER != BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ++ bogus endian macros ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ # It does; now see whether it defined to _BIG_ENDIAN or not. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++#ifndef _BIG_ENDIAN ++ not big endian ++ #endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_bigendian=yes ++else ++ ac_cv_c_bigendian=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test $ac_cv_c_bigendian = unknown; then ++ # Compile a test program. ++ if test "$cross_compiling" = yes; then : ++ # Try to guess by grepping values from an object file. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++short int ascii_mm[] = ++ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ++ short int ascii_ii[] = ++ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ++ int use_ascii (int i) { ++ return ascii_mm[i] + ascii_ii[i]; ++ } ++ short int ebcdic_ii[] = ++ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ++ short int ebcdic_mm[] = ++ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ++ int use_ebcdic (int i) { ++ return ebcdic_mm[i] + ebcdic_ii[i]; ++ } ++ extern int foo; ++ ++int ++main () ++{ ++return use_ascii (foo) == use_ebcdic (foo); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then ++ ac_cv_c_bigendian=no ++ else ++ # finding both strings is unlikely to happen, but who knows? ++ ac_cv_c_bigendian=unknown ++ fi ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Are we little or big endian? From Harbison&Steele. */ ++ union ++ { ++ long int l; ++ char c[sizeof (long int)]; ++ } u; ++ u.l = 1; ++ return u.c[sizeof (long int) - 1] == 1; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_c_bigendian=no ++else ++ ac_cv_c_bigendian=yes ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ fi ++fi ++: ++ case $ac_cv_c_bigendian in #( ++ yes) ++ gl_cv_cc_double_expbit0="word 0 bit 20";; #( ++ no) ++ gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( ++ universal) ++ ++$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++ ++ ;; #( ++ *) ++ gl_cv_cc_double_expbit0="unknown" ;; ++ esac ++ ++ ++fi ++rm -f conftest* ++ ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } memory_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (double x) ++{ ++ memory_double m; ++ size_t i; ++ /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ ++ memset (&m, 0, sizeof (memory_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25); ++ add_to_ored_words (0.5); ++ add_to_ored_words (1.0); ++ add_to_ored_words (2.0); ++ add_to_ored_words (4.0); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_double_expbit0" >&6; } ++ case "$gl_cv_cc_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define DBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 ++$as_echo_n "checking where to find the exponent in a 'float'... " >&6; } ++if ${gl_cv_cc_float_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ gl_cv_cc_float_expbit0="word 0 bit 23" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_float_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_float_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 ++$as_echo "$gl_cv_cc_float_expbit0" >&6; } ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define FLT_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 ++$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; } ++if ${gl_cv_cc_long_double_expbit0+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ if test "$cross_compiling" = yes; then : ++ ++ gl_cv_cc_long_double_expbit0="unknown" ++ ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_long_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (long double x) ++{ ++ memory_long_double m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (long double) < sizeof (memory_long_double). */ ++ memset (&m, 0, sizeof (memory_long_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25L); ++ add_to_ored_words (0.5L); ++ add_to_ored_words (1.0L); ++ add_to_ored_words (2.0L); ++ add_to_ored_words (4.0L); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_cc_long_double_expbit0=`cat conftest.out` ++else ++ gl_cv_cc_long_double_expbit0="unknown" ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ rm -f conftest.out ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5 ++$as_echo "$gl_cv_cc_long_double_expbit0" >&6; } ++ case "$gl_cv_cc_long_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_WORD $word ++_ACEOF ++ ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define LDBL_EXPBIT0_BIT $bit ++_ACEOF ++ ++ ;; ++ esac ++ ++ ++ ++ ++ if test $ac_cv_func_link = no; then ++ HAVE_LINK=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5 ++$as_echo_n "checking whether link handles trailing slash correctly... " >&6; } ++if ${gl_cv_func_link_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ touch conftest.a ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.a conftest.lnk ++ fi ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_link_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++int result = 0; ++ if (!link ("conftest.a", "conftest.b/")) ++ result |= 1; ++#if HAVE_LSTAT ++ if (!link ("conftest.lnk/", "conftest.b")) ++ result |= 2; ++#endif ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_link_works=yes ++else ++ gl_cv_func_link_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 ++ ++ rm -f conftest.a conftest.b conftest.lnk ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_works" >&5 ++$as_echo "$gl_cv_func_link_works" >&6; } ++ if test "$gl_cv_func_link_works" != yes; then ++ REPLACE_LINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_LINK=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_LINK 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 ++$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; } ++if ${gl_cv_header_locale_h_posix2001+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ int x = LC_MESSAGES; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_locale_h_posix2001=yes ++else ++ gl_cv_header_locale_h_posix2001=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_locale_h_posix2001" >&5 ++$as_echo "$gl_cv_header_locale_h_posix2001" >&6; } ++ ++ ++ if test $ac_cv_header_xlocale_h = yes; then ++ HAVE_XLOCALE_H=1 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 ++$as_echo_n "checking whether locale.h defines locale_t... " >&6; } ++if ${gl_cv_header_locale_has_locale_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ locale_t x; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gl_cv_header_locale_has_locale_t=yes ++else ++ gl_cv_header_locale_has_locale_t=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_locale_has_locale_t" >&5 ++$as_echo "$gl_cv_header_locale_has_locale_t" >&6; } ++ if test $gl_cv_header_locale_has_locale_t = yes; then ++ gl_cv_header_locale_h_needs_xlocale_h=no ++ else ++ gl_cv_header_locale_h_needs_xlocale_h=yes ++ fi ++ else ++ HAVE_XLOCALE_H=0 ++ gl_cv_header_locale_h_needs_xlocale_h=no ++ fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ if test $gl_cv_have_include_next = yes; then ++ gl_cv_next_locale_h='<'locale.h'>' ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 ++$as_echo_n "checking absolute name of ... " >&6; } ++if ${gl_cv_next_locale_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | ++ sed -n '\#/locale.h#{ ++ s#.*"\(.*/locale.h\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"' ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5 ++$as_echo "$gl_cv_next_locale_h" >&6; } ++ fi ++ NEXT_LOCALE_H=$gl_cv_next_locale_h ++ ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'locale.h'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=$gl_cv_next_locale_h ++ fi ++ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive ++ ++ ++ ++ ++ ++ if test -n "$STDDEF_H" \ ++ || test $gl_cv_header_locale_h_posix2001 = no \ ++ || test $gl_cv_header_locale_h_needs_xlocale_h = yes; then ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ ++ ++ ++ for ac_func in setlocale uselocale ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++[ ++ #if defined _MSC_VER || defined __MINGW32__ ++ notposix ++ #endif ++ ] ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "notposix" >/dev/null 2>&1; then : ++ posix_spawn_ported=no ++else ++ posix_spawn_ported=yes ++fi ++rm -f conftest* ++ ++ if test $posix_spawn_ported = yes; then ++ POSIX_SPAWN_PORTED_TRUE= ++ POSIX_SPAWN_PORTED_FALSE='#' ++else ++ POSIX_SPAWN_PORTED_TRUE='#' ++ POSIX_SPAWN_PORTED_FALSE= ++fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5 ++$as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; } ++if ${gl_cv_func_svid_putenv+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_svid_putenv=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++ ++ /* Put it in env. */ ++ if (putenv ("CONFTEST_putenv=val")) ++ return 1; ++ ++ /* Try to remove it. */ ++ if (putenv ("CONFTEST_putenv")) ++ return 2; ++ ++ /* Make sure it was deleted. */ ++ if (getenv ("CONFTEST_putenv") != 0) ++ return 3; ++ ++ return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_svid_putenv=yes ++else ++ gl_cv_func_svid_putenv=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_svid_putenv" >&5 ++$as_echo "$gl_cv_func_svid_putenv" >&6; } ++ if test $gl_cv_func_svid_putenv = no; then ++ REPLACE_PUTENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS putenv.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_PUTENV=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_PUTENV 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ if test $HAVE_SETENV$REPLACE_SETENV != 10; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext" ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SETENV=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SETENV 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ case "$host_os" in ++ mingw*) REPLACE_SETLOCALE=1 ;; ++ esac ++ if test $REPLACE_SETLOCALE = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS setlocale.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_SETLOCALE=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SETLOCALE 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 ++$as_echo_n "checking for wchar_t... " >&6; } ++if ${gt_cv_c_wchar_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ wchar_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wchar_t=yes ++else ++ gt_cv_c_wchar_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 ++$as_echo "$gt_cv_c_wchar_t" >&6; } ++ if test $gt_cv_c_wchar_t = yes; then ++ ++$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 ++$as_echo_n "checking for wint_t... " >&6; } ++if ${gt_cv_c_wint_t+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ wint_t foo = (wchar_t)'\0'; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_c_wint_t=yes ++else ++ gt_cv_c_wint_t=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 ++$as_echo "$gt_cv_c_wint_t" >&6; } ++ if test $gt_cv_c_wint_t = yes; then ++ ++$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h ++ ++ fi ++ ++ ++ ++ ++ ++ if test $ac_cv_func_strdup = yes; then ++ if test $gl_cv_func_malloc_posix != yes; then ++ REPLACE_STRDUP=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext" ++ ++ : ++ fi ++ else ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext" ++ ++ : ++ fi ++ ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++ ++ ++ ++ ++ GNULIB_STRDUP=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_STRDUP 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" ++if test "x$ac_cv_func_mmap" = xyes; then : ++ gl_have_mmap=yes ++else ++ gl_have_mmap=no ++fi ++ ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 ++$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ if test $gl_have_mmap_anonymous != yes; then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "I cant identify this map." >/dev/null 2>&1; then : ++ ++$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h ++ ++ gl_have_mmap_anonymous=yes ++fi ++rm -f conftest* ++ ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 ++$as_echo "$gl_have_mmap_anonymous" >&6; } ++ if test $gl_have_mmap_anonymous = yes; then ++ ++$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h ++ ++ fi ++ fi ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_symlink = no; then ++ HAVE_SYMLINK=0 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext" ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 ++$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } ++if ${gl_cv_func_symlink_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_symlink_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++int ++main () ++{ ++int result = 0; ++ if (!symlink ("a", "conftest.link/")) ++ result |= 1; ++ if (symlink ("conftest.f", "conftest.lnk2")) ++ result |= 2; ++ else if (!symlink ("a", "conftest.lnk2/")) ++ result |= 4; ++ return result; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_symlink_works=yes ++else ++ gl_cv_func_symlink_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 ++ ++ rm -f conftest.f conftest.link conftest.lnk2 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5 ++$as_echo "$gl_cv_func_symlink_works" >&6; } ++ if test "$gl_cv_func_symlink_works" != yes; then ++ REPLACE_SYMLINK=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_SYMLINK=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_SYMLINK 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_have_decl_unsetenv = no; then ++ HAVE_DECL_UNSETENV=0 ++ fi ++ for ac_func in unsetenv ++do : ++ ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" ++if test "x$ac_cv_func_unsetenv" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_UNSETENV 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_unsetenv = no; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext" ++ ++ ++ ++ ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 ++$as_echo_n "checking for unsetenv() return type... " >&6; } ++if ${gt_cv_func_unsetenv_ret+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#undef _BSD ++#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ ++#include ++extern ++#ifdef __cplusplus ++"C" ++#endif ++#if defined(__STDC__) || defined(__cplusplus) ++int unsetenv (const char *name); ++#else ++int unsetenv(); ++#endif ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ gt_cv_func_unsetenv_ret='int' ++else ++ gt_cv_func_unsetenv_ret='void' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 ++$as_echo "$gt_cv_func_unsetenv_ret" >&6; } ++ if test $gt_cv_func_unsetenv_ret = 'void'; then ++ ++$as_echo "@%:@define VOID_UNSETENV 1" >>confdefs.h ++ ++ REPLACE_UNSETENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext" ++ ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 ++$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } ++if ${gl_cv_func_unsetenv_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ gl_cv_func_unsetenv_works="guessing no" ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ extern char **environ; ++ ++int ++main () ++{ ++ ++ char entry1[] = "a=1"; ++ char entry2[] = "b=2"; ++ char *env[] = { entry1, entry2, NULL }; ++ if (putenv ((char *) "a=1")) return 1; ++ if (putenv (entry2)) return 2; ++ entry2[0] = 'a'; ++ unsetenv ("a"); ++ if (getenv ("a")) return 3; ++ if (!unsetenv ("") || errno != EINVAL) return 4; ++ entry2[0] = 'b'; ++ environ = env; ++ if (!getenv ("a")) return 5; ++ entry2[0] = 'a'; ++ unsetenv ("a"); ++ if (getenv ("a")) return 6; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_unsetenv_works=yes ++else ++ gl_cv_func_unsetenv_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_unsetenv_works" >&5 ++$as_echo "$gl_cv_func_unsetenv_works" >&6; } ++ if test "$gl_cv_func_unsetenv_works" != yes; then ++ REPLACE_UNSETENV=1 ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext" ++ ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_UNSETENV=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_UNSETENV 1" >>confdefs.h ++ ++ ++ ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 ++$as_echo_n "checking for a traditional french locale... " >&6; } ++if ${gt_cv_locale_fr+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 ++$as_echo "$gt_cv_locale_fr" >&6; } ++ LOCALE_FR=$gt_cv_locale_fr ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 ++$as_echo_n "checking for a french Unicode locale... " >&6; } ++if ${gt_cv_locale_fr_utf8+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 ++$as_echo "$gt_cv_locale_fr_utf8" >&6; } ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 ++$as_echo_n "checking for a traditional japanese locale... " >&6; } ++if ${gt_cv_locale_ja+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 ++$as_echo "$gt_cv_locale_ja" >&6; } ++ LOCALE_JA=$gt_cv_locale_ja ++ ++ ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 ++$as_echo_n "checking for a transitional chinese locale... " >&6; } ++if ${gt_cv_locale_zh_CN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++ ++_ACEOF ++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 ++$as_echo "$gt_cv_locale_zh_CN" >&6; } ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ ++ ++ ++ ++ ++ ++ if test $ac_cv_func_wctob = no; then ++ HAVE_DECL_WCTOB=0 ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext" ++ ++ ++ : ++ ++ else ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5 ++$as_echo_n "checking whether wctob works... " >&6; } ++if ${gl_cv_func_wctob_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ case "$host_os" in ++ # Guess no on Solaris <= 9 and Cygwin. ++ solaris2.[1-9] | solaris2.[1-9].* | cygwin*) ++ gl_cv_func_wctob_works="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_wctob_works="guessing yes" ;; ++ esac ++ case "$host_os" in ++ cygwin*) ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++ ++register long global __asm__ ("%ebx"); ++ ++int main () ++{ ++ setlocale (LC_ALL, "en_US.UTF-8"); ++ ++ global = 0x12345678; ++ if (wctob (0x00FC) != -1) ++ return 1; ++ if (global != 0x12345678) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ : ++else ++ gl_cv_func_wctob_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 ++ ++ ;; ++ esac ++ if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ wchar_t wc; ++ ++ if (mbtowc (&wc, "\374", 1) == 1) ++ if (wctob (wc) != (unsigned char) '\374') ++ return 1; ++ } ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ gl_cv_func_wctob_works=yes ++else ++ gl_cv_func_wctob_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 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5 ++$as_echo "$gl_cv_func_wctob_works" >&6; } ++ case "$gl_cv_func_wctob_works" in ++ *yes) ;; ++ *) REPLACE_WCTOB=1 ;; ++ esac ++ if test $REPLACE_WCTOB = 1; then ++ ++ : ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext" ++ ++ ++ : ++ ++ else ++ ++ ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" " ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ ++" ++if test "x$ac_cv_have_decl_wctob" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define HAVE_DECL_WCTOB $ac_have_decl ++_ACEOF ++ ++ if test $ac_cv_have_decl_wctob != yes; then ++ HAVE_DECL_WCTOB=0 ++ ++ : ++ ++ fi ++ fi ++ fi ++ ++ ++ ++ ++ GNULIB_WCTOB=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WCTOB 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ if false; then ++ REPLACE_WCTOMB=1 ++ fi ++ if test $REPLACE_WCTOMB = 1; then ++ ++ ++ ++ ++ ++ ++ ++ ++ M4tests_LIBOBJS="$M4tests_LIBOBJS wctomb.$ac_objext" ++ ++ ++ : ++ ++ fi ++ ++ ++ ++ ++ GNULIB_WCTOMB=$gl_module_indicator_condition ++ ++ ++ ++$as_echo "@%:@define GNULIB_TEST_WCTOMB 1" >>confdefs.h ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ LIBM4_LIBDEPS="$gl_libdeps" ++ ++ LIBM4_LTLIBDEPS="$gl_ltlibdeps" ++ ++ LIBTESTS_LIBDEPS="$gltests_libdeps" ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether an open file can be renamed" >&5 ++$as_echo_n "checking whether an open file can be renamed... " >&6; } ++if ${M4_cv_func_rename_open_file_works+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ M4_cv_func_rename_open_file_works='guessing no' ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++FILE *f = fopen ("conftest.1", "w+"); ++ int result = rename ("conftest.1", "conftest.2"); ++ fclose (f); remove ("conftest.1"); remove ("conftest.2"); ++ return result; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ M4_cv_func_rename_open_file_works=yes ++else ++ M4_cv_func_rename_open_file_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: $M4_cv_func_rename_open_file_works" >&5 ++$as_echo "$M4_cv_func_rename_open_file_works" >&6; } ++if test "$M4_cv_func_rename_open_file_works" = yes ; then ++ M4_rename_open_works=1 ++else ++ M4_rename_open_works=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define RENAME_OPEN_FILE_WORKS $M4_rename_open_works ++_ACEOF ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if changeword is wanted" >&5 ++$as_echo_n "checking if changeword is wanted... " >&6; } ++@%:@ Check whether --enable-changeword was given. ++if test "${enable_changeword+set}" = set; then : ++ enableval=$enable_changeword; if test "$enableval" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++$as_echo "@%:@define ENABLE_CHANGEWORD 1" >>confdefs.h ++ ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which shell to use for syscmd" >&5 ++$as_echo_n "checking which shell to use for syscmd... " >&6; } ++ ++@%:@ Check whether --with-syscmd-shell was given. ++if test "${with_syscmd_shell+set}" = set; then : ++ withval=$with_syscmd_shell; case $withval in ++ yes) with_syscmd_shell=no;; ++ esac ++else ++ with_syscmd_shell=no ++fi ++ ++if test "$with_syscmd_shell" = no ; then ++ with_syscmd_shell=/bin/sh ++ if test "$cross_compiling" != yes ; then ++ if as_fn_executable_p /bin/sh; then : ++ ++else ++ if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi ++fi ++ M4_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++ for M4_dir in `if (command -p getconf PATH) 2>/dev/null ; then ++ command -p getconf PATH ++ else ++ echo "/bin$PATH_SEPARATOR$PATH" ++ fi` ++ do ++ IFS=$M4_save_IFS ++ test -z "$M4_dir" && continue ++ as_fn_executable_p "$M4_dir/sh" \ ++ && { with_syscmd_shell=$M4_dir/sh; break; } ++ done ++ IFS=$M4_save_IFS ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_syscmd_shell" >&5 ++$as_echo "$with_syscmd_shell" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++@%:@define SYSCMD_SHELL "$with_syscmd_shell" ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 ++$as_echo_n "checking if malloc debugging is wanted... " >&6; } ++ ++@%:@ Check whether --with-dmalloc was given. ++if test "${with_dmalloc+set}" = set; then : ++ withval=$with_dmalloc; if test "$withval" = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++$as_echo "@%:@define WITH_DMALLOC 1" >>confdefs.h ++ ++ LIBS="$LIBS -ldmalloc" ++ LDFLAGS="$LDFLAGS -g" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ac_config_commands="$ac_config_commands stamp-h" ++ ++ ++ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile src/Makefile tests/Makefile checks/Makefile examples/Makefile" ++ ++ ++cat >confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ if test "x$cache_file" != "x/dev/null"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++$as_echo "$as_me: updating cache $cache_file" >&6;} ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++U= ++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIB@&t@OBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 ++$as_echo_n "checking that generated files are newer than configure... " >&6; } ++ if test -n "$am_sleep_pid"; then ++ # Hide warnings about reused PIDs. ++ wait $am_sleep_pid 2>/dev/null ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 ++$as_echo "done" >&6; } ++ if test -n "$EXEEXT"; then ++ am__EXEEXT_TRUE= ++ am__EXEEXT_FALSE='#' ++else ++ am__EXEEXT_TRUE='#' ++ am__EXEEXT_FALSE= ++fi ++ ++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then ++ as_fn_error $? "conditional \"AMDEP\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then ++ as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS= ++ ++ ++CONFIG_INCLUDE=lib/config.h ++ ++ ++ M4_libobjs= ++ M4_ltlibobjs= ++ if test -n "$M4_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do ++ M4_libobjs="$M4_libobjs $i.$ac_objext" ++ M4_ltlibobjs="$M4_ltlibobjs $i.lo" ++ done ++ fi ++ M4_LIBOBJS=$M4_libobjs ++ ++ M4_LTLIBOBJS=$M4_ltlibobjs ++ ++ ++if test -z "${ANSICXX_TRUE}" && test -z "${ANSICXX_FALSE}"; then ++ as_fn_error $? "conditional \"ANSICXX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++if test -z "${POSIX_SPAWN_PORTED_TRUE}" && test -z "${POSIX_SPAWN_PORTED_FALSE}"; then ++ as_fn_error $? "conditional \"POSIX_SPAWN_PORTED\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++ ++ M4tests_libobjs= ++ M4tests_ltlibobjs= ++ if test -n "$M4tests_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do ++ M4tests_libobjs="$M4tests_libobjs $i.$ac_objext" ++ M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo" ++ done ++ fi ++ M4tests_LIBOBJS=$M4tests_libobjs ++ ++ M4tests_LTLIBOBJS=$M4tests_ltlibobjs ++ ++ ++ ++: "${CONFIG_STATUS=./config.status}" ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in @%:@( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# report actual input values of CONFIG_FILES etc. instead of their ++# values after options handling. ++ac_log=" ++This file was extended by GNU M4 $as_me 1.4.16, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++config_links="$ac_config_links" ++config_commands="$ac_config_commands" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ --config print configuration, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Configuration links: ++$config_links ++ ++Configuration commands: ++$config_commands ++ ++Report bugs to . ++GNU M4 home page: . ++General help using GNU software: ." ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ++ac_cs_version="\\ ++GNU M4 config.status 1.4.16 ++configured by $0, generated by GNU Autoconf 2.69, ++ with options \\"\$ac_cs_config\\" ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++INSTALL='$INSTALL' ++MKDIR_P='$MKDIR_P' ++AWK='$AWK' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=?*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ $as_echo "$ac_cs_version"; exit ;; ++ --config | --confi | --conf | --con | --co | --c ) ++ $as_echo "$ac_cs_config"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error $? "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ $as_echo "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error $? "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX ++@%:@@%:@ Running $as_me. @%:@@%:@ ++_ASBOX ++ $as_echo "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# ++# INIT-COMMANDS ++# ++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" ++GNUmakefile=$GNUmakefile ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;; ++ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; ++ "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; ++ "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;; ++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; ++ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; ++ "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; ++ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; ++ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; ++ "checks/Makefile") CONFIG_FILES="$CONFIG_FILES checks/Makefile" ;; ++ "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; ++ ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links ++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ac_tmp= ++ trap 'exit_status=$? ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\)..*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\)..*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ++h ++s/// ++s/^/:/ ++s/[ ]*$/:/ ++s/:\$(srcdir):/:/g ++s/:\${srcdir}:/:/g ++s/:@srcdir@:/:/g ++s/^:*// ++s/:*$// ++x ++s/\(=[ ]*\).*/\1/ ++G ++s/\n// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$ac_tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++$as_echo "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`$as_echo "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++ case $INSTALL in ++ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; ++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; ++ esac ++ ac_MKDIR_P=$MKDIR_P ++ case $MKDIR_P in ++ [\\/$]* | ?:[\\/]* ) ;; ++ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; ++ esac ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++s&@INSTALL@&$ac_INSTALL&;t t ++s&@MKDIR_P@&$ac_MKDIR_P&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&5 ++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&2;} ++ ++ rm -f "$ac_tmp/stdin" ++ case $ac_file in ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$ac_tmp/config.h" "$ac_file" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error $? "could not create -" "$LINENO" 5 ++ fi ++# Compute "$ac_file"'s index in $config_headers. ++_am_arg="$ac_file" ++_am_stamp_count=1 ++for _am_header in $config_headers :; do ++ case $_am_header in ++ $_am_arg | $_am_arg:* ) ++ break ;; ++ * ) ++ _am_stamp_count=`expr $_am_stamp_count + 1` ;; ++ esac ++done ++echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || ++$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$_am_arg" : 'X\(//\)[^/]' \| \ ++ X"$_am_arg" : 'X\(//\)$' \| \ ++ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$_am_arg" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'`/stamp-h$_am_stamp_count ++ ;; ++ :L) ++ # ++ # CONFIG_LINK ++ # ++ ++ if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then ++ : ++ else ++ # Prefer the file from the source tree if names are identical. ++ if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ++ ac_source=$srcdir/$ac_source ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 ++$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} ++ ++ if test ! -r "$ac_source"; then ++ as_fn_error $? "$ac_source: file not found" "$LINENO" 5 ++ fi ++ rm -f "$ac_file" ++ ++ # Try a relative symlink, then a hard link, then a copy. ++ case $ac_source in ++ [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; ++ *) ac_rel_source=$ac_top_build_prefix$ac_source ;; ++ esac ++ ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ++ ln "$ac_source" "$ac_file" 2>/dev/null || ++ cp -p "$ac_source" "$ac_file" || ++ as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 ++ fi ++ ;; ++ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 ++$as_echo "$as_me: executing $ac_file commands" >&6;} ++ ;; ++ esac ++ ++ ++ case $ac_file$ac_mode in ++ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { ++ # Older Autoconf quotes --file arguments for eval, but not when files ++ # are listed without --file. Let's play safe and only enable the eval ++ # if we detect the quoting. ++ case $CONFIG_FILES in ++ *\'*) eval set x "$CONFIG_FILES" ;; ++ *) set x $CONFIG_FILES ;; ++ esac ++ shift ++ for mf ++ do ++ # Strip MF so we end up with the name of the file. ++ mf=`echo "$mf" | sed -e 's/:.*$//'` ++ # Check whether this is an Automake generated Makefile or not. ++ # We used to match only the files named 'Makefile.in', but ++ # some people rename them; so instead we look at the file content. ++ # Grep'ing the first line is not enough: some people post-process ++ # each Makefile.in and add a new line on top of each file to say so. ++ # Grep'ing the whole file is not good either: AIX grep has a line ++ # limit of 2048, but all sed's we know have understand at least 4000. ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then ++ dirpart=`$as_dirname -- "$mf" || ++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$mf" : 'X\(//\)[^/]' \| \ ++ X"$mf" : 'X\(//\)$' \| \ ++ X"$mf" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$mf" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ else ++ continue ++ fi ++ # Extract the definition of DEPDIR, am__include, and am__quote ++ # from the Makefile without running 'make'. ++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` ++ test -z "$DEPDIR" && continue ++ am__include=`sed -n 's/^am__include = //p' < "$mf"` ++ test -z "$am__include" && continue ++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` ++ # Find all dependency output files, they are included files with ++ # $(DEPDIR) in their names. We invoke sed twice because it is the ++ # simplest approach to changing $(DEPDIR) to its actual value in the ++ # expansion. ++ for file in `sed -n " ++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do ++ # Make sure the directory exists. ++ test -f "$dirpart/$file" && continue ++ fdir=`$as_dirname -- "$file" || ++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$file" : 'X\(//\)[^/]' \| \ ++ X"$file" : 'X\(//\)$' \| \ ++ X"$file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir=$dirpart/$fdir; as_fn_mkdir_p ++ # echo "creating $dirpart/$file" ++ echo '# dummy' > "$dirpart/$file" ++ done ++ done ++} ++ ;; ++ "stamp-h":C) test -z "$CONFIG_HEADERS" || date > stamp-h ;; ++ ++ esac ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit 1 ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ +diff -Nur m4-1.4.16.orig/autom4te.cache/requests m4-1.4.16/autom4te.cache/requests +--- m4-1.4.16.orig/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/autom4te.cache/requests 2013-09-04 14:47:46.000000000 +0200 +@@ -0,0 +1,782 @@ ++# This file was generated by Autom4te Sun Apr 29 21:48:16 UTC 2012. ++# It contains the lists of macros which have been traced. ++# It can be safely removed. ++ ++@request = ( ++ bless( [ ++ '0', ++ 1, ++ [ ++ '/usr/share/autoconf' ++ ], ++ [ ++ '/usr/share/autoconf/autoconf/autoconf.m4f', ++ '-', ++ '/usr/share/aclocal-1.13/internal/ac-config-macro-dirs.m4', ++ '/usr/share/aclocal/nls.m4', ++ '/usr/share/aclocal/po.m4', ++ '/usr/share/aclocal/progtest.m4', ++ '/usr/share/aclocal-1.13/amversion.m4', ++ '/usr/share/aclocal-1.13/auxdir.m4', ++ '/usr/share/aclocal-1.13/cond.m4', ++ '/usr/share/aclocal-1.13/depend.m4', ++ '/usr/share/aclocal-1.13/depout.m4', ++ '/usr/share/aclocal-1.13/init.m4', ++ '/usr/share/aclocal-1.13/install-sh.m4', ++ '/usr/share/aclocal-1.13/lead-dot.m4', ++ '/usr/share/aclocal-1.13/make.m4', ++ '/usr/share/aclocal-1.13/minuso.m4', ++ '/usr/share/aclocal-1.13/missing.m4', ++ '/usr/share/aclocal-1.13/mkdirp.m4', ++ '/usr/share/aclocal-1.13/options.m4', ++ '/usr/share/aclocal-1.13/runlog.m4', ++ '/usr/share/aclocal-1.13/sanity.m4', ++ '/usr/share/aclocal-1.13/silent.m4', ++ '/usr/share/aclocal-1.13/strip.m4', ++ '/usr/share/aclocal-1.13/substnot.m4', ++ '/usr/share/aclocal-1.13/tar.m4', ++ 'm4/00gnulib.m4', ++ 'm4/alloca.m4', ++ 'm4/ansi-c++.m4', ++ 'm4/assert.m4', ++ 'm4/autobuild.m4', ++ 'm4/btowc.m4', ++ 'm4/c-stack.m4', ++ 'm4/canonicalize.m4', ++ 'm4/cloexec.m4', ++ 'm4/close-stream.m4', ++ 'm4/close.m4', ++ 'm4/closein.m4', ++ 'm4/closeout.m4', ++ 'm4/codeset.m4', ++ 'm4/config-h.m4', ++ 'm4/configmake.m4', ++ 'm4/dirname.m4', ++ 'm4/double-slash-root.m4', ++ 'm4/dup2.m4', ++ 'm4/eealloc.m4', ++ 'm4/environ.m4', ++ 'm4/errno_h.m4', ++ 'm4/error.m4', ++ 'm4/execute.m4', ++ 'm4/exponentd.m4', ++ 'm4/exponentf.m4', ++ 'm4/exponentl.m4', ++ 'm4/extensions.m4', ++ 'm4/fatal-signal.m4', ++ 'm4/fclose.m4', ++ 'm4/fcntl-o.m4', ++ 'm4/fcntl.m4', ++ 'm4/fcntl_h.m4', ++ 'm4/fflush.m4', ++ 'm4/filenamecat.m4', ++ 'm4/float_h.m4', ++ 'm4/fopen.m4', ++ 'm4/fpending.m4', ++ 'm4/fpieee.m4', ++ 'm4/fpurge.m4', ++ 'm4/freading.m4', ++ 'm4/frexp.m4', ++ 'm4/frexpl.m4', ++ 'm4/fseeko.m4', ++ 'm4/ftell.m4', ++ 'm4/ftello.m4', ++ 'm4/getdtablesize.m4', ++ 'm4/getopt.m4', ++ 'm4/getpagesize.m4', ++ 'm4/gettimeofday.m4', ++ 'm4/gl_list.m4', ++ 'm4/glibc21.m4', ++ 'm4/gnulib-common.m4', ++ 'm4/gnulib-comp.m4', ++ 'm4/include_next.m4', ++ 'm4/inline.m4', ++ 'm4/intlmacosx.m4', ++ 'm4/intmax_t.m4', ++ 'm4/inttypes_h.m4', ++ 'm4/isnand.m4', ++ 'm4/isnanf.m4', ++ 'm4/isnanl.m4', ++ 'm4/langinfo_h.m4', ++ 'm4/lcmessage.m4', ++ 'm4/ldexp.m4', ++ 'm4/ldexpl.m4', ++ 'm4/lib-ld.m4', ++ 'm4/lib-link.m4', ++ 'm4/lib-prefix.m4', ++ 'm4/libsigsegv.m4', ++ 'm4/link.m4', ++ 'm4/localcharset.m4', ++ 'm4/locale-fr.m4', ++ 'm4/locale-ja.m4', ++ 'm4/locale-tr.m4', ++ 'm4/locale-zh.m4', ++ 'm4/locale_h.m4', ++ 'm4/localename.m4', ++ 'm4/lock.m4', ++ 'm4/longlong.m4', ++ 'm4/lseek.m4', ++ 'm4/lstat.m4', ++ 'm4/malloc.m4', ++ 'm4/malloca.m4', ++ 'm4/manywarnings.m4', ++ 'm4/math_h.m4', ++ 'm4/mbrtowc.m4', ++ 'm4/mbsinit.m4', ++ 'm4/mbstate_t.m4', ++ 'm4/mbtowc.m4', ++ 'm4/memchr.m4', ++ 'm4/mkdtemp.m4', ++ 'm4/mkstemp.m4', ++ 'm4/mmap-anon.m4', ++ 'm4/mode_t.m4', ++ 'm4/multiarch.m4', ++ 'm4/nl_langinfo.m4', ++ 'm4/nocrash.m4', ++ 'm4/open.m4', ++ 'm4/pathmax.m4', ++ 'm4/pipe2.m4', ++ 'm4/posix_spawn.m4', ++ 'm4/printf-frexp.m4', ++ 'm4/printf-frexpl.m4', ++ 'm4/printf.m4', ++ 'm4/putenv.m4', ++ 'm4/quotearg.m4', ++ 'm4/rawmemchr.m4', ++ 'm4/readlink.m4', ++ 'm4/regex.m4', ++ 'm4/rename.m4', ++ 'm4/rmdir.m4', ++ 'm4/sched_h.m4', ++ 'm4/setenv.m4', ++ 'm4/setlocale.m4', ++ 'm4/sig_atomic_t.m4', ++ 'm4/sigaction.m4', ++ 'm4/signal_h.m4', ++ 'm4/signalblocking.m4', ++ 'm4/signbit.m4', ++ 'm4/size_max.m4', ++ 'm4/snprintf.m4', ++ 'm4/spawn-pipe.m4', ++ 'm4/spawn_h.m4', ++ 'm4/ssize_t.m4', ++ 'm4/stat.m4', ++ 'm4/stdarg.m4', ++ 'm4/stdbool.m4', ++ 'm4/stddef_h.m4', ++ 'm4/stdint.m4', ++ 'm4/stdint_h.m4', ++ 'm4/stdio-safer.m4', ++ 'm4/stdio_h.m4', ++ 'm4/stdlib-safer.m4', ++ 'm4/stdlib_h.m4', ++ 'm4/strchrnul.m4', ++ 'm4/strdup.m4', ++ 'm4/strerror.m4', ++ 'm4/string_h.m4', ++ 'm4/strndup.m4', ++ 'm4/strnlen.m4', ++ 'm4/strsignal.m4', ++ 'm4/strstr.m4', ++ 'm4/strtod.m4', ++ 'm4/strtol.m4', ++ 'm4/symlink.m4', ++ 'm4/sys_stat_h.m4', ++ 'm4/sys_time_h.m4', ++ 'm4/sys_wait_h.m4', ++ 'm4/tempname.m4', ++ 'm4/threadlib.m4', ++ 'm4/time_h.m4', ++ 'm4/tls.m4', ++ 'm4/tmpdir.m4', ++ 'm4/ungetc.m4', ++ 'm4/unistd-safer.m4', ++ 'm4/unistd_h.m4', ++ 'm4/unlocked-io.m4', ++ 'm4/vasnprintf.m4', ++ 'm4/vasprintf-posix.m4', ++ 'm4/vasprintf.m4', ++ 'm4/version-etc.m4', ++ 'm4/wait-process.m4', ++ 'm4/waitpid.m4', ++ 'm4/warnings.m4', ++ 'm4/wchar_h.m4', ++ 'm4/wchar_t.m4', ++ 'm4/wcrtomb.m4', ++ 'm4/wctob.m4', ++ 'm4/wctomb.m4', ++ 'm4/wctype_h.m4', ++ 'm4/wint_t.m4', ++ 'm4/xalloc.m4', ++ 'm4/xsize.m4', ++ 'm4/xstrndup.m4', ++ 'm4/xvasprintf.m4', ++ 'acinclude.m4', ++ 'configure.ac' ++ ], ++ { ++ 'gl_BUILD_ISNANF' => 1, ++ 'AM_XGETTEXT_OPTION_INIT' => 1, ++ 'gt_TYPE_SSIZE_T' => 1, ++ 'gl_FUNC_SNPRINTF' => 1, ++ 'gl_STDDEF_H_DEFAULTS' => 1, ++ 'gl_PREREQ_TEMPNAME' => 1, ++ 'gl_CHECK_LDEXP_NO_LIBM' => 1, ++ 'gl_PREREQ_PRINTF_ARGS' => 1, ++ 'gl_DOUBLE_SLASH_ROOT' => 1, ++ 'gl_AC_HEADER_STDINT_H' => 1, ++ 'gl_UNISTD_MODULE_INDICATOR' => 1, ++ 'gt_LOCALE_TR_UTF8' => 1, ++ 'gl_PREREQ_XALLOC' => 1, ++ 'gl_SYS_STAT_MODULE_INDICATOR' => 1, ++ 'AM_SUBST_NOTMAKE' => 1, ++ 'gl_VERSION_ETC' => 1, ++ 'gl_FLOAT_SIGNBIT_CODE' => 1, ++ 'gl_PREREQ_SETLOCALE' => 1, ++ 'gl_GETOPT_SUBSTITUTE_HEADER' => 1, ++ 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, ++ '_m4_warn' => 1, ++ 'gl_FUNC_MBSINIT' => 1, ++ 'gl_C_STACK' => 1, ++ 'gl_FUNC_STRNDUP' => 1, ++ 'AM_SANITY_CHECK' => 1, ++ 'gl_DIRNAME' => 1, ++ 'gl_CANONICALIZE_LGPL' => 1, ++ 'gl_CACHE_VAL_SILENT' => 1, ++ 'gl_DOUBLE_SIGNBIT_CODE' => 1, ++ 'gl_FUNC_STRSTR_SIMPLE' => 1, ++ 'gt_TYPE_SIG_ATOMIC_T' => 1, ++ 'gl_PROMOTED_TYPE_MODE_T' => 1, ++ 'gl_SIGNALBLOCKING' => 1, ++ 'gl_HEADER_SYS_TIME_H_DEFAULTS' => 1, ++ 'AC_LIB_ARG_WITH' => 1, ++ 'gl_PREREQ_ASNPRINTF' => 1, ++ 'gl_FUNC_BTOWC' => 1, ++ 'AC_CONFIG_MACRO_DIR' => 1, ++ 'gt_FUNC_MKDTEMP' => 1, ++ 'M4_EARLY' => 1, ++ 'gl_PREREQ_MBTOWC' => 1, ++ 'gl_WCHAR_H_DEFAULTS' => 1, ++ '_AM_AUTOCONF_VERSION' => 1, ++ 'gl_XALLOC' => 1, ++ 'gl_THREADLIB_EARLY_BODY' => 1, ++ 'gl_BUILD_ISNAND' => 1, ++ 'gt_INTL_MACOSX' => 1, ++ 'gl_REPLACE_FCNTL' => 1, ++ '_AC_TYPE_LONG_LONG_SNIPPET' => 1, ++ 'gl_FOPEN_SAFER' => 1, ++ 'gl_REGEX' => 1, ++ 'gl_FCNTL_H' => 1, ++ 'AC_LIB_PREPARE_MULTILIB' => 1, ++ 'gl_INLINE' => 1, ++ 'gl_FUNC_STRNLEN' => 1, ++ 'gl_FUNC_WAITPID' => 1, ++ 'gt_AC_TYPE_INTMAX_T' => 1, ++ 'gl_PREREQ_MKDTEMP' => 1, ++ 'gl_HEADER_STRING_H_DEFAULTS' => 1, ++ 'gl_NEXT_HEADERS' => 1, ++ 'gl_FUNC_FREXPL_WORKS' => 1, ++ 'gl_DOUBLE_EXPONENT_LOCATION' => 1, ++ 'gl_FLOAT_H' => 1, ++ 'gl_REPLACE_VASPRINTF' => 1, ++ 'gl_FILE_NAME_CONCAT' => 1, ++ 'gl_REPLACE_WCHAR_H' => 1, ++ 'AC_LIB_PREFIX' => 1, ++ 'gl_FUNC_GETPAGESIZE' => 1, ++ 'gl_STDLIB_MODULE_INDICATOR' => 1, ++ 'AB_INIT' => 1, ++ 'gl_PREREQ_GETTIMEOFDAY' => 1, ++ 'gl_PREREQ_VASNPRINTF_FLAG_GROUPING' => 1, ++ 'gl_STDBOOL_H' => 1, ++ 'gl_CHECK_FREXP_NO_LIBM' => 1, ++ 'gl_CLOSE_STREAM' => 1, ++ 'gl_PREREQ_VASNPRINTF_DIRECTIVE_LS' => 1, ++ 'AC_DEFUN_ONCE' => 1, ++ 'gl_SYS_WAIT_H_DEFAULTS' => 1, ++ 'gl_SPAWN_PIPE' => 1, ++ 'AC_C_RESTRICT' => 1, ++ 'gl_LOCALE_H' => 1, ++ 'gl_PATHMAX' => 1, ++ 'AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC' => 1, ++ 'AC_' => 1, ++ 'gl_PRINTF_PRECISION' => 1, ++ 'gl_REPLACE_GETOPT' => 1, ++ 'gl_FUNC_STRTOD' => 1, ++ 'gl_FUNC_LSEEK' => 1, ++ 'gl_STDIO_H_DEFAULTS' => 1, ++ 'gl_SYS_TIME_MODULE_INDICATOR' => 1, ++ 'gl_FEATURES_H' => 1, ++ 'gl_FUNC_PUTENV' => 1, ++ 'gl_MBRTOWC_SANITYCHECK' => 1, ++ 'gl_FUNC_VASPRINTF_POSIX' => 1, ++ 'AC_LIB_WITH_FINAL_PREFIX' => 1, ++ 'gl_CLOSEIN' => 1, ++ 'gt_TYPE_WINT_T' => 1, ++ 'gl_FUNC_FREXP_WORKS' => 1, ++ 'M4_REPLACE_FUNCS' => 1, ++ 'gl_PREREQ_VASNPRINTF' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'gl_HEADER_SYS_STAT_H' => 1, ++ 'gl_MBRTOWC_NUL_RETVAL' => 1, ++ 'gl_FATAL_SIGNAL' => 1, ++ 'm4_include' => 1, ++ 'gl_BUILD_ISNANL' => 1, ++ 'gl_FUNC_READLINK' => 1, ++ 'gl_PREREQ_BTOWC' => 1, ++ '_AC_AM_CONFIG_HEADER_HOOK' => 1, ++ 'gl_PREREQ_LOCK' => 1, ++ 'gl_PRINTF_LONG_DOUBLE' => 1, ++ 'gl_FUNC_NL_LANGINFO' => 1, ++ 'gl_SIGNAL_MODULE_INDICATOR' => 1, ++ 'AM_MAKE_INCLUDE' => 1, ++ 'gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE' => 1, ++ 'gl_INTEGER_TYPE_SUFFIX' => 1, ++ 'gl_NEXT_HEADERS_INTERNAL' => 1, ++ 'gl_SPAWN_H_DEFAULTS' => 1, ++ 'gl_REPLACE_OPEN' => 1, ++ 'gl_HAVE_ISNANF_IN_LIBM' => 1, ++ 'gl_PREREQ_MKSTEMP' => 1, ++ 'gl_PREREQ_VASNPRINTF_WITH_EXTRAS' => 1, ++ 'M4_INIT' => 1, ++ 'gl_PREREQ_STRSIGNAL' => 1, ++ 'gl_FUNC_LINK' => 1, ++ 'gl_CXX_CHOICE_DEFAULT_NO' => 1, ++ 'AM_MISSING_HAS_RUN' => 1, ++ 'gl_PREREQ_GETOPT' => 1, ++ 'gl_PREREQ_MEMCHR' => 1, ++ 'gl_SIGNBIT_TEST_PROGRAM' => 1, ++ 'AC_TYPE_LONG_LONG_INT' => 1, ++ 'gl_EXECUTE' => 1, ++ 'gl_FUNC_GETDTABLESIZE' => 1, ++ 'gl_FUNC_WCRTOMB' => 1, ++ 'AC_LIB_PROG_LD_GNU' => 1, ++ 'gl_CHECK_NEXT_HEADERS' => 1, ++ '_AM_CONFIG_MACRO_DIRS' => 1, ++ 'gl_FUNC_FPURGE' => 1, ++ 'gl_POSIX_SPAWN_INTERNAL' => 1, ++ 'gl_STDIO_MODULE_INDICATOR' => 1, ++ 'gl_STDINT_H' => 1, ++ 'gl_POSIX_SPAWN_WORKS' => 1, ++ 'gl_TMPFILE_SAFER' => 1, ++ 'gl_FUNC_STAT' => 1, ++ 'gl_FUNC_FTELL' => 1, ++ 'gl_SYS_STAT_H_DEFAULTS' => 1, ++ 'gl_PREREQ_ALLOCA' => 1, ++ 'AC_FUNC_ERROR_AT_LINE' => 1, ++ 'gl_PREREQ_XMALLOC' => 1, ++ 'gl_MODULE_INDICATOR_FOR_TESTS' => 1, ++ 'AC_FUNC_MBRTOWC' => 1, ++ 'gl_TLS' => 1, ++ 'AC_COMPUTE_INT' => 1, ++ 'gl_FUNC_FCNTL' => 1, ++ 'gl_HAVE_FSEEKO' => 1, ++ 'gl_PRINTF_SIZES_C99' => 1, ++ '_AM_IF_OPTION' => 1, ++ 'm4_pattern_allow' => 1, ++ 'gl_CHECK_TYPES_SIGNED' => 1, ++ 'gl_PROG_ANSI_CXX' => 1, ++ 'gl_HEADER_STRING_H_BODY' => 1, ++ 'AM_SET_LEADING_DOT' => 1, ++ 'gl_VSNPRINTF_ZEROSIZE_C99' => 1, ++ 'gl_WARN_ON_USE_PREPARE' => 1, ++ 'gl_FUNC_STRTOL' => 1, ++ 'M4tests_LIBSOURCES' => 1, ++ 'AC_LIB_LINKFLAGS' => 1, ++ 'gl_FUNC_FCLOSE' => 1, ++ 'gl_PREREQ_STRNLEN' => 1, ++ 'gl_SCHED_H' => 1, ++ 'gl_MBSTATE_T_BROKEN' => 1, ++ 'gl_FUNC_SETENV' => 1, ++ 'gl_EEREALLOC' => 1, ++ 'gl_STDLIB_H' => 1, ++ 'gl_FUNC_CLOSE' => 1, ++ 'gl_REPLACE_LSEEK' => 1, ++ 'gl_LIBSIGSEGV' => 1, ++ 'gl_STDDEF_MODULE_INDICATOR' => 1, ++ 'gl_PRINTF_ENOMEM' => 1, ++ 'gl_PREREQ_MBRTOWC' => 1, ++ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, ++ 'gl_WCHAR_H_INLINE_OK' => 1, ++ 'M4_FILE_LIST' => 1, ++ 'gl_FUNC_SETLOCALE' => 1, ++ 'gl_WAIT_PROCESS' => 1, ++ 'gl_STRING_MODULE_INDICATOR' => 1, ++ 'gl_FUNC_LSTAT' => 1, ++ 'gl_FUNC_STRSIGNAL' => 1, ++ 'gl_XVASPRINTF' => 1, ++ 'gl_PREREQ_FOPEN' => 1, ++ 'gl_PREREQ_STRERROR' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'gl_LOCK' => 1, ++ 'gl_SNPRINTF_RETVAL_C99' => 1, ++ 'gl_LOCALE_H_DEFAULTS' => 1, ++ 'gt_TYPE_WCHAR_T' => 1, ++ 'gl_WCHAR_H' => 1, ++ 'gl_COMMON' => 1, ++ 'gl_FUNC_ALLOCA' => 1, ++ 'gl_FUNC_LDEXP' => 1, ++ 'gl_WCTYPE_H' => 1, ++ 'gl_FUNC_WCTOB' => 1, ++ 'gl_FUNC_GETOPT_GNU' => 1, ++ 'gl_PREREQ_STRDUP' => 1, ++ 'gl_SPAWN_H' => 1, ++ 'gl_CHECK_FREXPL_NO_LIBM' => 1, ++ 'AM_AUX_DIR_EXPAND' => 1, ++ 'gl_HEADER_SYS_TIME_H_BODY' => 1, ++ 'gl_FUNC_SETENV_SEPARATE' => 1, ++ 'gl_GLIBC21' => 1, ++ 'gl_HAVE_ISNANL_IN_LIBM' => 1, ++ 'AC_LIB_LINKFLAGS_FROM_LIBS' => 1, ++ 'gl_WCHAR_MODULE_INDICATOR' => 1, ++ 'gl_PREREQ_VASPRINTF_H' => 1, ++ '_AM_SET_OPTIONS' => 1, ++ 'gl_FUNC_MBTOWC' => 1, ++ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, ++ 'gl_PREREQ_STRCHRNUL' => 1, ++ 'AC_LIB_LINKFLAGS_BODY' => 1, ++ 'gl_FUNC_RAWMEMCHR' => 1, ++ 'gl_GETOPT_CHECK_HEADERS' => 1, ++ 'gl_PRINTF_DIRECTIVE_LS' => 1, ++ 'gl_STDINT_INCLUDES' => 1, ++ 'AC_TYPE_UNSIGNED_LONG_LONG_INT' => 1, ++ '_AM_MANGLE_OPTION' => 1, ++ 'gl_PRINTF_FLAG_GROUPING' => 1, ++ 'gl_FUNC_FREXPL_NO_LIBM' => 1, ++ 'AC_CONFIG_MACRO_DIR_TRACE' => 1, ++ 'AM_SET_DEPDIR' => 1, ++ 'gl_FUNC_FOPEN' => 1, ++ 'gl_FUNC_STRCHRNUL' => 1, ++ 'gl_REPLACE_DUP2' => 1, ++ 'AC_CHECK_HEADER_STDBOOL' => 1, ++ 'gl_REPLACE_FCLOSE' => 1, ++ 'gl_FUNC_ISNANF' => 1, ++ 'gl_HAVE_ISNAND_NO_LIBM' => 1, ++ 'gl_CANONICALIZE_LGPL_SEPARATE' => 1, ++ 'gl_PREREQ_VASNPRINTF_PRECISION' => 1, ++ 'AC_DEFUN' => 1, ++ 'gl_PREREQ_SIGACTION' => 1, ++ 'gl_FUNC_GETTIMEOFDAY' => 1, ++ 'AM_PROG_MKDIR_P' => 1, ++ 'gl_WARN_ADD' => 1, ++ 'gl_FLOATTYPE_SIGNBIT_CODE' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'gl_SIZE_MAX' => 1, ++ 'AC_LIB_RPATH' => 1, ++ 'gl_LOCALE_MODULE_INDICATOR' => 1, ++ 'gl_FUNC_GLIBC_UNLOCKED_IO' => 1, ++ 'gl_FUNC_GEN_TEMPNAME' => 1, ++ 'AM_MISSING_PROG' => 1, ++ 'gl_PREREQ_SIG_HANDLER_H' => 1, ++ 'gl_FUNC_OPEN' => 1, ++ 'gl_PRINTF_DIRECTIVE_A' => 1, ++ 'M4_LIBOBJ' => 1, ++ 'gl_REPLACE_SNPRINTF' => 1, ++ 'gl_INCLUDE_NEXT' => 1, ++ 'gl_HEADER_SYS_TIME_H' => 1, ++ 'AM_PROG_INSTALL_STRIP' => 1, ++ 'M4tests_LIBOBJ' => 1, ++ 'gl_POSIX_SPAWN_BODY' => 1, ++ 'gl_PREREQ_STRTOD' => 1, ++ 'gl_MULTIARCH' => 1, ++ 'gl_MANYWARN_ALL_GCC' => 1, ++ 'gl_LONG_DOUBLE_SIGN_LOCATION' => 1, ++ 'gl_DOUBLE_SIGN_LOCATION' => 1, ++ 'gl_MANYWARN_COMPLEMENT' => 1, ++ '_AM_PROG_TAR' => 1, ++ 'gl_HEADER_ERRNO_H' => 1, ++ 'gl_FUNC_PRINTF_FREXPL' => 1, ++ 'gl_FUNC_ISNANL_NO_LIBM' => 1, ++ 'gl_FUNC_STRERROR_SEPARATE' => 1, ++ 'gl_SYS_WAIT_H' => 1, ++ 'gl_SNPRINTF_TRUNCATION_C99' => 1, ++ 'gl_REPLACE_SPAWN_H' => 1, ++ 'gl_FUNC_MKSTEMP' => 1, ++ 'gl_XSTRNDUP' => 1, ++ 'gl_ERROR' => 1, ++ 'gl_FLOATTYPE_SIGN_LOCATION' => 1, ++ 'gl_ASSERT_NO_GNULIB_TESTS' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'gl_PREREQ_FFLUSH' => 1, ++ 'gl_00GNULIB' => 1, ++ 'gl_UNISTD_SAFER' => 1, ++ 'gl_FUNC_FTELLO' => 1, ++ 'M4_WITH_DMALLOC' => 1, ++ 'AC_USE_SYSTEM_EXTENSIONS' => 1, ++ 'gl_MATH_MODULE_INDICATOR' => 1, ++ 'gl_FUNC_RMDIR' => 1, ++ 'gl_ENVIRON' => 1, ++ 'AU_DEFUN' => 1, ++ 'gl_THREADLIB_BODY' => 1, ++ 'gl_MBRTOWC_RETVAL' => 1, ++ 'gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST' => 1, ++ 'AC_LIB_HAVE_LINKFLAGS' => 1, ++ 'gl_FCNTL_MODULE_INDICATOR' => 1, ++ 'gl_LONG_DOUBLE_EXPONENT_LOCATION' => 1, ++ 'gl_FUNC_STRDUP_POSIX' => 1, ++ '_AM_SET_OPTION' => 1, ++ 'gl_FUNC_GETOPT_POSIX' => 1, ++ 'gl_LOCALENAME' => 1, ++ 'gl_PREREQ_VASNPRINTF_FLAG_ZERO' => 1, ++ 'gl_PREREQ_OPEN' => 1, ++ 'gl_FLOAT_EXPONENT_LOCATION' => 1, ++ 'gl_FUNC_VASPRINTF' => 1, ++ 'AM_STDBOOL_H' => 1, ++ 'gl_HEADER_STRING_H' => 1, ++ 'gl_MBRTOWC_NULL_ARG2' => 1, ++ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, ++ 'gl_EEALLOC' => 1, ++ 'gl_FUNC_PRINTF_FREXP' => 1, ++ 'gl_COMMON_BODY' => 1, ++ 'gl_FUNC_GETTIMEOFDAY_CLOBBER' => 1, ++ 'gl_REPLACE_FTELLO' => 1, ++ 'gl_PREREQ_ERROR' => 1, ++ 'gl_PREREQ_PRINTF_PARSE' => 1, ++ 'gl_FUNC_ISNAND_NO_LIBM' => 1, ++ 'gl_PRINTF_FLAG_ZERO' => 1, ++ 'gl_FUNC_MBRTOWC' => 1, ++ 'gl_STDIN_LARGE_OFFSET' => 1, ++ 'gl_FUNC_UNSETENV' => 1, ++ 'gl_STDINT_BITSIZEOF' => 1, ++ 'gl_FUNC_ISNANL_WORKS' => 1, ++ 'gl_MBRTOWC_NULL_ARG1' => 1, ++ 'gl_FUNC_FREXP' => 1, ++ 'gl_FILE_NAME_CONCAT_LGPL' => 1, ++ 'gl_BIGENDIAN' => 1, ++ 'AM_SILENT_RULES' => 1, ++ 'gt_LOCALE_JA' => 1, ++ 'include' => 1, ++ 'gl_STDIO_H' => 1, ++ 'gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE' => 1, ++ 'gl_FUNC_RENAME' => 1, ++ 'gl_CHECK_TYPE_STRUCT_TIMESPEC' => 1, ++ 'gl_MODULE_INDICATOR_CONDITION' => 1, ++ 'AC_LIB_APPENDTOVAR' => 1, ++ 'gl_FUNC_ISNANF_NO_LIBM' => 1, ++ 'gl_PREREQ_VASNPRINTF_LONG_DOUBLE' => 1, ++ 'gl_LONG_DOUBLE_SIGNBIT_CODE' => 1, ++ 'gl_FUNC_DUP2' => 1, ++ 'gl_FP_IEEE' => 1, ++ 'AM_POSTPROCESS_PO_MAKEFILE' => 1, ++ 'gl_AC_TYPE_INTMAX_T' => 1, ++ 'AC_TYPE_MBSTATE_T' => 1, ++ 'AM_CONDITIONAL' => 1, ++ 'AM_LANGINFO_CODESET' => 1, ++ 'gl_AC_HEADER_INTTYPES_H' => 1, ++ 'gl_WCTYPE_H_DEFAULTS' => 1, ++ 'AM_PROG_INSTALL_SH' => 1, ++ 'gl_HAVE_ISNAND_IN_LIBM' => 1, ++ 'gl_FUNC_REALPATH_WORKS' => 1, ++ 'gl_STDDEF_H' => 1, ++ 'gl_STDLIB_SAFER' => 1, ++ 'gl_FUNC_MMAP_ANON' => 1, ++ 'GL_NOCRASH' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'gl_TIME_MODULE_INDICATOR' => 1, ++ 'AM_PO_SUBDIRS' => 1, ++ 'gl_CHECK_LDEXPL_NO_LIBM' => 1, ++ 'gl_DIRNAME_LGPL' => 1, ++ 'AC_LIB_PREPARE_PREFIX' => 1, ++ 'gl_EEMALLOC' => 1, ++ 'gl_PREREQ_SIGPROCMASK' => 1, ++ 'gl_FUNC_ISNANL' => 1, ++ 'gl_FUNC_READLINK_SEPARATE' => 1, ++ 'gl_REPLACE_CLOSE' => 1, ++ 'gl_SNPRINTF_PRESENCE' => 1, ++ 'gl_FCNTL_H_DEFAULTS' => 1, ++ 'gl_FUNC_WCTOMB' => 1, ++ 'gl_FUNC_UNGETC_WORKS' => 1, ++ 'gl_FUNC_MALLOC_POSIX' => 1, ++ 'gl_PREREQ_SNPRINTF' => 1, ++ 'gl_FUNC_VASNPRINTF' => 1, ++ 'gl_CONFIGMAKE_PREP' => 1, ++ 'gl_HAVE_ISNANL_NO_LIBM' => 1, ++ 'gl_SIGACTION' => 1, ++ 'gl_FUNC_FREXP_NO_LIBM' => 1, ++ 'gl_PREREQ_WCTOMB' => 1, ++ 'gl_SYS_WAIT_MODULE_INDICATOR' => 1, ++ 'gl_PREREQ_ASPRINTF' => 1, ++ 'gl_THREADLIB' => 1, ++ 'AM_NLS' => 1, ++ 'gl_FUNC_STRERROR' => 1, ++ 'gl_FUNC_PIPE2' => 1, ++ 'gl_ASSERT' => 1, ++ 'gl_HAVE_ISNANF_NO_LIBM' => 1, ++ 'gl_LANGINFO_MODULE_INDICATOR' => 1, ++ 'gl_PRINTF_INFINITE_LONG_DOUBLE' => 1, ++ 'gt_CHECK_VAR_DECL' => 1, ++ 'gl_FUNC_MALLOC_GNU' => 1, ++ 'gl_LIST' => 1, ++ 'gl_PREREQ_VASNPRINTF_DIRECTIVE_F' => 1, ++ 'gl_MODULE_INDICATOR_SET_VARIABLE' => 1, ++ 'gl_MATH_H_DEFAULTS' => 1, ++ 'gl_USE_SYSTEM_EXTENSIONS' => 1, ++ 'gl_FUNC_FSEEKO' => 1, ++ 'gl_FUNC_LDEXPL' => 1, ++ 'AM_DEP_TRACK' => 1, ++ 'gl_REPLACE_FSEEKO' => 1, ++ 'gl_THREADLIB_EARLY' => 1, ++ 'gl_PREREQ_XSTRNDUP' => 1, ++ 'gl_SIGNBIT' => 1, ++ 'gl_FUNC_FPENDING' => 1, ++ 'gl_PRINTF_POSITIONS' => 1, ++ 'gl_FREOPEN_SAFER' => 1, ++ 'gl_FUNC_STRDUP' => 1, ++ 'gl_STDINT_TYPE_PROPERTIES' => 1, ++ 'gl_PREREQ_VASNPRINTF_DIRECTIVE_A' => 1, ++ 'AM_PATH_PROG_WITH_TEST' => 1, ++ 'gl_FUNC_ISNAND' => 1, ++ 'gl_FUNC_STRSTR' => 1, ++ 'gl_FCNTL_O_FLAGS' => 1, ++ 'gl_PREREQ_WCRTOMB' => 1, ++ 'gl_PRINTF_DIRECTIVE_N' => 1, ++ 'gl_UNISTD_H_DEFAULTS' => 1, ++ '_AM_DEPENDENCIES' => 1, ++ 'gl_FLOAT_SIGN_LOCATION' => 1, ++ 'gl_GETTIMEOFDAY_REPLACE_LOCALTIME' => 1, ++ 'gl_POSIX_SPAWN' => 1, ++ 'gl_PREREQ_MBSINIT' => 1, ++ 'gl_LANGINFO_H_DEFAULTS' => 1, ++ 'gl_REPLACE_VASNPRINTF' => 1, ++ 'gl_PREREQ_VASPRINTF' => 1, ++ 'M4_LIBSOURCES' => 1, ++ 'gl_SIGNAL_H_DEFAULTS' => 1, ++ 'gl_PREREQ_RAWMEMCHR' => 1, ++ 'gl_XSIZE' => 1, ++ 'gl_HEADER_TIME_H' => 1, ++ 'gl_FUNC_MEMCHR' => 1, ++ 'gl_REPLACE_LOCALE_H' => 1, ++ 'gl_PREREQ_REGEX' => 1, ++ 'gl_HAVE_POSIX_SPAWN' => 1, ++ 'gl_MALLOCA' => 1, ++ 'gl_FUNC_FREXPL' => 1, ++ 'gl_CONFIG_H' => 1, ++ 'gt_TMPDIR' => 1, ++ 'AC_PROG_MKDIR_P' => 1, ++ 'gl_PRINTF_DIRECTIVE_F' => 1, ++ 'gl_REPLACE_ERRNO_VALUE' => 1, ++ 'gl_SIGNAL_H' => 1, ++ 'gt_LOCALE_FR' => 1, ++ 'gl_CLOEXEC' => 1, ++ 'gl_PRINTF_FLAG_LEFTADJUST' => 1, ++ 'gl_PREREQ_READLINK' => 1, ++ 'gl_HEADER_TIME_H_DEFAULTS' => 1, ++ 'gl_REPLACE_FFLUSH' => 1, ++ 'gl_MBRTOWC_INCOMPLETE_STATE' => 1, ++ 'gl_GETOPT_IFELSE' => 1, ++ 'gl_QUOTEARG' => 1, ++ 'gl_FUNC_CANONICALIZE_FILENAME_MODE' => 1, ++ 'gl_DISABLE_THREADS' => 1, ++ 'gl_MODULE_INDICATOR' => 1, ++ 'gl_FUNC_SYMLINK' => 1, ++ 'gl_CHECK_MALLOC_POSIX' => 1, ++ 'gl_FUNC_FFLUSH' => 1, ++ 'gl_UNISTD_H' => 1, ++ 'gl_STDLIB_H_DEFAULTS' => 1, ++ 'gl_PREREQ_WCTOB' => 1, ++ 'gl_PREREQ_SETENV' => 1, ++ 'gl_SNPRINTF_SIZE1' => 1, ++ 'gl_PREREQ_C_STACK' => 1, ++ 'gl_MATH_H' => 1, ++ 'AM_RUN_LOG' => 1, ++ 'gl_FUNC_FREADING' => 1, ++ 'gt_LOCALE_FR_UTF8' => 1, ++ 'gl_FUNC_LDEXPL_WORKS' => 1, ++ 'gt_LOCALE_ZH_CN' => 1, ++ 'gl_REPLACE_MALLOC' => 1, ++ 'gl_CLOSEOUT' => 1, ++ 'M4tests_REPLACE_FUNCS' => 1, ++ 'gl_PREREQ_VASNPRINTF_ENOMEM' => 1, ++ 'AC_LIB_FROMPACKAGE' => 1, ++ 'gt_LC_MESSAGES' => 1, ++ 'AM_XGETTEXT_OPTION' => 1, ++ 'gl_LANGINFO_H' => 1, ++ 'gl_CXX_CHOICE' => 1, ++ 'gl_SPAWN_MODULE_INDICATOR' => 1, ++ 'gl_PREREQ_UNSETENV' => 1, ++ 'gl_ASSERT_NO_GNULIB_POSIXCHECK' => 1, ++ 'gl_ISNANF_WORKS' => 1, ++ 'gl_PRINTF_INFINITE' => 1, ++ 'gl_POPEN_SAFER' => 1, ++ 'gl_WCTYPE_MODULE_INDICATOR' => 1, ++ 'gl_HEADER_TIME_H_BODY' => 1, ++ 'gl_STDARG_H' => 1, ++ 'AC_LIB_PROG_LD' => 1, ++ 'gl_LOCALCHARSET' => 1, ++ 'gl_SNPRINTF_DIRECTIVE_N' => 1 ++ } ++ ], 'Autom4te::Request' ), ++ bless( [ ++ '1', ++ 1, ++ [ ++ '/usr/share/autoconf' ++ ], ++ [ ++ '/usr/share/autoconf/autoconf/autoconf.m4f', ++ 'aclocal.m4', ++ 'configure.ac' ++ ], ++ { ++ 'AM_PROG_F77_C_O' => 1, ++ '_LT_AC_TAGCONFIG' => 1, ++ 'AC_INIT' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'AC_CANONICAL_TARGET' => 1, ++ '_AM_COND_IF' => 1, ++ 'AC_CONFIG_LIBOBJ_DIR' => 1, ++ 'AC_SUBST' => 1, ++ 'AM_EXTRA_RECURSIVE_TARGETS' => 1, ++ 'AC_CANONICAL_HOST' => 1, ++ 'AC_FC_SRCEXT' => 1, ++ 'AC_PROG_LIBTOOL' => 1, ++ 'AM_PROG_MKDIR_P' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'AC_CONFIG_SUBDIRS' => 1, ++ 'AM_PATH_GUILE' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'LT_CONFIG_LTDL_DIR' => 1, ++ 'AC_CONFIG_LINKS' => 1, ++ 'AC_REQUIRE_AUX_FILE' => 1, ++ 'LT_SUPPORTED_TAG' => 1, ++ 'm4_sinclude' => 1, ++ 'AM_MAINTAINER_MODE' => 1, ++ 'AM_NLS' => 1, ++ 'AC_FC_PP_DEFINE' => 1, ++ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, ++ '_m4_warn' => 1, ++ 'AM_MAKEFILE_INCLUDE' => 1, ++ 'AM_PROG_CXX_C_O' => 1, ++ '_AM_MAKEFILE_INCLUDE' => 1, ++ '_AM_COND_ENDIF' => 1, ++ 'AM_ENABLE_MULTILIB' => 1, ++ 'AM_SILENT_RULES' => 1, ++ 'AM_PROG_MOC' => 1, ++ 'AC_CONFIG_FILES' => 1, ++ 'include' => 1, ++ 'LT_INIT' => 1, ++ 'AM_GNU_GETTEXT' => 1, ++ 'AM_PROG_AR' => 1, ++ 'AC_LIBSOURCE' => 1, ++ 'AC_CANONICAL_BUILD' => 1, ++ 'AM_PROG_FC_C_O' => 1, ++ 'AC_FC_FREEFORM' => 1, ++ 'AC_FC_PP_SRCEXT' => 1, ++ 'AH_OUTPUT' => 1, ++ 'AC_CONFIG_AUX_DIR' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'm4_pattern_allow' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'sinclude' => 1, ++ 'AM_CONDITIONAL' => 1, ++ 'AC_CANONICAL_SYSTEM' => 1, ++ 'AM_XGETTEXT_OPTION' => 1, ++ 'AC_CONFIG_HEADERS' => 1, ++ 'AC_DEFINE_TRACE_LITERAL' => 1, ++ 'AM_POT_TOOLS' => 1, ++ 'm4_include' => 1, ++ '_AM_COND_ELSE' => 1, ++ 'AC_SUBST_TRACE' => 1 ++ } ++ ], 'Autom4te::Request' ) ++ ); ++ +diff -Nur m4-1.4.16.orig/autom4te.cache/traces.0 m4-1.4.16/autom4te.cache/traces.0 +--- m4-1.4.16.orig/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/autom4te.cache/traces.0 2013-09-04 14:47:42.000000000 +0200 +@@ -0,0 +1,19304 @@ ++m4trace:/usr/share/aclocal/nls.m4:23: -1- AC_DEFUN([AM_NLS], [ ++ AC_MSG_CHECKING([whether NLS is requested]) ++ dnl Default is enabled NLS ++ AC_ARG_ENABLE([nls], ++ [ --disable-nls do not use Native Language Support], ++ USE_NLS=$enableval, USE_NLS=yes) ++ AC_MSG_RESULT([$USE_NLS]) ++ AC_SUBST([USE_NLS]) ++]) ++m4trace:/usr/share/aclocal/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [ ++ AC_REQUIRE([AC_PROG_MAKE_SET])dnl ++ AC_REQUIRE([AC_PROG_INSTALL])dnl ++ AC_REQUIRE([AC_PROG_MKDIR_P])dnl ++ AC_REQUIRE([AM_NLS])dnl ++ ++ dnl Release version of the gettext macros. This is used to ensure that ++ dnl the gettext macros and po/Makefile.in.in are in sync. ++ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) ++ ++ dnl Perform the following tests also if --disable-nls has been given, ++ dnl because they are needed for "make dist" to work. ++ ++ dnl Search for GNU msgfmt in the PATH. ++ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. ++ dnl The second test excludes FreeBSD msgfmt. ++ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, ++ [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && ++ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) ++ ++ dnl Test whether it is GNU msgfmt >= 0.15. ++changequote(,)dnl ++ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in ++ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; ++ *) MSGFMT_015=$MSGFMT ;; ++ esac ++changequote([,])dnl ++ AC_SUBST([MSGFMT_015]) ++changequote(,)dnl ++ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in ++ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; ++ *) GMSGFMT_015=$GMSGFMT ;; ++ esac ++changequote([,])dnl ++ AC_SUBST([GMSGFMT_015]) ++ ++ dnl Search for GNU xgettext 0.12 or newer in the PATH. ++ dnl The first test excludes Solaris xgettext and early GNU xgettext versions. ++ dnl The second test excludes FreeBSD xgettext. ++ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, ++ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && ++ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], ++ :) ++ dnl Remove leftover from FreeBSD xgettext call. ++ rm -f messages.po ++ ++ dnl Test whether it is GNU xgettext >= 0.15. ++changequote(,)dnl ++ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in ++ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; ++ *) XGETTEXT_015=$XGETTEXT ;; ++ esac ++changequote([,])dnl ++ AC_SUBST([XGETTEXT_015]) ++ ++ dnl Search for GNU msgmerge 0.11 or newer in the PATH. ++ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, ++ [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) ++ ++ dnl Installation directories. ++ dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we ++ dnl have to define it here, so that it can be used in po/Makefile. ++ test -n "$localedir" || localedir='${datadir}/locale' ++ AC_SUBST([localedir]) ++ ++ dnl Support for AM_XGETTEXT_OPTION. ++ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ++ AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) ++ ++ AC_CONFIG_COMMANDS([po-directories], [[ ++ for ac_file in $CONFIG_FILES; do ++ # Support "outfile[:infile[:infile...]]" ++ case "$ac_file" in ++ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; ++ esac ++ # PO directories have a Makefile.in generated from Makefile.in.in. ++ case "$ac_file" in */Makefile.in) ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ # Treat a directory as a PO directory if and only if it has a ++ # POTFILES.in file. This allows packages to have multiple PO ++ # directories under different names or in different locations. ++ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then ++ rm -f "$ac_dir/POTFILES" ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" ++ gt_tab=`printf '\t'` ++ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" ++ POMAKEFILEDEPS="POTFILES.in" ++ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend ++ # on $ac_dir but don't depend on user-specified configuration ++ # parameters. ++ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then ++ # The LINGUAS file contains the set of available languages. ++ if test -n "$OBSOLETE_ALL_LINGUAS"; then ++ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" ++ fi ++ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` ++ # Hide the ALL_LINGUAS assignment from automake < 1.5. ++ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' ++ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" ++ else ++ # The set of available languages was given in configure.in. ++ # Hide the ALL_LINGUAS assignment from automake < 1.5. ++ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' ++ fi ++ # Compute POFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) ++ # Compute UPDATEPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) ++ # Compute DUMMYPOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) ++ # Compute GMOFILES ++ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) ++ case "$ac_given_srcdir" in ++ .) srcdirpre= ;; ++ *) srcdirpre='$(srcdir)/' ;; ++ esac ++ POFILES= ++ UPDATEPOFILES= ++ DUMMYPOFILES= ++ GMOFILES= ++ for lang in $ALL_LINGUAS; do ++ POFILES="$POFILES $srcdirpre$lang.po" ++ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" ++ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" ++ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" ++ done ++ # CATALOGS depends on both $ac_dir and the user's LINGUAS ++ # environment variable. ++ INST_LINGUAS= ++ if test -n "$ALL_LINGUAS"; then ++ for presentlang in $ALL_LINGUAS; do ++ useit=no ++ if test "%UNSET%" != "$LINGUAS"; then ++ desiredlanguages="$LINGUAS" ++ else ++ desiredlanguages="$ALL_LINGUAS" ++ fi ++ for desiredlang in $desiredlanguages; do ++ # Use the presentlang catalog if desiredlang is ++ # a. equal to presentlang, or ++ # b. a variant of presentlang (because in this case, ++ # presentlang can be used as a fallback for messages ++ # which are not translated in the desiredlang catalog). ++ case "$desiredlang" in ++ "$presentlang"*) useit=yes;; ++ esac ++ done ++ if test $useit = yes; then ++ INST_LINGUAS="$INST_LINGUAS $presentlang" ++ fi ++ done ++ fi ++ CATALOGS= ++ if test -n "$INST_LINGUAS"; then ++ for lang in $INST_LINGUAS; do ++ CATALOGS="$CATALOGS $lang.gmo" ++ done ++ fi ++ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" ++ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" ++ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do ++ if test -f "$f"; then ++ case "$f" in ++ *.orig | *.bak | *~) ;; ++ *) cat "$f" >> "$ac_dir/Makefile" ;; ++ esac ++ fi ++ done ++ fi ++ ;; ++ esac ++ done]], ++ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute ++ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it ++ # from automake < 1.5. ++ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' ++ # Capture the value of LINGUAS because we need it to compute CATALOGS. ++ LINGUAS="${LINGUAS-%UNSET%}" ++ ]) ++]) ++m4trace:/usr/share/aclocal/po.m4:219: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ ++ # When this code is run, in config.status, two variables have already been ++ # set: ++ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, ++ # - LINGUAS is the value of the environment variable LINGUAS at configure ++ # time. ++ ++changequote(,)dnl ++ # Adjust a relative srcdir. ++ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ++ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ++ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ++ # In autoconf-2.13 it is called $ac_given_srcdir. ++ # In autoconf-2.50 it is called $srcdir. ++ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" ++ case "$ac_given_srcdir" in ++ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; ++ /*) top_srcdir="$ac_given_srcdir" ;; ++ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; ++ esac ++ ++ # Find a way to echo strings without interpreting backslash. ++ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='echo' ++ else ++ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then ++ gt_echo='printf %s\n' ++ else ++ echo_func () { ++ cat < "$ac_file.tmp" ++ tab=`printf '\t'` ++ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` ++ cat >> "$ac_file.tmp" < /dev/null; then ++ # Add dependencies that cannot be formulated as a simple suffix rule. ++ for lang in $ALL_LINGUAS; do ++ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` ++ cat >> "$ac_file.tmp" <> "$ac_file.tmp" </dev/null 2>&1 \ ++ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ ++ || PATH_SEPARATOR=';' ++ } ++fi ++ ++# Find out how to test for executable files. Don't use a zero-byte file, ++# as systems may use methods other than mode bits to determine executability. ++cat >conf$$.file <<_ASEOF ++#! /bin/sh ++exit 0 ++_ASEOF ++chmod +x conf$$.file ++if test -x conf$$.file >/dev/null 2>&1; then ++ ac_executable_p="test -x" ++else ++ ac_executable_p="test -f" ++fi ++rm -f conf$$.file ++ ++# Extract the first word of "$2", so it can be a program name with args. ++set dummy $2; ac_word=[$]2 ++AC_MSG_CHECKING([for $ac_word]) ++AC_CACHE_VAL([ac_cv_path_$1], ++[case "[$]$1" in ++ [[\\/]]* | ?:[[\\/]]*) ++ ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ++ ;; ++ *) ++ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in ifelse([$5], , $PATH, [$5]); do ++ IFS="$ac_save_IFS" ++ test -z "$ac_dir" && ac_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then ++ echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD ++ if [$3]; then ++ ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" ++ break 2 ++ fi ++ fi ++ done ++ done ++ IFS="$ac_save_IFS" ++dnl If no 4th arg is given, leave the cache variable unset, ++dnl so AC_PATH_PROGS will keep looking. ++ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ++])dnl ++ ;; ++esac])dnl ++$1="$ac_cv_path_$1" ++if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then ++ AC_MSG_RESULT([$][$1]) ++else ++ AC_MSG_RESULT([no]) ++fi ++AC_SUBST([$1])dnl ++]) ++m4trace:/usr/share/aclocal-1.13/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.13' ++dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to ++dnl require some minimum version. Point them to the right macro. ++m4_if([$1], [1.13.2], [], ++ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ++]) ++m4trace:/usr/share/aclocal-1.13/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.13.2])dnl ++m4_ifndef([AC_AUTOCONF_VERSION], ++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ++_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) ++m4trace:/usr/share/aclocal-1.13/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. ++AC_PREREQ([2.50])dnl ++# expand $ac_aux_dir to an absolute path ++am_aux_dir=`cd $ac_aux_dir && pwd` ++]) ++m4trace:/usr/share/aclocal-1.13/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl ++ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], ++ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl ++AC_SUBST([$1_TRUE])dnl ++AC_SUBST([$1_FALSE])dnl ++_AM_SUBST_NOTMAKE([$1_TRUE])dnl ++_AM_SUBST_NOTMAKE([$1_FALSE])dnl ++m4_define([_AM_COND_VALUE_$1], [$2])dnl ++if $2; then ++ $1_TRUE= ++ $1_FALSE='#' ++else ++ $1_TRUE='#' ++ $1_FALSE= ++fi ++AC_CONFIG_COMMANDS_PRE( ++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then ++ AC_MSG_ERROR([[conditional "$1" was never defined. ++Usually this means the macro was only invoked conditionally.]]) ++fi])]) ++m4trace:/usr/share/aclocal-1.13/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl ++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl ++AC_REQUIRE([AM_MAKE_INCLUDE])dnl ++AC_REQUIRE([AM_DEP_TRACK])dnl ++ ++m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], ++ [$1], [CXX], [depcc="$CXX" am_compiler_list=], ++ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], ++ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], ++ [$1], [UPC], [depcc="$UPC" am_compiler_list=], ++ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], ++ [depcc="$$1" am_compiler_list=]) ++ ++AC_CACHE_CHECK([dependency style of $depcc], ++ [am_cv_$1_dependencies_compiler_type], ++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ++ # We make a subdir and do the tests there. Otherwise we can end up ++ # making bogus files that we don't know about and never remove. For ++ # instance it was reported that on HP-UX the gcc test will end up ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ # Copy depcomp to subdir because otherwise we won't find it if we're ++ # using a relative directory. ++ cp "$am_depcomp" conftest.dir ++ cd conftest.dir ++ # We will build objects and dependencies in a subdirectory because ++ # it helps to detect inapplicable dependency modes. For instance ++ # both Tru64's cc and ICC support -MD to output dependencies as a ++ # side effect of compilation, but ICC will put the dependencies in ++ # the current directory while Tru64 will put them in the object ++ # directory. ++ mkdir sub ++ ++ am_cv_$1_dependencies_compiler_type=none ++ if test "$am_compiler_list" = ""; then ++ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` ++ fi ++ am__universal=false ++ m4_case([$1], [CC], ++ [case " $depcc " in #( ++ *\ -arch\ *\ -arch\ *) am__universal=true ;; ++ esac], ++ [CXX], ++ [case " $depcc " in #( ++ *\ -arch\ *\ -arch\ *) am__universal=true ;; ++ esac]) ++ ++ for depmode in $am_compiler_list; do ++ # Setup a source with many dependencies, because some compilers ++ # like to wrap large dependency lists on column 80 (with \), and ++ # we should not choose a depcomp mode which is confused by this. ++ # ++ # We need to recreate these files for each test, as the compiler may ++ # overwrite some of them when testing with obscure command lines. ++ # This happens at least with the AIX C compiler. ++ : > sub/conftest.c ++ for i in 1 2 3 4 5 6; do ++ echo '#include "conftst'$i'.h"' >> sub/conftest.c ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h ++ done ++ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ++ ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" ++ # mode. It turns out that the SunPro C++ compiler does not properly ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. ++ am__obj=sub/conftest.${OBJEXT-o} ++ am__minus_obj="-o $am__obj" ++ case $depmode in ++ gcc) ++ # This depmode causes a compiler race in universal mode. ++ test "$am__universal" = false || continue ++ ;; ++ nosideeffect) ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. ++ if test "x$enable_dependency_tracking" = xyes; then ++ continue ++ else ++ break ++ fi ++ ;; ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has ++ # not run yet. These depmodes are late enough in the game, and ++ # so weak that their functioning should not be impacted. ++ am__obj=conftest.${OBJEXT-o} ++ am__minus_obj= ++ ;; ++ none) break ;; ++ esac ++ if depmode=$depmode \ ++ source=sub/conftest.c object=$am__obj \ ++ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ++ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ++ >/dev/null 2>conftest.err && ++ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ++ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ++ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ++ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ++ # icc doesn't choke on unknown options, it will just issue warnings ++ # or remarks (even with -Werror). So we grep stderr for any message ++ # that says an option was ignored or not supported. ++ # When given -MP, icc 7.0 and 7.1 complain thusly: ++ # icc: Command line warning: ignoring option '-M'; no argument required ++ # The diagnosis changed in icc 8.0: ++ # icc: Command line remark: option '-MP' not supported ++ if (grep 'ignoring option' conftest.err || ++ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ++ am_cv_$1_dependencies_compiler_type=$depmode ++ break ++ fi ++ fi ++ done ++ ++ cd .. ++ rm -rf conftest.dir ++else ++ am_cv_$1_dependencies_compiler_type=none ++fi ++]) ++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) ++AM_CONDITIONAL([am__fastdep$1], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ++]) ++m4trace:/usr/share/aclocal-1.13/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl ++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ++]) ++m4trace:/usr/share/aclocal-1.13/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl ++AS_HELP_STRING( ++ [--enable-dependency-tracking], ++ [do not reject slow dependency extractors]) ++AS_HELP_STRING( ++ [--disable-dependency-tracking], ++ [speeds up one-time build])]) ++if test "x$enable_dependency_tracking" != xno; then ++ am_depcomp="$ac_aux_dir/depcomp" ++ AMDEPBACKSLASH='\' ++ am__nodep='_no' ++fi ++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ++AC_SUBST([AMDEPBACKSLASH])dnl ++_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ++AC_SUBST([am__nodep])dnl ++_AM_SUBST_NOTMAKE([am__nodep])dnl ++]) ++m4trace:/usr/share/aclocal-1.13/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ ++ # Older Autoconf quotes --file arguments for eval, but not when files ++ # are listed without --file. Let's play safe and only enable the eval ++ # if we detect the quoting. ++ case $CONFIG_FILES in ++ *\'*) eval set x "$CONFIG_FILES" ;; ++ *) set x $CONFIG_FILES ;; ++ esac ++ shift ++ for mf ++ do ++ # Strip MF so we end up with the name of the file. ++ mf=`echo "$mf" | sed -e 's/:.*$//'` ++ # Check whether this is an Automake generated Makefile or not. ++ # We used to match only the files named 'Makefile.in', but ++ # some people rename them; so instead we look at the file content. ++ # Grep'ing the first line is not enough: some people post-process ++ # each Makefile.in and add a new line on top of each file to say so. ++ # Grep'ing the whole file is not good either: AIX grep has a line ++ # limit of 2048, but all sed's we know have understand at least 4000. ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then ++ dirpart=`AS_DIRNAME("$mf")` ++ else ++ continue ++ fi ++ # Extract the definition of DEPDIR, am__include, and am__quote ++ # from the Makefile without running 'make'. ++ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` ++ test -z "$DEPDIR" && continue ++ am__include=`sed -n 's/^am__include = //p' < "$mf"` ++ test -z "$am__include" && continue ++ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` ++ # Find all dependency output files, they are included files with ++ # $(DEPDIR) in their names. We invoke sed twice because it is the ++ # simplest approach to changing $(DEPDIR) to its actual value in the ++ # expansion. ++ for file in `sed -n " ++ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do ++ # Make sure the directory exists. ++ test -f "$dirpart/$file" && continue ++ fdir=`AS_DIRNAME(["$file"])` ++ AS_MKDIR_P([$dirpart/$fdir]) ++ # echo "creating $dirpart/$file" ++ echo '# dummy' > "$dirpart/$file" ++ done ++ done ++} ++]) ++m4trace:/usr/share/aclocal-1.13/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], ++ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], ++ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ++]) ++m4trace:/usr/share/aclocal-1.13/init.m4:23: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl ++dnl Autoconf wants to disallow AM_ names. We explicitly allow ++dnl the ones we care about. ++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl ++AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl ++AC_REQUIRE([AC_PROG_INSTALL])dnl ++if test "`cd $srcdir && pwd`" != "`pwd`"; then ++ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output ++ # is not polluted with repeated "-I." ++ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl ++ # test to see if srcdir already configured ++ if test -f $srcdir/config.status; then ++ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) ++ fi ++fi ++ ++# test whether we have cygpath ++if test -z "$CYGPATH_W"; then ++ if (cygpath --version) >/dev/null 2>/dev/null; then ++ CYGPATH_W='cygpath -w' ++ else ++ CYGPATH_W=echo ++ fi ++fi ++AC_SUBST([CYGPATH_W]) ++ ++# Define the identity of the package. ++dnl Distinguish between old-style and new-style calls. ++m4_ifval([$2], ++[AC_DIAGNOSE([obsolete], ++ [$0: two- and three-arguments forms are deprecated.]) ++m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl ++ AC_SUBST([PACKAGE], [$1])dnl ++ AC_SUBST([VERSION], [$2])], ++[_AM_SET_OPTIONS([$1])dnl ++dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. ++m4_if( ++ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), ++ [ok:ok],, ++ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl ++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl ++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl ++ ++_AM_IF_OPTION([no-define],, ++[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) ++ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl ++ ++# Some tools Automake needs. ++AC_REQUIRE([AM_SANITY_CHECK])dnl ++AC_REQUIRE([AC_ARG_PROGRAM])dnl ++AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) ++AM_MISSING_PROG([AUTOCONF], [autoconf]) ++AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) ++AM_MISSING_PROG([AUTOHEADER], [autoheader]) ++AM_MISSING_PROG([MAKEINFO], [makeinfo]) ++AC_REQUIRE([AM_PROG_INSTALL_SH])dnl ++AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl ++AC_REQUIRE([AC_PROG_MKDIR_P])dnl ++# For better backward compatibility. To be removed once Automake 1.9.x ++# dies out for good. For more background, see: ++# ++# ++AC_SUBST([mkdir_p], ['$(MKDIR_P)']) ++# We need awk for the "check" target. The system "awk" is bad on ++# some platforms. ++AC_REQUIRE([AC_PROG_AWK])dnl ++AC_REQUIRE([AC_PROG_MAKE_SET])dnl ++AC_REQUIRE([AM_SET_LEADING_DOT])dnl ++_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], ++ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], ++ [_AM_PROG_TAR([v7])])]) ++_AM_IF_OPTION([no-dependencies],, ++[AC_PROVIDE_IFELSE([AC_PROG_CC], ++ [_AM_DEPENDENCIES([CC])], ++ [m4_define([AC_PROG_CC], ++ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_CXX], ++ [_AM_DEPENDENCIES([CXX])], ++ [m4_define([AC_PROG_CXX], ++ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJC], ++ [_AM_DEPENDENCIES([OBJC])], ++ [m4_define([AC_PROG_OBJC], ++ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], ++ [_AM_DEPENDENCIES([OBJCXX])], ++ [m4_define([AC_PROG_OBJCXX], ++ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ++]) ++AC_REQUIRE([AM_SILENT_RULES])dnl ++dnl The testsuite driver may need to know about EXEEXT, so add the ++dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This ++dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. ++AC_CONFIG_COMMANDS_PRE(dnl ++[m4_provide_if([_AM_COMPILER_EXEEXT], ++ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ++]) ++m4trace:/usr/share/aclocal-1.13/init.m4:136: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. ++_am_arg=$1 ++_am_stamp_count=1 ++for _am_header in $config_headers :; do ++ case $_am_header in ++ $_am_arg | $_am_arg:* ) ++ break ;; ++ * ) ++ _am_stamp_count=`expr $_am_stamp_count + 1` ;; ++ esac ++done ++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) ++m4trace:/usr/share/aclocal-1.13/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ++if test x"${install_sh}" != xset; then ++ case $am_aux_dir in ++ *\ * | *\ *) ++ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; ++ *) ++ install_sh="\${SHELL} $am_aux_dir/install-sh" ++ esac ++fi ++AC_SUBST([install_sh])]) ++m4trace:/usr/share/aclocal-1.13/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null ++mkdir .tst 2>/dev/null ++if test -d .tst; then ++ am__leading_dot=. ++else ++ am__leading_dot=_ ++fi ++rmdir .tst 2>/dev/null ++AC_SUBST([am__leading_dot])]) ++m4trace:/usr/share/aclocal-1.13/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} ++cat > confinc << 'END' ++am__doit: ++ @echo this is the am__doit target ++.PHONY: am__doit ++END ++# If we don't find an include directive, just comment out the code. ++AC_MSG_CHECKING([for style of include used by $am_make]) ++am__include="#" ++am__quote= ++_am_result=none ++# First try GNU make style include. ++echo "include confinc" > confmf ++# Ignore all kinds of additional output from 'make'. ++case `$am_make -s -f confmf 2> /dev/null` in #( ++*the\ am__doit\ target*) ++ am__include=include ++ am__quote= ++ _am_result=GNU ++ ;; ++esac ++# Now try BSD make style include. ++if test "$am__include" = "#"; then ++ echo '.include "confinc"' > confmf ++ case `$am_make -s -f confmf 2> /dev/null` in #( ++ *the\ am__doit\ target*) ++ am__include=.include ++ am__quote="\"" ++ _am_result=BSD ++ ;; ++ esac ++fi ++AC_SUBST([am__include]) ++AC_SUBST([am__quote]) ++AC_MSG_RESULT([$_am_result]) ++rm -f confinc confmf ++]) ++m4trace:/usr/share/aclocal-1.13/minuso.m4:11: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl ++AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ++AC_REQUIRE_AUX_FILE([compile])dnl ++# FIXME: we rely on the cache variable name because ++# there is no other way. ++set dummy $CC ++am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` ++eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o ++if test "$am_t" != yes; then ++ # Losing compiler, so override with the script. ++ # FIXME: It is wrong to rewrite CC. ++ # But if we don't then we get into trouble of one sort or another. ++ # A longer-term fix would be to have automake use am__CC in this case, ++ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" ++ CC="$am_aux_dir/compile $CC" ++fi ++dnl Make sure AC_PROG_CC is never called again, or it will override our ++dnl setting of CC. ++m4_define([AC_PROG_CC], ++ [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ++]) ++m4trace:/usr/share/aclocal-1.13/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) ++$1=${$1-"${am_missing_run}$2"} ++AC_SUBST($1)]) ++m4trace:/usr/share/aclocal-1.13/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ++AC_REQUIRE_AUX_FILE([missing])dnl ++if test x"${MISSING+set}" != xset; then ++ case $am_aux_dir in ++ *\ * | *\ *) ++ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ++ *) ++ MISSING="\${SHELL} $am_aux_dir/missing" ;; ++ esac ++fi ++# Use eval to expand $SHELL ++if eval "$MISSING --is-lightweight"; then ++ am_missing_run="$MISSING " ++else ++ am_missing_run= ++ AC_MSG_WARN(['missing' script is too old or missing]) ++fi ++]) ++m4trace:/usr/share/aclocal-1.13/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl ++AC_REQUIRE([AC_PROG_MKDIR_P])dnl ++dnl FIXME we are no longer going to remove this! adjust warning ++dnl FIXME message accordingly. ++AC_DIAGNOSE([obsolete], ++[$0: this macro is deprecated, and will soon be removed. ++You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead, ++and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.]) ++dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, ++dnl while keeping a definition of mkdir_p for backward compatibility. ++dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. ++dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of ++dnl Makefile.ins that do not define MKDIR_P, so we do our own ++dnl adjustment using top_builddir (which is defined more often than ++dnl MKDIR_P). ++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl ++case $mkdir_p in ++ [[\\/$]]* | ?:[[\\/]]*) ;; ++ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; ++esac ++]) ++m4trace:/usr/share/aclocal-1.13/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) ++m4trace:/usr/share/aclocal-1.13/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) ++m4trace:/usr/share/aclocal-1.13/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) ++m4trace:/usr/share/aclocal-1.13/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) ++m4trace:/usr/share/aclocal-1.13/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ++ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD ++ (exit $ac_status); }]) ++m4trace:/usr/share/aclocal-1.13/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) ++# Reject unsafe characters in $srcdir or the absolute working directory ++# name. Accept space and tab only in the latter. ++am_lf=' ++' ++case `pwd` in ++ *[[\\\"\#\$\&\'\`$am_lf]]*) ++ AC_MSG_ERROR([unsafe absolute working directory name]);; ++esac ++case $srcdir in ++ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) ++ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; ++esac ++ ++# Do 'set' in a subshell so we don't clobber the current shell's ++# arguments. Must try -L first in case configure is actually a ++# symlink; some systems play weird games with the mod time of symlinks ++# (eg FreeBSD returns the mod time of the symlink's containing ++# directory). ++if ( ++ am_has_slept=no ++ for am_try in 1 2; do ++ echo "timestamp, slept: $am_has_slept" > conftest.file ++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ if test "$[*]" = "X"; then ++ # -L didn't work. ++ set X `ls -t "$srcdir/configure" conftest.file` ++ fi ++ if test "$[*]" != "X $srcdir/configure conftest.file" \ ++ && test "$[*]" != "X conftest.file $srcdir/configure"; then ++ ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken ++ alias in your environment]) ++ fi ++ if test "$[2]" = conftest.file || test $am_try -eq 2; then ++ break ++ fi ++ # Just in case. ++ sleep 1 ++ am_has_slept=yes ++ done ++ test "$[2]" = conftest.file ++ ) ++then ++ # Ok. ++ : ++else ++ AC_MSG_ERROR([newly created file is older than distributed files! ++Check your system clock]) ++fi ++AC_MSG_RESULT([yes]) ++# If we didn't sleep, we still need to ensure time stamps of config.status and ++# generated files are strictly newer. ++am_sleep_pid= ++if grep 'slept: no' conftest.file >/dev/null 2>&1; then ++ ( sleep 1 ) & ++ am_sleep_pid=$! ++fi ++AC_CONFIG_COMMANDS_PRE( ++ [AC_MSG_CHECKING([that generated files are newer than configure]) ++ if test -n "$am_sleep_pid"; then ++ # Hide warnings about reused PIDs. ++ wait $am_sleep_pid 2>/dev/null ++ fi ++ AC_MSG_RESULT([done])]) ++rm -f conftest.file ++]) ++m4trace:/usr/share/aclocal-1.13/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl ++AS_HELP_STRING( ++ [--enable-silent-rules], ++ [less verbose build output (undo: "make V=1")]) ++AS_HELP_STRING( ++ [--disable-silent-rules], ++ [verbose build output (undo: "make V=0")])dnl ++]) ++case $enable_silent_rules in @%:@ ((( ++ yes) AM_DEFAULT_VERBOSITY=0;; ++ no) AM_DEFAULT_VERBOSITY=1;; ++ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; ++esac ++dnl ++dnl A few 'make' implementations (e.g., NonStop OS and NextStep) ++dnl do not support nested variable expansions. ++dnl See automake bug#9928 and bug#10237. ++am_make=${MAKE-make} ++AC_CACHE_CHECK([whether $am_make supports nested variables], ++ [am_cv_make_support_nested_variables], ++ [if AS_ECHO([['TRUE=$(BAR$(V)) ++BAR0=false ++BAR1=true ++V=1 ++am__doit: ++ @$(TRUE) ++.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then ++ am_cv_make_support_nested_variables=yes ++else ++ am_cv_make_support_nested_variables=no ++fi]) ++if test $am_cv_make_support_nested_variables = yes; then ++ dnl Using '$V' instead of '$(V)' breaks IRIX make. ++ AM_V='$(V)' ++ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ++else ++ AM_V=$AM_DEFAULT_VERBOSITY ++ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY ++fi ++AC_SUBST([AM_V])dnl ++AM_SUBST_NOTMAKE([AM_V])dnl ++AC_SUBST([AM_DEFAULT_V])dnl ++AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl ++AC_SUBST([AM_DEFAULT_VERBOSITY])dnl ++AM_BACKSLASH='\' ++AC_SUBST([AM_BACKSLASH])dnl ++_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ++]) ++m4trace:/usr/share/aclocal-1.13/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl ++# Installed binaries are usually stripped using 'strip' when the user ++# run "make install-strip". However 'strip' might not be the right ++# tool to use in cross-compilation environments, therefore Automake ++# will honor the 'STRIP' environment variable to overrule this program. ++dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. ++if test "$cross_compiling" != no; then ++ AC_CHECK_TOOL([STRIP], [strip], :) ++fi ++INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ++AC_SUBST([INSTALL_STRIP_PROGRAM])]) ++m4trace:/usr/share/aclocal-1.13/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) ++m4trace:/usr/share/aclocal-1.13/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) ++m4trace:/usr/share/aclocal-1.13/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used ++# in the wild :-( We should find a proper way to deprecate it ... ++AC_SUBST([AMTAR], ['$${TAR-tar}']) ++ ++# We'll loop over all known methods to create a tar archive until one works. ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++ ++m4_if([$1], [v7], ++ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], ++ ++ [m4_case([$1], ++ [ustar], ++ [# The POSIX 1988 'ustar' format is defined with fixed-size fields. ++ # There is notably a 21 bits limit for the UID and the GID. In fact, ++ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 ++ # and bug#13588). ++ am_max_uid=2097151 # 2^21 - 1 ++ am_max_gid=$am_max_uid ++ # The $UID and $GID variables are not portable, so we need to resort ++ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls ++ # below are definitely unexpected, so allow the users to see them ++ # (that is, avoid stderr redirection). ++ am_uid=`id -u || echo unknown` ++ am_gid=`id -g || echo unknown` ++ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) ++ if test $am_uid -le $am_max_uid; then ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ _am_tools=none ++ fi ++ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) ++ if test $am_gid -le $am_max_gid; then ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ _am_tools=none ++ fi], ++ ++ [pax], ++ [], ++ ++ [m4_fatal([Unknown tar format])]) ++ ++ AC_MSG_CHECKING([how to create a $1 tar archive]) ++ ++ # Go ahead even if we have the value already cached. We do so because we ++ # need to set the values for the 'am__tar' and 'am__untar' variables. ++ _am_tools=${am_cv_prog_tar_$1-$_am_tools} ++ ++ for _am_tool in $_am_tools; do ++ case $_am_tool in ++ gnutar) ++ for _am_tar in tar gnutar gtar; do ++ AM_RUN_LOG([$_am_tar --version]) && break ++ done ++ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' ++ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' ++ am__untar="$_am_tar -xf -" ++ ;; ++ plaintar) ++ # Must skip GNU tar: if it does not support --format= it doesn't create ++ # ustar tarball either. ++ (tar --version) >/dev/null 2>&1 && continue ++ am__tar='tar chf - "$$tardir"' ++ am__tar_='tar chf - "$tardir"' ++ am__untar='tar xf -' ++ ;; ++ pax) ++ am__tar='pax -L -x $1 -w "$$tardir"' ++ am__tar_='pax -L -x $1 -w "$tardir"' ++ am__untar='pax -r' ++ ;; ++ cpio) ++ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' ++ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' ++ am__untar='cpio -i -H $1 -d' ++ ;; ++ none) ++ am__tar=false ++ am__tar_=false ++ am__untar=false ++ ;; ++ esac ++ ++ # If the value was cached, stop now. We just wanted to have am__tar ++ # and am__untar set. ++ test -n "${am_cv_prog_tar_$1}" && break ++ ++ # tar/untar a dummy directory, and stop if the command works. ++ rm -rf conftest.dir ++ mkdir conftest.dir ++ echo GrepMe > conftest.dir/file ++ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) ++ rm -rf conftest.dir ++ if test -s conftest.tar; then ++ AM_RUN_LOG([$am__untar /dev/null 2>&1 && break ++ fi ++ done ++ rm -rf conftest.dir ++ ++ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) ++ AC_MSG_RESULT([$am_cv_prog_tar_$1])]) ++ ++AC_SUBST([am__tar]) ++AC_SUBST([am__untar]) ++]) ++m4trace:m4/00gnulib.m4:30: -1- AC_DEFUN([gl_00GNULIB]) ++m4trace:m4/alloca.m4:8: -1- AC_DEFUN([gl_FUNC_ALLOCA], [ ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ if test $ac_cv_func_alloca_works = no; then ++ gl_PREREQ_ALLOCA ++ fi ++ ++ # Define an additional variable used in the Makefile substitution. ++ if test $ac_cv_working_alloca_h = yes; then ++ AC_CACHE_CHECK([for alloca as a compiler built-in], [gl_cv_rpl_alloca], [ ++ AC_EGREP_CPP([Need own alloca], [ ++#if defined __GNUC__ || defined _AIX || defined _MSC_VER ++ Need own alloca ++#endif ++ ], [gl_cv_rpl_alloca=yes], [gl_cv_rpl_alloca=no]) ++ ]) ++ if test $gl_cv_rpl_alloca = yes; then ++ dnl OK, alloca can be implemented through a compiler built-in. ++ AC_DEFINE([HAVE_ALLOCA], [1], ++ [Define to 1 if you have 'alloca' after including , ++ a header that may be supplied by this distribution.]) ++ ALLOCA_H=alloca.h ++ else ++ dnl alloca exists as a library function, i.e. it is slow and probably ++ dnl a memory leak. Don't define HAVE_ALLOCA in this case. ++ ALLOCA_H= ++ fi ++ else ++ ALLOCA_H=alloca.h ++ fi ++ AC_SUBST([ALLOCA_H]) ++]) ++m4trace:m4/alloca.m4:43: -1- AC_DEFUN([gl_PREREQ_ALLOCA], [:]) ++m4trace:m4/ansi-c++.m4:15: -1- AC_DEFUN([gl_CXX_CHOICE], [ ++ AC_MSG_CHECKING([whether to use C++]) ++ dnl Plus signs are supported in AC_ARG_ENABLE starting with autoconf-2.66. ++ m4_version_prereq([2.66], ++ [m4_ifdef([gl_CXX_CHOICE_DEFAULT_NO], ++ [AC_ARG_ENABLE([c++], ++ [ --enable-c++ also build C++ sources], ++ [CXX_CHOICE="$enableval"], ++ [CXX_CHOICE=no])], ++ [AC_ARG_ENABLE([c++], ++ [ --disable-c++ do not build C++ sources], ++ [CXX_CHOICE="$enableval"], ++ [CXX_CHOICE=yes])])], ++ [m4_ifdef([gl_CXX_CHOICE_DEFAULT_NO], ++ [AC_ARG_ENABLE([cxx], ++ [ --enable-cxx also build C++ sources], ++ [CXX_CHOICE="$enableval"], ++ [CXX_CHOICE=no])], ++ [AC_ARG_ENABLE([cxx], ++ [ --disable-cxx do not build C++ sources], ++ [CXX_CHOICE="$enableval"], ++ [CXX_CHOICE=yes])])]) ++ AC_MSG_RESULT([$CXX_CHOICE]) ++ AC_SUBST([CXX_CHOICE]) ++]) ++m4trace:m4/ansi-c++.m4:48: -1- AC_DEFUN([gl_PROG_ANSI_CXX], [ ++ AC_REQUIRE([gl_CXX_CHOICE]) ++ m4_if([$1], [CXX], [], ++ [gl_save_CXX="$CXX"]) ++ if test "$CXX_CHOICE" = no; then ++ CXX=":" ++ fi ++ if test -z "$CXX"; then ++ if test -n "$CCC"; then ++ CXX="$CCC" ++ else ++ AC_CHECK_TOOLS([CXX], ++ [g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC], ++ [:]) ++ fi ++ fi ++ if test "$CXX" != ":"; then ++ dnl Use a modified version of AC_PROG_CXX_WORKS that does not exit ++ dnl upon failure. ++ AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works]) ++ AC_LANG_PUSH([C++]) ++ AC_ARG_VAR([CXX], [C++ compiler command]) ++ AC_ARG_VAR([CXXFLAGS], [C++ compiler flags]) ++ echo 'int main () { return 0; }' > conftest.$ac_ext ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ gl_cv_prog_ansicxx_works=yes ++ if (./conftest; exit) 2>/dev/null; then ++ gl_cv_prog_ansicxx_cross=no ++ else ++ gl_cv_prog_ansicxx_cross=yes ++ fi ++ else ++ gl_cv_prog_ansicxx_works=no ++ fi ++ rm -fr conftest* ++ AC_LANG_POP([C++]) ++ AC_MSG_RESULT([$gl_cv_prog_ansicxx_works]) ++ if test $gl_cv_prog_ansicxx_works = no; then ++ CXX=: ++ else ++ dnl Test for namespaces. ++ dnl We don't bother supporting pre-ANSI-C++ compilers. ++ AC_MSG_CHECKING([whether the C++ compiler supports namespaces]) ++ AC_LANG_PUSH([C++]) ++ cat < conftest.$ac_ext ++#include ++namespace test { using namespace std; } ++std::ostream* ptr; ++int main () { return 0; } ++EOF ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ gl_cv_prog_ansicxx_namespaces=yes ++ else ++ gl_cv_prog_ansicxx_namespaces=no ++ fi ++ rm -fr conftest* ++ AC_LANG_POP([C++]) ++ AC_MSG_RESULT([$gl_cv_prog_ansicxx_namespaces]) ++ if test $gl_cv_prog_ansicxx_namespaces = no; then ++ CXX=: ++ fi ++ fi ++ fi ++ m4_if([$1], [CXX], [], ++ [$1="$CXX" ++ CXX="$gl_save_CXX"]) ++ AC_SUBST([$1]) ++ ++ AM_CONDITIONAL([$2], [test "$$1" != ":"]) ++ ++ if test "$$1" != ":"; then ++ dnl This macro invocation resolves an automake error: ++ dnl /usr/local/share/automake-1.11/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL ++ dnl /usr/local/share/automake-1.11/am/depend2.am: The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX' ++ dnl /usr/local/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. ++ _AM_DEPENDENCIES([CXX]) ++ else ++ AM_CONDITIONAL([am__fastdepCXX], [false]) ++ fi ++]) ++m4trace:m4/assert.m4:11: -1- AC_DEFUN([gl_ASSERT], [ ++ AC_MSG_CHECKING([whether to enable assertions]) ++ AC_ARG_ENABLE([assert], ++ [AS_HELP_STRING([--disable-assert], [turn off assertions])], ++ [AS_IF([test "x$enableval" = xno], ++ [AC_DEFINE([NDEBUG], [1], ++ [Define to 1 if assertions should be disabled.])], ++ [test "x$enableval" != xyes], ++ [AC_MSG_WARN([invalid argument supplied to --enable-assert]) ++ enable_assert=yes])], ++ [enable_assert=yes]) ++ AC_MSG_RESULT([$enable_assert]) ++]) ++m4trace:m4/autobuild.m4:10: -1- AC_DEFUN([AB_INIT], [ ++ AC_REQUIRE([AC_CANONICAL_BUILD]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ ++ if test -z "$AB_PACKAGE"; then ++ AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} ++ fi ++ AC_MSG_NOTICE([autobuild project... $AB_PACKAGE]) ++ ++ if test -z "$AB_VERSION"; then ++ AB_VERSION=${PACKAGE_VERSION:-$VERSION} ++ fi ++ AC_MSG_NOTICE([autobuild revision... $AB_VERSION]) ++ ++ hostname=`hostname` ++ if test "$hostname"; then ++ AC_MSG_NOTICE([autobuild hostname... $hostname]) ++ fi ++ ++ ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])]) ++ ++ date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ` ++ if test "$?" != 0; then ++ date=`date` ++ fi ++ if test "$date"; then ++ AC_MSG_NOTICE([autobuild timestamp... $date]) ++ fi ++]) ++m4trace:m4/btowc.m4:7: -1- AC_DEFUN([gl_FUNC_BTOWC], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ ++ dnl Check whether is usable at all, first. Otherwise the test ++ dnl program below may lead to an endless loop. See ++ dnl . ++ AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) ++ ++ AC_CHECK_FUNCS_ONCE([btowc]) ++ if test $ac_cv_func_btowc = no; then ++ HAVE_BTOWC=0 ++ else ++ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_FR]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ ++ dnl Cygwin 1.7.2 btowc('\0') is WEOF, not 0. ++ AC_CACHE_CHECK([whether btowc(0) is correct], ++ [gl_cv_func_btowc_nul], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (btowc ('\0') != 0) ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_btowc_nul=yes], ++ [gl_cv_func_btowc_nul=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Cygwin. ++ cygwin*) gl_cv_func_btowc_nul="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_btowc_nul="guessing yes" ;; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++ ++ dnl IRIX 6.5 btowc(EOF) is 0xFF, not WEOF. ++ AC_CACHE_CHECK([whether btowc(EOF) is correct], ++ [gl_cv_func_btowc_eof], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on IRIX. ++ irix*) gl_cv_func_btowc_eof="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_btowc_eof="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_FR != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ if (btowc (EOF) != WEOF) ++ return 1; ++ } ++ return 0; ++}]])], ++ [gl_cv_func_btowc_eof=yes], ++ [gl_cv_func_btowc_eof=no], ++ [:]) ++ fi ++ ]) ++ ++ case "$gl_cv_func_btowc_nul" in ++ *yes) ;; ++ *) REPLACE_BTOWC=1 ;; ++ esac ++ case "$gl_cv_func_btowc_eof" in ++ *yes) ;; ++ *) REPLACE_BTOWC=1 ;; ++ esac ++ fi ++ if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then ++ gl_REPLACE_WCHAR_H ++ AC_LIBOBJ([btowc]) ++ gl_PREREQ_BTOWC ++ fi ++]) ++m4trace:m4/btowc.m4:119: -1- AC_DEFUN([gl_PREREQ_BTOWC], [ ++ : ++]) ++m4trace:m4/c-stack.m4:12: -1- AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC], [# for STACK_DIRECTION ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_FUNCS_ONCE([setrlimit]) ++ AC_CHECK_HEADERS_ONCE([ucontext.h]) ++ ++ dnl List of signals that are sent when an invalid virtual memory address ++ dnl is accessed, or when the stack overflows. ++ dnl Either { SIGSEGV } or { SIGSEGV, SIGBUS }. ++ case "$host_os" in ++ sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems ++ FAULT_YIELDS_SIGBUS=1 ;; ++ hpux*) # HP-UX ++ FAULT_YIELDS_SIGBUS=1 ;; ++ macos* | darwin*) # MacOS X ++ FAULT_YIELDS_SIGBUS=1 ;; ++ gnu*) # Hurd ++ FAULT_YIELDS_SIGBUS=1 ;; ++ *) ++ FAULT_YIELDS_SIGBUS=0 ;; ++ esac ++ AC_DEFINE_UNQUOTED([FAULT_YIELDS_SIGBUS], [$FAULT_YIELDS_SIGBUS], ++ [Define to 1 if an invalid memory address access may yield a SIGBUS.]) ++ ++ AC_CACHE_CHECK([for working C stack overflow detection], ++ [ac_cv_sys_stack_overflow_works], ++ [AC_RUN_IFELSE([AC_LANG_SOURCE( ++ [[ ++ #include ++ #include ++ #if HAVE_SETRLIMIT ++ # include ++ # include ++ # include ++ #endif ++ #ifndef SIGSTKSZ ++ # define SIGSTKSZ 16384 ++ #endif ++ ++ static union ++ { ++ char buffer[2 * SIGSTKSZ]; ++ long double ld; ++ long u; ++ void *p; ++ } alternate_signal_stack; ++ ++ static void ++ segv_handler (int signo) ++ { ++ _exit (0); ++ } ++ ++ static int ++ c_stack_action () ++ { ++ stack_t st; ++ struct sigaction act; ++ int r; ++ ++ st.ss_flags = 0; ++ /* Use the midpoint to avoid Irix sigaltstack bug. */ ++ st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ; ++ st.ss_size = SIGSTKSZ; ++ r = sigaltstack (&st, 0); ++ if (r != 0) ++ return 1; ++ ++ sigemptyset (&act.sa_mask); ++ act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND; ++ act.sa_handler = segv_handler; ++ #if FAULT_YIELDS_SIGBUS ++ if (sigaction (SIGBUS, &act, 0) < 0) ++ return 2; ++ #endif ++ if (sigaction (SIGSEGV, &act, 0) < 0) ++ return 3; ++ return 0; ++ } ++ static volatile int * ++ recurse_1 (volatile int n, volatile int *p) ++ { ++ if (n >= 0) ++ *recurse_1 (n + 1, p) += n; ++ return p; ++ } ++ static int ++ recurse (volatile int n) ++ { ++ int sum = 0; ++ return *recurse_1 (n, &sum); ++ } ++ int ++ main () ++ { ++ int result; ++ #if HAVE_SETRLIMIT && defined RLIMIT_STACK ++ /* Before starting the endless recursion, try to be friendly ++ to the user's machine. On some Linux 2.2.x systems, there ++ is no stack limit for user processes at all. We don't want ++ to kill such systems. */ ++ struct rlimit rl; ++ rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */ ++ setrlimit (RLIMIT_STACK, &rl); ++ #endif ++ ++ result = c_stack_action (); ++ if (result != 0) ++ return result; ++ return recurse (0); ++ } ++ ]])], ++ [ac_cv_sys_stack_overflow_works=yes], ++ [ac_cv_sys_stack_overflow_works=no], ++ [ac_cv_sys_stack_overflow_works=cross-compiling])]) ++ ++ if test $ac_cv_sys_stack_overflow_works = yes; then ++ AC_DEFINE([HAVE_STACK_OVERFLOW_HANDLING], [1], ++ [Define to 1 if extending the stack slightly past the limit causes ++ a SIGSEGV which can be handled on an alternate stack established ++ with sigaltstack.]) ++ ++ dnl The ss_sp field of a stack_t is, according to POSIX, the lowest address ++ dnl of the memory block designated as an alternate stack. But IRIX 5.3 ++ dnl interprets it as the highest address! ++ AC_CACHE_CHECK([for correct stack_t interpretation], ++ [gl_cv_sigaltstack_low_base], [ ++ AC_RUN_IFELSE([ ++ AC_LANG_SOURCE([[ ++#include ++#include ++#if HAVE_SYS_SIGNAL_H ++# include ++#endif ++#ifndef SIGSTKSZ ++# define SIGSTKSZ 16384 ++#endif ++volatile char *stack_lower_bound; ++volatile char *stack_upper_bound; ++static void check_stack_location (volatile char *addr) ++{ ++ if (addr >= stack_lower_bound && addr <= stack_upper_bound) ++ exit (0); ++ else ++ exit (1); ++} ++static void stackoverflow_handler (int sig) ++{ ++ char dummy; ++ check_stack_location (&dummy); ++} ++int main () ++{ ++ char mystack[2 * SIGSTKSZ]; ++ stack_t altstack; ++ struct sigaction action; ++ /* Install the alternate stack. */ ++ altstack.ss_sp = mystack + SIGSTKSZ; ++ altstack.ss_size = SIGSTKSZ; ++ stack_lower_bound = (char *) altstack.ss_sp; ++ stack_upper_bound = (char *) altstack.ss_sp + altstack.ss_size - 1; ++ altstack.ss_flags = 0; /* no SS_DISABLE */ ++ if (sigaltstack (&altstack, NULL) < 0) ++ exit (2); ++ /* Install the SIGSEGV handler. */ ++ sigemptyset (&action.sa_mask); ++ action.sa_handler = &stackoverflow_handler; ++ action.sa_flags = SA_ONSTACK; ++ if (sigaction (SIGSEGV, &action, (struct sigaction *) NULL) < 0) ++ exit(3); ++ /* Provoke a SIGSEGV. */ ++ raise (SIGSEGV); ++ exit (4); ++}]])], ++ [gl_cv_sigaltstack_low_base=yes], ++ [gl_cv_sigaltstack_low_base=no], ++ [gl_cv_sigaltstack_low_base=cross-compiling])]) ++ if test "$gl_cv_sigaltstack_low_base" = no; then ++ AC_DEFINE([SIGALTSTACK_SS_REVERSED], [1], ++ [Define if sigaltstack() interprets the stack_t.ss_sp field ++ incorrectly, as the highest address of the alternate stack range ++ rather than as the lowest address.]) ++ fi ++ ++ AC_CACHE_CHECK([for precise C stack overflow detection], ++ ac_cv_sys_xsi_stack_overflow_heuristic, ++ [AC_RUN_IFELSE([AC_LANG_SOURCE( ++ [[ ++ #include ++ #include ++ #if HAVE_UCONTEXT_H ++ # include ++ #endif ++ #if HAVE_SETRLIMIT ++ # include ++ # include ++ # include ++ #endif ++ #ifndef SIGSTKSZ ++ # define SIGSTKSZ 16384 ++ #endif ++ ++ static union ++ { ++ char buffer[2 * SIGSTKSZ]; ++ long double ld; ++ long u; ++ void *p; ++ } alternate_signal_stack; ++ ++ #if STACK_DIRECTION ++ # define find_stack_direction(ptr) STACK_DIRECTION ++ #else ++ static int ++ find_stack_direction (char const *addr) ++ { ++ char dummy; ++ return (! addr ? find_stack_direction (&dummy) ++ : addr < &dummy ? 1 : -1); ++ } ++ #endif ++ ++ static void ++ segv_handler (int signo, siginfo_t *info, void *context) ++ { ++ if (0 < info->si_code) ++ { ++ /* For XSI heuristics to work, we need uc_stack to describe ++ the interrupted stack (as on Solaris), and not the ++ currently executing stack (as on Linux). */ ++ ucontext_t const *user_context = context; ++ char const *stack_min = user_context->uc_stack.ss_sp; ++ size_t stack_size = user_context->uc_stack.ss_size; ++ char const *faulting_address = info->si_addr; ++ size_t s = faulting_address - stack_min; ++ size_t page_size = sysconf (_SC_PAGESIZE); ++ if (find_stack_direction (0) < 0) ++ s += page_size; ++ if (s < stack_size + page_size) ++ _exit (0); ++ _exit (4); ++ } ++ _exit (5); ++ } ++ ++ static int ++ c_stack_action () ++ { ++ stack_t st; ++ struct sigaction act; ++ int r; ++ ++ st.ss_flags = 0; ++ /* Use the midpoint to avoid Irix sigaltstack bug. */ ++ st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ; ++ st.ss_size = SIGSTKSZ; ++ r = sigaltstack (&st, 0); ++ if (r != 0) ++ return 1; ++ ++ sigemptyset (&act.sa_mask); ++ act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO; ++ act.sa_sigaction = segv_handler; ++ #if FAULT_YIELDS_SIGBUS ++ if (sigaction (SIGBUS, &act, 0) < 0) ++ return 2; ++ #endif ++ if (sigaction (SIGSEGV, &act, 0) < 0) ++ return 3; ++ return 0; ++ } ++ static volatile int * ++ recurse_1 (volatile int n, volatile int *p) ++ { ++ if (n >= 0) ++ *recurse_1 (n + 1, p) += n; ++ return p; ++ } ++ static int ++ recurse (volatile int n) ++ { ++ int sum = 0; ++ return *recurse_1 (n, &sum); ++ } ++ int ++ main () ++ { ++ int result; ++ #if HAVE_SETRLIMIT && defined RLIMIT_STACK ++ /* Before starting the endless recursion, try to be friendly ++ to the user's machine. On some Linux 2.2.x systems, there ++ is no stack limit for user processes at all. We don't want ++ to kill such systems. */ ++ struct rlimit rl; ++ rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */ ++ setrlimit (RLIMIT_STACK, &rl); ++ #endif ++ ++ result = c_stack_action (); ++ if (result != 0) ++ return result; ++ return recurse (0); ++ } ++ ]])], ++ [ac_cv_sys_xsi_stack_overflow_heuristic=yes], ++ [ac_cv_sys_xsi_stack_overflow_heuristic=no], ++ [ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling])]) ++ ++ if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then ++ AC_DEFINE([HAVE_XSI_STACK_OVERFLOW_HEURISTIC], [1], ++ [Define to 1 if extending the stack slightly past the limit causes ++ a SIGSEGV, and an alternate stack can be established with sigaltstack, ++ and the signal handler is passed a context that specifies the ++ run time stack. This behavior is defined by POSIX 1003.1-2001 ++ with the X/Open System Interface (XSI) option ++ and is a standardized way to implement a SEGV-based stack ++ overflow detection heuristic.]) ++ fi ++ fi]) ++m4trace:m4/c-stack.m4:334: -1- AC_DEFUN([gl_PREREQ_C_STACK], [AC_REQUIRE([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC]) ++ AC_REQUIRE([gl_LIBSIGSEGV]) ++ ++ # for STACK_DIRECTION ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ ++ AC_CHECK_FUNCS_ONCE([sigaltstack]) ++ AC_CHECK_DECLS([sigaltstack], , , [#include ]) ++ ++ AC_CHECK_HEADERS_ONCE([unistd.h ucontext.h]) ++ ++ AC_CHECK_TYPES([stack_t], , , [#include ]) ++ ++ dnl c-stack does not need -lsigsegv if the system has XSI heuristics. ++ if test "$gl_cv_lib_sigsegv" = yes \ ++ && test $"ac_cv_sys_xsi_stack_overflow_heuristic" != yes ; then ++ AC_SUBST([LIBCSTACK], [$LIBSIGSEGV]) ++ AC_SUBST([LTLIBCSTACK], [$LTLIBSIGSEGV]) ++ fi ++]) ++m4trace:m4/c-stack.m4:356: -1- AC_DEFUN([gl_C_STACK], [ ++ dnl Prerequisites of lib/c-stack.c. ++ gl_PREREQ_C_STACK ++]) ++m4trace:m4/canonicalize.m4:11: -1- AC_DEFUN([gl_FUNC_CANONICALIZE_FILENAME_MODE], [ ++ AC_LIBOBJ([canonicalize]) ++ ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ AC_CHECK_FUNCS_ONCE([canonicalize_file_name]) ++ AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) ++ AC_REQUIRE([gl_FUNC_REALPATH_WORKS]) ++ if test $ac_cv_func_canonicalize_file_name = no; then ++ HAVE_CANONICALIZE_FILE_NAME=0 ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ REPLACE_CANONICALIZE_FILE_NAME=1 ++ fi ++]) ++m4trace:m4/canonicalize.m4:27: -1- AC_DEFUN([gl_CANONICALIZE_LGPL], [ ++ AC_REQUIRE([gl_CANONICALIZE_LGPL_SEPARATE]) ++ if test $ac_cv_func_canonicalize_file_name = no; then ++ HAVE_CANONICALIZE_FILE_NAME=0 ++ AC_LIBOBJ([canonicalize-lgpl]) ++ if test $ac_cv_func_realpath = no; then ++ HAVE_REALPATH=0 ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ REPLACE_REALPATH=1 ++ fi ++ elif test "$gl_cv_func_realpath_works" != yes; then ++ AC_LIBOBJ([canonicalize-lgpl]) ++ REPLACE_REALPATH=1 ++ REPLACE_CANONICALIZE_FILE_NAME=1 ++ fi ++]) ++m4trace:m4/canonicalize.m4:47: -1- AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE], [ ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ AC_CHECK_FUNCS_ONCE([canonicalize_file_name getcwd readlink]) ++ AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) ++ AC_REQUIRE([gl_FUNC_REALPATH_WORKS]) ++ AC_CHECK_HEADERS_ONCE([sys/param.h]) ++]) ++m4trace:m4/canonicalize.m4:59: -1- AC_DEFUN([gl_FUNC_REALPATH_WORKS], [ ++ AC_CHECK_FUNCS_ONCE([realpath]) ++ AC_CACHE_CHECK([whether realpath works], [gl_cv_func_realpath_works], [ ++ touch conftest.a ++ AC_RUN_IFELSE([ ++ AC_LANG_PROGRAM([[ ++ #include ++ ]], [[ ++ int result = 0; ++ { ++ char *name = realpath ("conftest.a", NULL); ++ if (!(name && *name == '/')) ++ result |= 1; ++ } ++ { ++ char *name = realpath ("conftest.b/../conftest.a", NULL); ++ if (name != NULL) ++ result |= 2; ++ } ++ { ++ char *name = realpath ("conftest.a/", NULL); ++ if (name != NULL) ++ result |= 4; ++ } ++ return result; ++ ]]) ++ ], [gl_cv_func_realpath_works=yes], [gl_cv_func_realpath_works=no], ++ [gl_cv_func_realpath_works="guessing no"]) ++ ]) ++ if test "$gl_cv_func_realpath_works" = yes; then ++ AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath() ++ can malloc memory, always gives an absolute path, and handles ++ trailing slash correctly.]) ++ fi ++]) ++m4trace:m4/cloexec.m4:7: -1- AC_DEFUN([gl_CLOEXEC], [ ++ AC_LIBOBJ([cloexec]) ++]) ++m4trace:m4/close-stream.m4:7: -1- AC_DEFUN([gl_CLOSE_STREAM], [ ++ AC_LIBOBJ([close-stream]) ++ ++ dnl Prerequisites of lib/close-stream.c. ++ : ++]) ++m4trace:m4/close.m4:7: -1- AC_DEFUN([gl_FUNC_CLOSE], [ ++ m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ ++ gl_PREREQ_SYS_H_WINSOCK2 ++ if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then ++ dnl Even if the 'socket' module is not used here, another part of the ++ dnl application may use it and pass file descriptors that refer to ++ dnl sockets to the close() function. So enable the support for sockets. ++ gl_REPLACE_CLOSE ++ fi ++ ]) ++]) ++m4trace:m4/close.m4:20: -1- AC_DEFUN([gl_REPLACE_CLOSE], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ REPLACE_CLOSE=1 ++ AC_LIBOBJ([close]) ++ gl_REPLACE_FCLOSE ++]) ++m4trace:m4/closein.m4:7: -1- AC_DEFUN([gl_CLOSEIN], [ ++ AC_LIBOBJ([closein]) ++ ++ dnl Prerequisites of lib/closein.c. ++ : ++]) ++m4trace:m4/closeout.m4:8: -1- AC_DEFUN([gl_CLOSEOUT], [ ++ AC_LIBOBJ([closeout]) ++ ++ dnl Prerequisites of lib/closeout.c. ++ : ++]) ++m4trace:m4/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [ ++ AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], ++ [AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[char* cs = nl_langinfo(CODESET); return !cs;]])], ++ [am_cv_langinfo_codeset=yes], ++ [am_cv_langinfo_codeset=no]) ++ ]) ++ if test $am_cv_langinfo_codeset = yes; then ++ AC_DEFINE([HAVE_LANGINFO_CODESET], [1], ++ [Define if you have and nl_langinfo(CODESET).]) ++ fi ++]) ++m4trace:m4/config-h.m4:12: -1- AC_DEFUN([gl_CONFIG_H], [AC_CONFIG_COMMANDS_PRE([test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=])]) ++m4trace:m4/configmake.m4:12: -1- AC_DEFUN([gl_CONFIGMAKE_PREP], [ ++ dnl Technically, datadir should default to datarootdir. But if ++ dnl autoconf is too old to provide datarootdir, then reversing the ++ dnl definition is a reasonable compromise. Only AC_SUBST a variable ++ dnl if it was not already defined earlier by autoconf. ++ if test "x$datarootdir" = x; then ++ AC_SUBST([datarootdir], ['${datadir}']) ++ fi ++ dnl Copy the approach used in autoconf 2.60. ++ if test "x$docdir" = x; then ++ AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ++ ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ++ ['${datarootdir}/doc/${PACKAGE}'])]) ++ fi ++ dnl The remaining variables missing from autoconf 2.59 are easier. ++ if test "x$htmldir" = x; then ++ AC_SUBST([htmldir], ['${docdir}']) ++ fi ++ if test "x$dvidir" = x; then ++ AC_SUBST([dvidir], ['${docdir}']) ++ fi ++ if test "x$pdfdir" = x; then ++ AC_SUBST([pdfdir], ['${docdir}']) ++ fi ++ if test "x$psdir" = x; then ++ AC_SUBST([psdir], ['${docdir}']) ++ fi ++ if test "x$lispdir" = x; then ++ AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp']) ++ fi ++ if test "x$localedir" = x; then ++ AC_SUBST([localedir], ['${datarootdir}/locale']) ++ fi ++ ++ dnl Automake 1.9.6 only lacks pkglibexecdir; and since 1.11 merely ++ dnl provides it without AC_SUBST, this blind use of AC_SUBST is safe. ++ AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}']) ++]) ++m4trace:m4/dirname.m4:7: -1- AC_DEFUN([gl_DIRNAME], [ ++ AC_REQUIRE([gl_DIRNAME_LGPL]) ++ AC_LIBOBJ([basename]) ++ AC_LIBOBJ([dirname]) ++]) ++m4trace:m4/dirname.m4:14: -1- AC_DEFUN([gl_DIRNAME_LGPL], [ ++ AC_LIBOBJ([basename-lgpl]) ++ AC_LIBOBJ([dirname-lgpl]) ++ AC_LIBOBJ([stripslash]) ++ ++ dnl Prerequisites of lib/dirname.h. ++ AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) ++ ++ dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c, ++ dnl lib/stripslash.c. ++]) ++m4trace:m4/double-slash-root.m4:7: -1- AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root], ++ [ if test x"$cross_compiling" = xyes ; then ++ # When cross-compiling, there is no way to tell whether // is special ++ # short of a list of hosts. However, the only known hosts to date ++ # that have a distinct // are Apollo DomainOS (too old to port to), ++ # Cygwin, and z/OS. If anyone knows of another system for which // has ++ # special semantics and is distinct from /, please report it to ++ # . ++ case $host in ++ *-cygwin | i370-ibm-openedition) ++ gl_cv_double_slash_root=yes ;; ++ *) ++ # Be optimistic and assume that / and // are the same when we ++ # don't know. ++ gl_cv_double_slash_root='unknown, assuming no' ;; ++ esac ++ else ++ set x `ls -di / // 2>/dev/null` ++ if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then ++ gl_cv_double_slash_root=no ++ else ++ gl_cv_double_slash_root=yes ++ fi ++ fi]) ++ if test "$gl_cv_double_slash_root" = yes; then ++ AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1], ++ [Define to 1 if // is a file system root distinct from /.]) ++ fi ++]) ++m4trace:m4/dup2.m4:7: -1- AC_DEFUN([gl_FUNC_DUP2], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_FUNCS_ONCE([dup2 fcntl]) ++ if test $ac_cv_func_dup2 = no; then ++ HAVE_DUP2=0 ++ AC_LIBOBJ([dup2]) ++ else ++ AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works], ++ [AC_RUN_IFELSE([ ++ AC_LANG_PROGRAM([[#include ++#include ++#include ]], ++ [int result = 0; ++#if HAVE_FCNTL ++ if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) ++ result |= 1; ++#endif HAVE_FCNTL ++ if (dup2 (1, 1) == 0) ++ result |= 2; ++#if HAVE_FCNTL ++ if (fcntl (1, F_GETFD) != FD_CLOEXEC) ++ result |= 4; ++#endif ++ close (0); ++ if (dup2 (0, 0) != -1) ++ result |= 8; ++ /* Many gnulib modules require POSIX conformance of EBADF. */ ++ if (dup2 (2, 1000000) == -1 && errno != EBADF) ++ result |= 16; ++ return result; ++ ]) ++ ], ++ [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no], ++ [case "$host_os" in ++ mingw*) # on this platform, dup2 always returns 0 for success ++ gl_cv_func_dup2_works=no;; ++ cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 ++ gl_cv_func_dup2_works=no;; ++ linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a ++ # closed fd may yield -EBADF instead of -1 / errno=EBADF. ++ gl_cv_func_dup2_works=no;; ++ freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF. ++ gl_cv_func_dup2_works=no;; ++ haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. ++ gl_cv_func_dup2_works=no;; ++ *) gl_cv_func_dup2_works=yes;; ++ esac]) ++ ]) ++ if test "$gl_cv_func_dup2_works" = no; then ++ gl_REPLACE_DUP2 ++ fi ++ fi ++]) ++m4trace:m4/dup2.m4:63: -1- AC_DEFUN([gl_REPLACE_DUP2], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ if test $ac_cv_func_dup2 = yes; then ++ REPLACE_DUP2=1 ++ fi ++ AC_LIBOBJ([dup2]) ++]) ++m4trace:m4/eealloc.m4:7: -1- AC_DEFUN([gl_EEALLOC], [ ++ AC_REQUIRE([gl_EEMALLOC]) ++ AC_REQUIRE([gl_EEREALLOC]) ++ AC_REQUIRE([AC_C_INLINE]) ++]) ++m4trace:m4/eealloc.m4:14: -1- AC_DEFUN([gl_EEMALLOC], [ ++ _AC_FUNC_MALLOC_IF( ++ [gl_cv_func_malloc_0_nonnull=1], ++ [gl_cv_func_malloc_0_nonnull=0]) ++ AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull], ++ [If malloc(0) is != NULL, define this to 1. Otherwise define this ++ to 0.]) ++]) ++m4trace:m4/eealloc.m4:24: -1- AC_DEFUN([gl_EEREALLOC], [ ++ _AC_FUNC_REALLOC_IF( ++ [gl_cv_func_realloc_0_nonnull=1], ++ [gl_cv_func_realloc_0_nonnull=0]) ++ AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull], ++ [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this ++ to 0.]) ++]) ++m4trace:m4/environ.m4:7: -1- AC_DEFUN_ONCE([gl_ENVIRON], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ dnl Persuade glibc to declare environ. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ gt_CHECK_VAR_DECL([#include ], environ) ++ if test $gt_cv_var_environ_declaration != yes; then ++ HAVE_DECL_ENVIRON=0 ++ fi ++]) ++m4trace:m4/environ.m4:20: -1- AC_DEFUN([gt_CHECK_VAR_DECL], [ ++ define([gt_cv_var], [gt_cv_var_]$2[_declaration]) ++ AC_MSG_CHECKING([if $2 is properly declared]) ++ AC_CACHE_VAL([gt_cv_var], [ ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[$1 ++ extern struct { int foo; } $2;]], ++ [[$2.foo = 1;]])], ++ [gt_cv_var=no], ++ [gt_cv_var=yes])]) ++ AC_MSG_RESULT([$gt_cv_var]) ++ if test $gt_cv_var = yes; then ++ AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1, ++ [Define if you have the declaration of $2.]) ++ fi ++ undefine([gt_cv_var]) ++]) ++m4trace:m4/errno_h.m4:7: -1- AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ ++ AC_EGREP_CPP([booboo],[ ++#include ++#if !defined ENOMSG ++booboo ++#endif ++#if !defined EIDRM ++booboo ++#endif ++#if !defined ENOLINK ++booboo ++#endif ++#if !defined EPROTO ++booboo ++#endif ++#if !defined EMULTIHOP ++booboo ++#endif ++#if !defined EBADMSG ++booboo ++#endif ++#if !defined EOVERFLOW ++booboo ++#endif ++#if !defined ENOTSUP ++booboo ++#endif ++#if !defined ESTALE ++booboo ++#endif ++#if !defined EDQUOT ++booboo ++#endif ++#if !defined ECANCELED ++booboo ++#endif ++ ], ++ [gl_cv_header_errno_h_complete=no], ++ [gl_cv_header_errno_h_complete=yes]) ++ ]) ++ if test $gl_cv_header_errno_h_complete = yes; then ++ ERRNO_H='' ++ else ++ gl_NEXT_HEADERS([errno.h]) ++ ERRNO_H='errno.h' ++ fi ++ AC_SUBST([ERRNO_H]) ++ gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) ++ gl_REPLACE_ERRNO_VALUE([ENOLINK]) ++ gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ++]) ++m4trace:m4/errno_h.m4:68: -1- AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ ++ if test -n "$ERRNO_H"; then ++ AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ ++ AC_EGREP_CPP([yes],[ ++#include ++#ifdef ]$1[ ++yes ++#endif ++ ], ++ [gl_cv_header_errno_h_]$1[=yes], ++ [gl_cv_header_errno_h_]$1[=no]) ++ if test $gl_cv_header_errno_h_]$1[ = no; then ++ AC_EGREP_CPP([yes],[ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++#ifdef ]$1[ ++yes ++#endif ++ ], [gl_cv_header_errno_h_]$1[=hidden]) ++ if test $gl_cv_header_errno_h_]$1[ = hidden; then ++ dnl The macro exists but is hidden. ++ dnl Define it to the same value. ++ AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++ fi ++ fi ++ ]) ++ case $gl_cv_header_errno_h_$1 in ++ yes | no) ++ $1_HIDDEN=0; $1_VALUE= ++ ;; ++ *) ++ $1_HIDDEN=1; $1_VALUE="$gl_cv_header_errno_h_$1" ++ ;; ++ esac ++ AC_SUBST($1[_HIDDEN]) ++ AC_SUBST($1[_VALUE]) ++ fi ++]) ++m4trace:m4/error.m4:9: -1- AC_DEFUN([gl_ERROR], [ ++ AC_FUNC_ERROR_AT_LINE ++ dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]). ++ gl_PREREQ_ERROR ++]) ++m4trace:m4/error.m4:18: -1- AC_DEFUN([AC_FUNC_ERROR_AT_LINE], [ ++ AC_LIBSOURCES([error.h, error.c])dnl ++ AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line], ++ [AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[error_at_line (0, 0, "", 0, "an error occurred");]])], ++ [ac_cv_lib_error_at_line=yes], ++ [ac_cv_lib_error_at_line=no])]) ++ if test $ac_cv_lib_error_at_line = no; then ++ AC_LIBOBJ([error]) ++ fi ++]) ++m4trace:m4/error.m4:34: -1- AC_DEFUN([gl_PREREQ_ERROR], [ ++ AC_REQUIRE([AC_FUNC_STRERROR_R]) ++ AC_REQUIRE([AC_C_INLINE]) ++ : ++]) ++m4trace:m4/execute.m4:7: -1- AC_DEFUN([gl_EXECUTE], [ ++ dnl Prerequisites of lib/execute.c. ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([AC_TYPE_MODE_T]) ++]) ++m4trace:m4/exponentd.m4:6: -1- AC_DEFUN([gl_DOUBLE_EXPONENT_LOCATION], [ ++ AC_CACHE_CHECK([where to find the exponent in a 'double'], ++ [gl_cv_cc_double_expbit0], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { double value; unsigned int word[NWORDS]; } memory_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (double x) ++{ ++ memory_double m; ++ size_t i; ++ /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ ++ memset (&m, 0, sizeof (memory_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25); ++ add_to_ored_words (0.5); ++ add_to_ored_words (1.0); ++ add_to_ored_words (2.0); ++ add_to_ored_words (4.0); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ]])], ++ [gl_cv_cc_double_expbit0=`cat conftest.out`], ++ [gl_cv_cc_double_expbit0="unknown"], ++ [ ++ dnl On ARM, there are two 'double' floating-point formats, used by ++ dnl different sets of instructions: The older FPA instructions assume ++ dnl that they are stored in big-endian word order, while the words ++ dnl (like integer types) are stored in little-endian byte order. ++ dnl The newer VFP instructions assume little-endian order consistenly. ++ AC_EGREP_CPP([mixed_endianness], [ ++#if defined arm || defined __arm || defined __arm__ ++ mixed_endianness ++#endif ++ ], ++ [gl_cv_cc_double_expbit0="unknown"], ++ [ ++ pushdef([AC_MSG_CHECKING],[:])dnl ++ pushdef([AC_MSG_RESULT],[:])dnl ++ pushdef([AC_MSG_RESULT_UNQUOTED],[:])dnl ++ AC_C_BIGENDIAN( ++ [gl_cv_cc_double_expbit0="word 0 bit 20"], ++ [gl_cv_cc_double_expbit0="word 1 bit 20"], ++ [gl_cv_cc_double_expbit0="unknown"]) ++ popdef([AC_MSG_RESULT_UNQUOTED])dnl ++ popdef([AC_MSG_RESULT])dnl ++ popdef([AC_MSG_CHECKING])dnl ++ ]) ++ ]) ++ rm -f conftest.out ++ ]) ++ case "$gl_cv_cc_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` ++ AC_DEFINE_UNQUOTED([DBL_EXPBIT0_WORD], [$word], ++ [Define as the word index where to find the exponent of 'double'.]) ++ AC_DEFINE_UNQUOTED([DBL_EXPBIT0_BIT], [$bit], ++ [Define as the bit index in the word where to find bit 0 of the exponent of 'double'.]) ++ ;; ++ esac ++]) ++m4trace:m4/exponentf.m4:6: -1- AC_DEFUN([gl_FLOAT_EXPONENT_LOCATION], [ ++ AC_CACHE_CHECK([where to find the exponent in a 'float'], ++ [gl_cv_cc_float_expbit0], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { float value; unsigned int word[NWORDS]; } memory_float; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (float x) ++{ ++ memory_float m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (float) < sizeof (memory_float). */ ++ memset (&m, 0, sizeof (memory_float)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25f); ++ add_to_ored_words (0.5f); ++ add_to_ored_words (1.0f); ++ add_to_ored_words (2.0f); ++ add_to_ored_words (4.0f); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ]])], ++ [gl_cv_cc_float_expbit0=`cat conftest.out`], ++ [gl_cv_cc_float_expbit0="unknown"], ++ [gl_cv_cc_float_expbit0="word 0 bit 23"]) ++ rm -f conftest.out ++ ]) ++ case "$gl_cv_cc_float_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` ++ AC_DEFINE_UNQUOTED([FLT_EXPBIT0_WORD], [$word], ++ [Define as the word index where to find the exponent of 'float'.]) ++ AC_DEFINE_UNQUOTED([FLT_EXPBIT0_BIT], [$bit], ++ [Define as the bit index in the word where to find bit 0 of the exponent of 'float'.]) ++ ;; ++ esac ++]) ++m4trace:m4/exponentl.m4:6: -1- AC_DEFUN([gl_LONG_DOUBLE_EXPONENT_LOCATION], [ ++ AC_REQUIRE([gl_BIGENDIAN]) ++ AC_CACHE_CHECK([where to find the exponent in a 'long double'], ++ [gl_cv_cc_long_double_expbit0], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#include ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { long double value; unsigned int word[NWORDS]; } ++ memory_long_double; ++static unsigned int ored_words[NWORDS]; ++static unsigned int anded_words[NWORDS]; ++static void add_to_ored_words (long double x) ++{ ++ memory_long_double m; ++ size_t i; ++ /* Clear it first, in case ++ sizeof (long double) < sizeof (memory_long_double). */ ++ memset (&m, 0, sizeof (memory_long_double)); ++ m.value = x; ++ for (i = 0; i < NWORDS; i++) ++ { ++ ored_words[i] |= m.word[i]; ++ anded_words[i] &= m.word[i]; ++ } ++} ++int main () ++{ ++ size_t j; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ for (j = 0; j < NWORDS; j++) ++ anded_words[j] = ~ (unsigned int) 0; ++ add_to_ored_words (0.25L); ++ add_to_ored_words (0.5L); ++ add_to_ored_words (1.0L); ++ add_to_ored_words (2.0L); ++ add_to_ored_words (4.0L); ++ /* Remove bits that are common (e.g. if representation of the first mantissa ++ bit is explicit). */ ++ for (j = 0; j < NWORDS; j++) ++ ored_words[j] &= ~anded_words[j]; ++ /* Now find the nonzero word. */ ++ for (j = 0; j < NWORDS; j++) ++ if (ored_words[j] != 0) ++ break; ++ if (j < NWORDS) ++ { ++ size_t i; ++ for (i = j + 1; i < NWORDS; i++) ++ if (ored_words[i] != 0) ++ { ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++ } ++ for (i = 0; ; i++) ++ if ((ored_words[j] >> i) & 1) ++ { ++ fprintf (fp, "word %d bit %d", (int) j, (int) i); ++ return (fclose (fp) != 0); ++ } ++ } ++ fprintf (fp, "unknown"); ++ return (fclose (fp) != 0); ++} ++ ]])], ++ [gl_cv_cc_long_double_expbit0=`cat conftest.out`], ++ [gl_cv_cc_long_double_expbit0="unknown"], ++ [ ++ dnl When cross-compiling, we don't know. It depends on the ++ dnl ABI and compiler version. There are too many cases. ++ gl_cv_cc_long_double_expbit0="unknown" ++ ]) ++ rm -f conftest.out ++ ]) ++ case "$gl_cv_cc_long_double_expbit0" in ++ word*bit*) ++ word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` ++ AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_WORD], [$word], ++ [Define as the word index where to find the exponent of 'long double'.]) ++ AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_BIT], [$bit], ++ [Define as the bit index in the word where to find bit 0 of the exponent of 'long double'.]) ++ ;; ++ esac ++]) ++m4trace:m4/extensions.m4:37: -1- AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl ++AC_BEFORE([$0], [AC_RUN_IFELSE])dnl ++ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ ++ AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) ++ if test "$MINIX" = yes; then ++ AC_DEFINE([_POSIX_SOURCE], [1], ++ [Define to 1 if you need to in order for `stat' and other ++ things to work.]) ++ AC_DEFINE([_POSIX_1_SOURCE], [2], ++ [Define to 2 if the system does not provide POSIX.1 features ++ except with this defined.]) ++ AC_DEFINE([_MINIX], [1], ++ [Define to 1 if on MINIX.]) ++ fi ++ ++ dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, ++ dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already ++ dnl provided. ++ case "$host_os" in ++ hpux*) ++ AC_DEFINE([_XOPEN_SOURCE], [500], ++ [Define to 500 only on HP-UX.]) ++ ;; ++ esac ++ ++ AH_VERBATIM([__EXTENSIONS__], ++[/* Enable extensions on AIX 3, Interix. */ ++#ifndef _ALL_SOURCE ++# undef _ALL_SOURCE ++#endif ++/* Enable GNU extensions on systems that have them. */ ++#ifndef _GNU_SOURCE ++# undef _GNU_SOURCE ++#endif ++/* Enable threading extensions on Solaris. */ ++#ifndef _POSIX_PTHREAD_SEMANTICS ++# undef _POSIX_PTHREAD_SEMANTICS ++#endif ++/* Enable extensions on HP NonStop. */ ++#ifndef _TANDEM_SOURCE ++# undef _TANDEM_SOURCE ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# undef __EXTENSIONS__ ++#endif ++]) ++ AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], ++ [ac_cv_safe_to_define___extensions__], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[ ++# define __EXTENSIONS__ 1 ++ ]AC_INCLUDES_DEFAULT])], ++ [ac_cv_safe_to_define___extensions__=yes], ++ [ac_cv_safe_to_define___extensions__=no])]) ++ test $ac_cv_safe_to_define___extensions__ = yes && ++ AC_DEFINE([__EXTENSIONS__]) ++ AC_DEFINE([_ALL_SOURCE]) ++ AC_DEFINE([_GNU_SOURCE]) ++ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) ++ AC_DEFINE([_TANDEM_SOURCE]) ++]) ++m4trace:m4/extensions.m4:107: -1- AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [ ++ dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. ++ dnl gnulib does not need it. But if it gets required by third-party macros ++ dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a ++ dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". ++ dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, ++ dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. ++ AC_REQUIRE([AC_GNU_SOURCE]) ++ ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++]) ++m4trace:m4/fatal-signal.m4:7: -1- AC_DEFUN([gl_FATAL_SIGNAL], [ ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T]) ++ AC_CHECK_HEADERS_ONCE([unistd.h]) ++ gl_PREREQ_SIG_HANDLER_H ++]) ++m4trace:m4/fclose.m4:7: -1- AC_DEFUN([gl_FUNC_FCLOSE], [ ++]) ++m4trace:m4/fclose.m4:11: -1- AC_DEFUN([gl_REPLACE_FCLOSE], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ REPLACE_FCLOSE=1 ++ AC_LIBOBJ([fclose]) ++]) ++m4trace:m4/fcntl-o.m4:12: -1- AC_DEFUN([gl_FCNTL_O_FLAGS], [ ++ dnl Persuade glibc to define O_NOATIME and O_NOFOLLOW. ++ dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes ++ dnl AC_GNU_SOURCE. ++ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], ++ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], ++ [AC_REQUIRE([AC_GNU_SOURCE])]) ++ AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #include ++ #include ++ #include ++ #ifndef O_NOATIME ++ #define O_NOATIME 0 ++ #endif ++ #ifndef O_NOFOLLOW ++ #define O_NOFOLLOW 0 ++ #endif ++ static int const constants[] = ++ { ++ O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, ++ O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY ++ }; ++ ]], ++ [[ ++ int result = !constants; ++ { ++ static char const sym[] = "conftest.sym"; ++ if (symlink (".", sym) != 0) ++ result |= 2; ++ else ++ { ++ int fd = open (sym, O_RDONLY | O_NOFOLLOW); ++ if (fd >= 0) ++ { ++ close (fd); ++ result |= 4; ++ } ++ } ++ unlink (sym); ++ } ++ { ++ static char const file[] = "confdefs.h"; ++ int fd = open (file, O_RDONLY | O_NOATIME); ++ if (fd < 0) ++ result |= 8; ++ else ++ { ++ struct stat st0; ++ if (fstat (fd, &st0) != 0) ++ result |= 16; ++ else ++ { ++ char c; ++ sleep (1); ++ if (read (fd, &c, 1) != 1) ++ result |= 24; ++ else ++ { ++ if (close (fd) != 0) ++ result |= 32; ++ else ++ { ++ struct stat st1; ++ if (stat (file, &st1) != 0) ++ result |= 40; ++ else ++ if (st0.st_atime != st1.st_atime) ++ result |= 64; ++ } ++ } ++ } ++ } ++ } ++ return result;]])], ++ [gl_cv_header_working_fcntl_h=yes], ++ [case $? in #( ++ 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( ++ 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( ++ 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( ++ *) gl_cv_header_working_fcntl_h='no';; ++ esac], ++ [gl_cv_header_working_fcntl_h=cross-compiling])]) ++ ++ case $gl_cv_header_working_fcntl_h in #( ++ *O_NOATIME* | no | cross-compiling) ac_val=0;; #( ++ *) ac_val=1;; ++ esac ++ AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], ++ [Define to 1 if O_NOATIME works.]) ++ ++ case $gl_cv_header_working_fcntl_h in #( ++ *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( ++ *) ac_val=1;; ++ esac ++ AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], ++ [Define to 1 if O_NOFOLLOW works.]) ++]) ++m4trace:m4/fcntl.m4:16: -1- AC_DEFUN([gl_FUNC_FCNTL], [ ++ dnl Persuade glibc to expose F_DUPFD_CLOEXEC. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_FUNCS_ONCE([fcntl]) ++ if test $ac_cv_func_fcntl = no; then ++ gl_REPLACE_FCNTL ++ else ++ dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target ++ dnl haiku alpha 2 F_DUPFD has wrong errno ++ AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], ++ [gl_cv_func_fcntl_f_dupfd_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include ++#include ++]], [[int result = 0; ++ if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; ++ if (errno != EINVAL) result |= 2; ++ return result; ++ ]])], ++ [gl_cv_func_fcntl_f_dupfd_works=yes], ++ [gl_cv_func_fcntl_f_dupfd_works=no], ++ [# Guess that it works on glibc systems ++ case $host_os in #(( ++ *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";; ++ *) gl_cv_func_fcntl_f_dupfd_works="guessing no";; ++ esac])]) ++ case $gl_cv_func_fcntl_f_dupfd_works in ++ *yes) ;; ++ *) gl_REPLACE_FCNTL ++ AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD ++ behavior does not match POSIX]) ;; ++ esac ++ ++ dnl Many systems lack F_DUPFD_CLOEXEC ++ AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC], ++ [gl_cv_func_fcntl_f_dupfd_cloexec], ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ++#include ++#ifndef F_DUPFD_CLOEXEC ++choke me ++#endif ++ ]])], ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ++#ifdef __linux__ ++/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace ++ it to support the semantics on older kernels that failed with EINVAL. */ ++choke me ++#endif ++ ]])], ++ [gl_cv_func_fcntl_f_dupfd_cloexec=yes], ++ [gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"])], ++ [gl_cv_func_fcntl_f_dupfd_cloexec=no])]) ++ if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then ++ gl_REPLACE_FCNTL ++ dnl No witness macro needed for this bug. ++ fi ++ fi ++]) ++m4trace:m4/fcntl.m4:78: -1- AC_DEFUN([gl_REPLACE_FCNTL], [ ++ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([fcntl]) ++ if test $ac_cv_func_fcntl = no; then ++ HAVE_FCNTL=0 ++ else ++ REPLACE_FCNTL=1 ++ fi ++ AC_LIBOBJ([fcntl]) ++]) ++m4trace:m4/fcntl_h.m4:10: -1- AC_DEFUN([gl_FCNTL_H], [ ++ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++ AC_REQUIRE([gl_FCNTL_O_FLAGS]) ++ gl_NEXT_HEADERS([fcntl.h]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use, if it is not common ++ dnl enough to be declared everywhere. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [fcntl openat]) ++]) ++m4trace:m4/fcntl_h.m4:23: -1- AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/fcntl_h.m4:32: -1- AC_DEFUN([gl_FCNTL_H_DEFAULTS], [ ++ GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL]) ++ GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN]) ++ GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) ++ HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) ++ REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) ++ REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) ++ REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT]) ++]) ++m4trace:m4/fflush.m4:13: -1- AC_DEFUN([gl_FUNC_FFLUSH], [ ++ AC_CACHE_CHECK([whether fflush works on input streams], ++ [gl_cv_func_fflush_stdin], ++ [echo hello world > conftest.txt ++ AC_RUN_IFELSE([AC_LANG_PROGRAM( ++ [[ ++#include ++#include ++ ]], [[FILE *f = fopen ("conftest.txt", "r"); ++ char buffer[10]; ++ int fd; ++ int c; ++ if (f == NULL) ++ return 1; ++ fd = fileno (f); ++ if (fd < 0 || fread (buffer, 1, 5, f) != 5) ++ return 2; ++ /* For deterministic results, ensure f read a bigger buffer. */ ++ if (lseek (fd, 0, SEEK_CUR) == 5) ++ return 3; ++ /* POSIX requires fflush-fseek to set file offset of fd. This fails ++ on BSD systems and on mingw. */ ++ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) ++ return 4; ++ if (lseek (fd, 0, SEEK_CUR) != 5) ++ return 5; ++ /* Verify behaviour of fflush after ungetc. See ++ */ ++ /* Verify behaviour of fflush after a backup ungetc. This fails on ++ mingw. */ ++ c = fgetc (f); ++ ungetc (c, f); ++ fflush (f); ++ if (fgetc (f) != c) ++ return 6; ++ /* Verify behaviour of fflush after a non-backup ungetc. This fails ++ on glibc 2.8 and on BSD systems. */ ++ c = fgetc (f); ++ ungetc ('@', f); ++ fflush (f); ++ if (fgetc (f) != c) ++ return 7; ++ return 0; ++ ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no], ++ [gl_cv_func_fflush_stdin=cross]) ++ rm conftest.txt ++ ]) ++ case $gl_cv_func_fflush_stdin in ++ yes) gl_func_fflush_stdin=1 ;; ++ no) gl_func_fflush_stdin=0 ;; ++ *) gl_func_fflush_stdin='(-1)' ;; ++ esac ++ AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin], ++ [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, ++ 0 if fflush is known to not work, -1 if unknown.]) ++ if test $gl_cv_func_fflush_stdin != yes; then ++ gl_REPLACE_FFLUSH ++ fi ++]) ++m4trace:m4/fflush.m4:74: -1- AC_DEFUN([gl_REPLACE_FFLUSH], [ ++ AC_LIBOBJ([fflush]) ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ REPLACE_FFLUSH=1 ++ gl_PREREQ_FFLUSH ++ gl_REPLACE_FSEEKO ++]) ++m4trace:m4/fflush.m4:84: -1- AC_DEFUN([gl_PREREQ_FFLUSH], [ ++ AC_REQUIRE([AC_C_INLINE]) ++ : ++]) ++m4trace:m4/filenamecat.m4:7: -1- AC_DEFUN([gl_FILE_NAME_CONCAT], [ ++ AC_REQUIRE([gl_FILE_NAME_CONCAT_LGPL]) ++ AC_LIBOBJ([filenamecat]) ++]) ++m4trace:m4/filenamecat.m4:13: -1- AC_DEFUN([gl_FILE_NAME_CONCAT_LGPL], [ ++ AC_LIBOBJ([filenamecat-lgpl]) ++ ++ dnl Prerequisites of lib/filenamecat-lgpl.c. ++ AC_CHECK_FUNCS_ONCE([mempcpy]) ++]) ++m4trace:m4/float_h.m4:7: -1- AC_DEFUN([gl_FLOAT_H], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ FLOAT_H= ++ case "$host_os" in ++ beos* | openbsd* | mirbsd*) ++ FLOAT_H=float.h ++ gl_NEXT_HEADERS([float.h]) ++ ;; ++ esac ++ AC_SUBST([FLOAT_H]) ++]) ++m4trace:m4/fopen.m4:7: -1- AC_DEFUN([gl_FUNC_FOPEN], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ case "$host_os" in ++ mingw* | pw*) ++ dnl Replace fopen, for handling of "/dev/null". ++ REPLACE_FOPEN=1 ++ dnl fopen on mingw also has the trailing slash bug. ++ gl_cv_func_fopen_slash="guessing no" ++ ;; ++ *) ++ dnl fopen("foo/", "w") should not create a file when the file name has a ++ dnl trailing slash. ++ AC_CACHE_CHECK([whether fopen recognizes a trailing slash], ++ [gl_cv_func_fopen_slash], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++int main () ++{ ++ return fopen ("conftest.sl/", "w") != NULL; ++}]])], ++ [gl_cv_func_fopen_slash=yes], ++ [gl_cv_func_fopen_slash=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) ++ gl_cv_func_fopen_slash="guessing no" ;; ++ *) ++ gl_cv_func_fopen_slash="guessing yes" ;; ++ esac ++changequote([,])dnl ++ ]) ++ rm -f conftest.sl ++ ]) ++ ;; ++ esac ++ case "$gl_cv_func_fopen_slash" in ++ *no) ++ AC_DEFINE([FOPEN_TRAILING_SLASH_BUG], [1], ++ [Define to 1 if fopen() fails to recognize a trailing slash.]) ++ REPLACE_FOPEN=1 ++ ;; ++ esac ++ if test $REPLACE_FOPEN = 1; then ++ AC_LIBOBJ([fopen]) ++ gl_PREREQ_FOPEN ++ fi ++]) ++m4trace:m4/fopen.m4:62: -1- AC_DEFUN([gl_PREREQ_FOPEN], [ ++ AC_REQUIRE([AC_C_INLINE]) ++]) ++m4trace:m4/fpending.m4:16: -1- AC_DEFUN([gl_FUNC_FPENDING], [ ++ AC_CHECK_HEADERS_ONCE([stdio_ext.h]) ++ AC_CHECK_FUNCS_ONCE([__fpending]) ++ fp_headers=' ++# include ++# if HAVE_STDIO_EXT_H ++# include ++# endif ++' ++ AC_CHECK_DECLS([__fpending], , , $fp_headers) ++ if test $ac_cv_func___fpending = no; then ++ AC_CACHE_CHECK( ++ [how to determine the number of pending output bytes on a stream], ++ ac_cv_sys_pending_output_n_bytes, ++ [ ++ for ac_expr in \ ++ \ ++ '# glibc2' \ ++ 'fp->_IO_write_ptr - fp->_IO_write_base' \ ++ \ ++ '# traditional Unix' \ ++ 'fp->_ptr - fp->_base' \ ++ \ ++ '# BSD' \ ++ 'fp->_p - fp->_bf._base' \ ++ \ ++ '# SCO, Unixware' \ ++ '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \ ++ \ ++ '# QNX' \ ++ '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \ ++ \ ++ '# old glibc?' \ ++ 'fp->__bufp - fp->__buffer' \ ++ \ ++ '# old glibc iostream?' \ ++ 'fp->_pptr - fp->_pbase' \ ++ \ ++ '# emx+gcc' \ ++ 'fp->_ptr - fp->_buffer' \ ++ \ ++ '# VMS' \ ++ '(*fp)->_ptr - (*fp)->_base' \ ++ \ ++ '# e.g., DGUX R4.11; the info is not available' \ ++ 1 \ ++ ; do ++ ++ # Skip each embedded comment. ++ case "$ac_expr" in '#'*) continue;; esac ++ ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], ++ [[FILE *fp = stdin; (void) ($ac_expr);]])], ++ [fp_done=yes] ++ ) ++ test "$fp_done" = yes && break ++ done ++ ++ ac_cv_sys_pending_output_n_bytes=$ac_expr ++ ] ++ ) ++ AC_DEFINE_UNQUOTED([PENDING_OUTPUT_N_BYTES], ++ $ac_cv_sys_pending_output_n_bytes, ++ [the number of pending output bytes on stream `fp']) ++ AC_LIBOBJ([fpending]) ++ fi ++]) ++m4trace:m4/fpieee.m4:25: -1- AC_DEFUN([gl_FP_IEEE], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ # IEEE behaviour is the default on all CPUs except Alpha and SH ++ # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 ++ # and the GCC 4.1.2 manual). ++ case "$host_cpu" in ++ alpha*) ++ # On Alpha systems, a compiler option provides the behaviour. ++ # See the ieee(3) manual page, also available at ++ # ++ if test -n "$GCC"; then ++ # GCC has the option -mieee. ++ CPPFLAGS="$CPPFLAGS -mieee" ++ else ++ # Compaq (ex-DEC) C has the option -ieee. ++ CPPFLAGS="$CPPFLAGS -ieee" ++ fi ++ ;; ++ sh*) ++ if test -n "$GCC"; then ++ # GCC has the option -mieee. ++ CPPFLAGS="$CPPFLAGS -mieee" ++ fi ++ ;; ++ esac ++]) ++m4trace:m4/fpurge.m4:7: -1- AC_DEFUN([gl_FUNC_FPURGE], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([fpurge]) ++ AC_CHECK_FUNCS_ONCE([__fpurge]) ++ AC_CHECK_DECLS([fpurge], , , [[#include ]]) ++ if test "x$ac_cv_func_fpurge" = xyes; then ++ # Detect BSD bug. Only cygwin 1.7 is known to be immune. ++ AC_CACHE_CHECK([whether fpurge works], [gl_cv_func_fpurge_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ++]], [FILE *f = fopen ("conftest.txt", "w+"); ++ if (!f) return 1; ++ if (fputc ('a', f) != 'a') return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != EOF) return 4; ++ if (fpurge (f) != 0) return 5; ++ if (putc ('b', f) != 'b') return 6; ++ if (fclose (f) != 0) return 7; ++ if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; ++ if (fgetc (f) != 'a') return 9; ++ if (fgetc (f) != 'b') return 10; ++ if (fgetc (f) != EOF) return 11; ++ if (fclose (f) != 0) return 12; ++ if (remove ("conftest.txt") != 0) return 13; ++ return 0;])], ++ [gl_cv_func_fpurge_works=yes], [gl_cv_func_fpurge_works=no], ++ [gl_cv_func_fpurge_works='guessing no'])]) ++ if test "x$gl_cv_func_fpurge_works" != xyes; then ++ REPLACE_FPURGE=1 ++ AC_LIBOBJ([fpurge]) ++ fi ++ else ++ AC_LIBOBJ([fpurge]) ++ fi ++ if test "x$ac_cv_have_decl_fpurge" = xno; then ++ HAVE_DECL_FPURGE=0 ++ fi ++]) ++m4trace:m4/freading.m4:7: -1- AC_DEFUN([gl_FUNC_FREADING], [ ++ AC_CHECK_FUNCS_ONCE([__freading]) ++]) ++m4trace:m4/frexp.m4:7: -1- AC_DEFUN([gl_FUNC_FREXP], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM]) ++ FREXP_LIBM= ++ if test $gl_cv_func_frexp_no_libm = no; then ++ AC_CACHE_CHECK([whether frexp() can be used with libm], ++ [gl_cv_func_frexp_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ double x;]], ++ [[int e; return frexp (x, &e) > 0;]])], ++ [gl_cv_func_frexp_in_libm=yes], ++ [gl_cv_func_frexp_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++ if test $gl_cv_func_frexp_in_libm = yes; then ++ FREXP_LIBM=-lm ++ fi ++ fi ++ if test $gl_cv_func_frexp_no_libm = yes \ ++ || test $gl_cv_func_frexp_in_libm = yes; then ++ save_LIBS="$LIBS" ++ LIBS="$LIBS $FREXP_LIBM" ++ gl_FUNC_FREXP_WORKS ++ LIBS="$save_LIBS" ++ case "$gl_cv_func_frexp_works" in ++ *yes) gl_func_frexp=yes ;; ++ *) gl_func_frexp=no; REPLACE_FREXP=1; FREXP_LIBM= ;; ++ esac ++ else ++ gl_func_frexp=no ++ fi ++ if test $gl_func_frexp = yes; then ++ AC_DEFINE([HAVE_FREXP], [1], ++ [Define if the frexp() function is available and works.]) ++ else ++ AC_LIBOBJ([frexp]) ++ fi ++ AC_SUBST([FREXP_LIBM]) ++]) ++m4trace:m4/frexp.m4:53: -1- AC_DEFUN([gl_FUNC_FREXP_NO_LIBM], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM]) ++ if test $gl_cv_func_frexp_no_libm = yes; then ++ gl_FUNC_FREXP_WORKS ++ case "$gl_cv_func_frexp_works" in ++ *yes) gl_func_frexp_no_libm=yes ;; ++ *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;; ++ esac ++ else ++ gl_func_frexp_no_libm=no ++ dnl Set REPLACE_FREXP here because the system may have frexp in libm. ++ REPLACE_FREXP=1 ++ fi ++ if test $gl_func_frexp_no_libm = yes; then ++ AC_DEFINE([HAVE_FREXP_IN_LIBC], [1], ++ [Define if the frexp() function is available in libc.]) ++ else ++ AC_LIBOBJ([frexp]) ++ fi ++]) ++m4trace:m4/frexp.m4:78: -1- AC_DEFUN([gl_CHECK_FREXP_NO_LIBM], [ ++ AC_CACHE_CHECK([whether frexp() can be used without linking with libm], ++ [gl_cv_func_frexp_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ double x;]], ++ [[int e; return frexp (x, &e) > 0;]])], ++ [gl_cv_func_frexp_no_libm=yes], ++ [gl_cv_func_frexp_no_libm=no]) ++ ]) ++]) ++m4trace:m4/frexp.m4:96: -1- AC_DEFUN([gl_FUNC_FREXP_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether frexp works], [gl_cv_func_frexp_works], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ ICC 10.0 has a bug when optimizing the expression -zero. ++ The expression -DBL_MIN * DBL_MIN does not work when cross-compiling ++ to PowerPC on MacOS X 10.5. */ ++#if defined __hpux || defined __sgi || defined __ICC ++static double ++compute_minus_zero (void) ++{ ++ return -DBL_MIN * DBL_MIN; ++} ++# define minus_zero compute_minus_zero () ++#else ++double minus_zero = -0.0; ++#endif ++int main() ++{ ++ int result = 0; ++ int i; ++ volatile double x; ++ double zero = 0.0; ++ /* Test on denormalized numbers. */ ++ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ++ ; ++ if (x > 0.0) ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. ++ On NetBSD: y = 0.75. Correct: y = 0.5. */ ++ if (y != 0.5) ++ result |= 1; ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0 / 0.0; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (y != x) ++ result |= 2; ++ } ++ /* Test on negative zero. */ ++ x = minus_zero; ++ { ++ int exp; ++ double y = frexp (x, &exp); ++ if (memcmp (&y, &x, sizeof x)) ++ result |= 4; ++ } ++ return result; ++}]])], ++ [gl_cv_func_frexp_works=yes], ++ [gl_cv_func_frexp_works=no], ++ [case "$host_os" in ++ netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";; ++ *) gl_cv_func_frexp_works="guessing yes";; ++ esac ++ ]) ++ ]) ++]) ++m4trace:m4/frexpl.m4:7: -1- AC_DEFUN([gl_FUNC_FREXPL], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ dnl Check whether it's declared. ++ dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in . ++ AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include ]) ++ FREXPL_LIBM= ++ if test $HAVE_DECL_FREXPL = 1; then ++ gl_CHECK_FREXPL_NO_LIBM ++ if test $gl_cv_func_frexpl_no_libm = no; then ++ AC_CACHE_CHECK([whether frexpl() can be used with libm], ++ [gl_cv_func_frexpl_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ long double x;]], ++ [[int e; return frexpl (x, &e) > 0;]])], ++ [gl_cv_func_frexpl_in_libm=yes], ++ [gl_cv_func_frexpl_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++ if test $gl_cv_func_frexpl_in_libm = yes; then ++ FREXPL_LIBM=-lm ++ fi ++ fi ++ if test $gl_cv_func_frexpl_no_libm = yes \ ++ || test $gl_cv_func_frexpl_in_libm = yes; then ++ save_LIBS="$LIBS" ++ LIBS="$LIBS $FREXPL_LIBM" ++ gl_FUNC_FREXPL_WORKS ++ LIBS="$save_LIBS" ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl=yes ;; ++ *) gl_func_frexpl=no; REPLACE_FREXPL=1; FREXPL_LIBM= ;; ++ esac ++ else ++ gl_func_frexpl=no ++ fi ++ if test $gl_func_frexpl = yes; then ++ AC_DEFINE([HAVE_FREXPL], [1], ++ [Define if the frexpl() function is available.]) ++ fi ++ fi ++ if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then ++ AC_LIBOBJ([frexpl]) ++ fi ++ AC_SUBST([FREXPL_LIBM]) ++]) ++m4trace:m4/frexpl.m4:59: -1- AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ dnl Check whether it's declared. ++ dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in . ++ AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include ]) ++ if test $HAVE_DECL_FREXPL = 1; then ++ gl_CHECK_FREXPL_NO_LIBM ++ if test $gl_cv_func_frexpl_no_libm = yes; then ++ gl_FUNC_FREXPL_WORKS ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl_no_libm=yes ;; ++ *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; ++ esac ++ else ++ gl_func_frexpl_no_libm=no ++ dnl Set REPLACE_FREXPL here because the system may have frexpl in libm. ++ REPLACE_FREXPL=1 ++ fi ++ if test $gl_func_frexpl_no_libm = yes; then ++ AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1], ++ [Define if the frexpl() function is available in libc.]) ++ fi ++ fi ++ if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then ++ AC_LIBOBJ([frexpl]) ++ fi ++]) ++m4trace:m4/frexpl.m4:90: -1- AC_DEFUN([gl_CHECK_FREXPL_NO_LIBM], [ ++ AC_CACHE_CHECK([whether frexpl() can be used without linking with libm], ++ [gl_cv_func_frexpl_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ long double x;]], ++ [[int e; return frexpl (x, &e) > 0;]])], ++ [gl_cv_func_frexpl_no_libm=yes], ++ [gl_cv_func_frexpl_no_libm=no]) ++ ]) ++]) ++m4trace:m4/frexpl.m4:109: -1- AC_DEFUN([gl_FUNC_FREXPL_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Override the values of , like done in float.in.h. */ ++#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) ++# undef LDBL_MIN_EXP ++# define LDBL_MIN_EXP (-16381) ++#endif ++extern long double frexpl (long double, int *); ++int main() ++{ ++ int result = 0; ++ volatile long double x; ++ /* Test on finite numbers that fails on AIX 5.1. */ ++ x = 16.0L; ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != 5) ++ result |= 1; ++ } ++ /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl ++ function returns an invalid (incorrectly normalized) value: it returns ++ y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } ++ but the correct result is ++ 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ ++ x = 1.01L; ++ { ++ int exp = -9999; ++ long double y = frexpl (x, &exp); ++ if (!(exp == 1 && y == 0.505L)) ++ result |= 2; ++ } ++ /* Test on large finite numbers. This fails on BeOS at i = 16322, while ++ LDBL_MAX_EXP = 16384. ++ In the loop end test, we test x against Infinity, rather than comparing ++ i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) ++ { ++ int exp = -9999; ++ frexpl (x, &exp); ++ if (exp != i) ++ { ++ result |= 4; ++ break; ++ } ++ } ++ } ++ /* Test on denormalized numbers. */ ++ { ++ int i; ++ for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ++ ; ++ if (x > 0.0L) ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, ++ exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */ ++ if (exp != LDBL_MIN_EXP - 1) ++ result |= 8; ++ } ++ } ++ /* Test on infinite numbers. */ ++ x = 1.0L / 0.0L; ++ { ++ int exp; ++ long double y = frexpl (x, &exp); ++ if (y != x) ++ result |= 16; ++ } ++ return result; ++}]])], ++ [gl_cv_func_frexpl_works=yes], ++ [gl_cv_func_frexpl_works=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*) ++ gl_cv_func_frexpl_works="guessing no";; ++ *) gl_cv_func_frexpl_works="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/fseeko.m4:7: -1- AC_DEFUN([gl_FUNC_FSEEKO], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([gl_HAVE_FSEEKO]) ++ AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) ++ ++ AC_CHECK_DECLS_ONCE([fseeko]) ++ if test $ac_cv_have_decl_fseeko = no; then ++ HAVE_DECL_FSEEKO=0 ++ fi ++ ++ if test $gl_cv_func_fseeko = no; then ++ HAVE_FSEEKO=0 ++ gl_REPLACE_FSEEKO ++ else ++ if test $gl_cv_var_stdin_large_offset = no; then ++ gl_REPLACE_FSEEKO ++ fi ++ fi ++]) ++m4trace:m4/fseeko.m4:30: -1- AC_DEFUN([gl_HAVE_FSEEKO], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ ++ dnl Persuade glibc to declare fseeko(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], ++ [ ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ++]], [fseeko (stdin, 0, 0);])], ++ [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no]) ++ ]) ++]) ++m4trace:m4/fseeko.m4:45: -1- AC_DEFUN([gl_REPLACE_FSEEKO], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([gl_HAVE_FSEEKO]) ++ if test $gl_cv_func_fseeko = yes; then ++ REPLACE_FSEEKO=1 ++ fi ++ AC_LIBOBJ([fseeko]) ++ dnl If we are also using the fseek module, then fseek needs replacing, too. ++ m4_ifdef([gl_REPLACE_FSEEK], [gl_REPLACE_FSEEK]) ++]) ++m4trace:m4/fseeko.m4:59: -1- AC_DEFUN([gl_STDIN_LARGE_OFFSET], [ ++ AC_CACHE_CHECK([whether stdin defaults to large file offsets], ++ [gl_cv_var_stdin_large_offset], ++ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], ++[[#if defined __SL64 && defined __SCLE /* cygwin */ ++ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making ++ fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and ++ it is easier to do a version check than building a runtime test. */ ++# include ++# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) ++ choke me ++# endif ++#endif]])], ++ [gl_cv_var_stdin_large_offset=yes], ++ [gl_cv_var_stdin_large_offset=no])]) ++]) ++m4trace:m4/ftell.m4:7: -1- AC_DEFUN([gl_FUNC_FTELL], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([gl_FUNC_FTELLO]) ++ dnl When ftello needs fixes, ftell needs them too. ++ if test $REPLACE_FTELLO != 0; then ++ AC_LIBOBJ([ftell]) ++ REPLACE_FTELL=1 ++ fi ++]) ++m4trace:m4/ftello.m4:7: -1- AC_DEFUN([gl_FUNC_FTELLO], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) ++ ++ dnl Persuade glibc to declare ftello(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CHECK_DECLS_ONCE([ftello]) ++ if test $ac_cv_have_decl_ftello = no; then ++ HAVE_DECL_FTELLO=0 ++ fi ++ ++ AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[ftello (stdin);]])], ++ [gl_cv_func_ftello=yes], ++ [gl_cv_func_ftello=no]) ++ ]) ++ if test $gl_cv_func_ftello = no; then ++ HAVE_FTELLO=0 ++ else ++ if test $gl_cv_var_stdin_large_offset = no; then ++ REPLACE_FTELLO=1 ++ else ++ dnl Detect bug on Solaris. ++ dnl ftell and ftello produce incorrect results after putc that followed a ++ dnl getc call that reached EOF on Solaris. This is because the _IOREAD ++ dnl flag does not get cleared in this case, even though _IOWRT gets set, ++ dnl and ftell and ftello look whether the _IOREAD flag is set. ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CACHE_CHECK([whether ftello works], ++ [gl_cv_func_ftello_works], ++ [ ++ dnl Initial guess, used when cross-compiling or when /dev/tty cannot ++ dnl be opened. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Solaris. ++ solaris*) gl_cv_func_ftello_works="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_ftello_works="guessing yes" ;; ++ esac ++changequote([,])dnl ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#define TESTFILE "conftest.tmp" ++int ++main (void) ++{ ++ FILE *fp; ++ ++ /* Create a file with some contents. */ ++ fp = fopen (TESTFILE, "w"); ++ if (fp == NULL) ++ return 70; ++ if (fwrite ("foogarsh", 1, 8, fp) < 8) ++ return 71; ++ if (fclose (fp)) ++ return 72; ++ ++ /* The file's contents is now "foogarsh". */ ++ ++ /* Try writing after reading to EOF. */ ++ fp = fopen (TESTFILE, "r+"); ++ if (fp == NULL) ++ return 73; ++ if (fseek (fp, -1, SEEK_END)) ++ return 74; ++ if (!(getc (fp) == 'h')) ++ return 1; ++ if (!(getc (fp) == EOF)) ++ return 2; ++ if (!(ftell (fp) == 8)) ++ return 3; ++ if (!(ftell (fp) == 8)) ++ return 4; ++ if (!(putc ('!', fp) == '!')) ++ return 5; ++ if (!(ftell (fp) == 9)) ++ return 6; ++ if (!(fclose (fp) == 0)) ++ return 7; ++ fp = fopen (TESTFILE, "r"); ++ if (fp == NULL) ++ return 75; ++ { ++ char buf[10]; ++ if (!(fread (buf, 1, 10, fp) == 9)) ++ return 10; ++ if (!(memcmp (buf, "foogarsh!", 9) == 0)) ++ return 11; ++ } ++ if (!(fclose (fp) == 0)) ++ return 12; ++ ++ /* The file's contents is now "foogarsh!". */ ++ ++ return 0; ++}]])], ++ [gl_cv_func_ftello_works=yes], ++ [gl_cv_func_ftello_works=no], [:]) ++ ]) ++ case "$gl_cv_func_ftello_works" in ++ *yes) ;; ++ *) ++ REPLACE_FTELLO=1 ++ AC_DEFINE([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [1], ++ [Define to 1 if the system's ftello function has the Solaris bug.]) ++ ;; ++ esac ++ fi ++ fi ++ if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then ++ gl_REPLACE_FTELLO ++ fi ++]) ++m4trace:m4/ftello.m4:132: -1- AC_DEFUN([gl_REPLACE_FTELLO], [ ++ AC_LIBOBJ([ftello]) ++]) ++m4trace:m4/getdtablesize.m4:7: -1- AC_DEFUN([gl_FUNC_GETDTABLESIZE], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([getdtablesize]) ++ if test $ac_cv_func_getdtablesize != yes; then ++ HAVE_GETDTABLESIZE=0 ++ AC_LIBOBJ([getdtablesize]) ++ fi ++]) ++m4trace:m4/getopt.m4:8: -1- AC_DEFUN([gl_FUNC_GETOPT_POSIX], [ ++ m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX]) ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ gl_GETOPT_IFELSE([ ++ gl_REPLACE_GETOPT ++ ], ++ []) ++]) ++m4trace:m4/getopt.m4:21: -1- AC_DEFUN([gl_FUNC_GETOPT_GNU], [ ++ m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU]) ++ ++ AC_REQUIRE([gl_FUNC_GETOPT_POSIX]) ++]) ++m4trace:m4/getopt.m4:30: -1- AC_DEFUN([gl_REPLACE_GETOPT], [ ++ dnl Arrange for getopt.h to be created. ++ gl_GETOPT_SUBSTITUTE_HEADER ++ dnl Arrange for unistd.h to include getopt.h. ++ GNULIB_UNISTD_H_GETOPT=1 ++ dnl Arrange to compile the getopt implementation. ++ AC_LIBOBJ([getopt]) ++ AC_LIBOBJ([getopt1]) ++ gl_PREREQ_GETOPT ++]) ++m4trace:m4/getopt.m4:43: -1- AC_DEFUN([gl_GETOPT_IFELSE], [ ++ AC_REQUIRE([gl_GETOPT_CHECK_HEADERS]) ++ AS_IF([test -n "$gl_replace_getopt"], [$1], [$2]) ++]) ++m4trace:m4/getopt.m4:50: -1- AC_DEFUN([gl_GETOPT_CHECK_HEADERS], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON ++ ++ dnl Persuade Solaris to declare optarg, optind, opterr, optopt. ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ gl_CHECK_NEXT_HEADERS([getopt.h]) ++ if test $ac_cv_header_getopt_h = yes; then ++ HAVE_GETOPT_H=1 ++ else ++ HAVE_GETOPT_H=0 ++ fi ++ AC_SUBST([HAVE_GETOPT_H]) ++ ++ gl_replace_getopt= ++ ++ dnl Test whether is available. ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes]) ++ fi ++ ++ dnl Test whether the function getopt_long is available. ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes]) ++ fi ++ ++ dnl mingw's getopt (in libmingwex.a) does weird things when the options ++ dnl strings starts with '+' and it's not the first call. Some internal state ++ dnl is left over from earlier calls, and neither setting optind = 0 nor ++ dnl setting optreset = 1 get rid of this internal state. ++ dnl POSIX is silent on optind vs. optreset, so we allow either behavior. ++ dnl POSIX 2008 does not specify leading '+' behavior, but see ++ dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on ++ dnl the next version of POSIX. For now, we only guarantee leading '+' ++ dnl behavior with getopt-gnu. ++ if test -z "$gl_replace_getopt"; then ++ AC_CACHE_CHECK([whether getopt is POSIX compatible], ++ [gl_cv_func_getopt_posix], ++ [ ++ dnl BSD getopt_long uses an incompatible method to reset ++ dnl option processing. Existence of the variable, in and of ++ dnl itself, is not a reason to replace getopt, but knowledge ++ dnl of the variable is needed to determine how to reset and ++ dnl whether a reset reparses the environment. Solaris ++ dnl supports neither optreset nor optind=0, but keeps no state ++ dnl that needs a reset beyond setting optind=1; detect Solaris ++ dnl by getopt_clip. ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[int *p = &optreset; return optreset;]])], ++ [gl_optind_min=1], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[return !getopt_clip;]])], ++ [gl_optind_min=1], ++ [gl_optind_min=0])]) ++ ++ dnl This test fails on mingw and succeeds on many other platforms. ++ gl_save_CPPFLAGS=$CPPFLAGS ++ CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" ++ AC_RUN_IFELSE([AC_LANG_SOURCE([[ ++#include ++#include ++#include ++ ++int ++main () ++{ ++ { ++ int argc = 0; ++ char *argv[10]; ++ int c; ++ ++ argv[argc++] = "program"; ++ argv[argc++] = "-a"; ++ argv[argc++] = "foo"; ++ argv[argc++] = "bar"; ++ argv[argc] = NULL; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ ++ c = getopt (argc, argv, "ab"); ++ if (!(c == 'a')) ++ return 1; ++ c = getopt (argc, argv, "ab"); ++ if (!(c == -1)) ++ return 2; ++ if (!(optind == 2)) ++ return 3; ++ } ++ /* Some internal state exists at this point. */ ++ { ++ int argc = 0; ++ char *argv[10]; ++ int c; ++ ++ argv[argc++] = "program"; ++ argv[argc++] = "donald"; ++ argv[argc++] = "-p"; ++ argv[argc++] = "billy"; ++ argv[argc++] = "duck"; ++ argv[argc++] = "-a"; ++ argv[argc++] = "bar"; ++ argv[argc] = NULL; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ ++ c = getopt (argc, argv, "+abp:q:"); ++ if (!(c == -1)) ++ return 4; ++ if (!(strcmp (argv[0], "program") == 0)) ++ return 5; ++ if (!(strcmp (argv[1], "donald") == 0)) ++ return 6; ++ if (!(strcmp (argv[2], "-p") == 0)) ++ return 7; ++ if (!(strcmp (argv[3], "billy") == 0)) ++ return 8; ++ if (!(strcmp (argv[4], "duck") == 0)) ++ return 9; ++ if (!(strcmp (argv[5], "-a") == 0)) ++ return 10; ++ if (!(strcmp (argv[6], "bar") == 0)) ++ return 11; ++ if (!(optind == 1)) ++ return 12; ++ } ++ /* Detect MacOS 10.5, AIX 7.1 bug. */ ++ { ++ char *argv[3] = { "program", "-ab", NULL }; ++ optind = OPTIND_MIN; ++ opterr = 0; ++ if (getopt (2, argv, "ab:") != 'a') ++ return 13; ++ if (getopt (2, argv, "ab:") != '?') ++ return 14; ++ if (optopt != 'b') ++ return 15; ++ if (optind != 2) ++ return 16; ++ } ++ ++ return 0; ++} ++]])], ++ [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no], ++ [case "$host_os" in ++ mingw*) gl_cv_func_getopt_posix="guessing no";; ++ darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; ++ *) gl_cv_func_getopt_posix="guessing yes";; ++ esac ++ ]) ++ CPPFLAGS=$gl_save_CPPFLAGS ++ ]) ++ case "$gl_cv_func_getopt_posix" in ++ *no) gl_replace_getopt=yes ;; ++ esac ++ fi ++ ++ if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then ++ AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu], ++ [# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the ++ # optstring is necessary for programs like m4 that have POSIX-mandated ++ # semantics for supporting options interspersed with files. ++ # Also, since getopt_long is a GNU extension, we require optind=0. ++ # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; ++ # so take care to revert to the correct (non-)export state. ++dnl GNU Coding Standards currently allow awk but not env; besides, env ++dnl is ambiguous with environment values that contain newlines. ++ gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' ++ case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" ++ #include ++ #include ++ ]], [[ ++ int result = 0; ++ /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, ++ and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, ++ OSF/1 5.1, Solaris 10. */ ++ { ++ char *myargv[3]; ++ myargv[0] = "conftest"; ++ myargv[1] = "-+"; ++ myargv[2] = 0; ++ opterr = 0; ++ if (getopt (2, myargv, "+a") != '?') ++ result |= 1; ++ } ++ /* This code succeeds on glibc 2.8, mingw, ++ and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, ++ IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ ++ { ++ char *argv[] = { "program", "-p", "foo", "bar", NULL }; ++ ++ optind = 1; ++ if (getopt (4, argv, "p::") != 'p') ++ result |= 2; ++ else if (optarg != NULL) ++ result |= 4; ++ else if (getopt (4, argv, "p::") != -1) ++ result |= 6; ++ else if (optind != 2) ++ result |= 8; ++ } ++ /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ ++ { ++ char *argv[] = { "program", "foo", "-p", NULL }; ++ optind = 0; ++ if (getopt (3, argv, "-p") != 1) ++ result |= 16; ++ else if (getopt (3, argv, "-p") != 'p') ++ result |= 32; ++ } ++ /* This code fails on glibc 2.11. */ ++ { ++ char *argv[] = { "program", "-b", "-a", NULL }; ++ optind = opterr = 0; ++ if (getopt (3, argv, "+:a:b") != 'b') ++ result |= 64; ++ else if (getopt (3, argv, "+:a:b") != ':') ++ result |= 64; ++ } ++ return result; ++ ]])], ++ [gl_cv_func_getopt_gnu=yes], ++ [gl_cv_func_getopt_gnu=no], ++ [dnl Cross compiling. Guess based on host and declarations. ++ case $host_os:$ac_cv_have_decl_optreset in ++ *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;; ++ *:yes) gl_cv_func_getopt_gnu=no;; ++ *) gl_cv_func_getopt_gnu=yes;; ++ esac ++ ]) ++ case $gl_had_POSIXLY_CORRECT in ++ exported) ;; ++ yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;; ++ *) AS_UNSET([POSIXLY_CORRECT]) ;; ++ esac ++ ]) ++ if test "$gl_cv_func_getopt_gnu" = "no"; then ++ gl_replace_getopt=yes ++ fi ++ fi ++]) ++m4trace:m4/getopt.m4:307: -1- AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER], [ ++ GETOPT_H=getopt.h ++ AC_DEFINE([__GETOPT_PREFIX], [[rpl_]], ++ [Define to rpl_ if the getopt replacement functions and variables ++ should be used.]) ++ AC_SUBST([GETOPT_H]) ++]) ++m4trace:m4/getopt.m4:318: -1- AC_DEFUN([gl_PREREQ_GETOPT], [ ++ AC_CHECK_DECLS_ONCE([getenv]) ++]) ++m4trace:m4/getpagesize.m4:8: -1- AC_DEFUN([gl_FUNC_GETPAGESIZE], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_FUNCS([getpagesize]) ++ if test $ac_cv_func_getpagesize = no; then ++ HAVE_GETPAGESIZE=0 ++ AC_CHECK_HEADERS([OS.h]) ++ if test $ac_cv_header_OS_h = yes; then ++ HAVE_OS_H=1 ++ fi ++ AC_CHECK_HEADERS([sys/param.h]) ++ if test $ac_cv_header_sys_param_h = yes; then ++ HAVE_SYS_PARAM_H=1 ++ fi ++ fi ++ case "$host_os" in ++ mingw*) ++ REPLACE_GETPAGESIZE=1 ++ AC_LIBOBJ([getpagesize]) ++ ;; ++ esac ++ dnl Also check whether it's declared. ++ dnl mingw has getpagesize() in libgcc.a but doesn't declare it. ++ AC_CHECK_DECL([getpagesize], , [HAVE_DECL_GETPAGESIZE=0]) ++]) ++m4trace:m4/gettimeofday.m4:10: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H]) ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([gettimeofday]) ++ ++ gl_gettimeofday_timezone=void ++ if test $ac_cv_func_gettimeofday != yes; then ++ HAVE_GETTIMEOFDAY=0 ++ AC_LIBOBJ([gettimeofday]) ++ gl_PREREQ_GETTIMEOFDAY ++ else ++ gl_FUNC_GETTIMEOFDAY_CLOBBER ++ AC_CACHE_CHECK([for gettimeofday with POSIX signature], ++ [gl_cv_func_gettimeofday_posix_signature], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ struct timeval c; ++ int gettimeofday (struct timeval *restrict, void *restrict); ++ ]], ++ [[/* glibc uses struct timezone * rather than the POSIX void * ++ if _GNU_SOURCE is defined. However, since the only portable ++ use of gettimeofday uses NULL as the second parameter, and ++ since the glibc definition is actually more typesafe, it is ++ not worth wrapping this to get a compliant signature. */ ++ int (*f) (struct timeval *restrict, void *restrict) ++ = gettimeofday; ++ int x = f (&c, 0); ++ return !(x | c.tv_sec | c.tv_usec); ++ ]])], ++ [gl_cv_func_gettimeofday_posix_signature=yes], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++int gettimeofday (struct timeval *restrict, struct timezone *restrict); ++ ]])], ++ [gl_cv_func_gettimeofday_posix_signature=almost], ++ [gl_cv_func_gettimeofday_posix_signature=no])])]) ++ if test $gl_cv_func_gettimeofday_posix_signature = almost; then ++ gl_gettimeofday_timezone='struct timezone' ++ elif test $gl_cv_func_gettimeofday_posix_signature != yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ AC_LIBOBJ([gettimeofday]) ++ gl_PREREQ_GETTIMEOFDAY ++ fi ++ fi ++ AC_DEFINE_UNQUOTED([GETTIMEOFDAY_TIMEZONE], [$gl_gettimeofday_timezone], ++ [Define this to 'void' or 'struct timezone' to match the system's ++ declaration of the second argument to gettimeofday.]) ++]) ++m4trace:m4/gettimeofday.m4:71: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER], [ ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H]) ++ ++ AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer], ++ [gl_cv_func_gettimeofday_clobber], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #include ++ #include ++ #include ++ ]], ++ [[ ++ time_t t = 0; ++ struct tm *lt; ++ struct tm saved_lt; ++ struct timeval tv; ++ lt = localtime (&t); ++ saved_lt = *lt; ++ gettimeofday (&tv, NULL); ++ return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ++ ]])], ++ [gl_cv_func_gettimeofday_clobber=no], ++ [gl_cv_func_gettimeofday_clobber=yes], ++ dnl When crosscompiling, assume it is broken. ++ [gl_cv_func_gettimeofday_clobber=yes])]) ++ ++ if test $gl_cv_func_gettimeofday_clobber = yes; then ++ REPLACE_GETTIMEOFDAY=1 ++ gl_GETTIMEOFDAY_REPLACE_LOCALTIME ++ AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1], ++ [Define if gettimeofday clobbers the localtime buffer.]) ++ fi ++]) ++m4trace:m4/gettimeofday.m4:107: -1- AC_DEFUN([gl_GETTIMEOFDAY_REPLACE_LOCALTIME], [ ++ AC_LIBOBJ([gettimeofday]) ++ gl_PREREQ_GETTIMEOFDAY ++ AC_DEFINE([gmtime], [rpl_gmtime], ++ [Define to rpl_gmtime if the replacement function should be used.]) ++ AC_DEFINE([localtime], [rpl_localtime], ++ [Define to rpl_localtime if the replacement function should be used.]) ++]) ++m4trace:m4/gettimeofday.m4:117: -1- AC_DEFUN([gl_PREREQ_GETTIMEOFDAY], [ ++ AC_CHECK_HEADERS([sys/timeb.h]) ++ AC_CHECK_FUNCS([_ftime]) ++]) ++m4trace:m4/gl_list.m4:7: -1- AC_DEFUN([gl_LIST], [ ++ AC_REQUIRE([gl_INLINE]) ++]) ++m4trace:m4/glibc21.m4:11: -1- AC_DEFUN([gl_GLIBC21], [ ++ AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc], ++ [ac_cv_gnu_library_2_1], ++ [AC_EGREP_CPP([Lucky], ++ [ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) ++ Lucky GNU user ++ #endif ++#endif ++#ifdef __UCLIBC__ ++ Lucky user ++#endif ++ ], ++ [ac_cv_gnu_library_2_1=yes], ++ [ac_cv_gnu_library_2_1=no]) ++ ] ++ ) ++ AC_SUBST([GLIBC21]) ++ GLIBC21="$ac_cv_gnu_library_2_1" ++ ++]) ++m4trace:m4/gnulib-common.m4:9: -1- AC_DEFUN([gl_COMMON], [ ++ dnl Use AC_REQUIRE here, so that the code is expanded once only. ++ AC_REQUIRE([gl_00GNULIB]) ++ AC_REQUIRE([gl_COMMON_BODY]) ++]) ++m4trace:m4/gnulib-common.m4:14: -1- AC_DEFUN([gl_COMMON_BODY], [ ++ AH_VERBATIM([isoc99_inline], ++[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports ++ the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of ++ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. ++ __APPLE__ && __MACH__ test for MacOS X. ++ __APPLE_CC__ tests for the Apple compiler and its version. ++ __STDC_VERSION__ tests for the C99 mode. */ ++#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ ++# define __GNUC_STDC_INLINE__ 1 ++#endif]) ++ AH_VERBATIM([unused_parameter], ++[/* Define as a marker that can be attached to declarations that might not ++ be used. This helps to reduce warnings, such as from ++ GCC -Wunused-parameter. */ ++#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) ++# define _GL_UNUSED __attribute__ ((__unused__)) ++#else ++# define _GL_UNUSED ++#endif ++/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name ++ is a misnomer outside of parameter lists. */ ++#define _UNUSED_PARAMETER_ _GL_UNUSED ++]) ++ dnl Preparation for running test programs: ++ dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not ++ dnl to /dev/tty, so they can be redirected to log files. Such diagnostics ++ dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. ++ LIBC_FATAL_STDERR_=1 ++ export LIBC_FATAL_STDERR_ ++]) ++m4trace:m4/gnulib-common.m4:50: -1- AC_DEFUN([gl_MODULE_INDICATOR_CONDITION], [1]) ++m4trace:m4/gnulib-common.m4:55: -1- AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [ ++ GNULIB_[]m4_translit([[$1]], ++ [abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=gl_MODULE_INDICATOR_CONDITION ++]) ++m4trace:m4/gnulib-common.m4:74: -1- AC_DEFUN([gl_MODULE_INDICATOR], [ ++ AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]], ++ [abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), ++ [gl_MODULE_INDICATOR_CONDITION], ++ [Define to a C preprocessor expression that evaluates to 1 or 0, ++ depending whether the gnulib module $1 shall be considered present.]) ++]) ++m4trace:m4/gnulib-common.m4:97: -1- AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [ ++ AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]], ++ [abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], ++ [Define to 1 when the gnulib module $1 should be tested.]) ++]) ++m4trace:m4/gnulib-common.m4:109: -1- AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], [ ++ dnl Override gl_WARN_ON_USE_PREPARE. ++ AC_DEFUN([gl_WARN_ON_USE_PREPARE], []) ++]) ++m4trace:m4/gnulib-common.m4:119: -1- AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], [ ++ dnl Override gl_MODULE_INDICATOR_FOR_TESTS. ++ AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], []) ++]) ++m4trace:m4/gnulib-common.m4:127: -1- AC_DEFUN([gl_FEATURES_H], [ ++ AC_CHECK_HEADERS_ONCE([features.h]) ++ if test $ac_cv_header_features_h = yes; then ++ HAVE_FEATURES_H=1 ++ else ++ HAVE_FEATURES_H=0 ++ fi ++ AC_SUBST([HAVE_FEATURES_H]) ++]) ++m4trace:m4/gnulib-common.m4:218: -1- AC_DEFUN([gl_BIGENDIAN], [ ++ AC_C_BIGENDIAN ++]) ++m4trace:m4/gnulib-common.m4:228: -1- AC_DEFUN([gl_CACHE_VAL_SILENT], [ ++ saved_as_echo_n="$as_echo_n" ++ as_echo_n=':' ++ AC_CACHE_VAL([$1], [$2]) ++ as_echo_n="$saved_as_echo_n" ++]) ++m4trace:m4/gnulib-comp.m4:22: -1- AC_DEFUN([M4_EARLY], [ ++ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace ++ m4_pattern_allow([^gl_ES$])dnl a valid locale name ++ m4_pattern_allow([^gl_LIBOBJS$])dnl a variable ++ m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable ++ AC_REQUIRE([AC_PROG_RANLIB]) ++ AC_REQUIRE([AM_PROG_CC_C_O]) ++ # Code from module alloca-opt: ++ # Code from module alloca-opt-tests: ++ # Code from module announce-gen: ++ # Code from module ansi-c++-opt: ++ # Code from module arg-nonnull: ++ # Code from module array-list: ++ # Code from module array-list-tests: ++ # Code from module array-oset: ++ # Code from module array-oset-tests: ++ # Code from module assert: ++ # Code from module autobuild: ++ AB_INIT ++ # Code from module avltree-oset: ++ # Code from module avltree-oset-tests: ++ # Code from module binary-io: ++ # Code from module binary-io-tests: ++ # Code from module btowc: ++ # Code from module btowc-tests: ++ # Code from module c++defs: ++ # Code from module c-ctype: ++ # Code from module c-ctype-tests: ++ # Code from module c-stack: ++ # Code from module c-stack-tests: ++ # Code from module c-strcase: ++ # Code from module c-strcase-tests: ++ # Code from module canonicalize-lgpl: ++ # Code from module canonicalize-lgpl-tests: ++ # Code from module clean-temp: ++ # Code from module cloexec: ++ # Code from module cloexec-tests: ++ # Code from module close: ++ # Code from module close-hook: ++ # Code from module close-stream: ++ # Code from module closein: ++ # Code from module closein-tests: ++ # Code from module closeout: ++ # Code from module config-h: ++ # Code from module configmake: ++ # Code from module dirname: ++ # Code from module dirname-lgpl: ++ # Code from module dirname-tests: ++ # Code from module dosname: ++ # Code from module double-slash-root: ++ # Code from module dup2: ++ # Code from module dup2-tests: ++ # Code from module environ: ++ # Code from module environ-tests: ++ # Code from module errno: ++ # Code from module errno-tests: ++ # Code from module error: ++ # Code from module execute: ++ # Code from module exitfail: ++ # Code from module extensions: ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ # Code from module fatal-signal: ++ # Code from module fclose: ++ # Code from module fcntl: ++ # Code from module fcntl-h: ++ # Code from module fcntl-h-c++-tests: ++ # Code from module fcntl-h-tests: ++ # Code from module fcntl-tests: ++ # Code from module fd-safer-flag: ++ # Code from module fdl-1.3: ++ # Code from module fflush: ++ AC_REQUIRE([AC_FUNC_FSEEKO]) ++ # Code from module fflush-tests: ++ # Code from module filenamecat: ++ # Code from module filenamecat-lgpl: ++ # Code from module filenamecat-tests: ++ # Code from module float: ++ # Code from module fopen: ++ # Code from module fopen-safer: ++ # Code from module fopen-safer-tests: ++ # Code from module fopen-tests: ++ # Code from module fpending: ++ # Code from module fpending-tests: ++ # Code from module fpieee: ++ AC_REQUIRE([gl_FP_IEEE]) ++ # Code from module fpucw: ++ # Code from module fpurge: ++ # Code from module fpurge-tests: ++ # Code from module freadahead: ++ # Code from module freadahead-tests: ++ # Code from module freading: ++ # Code from module freading-tests: ++ # Code from module frexp-nolibm: ++ # Code from module frexp-nolibm-tests: ++ # Code from module frexpl-nolibm: ++ # Code from module frexpl-nolibm-tests: ++ # Code from module fseeko: ++ AC_REQUIRE([AC_FUNC_FSEEKO]) ++ # Code from module fseeko-tests: ++ # Code from module ftell: ++ # Code from module ftell-tests: ++ # Code from module ftello: ++ AC_REQUIRE([AC_FUNC_FSEEKO]) ++ # Code from module ftello-tests: ++ # Code from module gendocs: ++ # Code from module getdtablesize: ++ # Code from module getdtablesize-tests: ++ # Code from module getopt-gnu: ++ # Code from module getopt-posix: ++ # Code from module getopt-posix-tests: ++ # Code from module getpagesize: ++ # Code from module gettext-h: ++ # Code from module gettimeofday: ++ # Code from module gettimeofday-tests: ++ # Code from module git-version-gen: ++ # Code from module gnu-web-doc-update: ++ # Code from module gnumakefile: ++ # Code from module gnupload: ++ # Code from module gpl-3.0: ++ # Code from module havelib: ++ # Code from module ignore-value: ++ # Code from module ignore-value-tests: ++ # Code from module include_next: ++ # Code from module inline: ++ # Code from module intprops: ++ # Code from module isnand-nolibm: ++ # Code from module isnand-nolibm-tests: ++ # Code from module isnanf-nolibm: ++ # Code from module isnanf-nolibm-tests: ++ # Code from module isnanl-nolibm: ++ # Code from module isnanl-nolibm-tests: ++ # Code from module langinfo: ++ # Code from module langinfo-c++-tests: ++ # Code from module langinfo-tests: ++ # Code from module libsigsegv: ++ # Code from module link: ++ # Code from module link-tests: ++ # Code from module linkedhash-list: ++ # Code from module linkedhash-list-tests: ++ # Code from module list: ++ # Code from module localcharset: ++ # Code from module locale: ++ # Code from module locale-c++-tests: ++ # Code from module locale-tests: ++ # Code from module localename: ++ # Code from module localename-tests: ++ # Code from module lock: ++ # Code from module lseek: ++ # Code from module lseek-tests: ++ # Code from module lstat: ++ # Code from module lstat-tests: ++ # Code from module maintainer-makefile: ++ # Code from module malloc-gnu: ++ # Code from module malloc-gnu-tests: ++ # Code from module malloc-posix: ++ # Code from module malloca: ++ # Code from module malloca-tests: ++ # Code from module manywarnings: ++ # Code from module math: ++ # Code from module math-c++-tests: ++ # Code from module math-tests: ++ # Code from module mbrtowc: ++ # Code from module mbrtowc-tests: ++ # Code from module mbsinit: ++ # Code from module mbsinit-tests: ++ # Code from module mbtowc: ++ # Code from module memchr: ++ # Code from module memchr-tests: ++ # Code from module memchr2: ++ # Code from module memchr2-tests: ++ # Code from module mkdtemp: ++ # Code from module mkstemp: ++ # Code from module multiarch: ++ # Code from module nl_langinfo: ++ # Code from module nl_langinfo-tests: ++ # Code from module nocrash: ++ # Code from module obstack: ++ # Code from module open: ++ # Code from module open-tests: ++ # Code from module oset: ++ # Code from module pathmax: ++ # Code from module pipe2: ++ # Code from module pipe2-safer: ++ # Code from module pipe2-tests: ++ # Code from module posix_spawn-internal: ++ # Code from module posix_spawn_file_actions_addclose: ++ # Code from module posix_spawn_file_actions_adddup2: ++ # Code from module posix_spawn_file_actions_addopen: ++ # Code from module posix_spawn_file_actions_destroy: ++ # Code from module posix_spawn_file_actions_init: ++ # Code from module posix_spawnattr_destroy: ++ # Code from module posix_spawnattr_init: ++ # Code from module posix_spawnattr_setflags: ++ # Code from module posix_spawnattr_setsigmask: ++ # Code from module posix_spawnp: ++ # Code from module posix_spawnp-tests: ++ # Code from module printf-frexp: ++ # Code from module printf-frexp-tests: ++ # Code from module printf-frexpl: ++ # Code from module printf-frexpl-tests: ++ # Code from module printf-safe: ++ # Code from module progname: ++ # Code from module putenv: ++ # Code from module quotearg: ++ # Code from module quotearg-simple: ++ # Code from module quotearg-simple-tests: ++ # Code from module rawmemchr: ++ # Code from module rawmemchr-tests: ++ # Code from module readlink: ++ # Code from module readlink-tests: ++ # Code from module regex: ++ # Code from module rename: ++ # Code from module rename-tests: ++ # Code from module rmdir: ++ # Code from module rmdir-tests: ++ # Code from module same-inode: ++ # Code from module sched: ++ # Code from module sched-tests: ++ # Code from module setenv: ++ # Code from module setenv-tests: ++ # Code from module setlocale: ++ # Code from module setlocale-tests: ++ # Code from module sigaction: ++ # Code from module sigaction-tests: ++ # Code from module signal: ++ # Code from module signal-c++-tests: ++ # Code from module signal-tests: ++ # Code from module signbit: ++ # Code from module signbit-tests: ++ # Code from module sigprocmask: ++ # Code from module size_max: ++ # Code from module snprintf: ++ # Code from module snprintf-tests: ++ # Code from module spawn: ++ # Code from module spawn-c++-tests: ++ # Code from module spawn-pipe: ++ # Code from module spawn-pipe-tests: ++ # Code from module spawn-tests: ++ # Code from module ssize_t: ++ # Code from module stat: ++ # Code from module stat-tests: ++ # Code from module stdarg: ++ dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode ++ dnl for the builtin va_copy to work. With Autoconf 2.60 or later, ++ dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC ++ dnl shouldn't hurt, though installers are on their own to set c99 mode. ++ AC_REQUIRE([AC_PROG_CC_STDC]) ++ # Code from module stdbool: ++ # Code from module stdbool-tests: ++ # Code from module stddef: ++ # Code from module stddef-tests: ++ # Code from module stdint: ++ # Code from module stdint-tests: ++ # Code from module stdio: ++ # Code from module stdio-c++-tests: ++ # Code from module stdio-tests: ++ # Code from module stdlib: ++ # Code from module stdlib-c++-tests: ++ # Code from module stdlib-safer: ++ # Code from module stdlib-tests: ++ # Code from module strchrnul: ++ # Code from module strchrnul-tests: ++ # Code from module strdup-posix: ++ # Code from module streq: ++ # Code from module strerror: ++ # Code from module strerror-tests: ++ # Code from module string: ++ # Code from module string-c++-tests: ++ # Code from module string-tests: ++ # Code from module strndup: ++ # Code from module strnlen: ++ # Code from module strnlen-tests: ++ # Code from module strsignal: ++ # Code from module strsignal-tests: ++ # Code from module strstr: ++ # Code from module strstr-simple: ++ # Code from module strstr-tests: ++ # Code from module strtod: ++ # Code from module strtod-tests: ++ # Code from module strtol: ++ # Code from module symlink: ++ # Code from module symlink-tests: ++ # Code from module sys_stat: ++ # Code from module sys_stat-c++-tests: ++ # Code from module sys_stat-tests: ++ # Code from module sys_time: ++ # Code from module sys_time-c++-tests: ++ # Code from module sys_time-tests: ++ # Code from module sys_wait: ++ # Code from module sys_wait-c++-tests: ++ # Code from module sys_wait-tests: ++ # Code from module tempname: ++ # Code from module threadlib: ++ gl_THREADLIB_EARLY ++ # Code from module time: ++ # Code from module time-c++-tests: ++ # Code from module time-tests: ++ # Code from module tls: ++ # Code from module tmpdir: ++ # Code from module unistd: ++ # Code from module unistd-c++-tests: ++ # Code from module unistd-safer: ++ # Code from module unistd-safer-tests: ++ # Code from module unistd-tests: ++ # Code from module unlocked-io: ++ # Code from module unsetenv: ++ # Code from module unsetenv-tests: ++ # Code from module update-copyright: ++ # Code from module update-copyright-tests: ++ # Code from module useless-if-before-free: ++ # Code from module vasnprintf: ++ # Code from module vasnprintf-tests: ++ # Code from module vasprintf: ++ # Code from module vasprintf-posix: ++ # Code from module vasprintf-posix-tests: ++ # Code from module vasprintf-tests: ++ # Code from module vc-list-files: ++ # Code from module vc-list-files-tests: ++ # Code from module verify: ++ # Code from module verify-tests: ++ # Code from module verror: ++ # Code from module version-etc: ++ # Code from module version-etc-fsf: ++ # Code from module version-etc-tests: ++ # Code from module wait-process: ++ # Code from module waitpid: ++ # Code from module warn-on-use: ++ # Code from module warnings: ++ # Code from module wchar: ++ # Code from module wchar-c++-tests: ++ # Code from module wchar-tests: ++ # Code from module wcrtomb: ++ # Code from module wcrtomb-tests: ++ # Code from module wctob: ++ # Code from module wctomb: ++ # Code from module wctype-h: ++ # Code from module wctype-h-c++-tests: ++ # Code from module wctype-h-tests: ++ # Code from module xalloc: ++ # Code from module xalloc-die: ++ # Code from module xalloc-die-tests: ++ # Code from module xlist: ++ # Code from module xmalloca: ++ # Code from module xoset: ++ # Code from module xprintf: ++ # Code from module xsize: ++ # Code from module xstrndup: ++ # Code from module xvasprintf: ++ # Code from module xvasprintf-posix: ++ # Code from module xvasprintf-tests: ++]) ++m4trace:m4/gnulib-comp.m4:377: -1- AC_DEFUN([M4_INIT], [ ++ AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) ++ gl_cond_libtool=false ++ gl_libdeps= ++ gl_ltlibdeps= ++ gl_m4_base='m4' ++ m4_pushdef([AC_LIBOBJ], m4_defn([M4_LIBOBJ])) ++ m4_pushdef([AC_REPLACE_FUNCS], m4_defn([M4_REPLACE_FUNCS])) ++ m4_pushdef([AC_LIBSOURCES], m4_defn([M4_LIBSOURCES])) ++ m4_pushdef([M4_LIBSOURCES_LIST], []) ++ m4_pushdef([M4_LIBSOURCES_DIR], []) ++ gl_COMMON ++ gl_source_base='lib' ++ # Code from module alloca-opt: ++ gl_FUNC_ALLOCA ++ # Code from module announce-gen: ++ # Code from module arg-nonnull: ++ # Code from module assert: ++ gl_ASSERT ++ # Code from module autobuild: ++ # Code from module avltree-oset: ++ # Code from module binary-io: ++ # Code from module btowc: ++ gl_FUNC_BTOWC ++ gl_WCHAR_MODULE_INDICATOR([btowc]) ++ # Code from module c++defs: ++ # Code from module c-ctype: ++ # Code from module c-stack: ++ gl_C_STACK ++ # Code from module canonicalize-lgpl: ++ gl_CANONICALIZE_LGPL ++ gl_MODULE_INDICATOR([canonicalize-lgpl]) ++ gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) ++ gl_STDLIB_MODULE_INDICATOR([realpath]) ++ # Code from module clean-temp: ++ AC_DEFINE([SIGNAL_SAFE_LIST], [1], [Define if lists must be signal-safe.]) ++ # Code from module cloexec: ++ gl_CLOEXEC ++ gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) ++ # Code from module close: ++ gl_FUNC_CLOSE ++ gl_UNISTD_MODULE_INDICATOR([close]) ++ # Code from module close-hook: ++ # Code from module close-stream: ++ gl_CLOSE_STREAM ++ gl_MODULE_INDICATOR([close-stream]) ++ # Code from module closein: ++ gl_CLOSEIN ++ # Code from module closeout: ++ gl_CLOSEOUT ++ # Code from module config-h: ++ gl_CONFIG_H ++ # Code from module configmake: ++ gl_CONFIGMAKE_PREP ++ # Code from module dirname: ++ gl_DIRNAME ++ gl_MODULE_INDICATOR([dirname]) ++ # Code from module dirname-lgpl: ++ gl_DIRNAME_LGPL ++ # Code from module dosname: ++ # Code from module double-slash-root: ++ gl_DOUBLE_SLASH_ROOT ++ # Code from module dup2: ++ gl_FUNC_DUP2 ++ gl_UNISTD_MODULE_INDICATOR([dup2]) ++ # Code from module environ: ++ gl_ENVIRON ++ gl_UNISTD_MODULE_INDICATOR([environ]) ++ # Code from module errno: ++ gl_HEADER_ERRNO_H ++ # Code from module error: ++ gl_ERROR ++ m4_ifdef([AM_XGETTEXT_OPTION], ++ [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) ++ AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) ++ # Code from module execute: ++ gl_EXECUTE ++ # Code from module exitfail: ++ # Code from module extensions: ++ # Code from module fatal-signal: ++ gl_FATAL_SIGNAL ++ # Code from module fclose: ++ gl_FUNC_FCLOSE ++ gl_STDIO_MODULE_INDICATOR([fclose]) ++ # Code from module fcntl: ++ gl_FUNC_FCNTL ++ gl_FCNTL_MODULE_INDICATOR([fcntl]) ++ # Code from module fcntl-h: ++ gl_FCNTL_H ++ # Code from module fd-safer-flag: ++ gl_MODULE_INDICATOR([fd-safer-flag]) ++ # Code from module fdl-1.3: ++ # Code from module fflush: ++ gl_FUNC_FFLUSH ++ gl_STDIO_MODULE_INDICATOR([fflush]) ++ # Code from module filenamecat: ++ gl_FILE_NAME_CONCAT ++ gl_MODULE_INDICATOR([filenamecat]) ++ # Code from module filenamecat-lgpl: ++ gl_FILE_NAME_CONCAT_LGPL ++ # Code from module float: ++ gl_FLOAT_H ++ # Code from module fopen: ++ gl_FUNC_FOPEN ++ gl_STDIO_MODULE_INDICATOR([fopen]) ++ # Code from module fopen-safer: ++ gl_FOPEN_SAFER ++ gl_MODULE_INDICATOR([fopen-safer]) ++ # Code from module fpending: ++ gl_FUNC_FPENDING ++ # Code from module fpieee: ++ # Code from module fpucw: ++ # Code from module fpurge: ++ gl_FUNC_FPURGE ++ gl_STDIO_MODULE_INDICATOR([fpurge]) ++ # Code from module freadahead: ++ # Code from module freading: ++ gl_FUNC_FREADING ++ # Code from module frexp-nolibm: ++ gl_FUNC_FREXP_NO_LIBM ++ gl_MATH_MODULE_INDICATOR([frexp]) ++ # Code from module frexpl-nolibm: ++ gl_FUNC_FREXPL_NO_LIBM ++ gl_MATH_MODULE_INDICATOR([frexpl]) ++ # Code from module fseeko: ++ gl_FUNC_FSEEKO ++ gl_STDIO_MODULE_INDICATOR([fseeko]) ++ # Code from module ftello: ++ gl_FUNC_FTELLO ++ gl_STDIO_MODULE_INDICATOR([ftello]) ++ # Code from module gendocs: ++ # Code from module getdtablesize: ++ gl_FUNC_GETDTABLESIZE ++ gl_UNISTD_MODULE_INDICATOR([getdtablesize]) ++ # Code from module getopt-gnu: ++ gl_FUNC_GETOPT_GNU ++ gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) ++ # Code from module getopt-posix: ++ gl_FUNC_GETOPT_POSIX ++ # Code from module gettext-h: ++ AC_SUBST([LIBINTL]) ++ AC_SUBST([LTLIBINTL]) ++ # Code from module gettimeofday: ++ gl_FUNC_GETTIMEOFDAY ++ gl_SYS_TIME_MODULE_INDICATOR([gettimeofday]) ++ # Code from module git-version-gen: ++ # Code from module gnu-web-doc-update: ++ # Code from module gnumakefile: ++ # Autoconf 2.61a.99 and earlier don't support linking a file only ++ # in VPATH builds. But since GNUmakefile is for maintainer use ++ # only, it does not matter if we skip the link with older autoconf. ++ # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH ++ # builds, so use a shell variable to bypass this. ++ GNUmakefile=GNUmakefile ++ m4_if(m4_version_compare([2.61a.100], ++ m4_defn([m4_PACKAGE_VERSION])), [1], [], ++ [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], ++ [GNUmakefile=$GNUmakefile])]) ++ # Code from module gnupload: ++ # Code from module gpl-3.0: ++ # Code from module havelib: ++ # Code from module ignore-value: ++ AC_REQUIRE([AC_C_INLINE]) ++ # Code from module include_next: ++ # Code from module inline: ++ gl_INLINE ++ # Code from module intprops: ++ # Code from module isnand-nolibm: ++ gl_FUNC_ISNAND_NO_LIBM ++ # Code from module isnanf-nolibm: ++ gl_FUNC_ISNANF_NO_LIBM ++ # Code from module isnanl-nolibm: ++ gl_FUNC_ISNANL_NO_LIBM ++ # Code from module langinfo: ++ gl_LANGINFO_H ++ # Code from module libsigsegv: ++ gl_LIBSIGSEGV ++ # Code from module linkedhash-list: ++ # Code from module list: ++ gl_LIST ++ # Code from module localcharset: ++ gl_LOCALCHARSET ++ LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" ++ AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) ++ # Code from module lock: ++ gl_LOCK ++ # Code from module lseek: ++ gl_FUNC_LSEEK ++ gl_UNISTD_MODULE_INDICATOR([lseek]) ++ # Code from module lstat: ++ gl_FUNC_LSTAT ++ gl_SYS_STAT_MODULE_INDICATOR([lstat]) ++ # Code from module maintainer-makefile: ++ AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], ++ [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) ++ # Code from module malloc-gnu: ++ gl_FUNC_MALLOC_GNU ++ gl_MODULE_INDICATOR([malloc-gnu]) ++ # Code from module malloc-posix: ++ gl_FUNC_MALLOC_POSIX ++ gl_STDLIB_MODULE_INDICATOR([malloc-posix]) ++ # Code from module malloca: ++ gl_MALLOCA ++ # Code from module manywarnings: ++ # Code from module math: ++ gl_MATH_H ++ # Code from module mbrtowc: ++ gl_FUNC_MBRTOWC ++ gl_WCHAR_MODULE_INDICATOR([mbrtowc]) ++ # Code from module mbsinit: ++ gl_FUNC_MBSINIT ++ gl_WCHAR_MODULE_INDICATOR([mbsinit]) ++ # Code from module mbtowc: ++ gl_FUNC_MBTOWC ++ gl_STDLIB_MODULE_INDICATOR([mbtowc]) ++ # Code from module memchr: ++ gl_FUNC_MEMCHR ++ gl_STRING_MODULE_INDICATOR([memchr]) ++ # Code from module memchr2: ++ # Code from module mkdtemp: ++ gt_FUNC_MKDTEMP ++ gl_STDLIB_MODULE_INDICATOR([mkdtemp]) ++ # Code from module mkstemp: ++ gl_FUNC_MKSTEMP ++ gl_STDLIB_MODULE_INDICATOR([mkstemp]) ++ # Code from module multiarch: ++ gl_MULTIARCH ++ # Code from module nl_langinfo: ++ gl_FUNC_NL_LANGINFO ++ gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) ++ # Code from module nocrash: ++ # Code from module obstack: ++ AC_FUNC_OBSTACK ++ dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). ++ # Code from module open: ++ gl_FUNC_OPEN ++ gl_FCNTL_MODULE_INDICATOR([open]) ++ # Code from module oset: ++ gl_LIST ++ # Code from module pathmax: ++ gl_PATHMAX ++ # Code from module pipe2: ++ gl_FUNC_PIPE2 ++ gl_UNISTD_MODULE_INDICATOR([pipe2]) ++ # Code from module pipe2-safer: ++ gl_MODULE_INDICATOR([pipe2-safer]) ++ # Code from module posix_spawn-internal: ++ # Code from module posix_spawn_file_actions_addclose: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawn_faction_addclose]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose]) ++ # Code from module posix_spawn_file_actions_adddup2: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawn_faction_adddup2]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2]) ++ # Code from module posix_spawn_file_actions_addopen: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawn_faction_addopen]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen]) ++ # Code from module posix_spawn_file_actions_destroy: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawn_faction_destroy]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy]) ++ # Code from module posix_spawn_file_actions_init: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawn_faction_init]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init]) ++ # Code from module posix_spawnattr_destroy: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawnattr_destroy]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy]) ++ # Code from module posix_spawnattr_init: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawnattr_init]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init]) ++ # Code from module posix_spawnattr_setflags: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawnattr_setflags]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags]) ++ # Code from module posix_spawnattr_setsigmask: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawnattr_setsigmask]) ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask]) ++ # Code from module posix_spawnp: ++ gl_POSIX_SPAWN ++ if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then ++ gl_REPLACE_SPAWN_H ++ AC_LIBOBJ([spawnp]) ++ gl_POSIX_SPAWN_INTERNAL ++ fi ++ gl_SPAWN_MODULE_INDICATOR([posix_spawnp]) ++ # Code from module printf-frexp: ++ gl_FUNC_PRINTF_FREXP ++ # Code from module printf-frexpl: ++ gl_FUNC_PRINTF_FREXPL ++ # Code from module printf-safe: ++ m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes]) ++ # Code from module progname: ++ AC_CHECK_DECLS([program_invocation_name], [], [], [#include ]) ++ AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include ]) ++ # Code from module quotearg: ++ gl_QUOTEARG ++ # Code from module quotearg-simple: ++ # Code from module rawmemchr: ++ gl_FUNC_RAWMEMCHR ++ gl_STRING_MODULE_INDICATOR([rawmemchr]) ++ # Code from module readlink: ++ gl_FUNC_READLINK ++ gl_UNISTD_MODULE_INDICATOR([readlink]) ++ # Code from module regex: ++ gl_REGEX ++ # Code from module rename: ++ gl_FUNC_RENAME ++ gl_STDIO_MODULE_INDICATOR([rename]) ++ # Code from module rmdir: ++ gl_FUNC_RMDIR ++ gl_UNISTD_MODULE_INDICATOR([rmdir]) ++ # Code from module same-inode: ++ # Code from module sched: ++ gl_SCHED_H ++ # Code from module sigaction: ++ gl_SIGACTION ++ gl_SIGNAL_MODULE_INDICATOR([sigaction]) ++ # Code from module signal: ++ gl_SIGNAL_H ++ # Code from module signbit: ++ gl_SIGNBIT ++ gl_MATH_MODULE_INDICATOR([signbit]) ++ # Code from module sigprocmask: ++ gl_SIGNALBLOCKING ++ gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) ++ # Code from module size_max: ++ gl_SIZE_MAX ++ # Code from module snprintf: ++ gl_FUNC_SNPRINTF ++ gl_STDIO_MODULE_INDICATOR([snprintf]) ++ gl_MODULE_INDICATOR([snprintf]) ++ # Code from module spawn: ++ gl_SPAWN_H ++ # Code from module spawn-pipe: ++ gl_SPAWN_PIPE ++ # Code from module ssize_t: ++ gt_TYPE_SSIZE_T ++ # Code from module stat: ++ gl_FUNC_STAT ++ gl_SYS_STAT_MODULE_INDICATOR([stat]) ++ # Code from module stdarg: ++ gl_STDARG_H ++ # Code from module stdbool: ++ AM_STDBOOL_H ++ # Code from module stddef: ++ gl_STDDEF_H ++ # Code from module stdint: ++ gl_STDINT_H ++ # Code from module stdio: ++ gl_STDIO_H ++ # Code from module stdlib: ++ gl_STDLIB_H ++ # Code from module stdlib-safer: ++ gl_STDLIB_SAFER ++ # Code from module strchrnul: ++ gl_FUNC_STRCHRNUL ++ gl_STRING_MODULE_INDICATOR([strchrnul]) ++ # Code from module streq: ++ # Code from module strerror: ++ gl_FUNC_STRERROR ++ gl_STRING_MODULE_INDICATOR([strerror]) ++ # Code from module string: ++ gl_HEADER_STRING_H ++ # Code from module strndup: ++ gl_FUNC_STRNDUP ++ gl_STRING_MODULE_INDICATOR([strndup]) ++ # Code from module strnlen: ++ gl_FUNC_STRNLEN ++ gl_STRING_MODULE_INDICATOR([strnlen]) ++ # Code from module strsignal: ++ gl_FUNC_STRSIGNAL ++ gl_STRING_MODULE_INDICATOR([strsignal]) ++ # Code from module strstr: ++ gl_FUNC_STRSTR ++ # Code from module strstr-simple: ++ gl_FUNC_STRSTR_SIMPLE ++ gl_STRING_MODULE_INDICATOR([strstr]) ++ # Code from module strtod: ++ gl_FUNC_STRTOD ++ gl_STDLIB_MODULE_INDICATOR([strtod]) ++ # Code from module strtol: ++ gl_FUNC_STRTOL ++ # Code from module sys_stat: ++ gl_HEADER_SYS_STAT_H ++ AC_PROG_MKDIR_P ++ # Code from module sys_time: ++ gl_HEADER_SYS_TIME_H ++ AC_PROG_MKDIR_P ++ # Code from module sys_wait: ++ gl_SYS_WAIT_H ++ AC_PROG_MKDIR_P ++ # Code from module tempname: ++ gl_FUNC_GEN_TEMPNAME ++ # Code from module threadlib: ++ gl_THREADLIB ++ # Code from module time: ++ gl_HEADER_TIME_H ++ # Code from module tls: ++ gl_TLS ++ # Code from module tmpdir: ++ gt_TMPDIR ++ # Code from module unistd: ++ gl_UNISTD_H ++ # Code from module unistd-safer: ++ gl_UNISTD_SAFER ++ # Code from module unlocked-io: ++ gl_FUNC_GLIBC_UNLOCKED_IO ++ # Code from module update-copyright: ++ # Code from module useless-if-before-free: ++ # Code from module vasnprintf: ++ gl_FUNC_VASNPRINTF ++ # Code from module vasprintf: ++ gl_FUNC_VASPRINTF ++ gl_STDIO_MODULE_INDICATOR([vasprintf]) ++ m4_ifdef([AM_XGETTEXT_OPTION], ++ [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) ++ AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) ++ # Code from module vasprintf-posix: ++ gl_FUNC_VASPRINTF_POSIX ++ # Code from module vc-list-files: ++ # Code from module verify: ++ # Code from module verror: ++ m4_ifdef([AM_XGETTEXT_OPTION], ++ [AM_][XGETTEXT_OPTION([--flag=verror:3:c-format]) ++ AM_][XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])]) ++ # Code from module version-etc: ++ gl_VERSION_ETC ++ # Code from module version-etc-fsf: ++ # Code from module wait-process: ++ gl_WAIT_PROCESS ++ # Code from module waitpid: ++ gl_FUNC_WAITPID ++ gl_SYS_WAIT_MODULE_INDICATOR([waitpid]) ++ # Code from module warn-on-use: ++ # Code from module warnings: ++ AC_SUBST([WARN_CFLAGS]) ++ # Code from module wchar: ++ gl_WCHAR_H ++ # Code from module wcrtomb: ++ gl_FUNC_WCRTOMB ++ gl_WCHAR_MODULE_INDICATOR([wcrtomb]) ++ # Code from module wctype-h: ++ gl_WCTYPE_H ++ # Code from module xalloc: ++ gl_XALLOC ++ # Code from module xalloc-die: ++ # Code from module xlist: ++ gl_LIST ++ # Code from module xmalloca: ++ # Code from module xoset: ++ gl_LIST ++ # Code from module xprintf: ++ m4_ifdef([AM_XGETTEXT_OPTION], ++ [AM_][XGETTEXT_OPTION([--flag=xprintf:1:c-format]) ++ AM_][XGETTEXT_OPTION([--flag=xvprintf:1:c-format]) ++ AM_][XGETTEXT_OPTION([--flag=xfprintf:2:c-format]) ++ AM_][XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])]) ++ # Code from module xsize: ++ gl_XSIZE ++ # Code from module xstrndup: ++ gl_XSTRNDUP ++ # Code from module xvasprintf: ++ gl_XVASPRINTF ++ m4_ifdef([AM_XGETTEXT_OPTION], ++ [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])]) ++ # Code from module xvasprintf-posix: ++ # End of code from modules ++ m4_ifval(M4_LIBSOURCES_LIST, [ ++ m4_syscmd([test ! -d ]m4_defn([M4_LIBSOURCES_DIR])[ || ++ for gl_file in ]M4_LIBSOURCES_LIST[ ; do ++ if test ! -r ]m4_defn([M4_LIBSOURCES_DIR])[/$gl_file ; then ++ echo "missing file ]m4_defn([M4_LIBSOURCES_DIR])[/$gl_file" >&2 ++ exit 1 ++ fi ++ done])dnl ++ m4_if(m4_sysval, [0], [], ++ [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ++ ]) ++ m4_popdef([M4_LIBSOURCES_DIR]) ++ m4_popdef([M4_LIBSOURCES_LIST]) ++ m4_popdef([AC_LIBSOURCES]) ++ m4_popdef([AC_REPLACE_FUNCS]) ++ m4_popdef([AC_LIBOBJ]) ++ AC_CONFIG_COMMANDS_PRE([ ++ M4_libobjs= ++ M4_ltlibobjs= ++ if test -n "$M4_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do ++ M4_libobjs="$M4_libobjs $i.$ac_objext" ++ M4_ltlibobjs="$M4_ltlibobjs $i.lo" ++ done ++ fi ++ AC_SUBST([M4_LIBOBJS], [$M4_libobjs]) ++ AC_SUBST([M4_LTLIBOBJS], [$M4_ltlibobjs]) ++ ]) ++ gltests_libdeps= ++ gltests_ltlibdeps= ++ m4_pushdef([AC_LIBOBJ], m4_defn([M4tests_LIBOBJ])) ++ m4_pushdef([AC_REPLACE_FUNCS], m4_defn([M4tests_REPLACE_FUNCS])) ++ m4_pushdef([AC_LIBSOURCES], m4_defn([M4tests_LIBSOURCES])) ++ m4_pushdef([M4tests_LIBSOURCES_LIST], []) ++ m4_pushdef([M4tests_LIBSOURCES_DIR], []) ++ gl_COMMON ++ gl_source_base='tests' ++changequote(,)dnl ++ M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS ++changequote([, ])dnl ++ AC_SUBST([M4tests_WITNESS]) ++ gl_module_indicator_condition=$M4tests_WITNESS ++ m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) ++ gl_PROG_ANSI_CXX([CXX], [ANSICXX]) ++ gt_LOCALE_FR ++ gt_LOCALE_FR_UTF8 ++ gt_LOCALE_FR ++ gt_LOCALE_TR_UTF8 ++ gl_FUNC_UNGETC_WORKS ++ gl_FUNC_FTELL ++ gl_STDIO_MODULE_INDICATOR([ftell]) ++ gl_FUNC_UNGETC_WORKS ++ gl_FUNC_UNGETC_WORKS ++ gl_FUNC_GETPAGESIZE ++ gl_UNISTD_MODULE_INDICATOR([getpagesize]) ++ gl_DOUBLE_EXPONENT_LOCATION ++ gl_FLOAT_EXPONENT_LOCATION ++ gl_LONG_DOUBLE_EXPONENT_LOCATION ++ gl_FUNC_LINK ++ gl_UNISTD_MODULE_INDICATOR([link]) ++ gl_LOCALE_H ++ AC_CHECK_FUNCS_ONCE([newlocale]) ++ gl_LOCALENAME ++ AC_CHECK_FUNCS_ONCE([newlocale]) ++ gt_LOCALE_FR ++ gt_LOCALE_FR_UTF8 ++ gt_LOCALE_JA ++ gt_LOCALE_ZH_CN ++ gt_LOCALE_FR_UTF8 ++ dnl Check for prerequisites for memory fence checks. ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ gt_LOCALE_FR ++ gt_LOCALE_FR_UTF8 ++ AC_EGREP_CPP([notposix], [[ ++ #if defined _MSC_VER || defined __MINGW32__ ++ notposix ++ #endif ++ ]], ++ [posix_spawn_ported=no], ++ [posix_spawn_ported=yes]) ++ AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes]) ++ gl_FUNC_PUTENV ++ gl_STDLIB_MODULE_INDICATOR([putenv]) ++ dnl Check for prerequisites for memory fence checks. ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ gl_FUNC_SETENV ++ gl_STDLIB_MODULE_INDICATOR([setenv]) ++ gl_FUNC_SETLOCALE ++ gl_LOCALE_MODULE_INDICATOR([setlocale]) ++ gt_LOCALE_FR ++ gt_LOCALE_FR_UTF8 ++ gt_LOCALE_JA ++ gt_LOCALE_ZH_CN ++ AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION]) ++ AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) ++ AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION]) ++ gt_TYPE_WCHAR_T ++ gt_TYPE_WINT_T ++ gl_FUNC_STRDUP_POSIX ++ gl_STRING_MODULE_INDICATOR([strdup]) ++ dnl Check for prerequisites for memory fence checks. ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ AC_CHECK_DECLS_ONCE([alarm]) ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ gl_FUNC_SYMLINK ++ gl_UNISTD_MODULE_INDICATOR([symlink]) ++ gl_FUNC_UNSETENV ++ gl_STDLIB_MODULE_INDICATOR([unsetenv]) ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ AC_SUBST([abs_aux_dir]) ++ abs_aux_dir=`cd "$ac_aux_dir"; pwd` ++ AC_SUBST([abs_aux_dir]) ++ gt_LOCALE_FR ++ gt_LOCALE_FR_UTF8 ++ gt_LOCALE_JA ++ gt_LOCALE_ZH_CN ++ gl_FUNC_WCTOB ++ gl_WCHAR_MODULE_INDICATOR([wctob]) ++ gl_FUNC_WCTOMB ++ gl_STDLIB_MODULE_INDICATOR([wctomb]) ++ m4_popdef([gl_MODULE_INDICATOR_CONDITION]) ++ m4_ifval(M4tests_LIBSOURCES_LIST, [ ++ m4_syscmd([test ! -d ]m4_defn([M4tests_LIBSOURCES_DIR])[ || ++ for gl_file in ]M4tests_LIBSOURCES_LIST[ ; do ++ if test ! -r ]m4_defn([M4tests_LIBSOURCES_DIR])[/$gl_file ; then ++ echo "missing file ]m4_defn([M4tests_LIBSOURCES_DIR])[/$gl_file" >&2 ++ exit 1 ++ fi ++ done])dnl ++ m4_if(m4_sysval, [0], [], ++ [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ++ ]) ++ m4_popdef([M4tests_LIBSOURCES_DIR]) ++ m4_popdef([M4tests_LIBSOURCES_LIST]) ++ m4_popdef([AC_LIBSOURCES]) ++ m4_popdef([AC_REPLACE_FUNCS]) ++ m4_popdef([AC_LIBOBJ]) ++ AC_CONFIG_COMMANDS_PRE([ ++ M4tests_libobjs= ++ M4tests_ltlibobjs= ++ if test -n "$M4tests_LIBOBJS"; then ++ # Remove the extension. ++ sed_drop_objext='s/\.o$//;s/\.obj$//' ++ for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do ++ M4tests_libobjs="$M4tests_libobjs $i.$ac_objext" ++ M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo" ++ done ++ fi ++ AC_SUBST([M4tests_LIBOBJS], [$M4tests_libobjs]) ++ AC_SUBST([M4tests_LTLIBOBJS], [$M4tests_ltlibobjs]) ++ ]) ++ LIBM4_LIBDEPS="$gl_libdeps" ++ AC_SUBST([LIBM4_LIBDEPS]) ++ LIBM4_LTLIBDEPS="$gl_ltlibdeps" ++ AC_SUBST([LIBM4_LTLIBDEPS]) ++ LIBTESTS_LIBDEPS="$gltests_libdeps" ++ AC_SUBST([LIBTESTS_LIBDEPS]) ++]) ++m4trace:m4/gnulib-comp.m4:1052: -1- AC_DEFUN([M4_LIBOBJ], [ ++ AS_LITERAL_IF([$1], [M4_LIBSOURCES([$1.c])])dnl ++ M4_LIBOBJS="$M4_LIBOBJS $1.$ac_objext" ++]) ++m4trace:m4/gnulib-comp.m4:1059: -1- AC_DEFUN([M4_REPLACE_FUNCS], [ ++ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl ++ AC_CHECK_FUNCS([$1], , [M4_LIBOBJ($ac_func)]) ++]) ++m4trace:m4/gnulib-comp.m4:1068: -1- AC_DEFUN([M4_LIBSOURCES], [ ++ m4_foreach([_gl_NAME], [$1], [ ++ m4_if(_gl_NAME, [alloca.c], [], [ ++ m4_define([M4_LIBSOURCES_DIR], [lib]) ++ m4_append([M4_LIBSOURCES_LIST], _gl_NAME, [ ]) ++ ]) ++ ]) ++]) ++m4trace:m4/gnulib-comp.m4:1079: -1- AC_DEFUN([M4tests_LIBOBJ], [ ++ AS_LITERAL_IF([$1], [M4tests_LIBSOURCES([$1.c])])dnl ++ M4tests_LIBOBJS="$M4tests_LIBOBJS $1.$ac_objext" ++]) ++m4trace:m4/gnulib-comp.m4:1086: -1- AC_DEFUN([M4tests_REPLACE_FUNCS], [ ++ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl ++ AC_CHECK_FUNCS([$1], , [M4tests_LIBOBJ($ac_func)]) ++]) ++m4trace:m4/gnulib-comp.m4:1095: -1- AC_DEFUN([M4tests_LIBSOURCES], [ ++ m4_foreach([_gl_NAME], [$1], [ ++ m4_if(_gl_NAME, [alloca.c], [], [ ++ m4_define([M4tests_LIBSOURCES_DIR], [tests]) ++ m4_append([M4tests_LIBSOURCES_LIST], _gl_NAME, [ ]) ++ ]) ++ ]) ++]) ++m4trace:m4/gnulib-comp.m4:1106: -1- AC_DEFUN([M4_FILE_LIST], [ ++ build-aux/announce-gen ++ build-aux/arg-nonnull.h ++ build-aux/c++defs.h ++ build-aux/config.rpath ++ build-aux/gendocs.sh ++ build-aux/git-version-gen ++ build-aux/gnu-web-doc-update ++ build-aux/gnupload ++ build-aux/update-copyright ++ build-aux/useless-if-before-free ++ build-aux/vc-list-files ++ build-aux/warn-on-use.h ++ doc/fdl-1.3.texi ++ doc/gendocs_template ++ doc/gpl-3.0.texi ++ lib/alloca.in.h ++ lib/asnprintf.c ++ lib/asprintf.c ++ lib/basename-lgpl.c ++ lib/basename.c ++ lib/binary-io.h ++ lib/btowc.c ++ lib/c-ctype.c ++ lib/c-ctype.h ++ lib/c-stack.c ++ lib/c-stack.h ++ lib/canonicalize-lgpl.c ++ lib/clean-temp.c ++ lib/clean-temp.h ++ lib/cloexec.c ++ lib/cloexec.h ++ lib/close-hook.c ++ lib/close-hook.h ++ lib/close-stream.c ++ lib/close-stream.h ++ lib/close.c ++ lib/closein.c ++ lib/closein.h ++ lib/closeout.c ++ lib/closeout.h ++ lib/config.charset ++ lib/dirname-lgpl.c ++ lib/dirname.c ++ lib/dirname.h ++ lib/dosname.h ++ lib/dup-safer-flag.c ++ lib/dup-safer.c ++ lib/dup2.c ++ lib/errno.in.h ++ lib/error.c ++ lib/error.h ++ lib/execute.c ++ lib/execute.h ++ lib/exitfail.c ++ lib/exitfail.h ++ lib/fatal-signal.c ++ lib/fatal-signal.h ++ lib/fclose.c ++ lib/fcntl.c ++ lib/fcntl.in.h ++ lib/fd-safer-flag.c ++ lib/fd-safer.c ++ lib/fflush.c ++ lib/filenamecat-lgpl.c ++ lib/filenamecat.c ++ lib/filenamecat.h ++ lib/float+.h ++ lib/float.in.h ++ lib/fopen-safer.c ++ lib/fopen.c ++ lib/fpending.c ++ lib/fpending.h ++ lib/fpucw.h ++ lib/fpurge.c ++ lib/freadahead.c ++ lib/freadahead.h ++ lib/freading.c ++ lib/freading.h ++ lib/frexp.c ++ lib/frexpl.c ++ lib/fseeko.c ++ lib/ftello.c ++ lib/getdtablesize.c ++ lib/getopt.c ++ lib/getopt.in.h ++ lib/getopt1.c ++ lib/getopt_int.h ++ lib/gettext.h ++ lib/gettimeofday.c ++ lib/gl_anyhash_list1.h ++ lib/gl_anyhash_list2.h ++ lib/gl_anylinked_list1.h ++ lib/gl_anylinked_list2.h ++ lib/gl_anytree_oset.h ++ lib/gl_avltree_oset.c ++ lib/gl_avltree_oset.h ++ lib/gl_linkedhash_list.c ++ lib/gl_linkedhash_list.h ++ lib/gl_list.c ++ lib/gl_list.h ++ lib/gl_oset.c ++ lib/gl_oset.h ++ lib/gl_xlist.c ++ lib/gl_xlist.h ++ lib/gl_xoset.c ++ lib/gl_xoset.h ++ lib/glthread/lock.c ++ lib/glthread/lock.h ++ lib/glthread/threadlib.c ++ lib/glthread/tls.c ++ lib/glthread/tls.h ++ lib/ignore-value.h ++ lib/intprops.h ++ lib/isnan.c ++ lib/isnand-nolibm.h ++ lib/isnand.c ++ lib/isnanf-nolibm.h ++ lib/isnanf.c ++ lib/isnanl-nolibm.h ++ lib/isnanl.c ++ lib/langinfo.in.h ++ lib/localcharset.c ++ lib/localcharset.h ++ lib/lseek.c ++ lib/lstat.c ++ lib/malloc.c ++ lib/malloca.c ++ lib/malloca.h ++ lib/malloca.valgrind ++ lib/math.in.h ++ lib/mbrtowc.c ++ lib/mbsinit.c ++ lib/mbtowc-impl.h ++ lib/mbtowc.c ++ lib/memchr.c ++ lib/memchr.valgrind ++ lib/memchr2.c ++ lib/memchr2.h ++ lib/memchr2.valgrind ++ lib/mkdtemp.c ++ lib/mkstemp-safer.c ++ lib/mkstemp.c ++ lib/nl_langinfo.c ++ lib/obstack.c ++ lib/obstack.h ++ lib/open.c ++ lib/pathmax.h ++ lib/pipe-safer.c ++ lib/pipe2-safer.c ++ lib/pipe2.c ++ lib/printf-args.c ++ lib/printf-args.h ++ lib/printf-frexp.c ++ lib/printf-frexp.h ++ lib/printf-frexpl.c ++ lib/printf-frexpl.h ++ lib/printf-parse.c ++ lib/printf-parse.h ++ lib/progname.c ++ lib/progname.h ++ lib/quotearg.c ++ lib/quotearg.h ++ lib/rawmemchr.c ++ lib/rawmemchr.valgrind ++ lib/readlink.c ++ lib/ref-add.sin ++ lib/ref-del.sin ++ lib/regcomp.c ++ lib/regex.c ++ lib/regex.h ++ lib/regex_internal.c ++ lib/regex_internal.h ++ lib/regexec.c ++ lib/rename.c ++ lib/rmdir.c ++ lib/same-inode.h ++ lib/sched.in.h ++ lib/sig-handler.h ++ lib/sigaction.c ++ lib/siglist.h ++ lib/signal.in.h ++ lib/signbitd.c ++ lib/signbitf.c ++ lib/signbitl.c ++ lib/sigprocmask.c ++ lib/size_max.h ++ lib/snprintf.c ++ lib/spawn-pipe.c ++ lib/spawn-pipe.h ++ lib/spawn.in.h ++ lib/spawn_faction_addclose.c ++ lib/spawn_faction_adddup2.c ++ lib/spawn_faction_addopen.c ++ lib/spawn_faction_destroy.c ++ lib/spawn_faction_init.c ++ lib/spawn_int.h ++ lib/spawnattr_destroy.c ++ lib/spawnattr_init.c ++ lib/spawnattr_setflags.c ++ lib/spawnattr_setsigmask.c ++ lib/spawni.c ++ lib/spawnp.c ++ lib/stat.c ++ lib/stdarg.in.h ++ lib/stdbool.in.h ++ lib/stddef.in.h ++ lib/stdint.in.h ++ lib/stdio--.h ++ lib/stdio-impl.h ++ lib/stdio-safer.h ++ lib/stdio.in.h ++ lib/stdlib--.h ++ lib/stdlib-safer.h ++ lib/stdlib.in.h ++ lib/str-two-way.h ++ lib/strchrnul.c ++ lib/strchrnul.valgrind ++ lib/streq.h ++ lib/strerror.c ++ lib/string.in.h ++ lib/stripslash.c ++ lib/strndup.c ++ lib/strnlen.c ++ lib/strsignal.c ++ lib/strstr.c ++ lib/strtod.c ++ lib/strtol.c ++ lib/sys_stat.in.h ++ lib/sys_time.in.h ++ lib/sys_wait.in.h ++ lib/tempname.c ++ lib/tempname.h ++ lib/time.in.h ++ lib/tmpdir.c ++ lib/tmpdir.h ++ lib/unistd--.h ++ lib/unistd-safer.h ++ lib/unistd.in.h ++ lib/unlocked-io.h ++ lib/vasnprintf.c ++ lib/vasnprintf.h ++ lib/vasprintf.c ++ lib/verify.h ++ lib/verror.c ++ lib/verror.h ++ lib/version-etc-fsf.c ++ lib/version-etc.c ++ lib/version-etc.h ++ lib/w32spawn.h ++ lib/wait-process.c ++ lib/wait-process.h ++ lib/waitpid.c ++ lib/wchar.in.h ++ lib/wcrtomb.c ++ lib/wctype.in.h ++ lib/xalloc-die.c ++ lib/xalloc.h ++ lib/xasprintf.c ++ lib/xmalloc.c ++ lib/xmalloca.c ++ lib/xmalloca.h ++ lib/xprintf.c ++ lib/xprintf.h ++ lib/xsize.h ++ lib/xstrndup.c ++ lib/xstrndup.h ++ lib/xvasprintf.c ++ lib/xvasprintf.h ++ m4/00gnulib.m4 ++ m4/alloca.m4 ++ m4/ansi-c++.m4 ++ m4/assert.m4 ++ m4/autobuild.m4 ++ m4/btowc.m4 ++ m4/c-stack.m4 ++ m4/canonicalize.m4 ++ m4/cloexec.m4 ++ m4/close-stream.m4 ++ m4/close.m4 ++ m4/closein.m4 ++ m4/closeout.m4 ++ m4/codeset.m4 ++ m4/config-h.m4 ++ m4/configmake.m4 ++ m4/dirname.m4 ++ m4/double-slash-root.m4 ++ m4/dup2.m4 ++ m4/eealloc.m4 ++ m4/environ.m4 ++ m4/errno_h.m4 ++ m4/error.m4 ++ m4/execute.m4 ++ m4/exponentd.m4 ++ m4/exponentf.m4 ++ m4/exponentl.m4 ++ m4/extensions.m4 ++ m4/fatal-signal.m4 ++ m4/fclose.m4 ++ m4/fcntl-o.m4 ++ m4/fcntl.m4 ++ m4/fcntl_h.m4 ++ m4/fflush.m4 ++ m4/filenamecat.m4 ++ m4/float_h.m4 ++ m4/fopen.m4 ++ m4/fpending.m4 ++ m4/fpieee.m4 ++ m4/fpurge.m4 ++ m4/freading.m4 ++ m4/frexp.m4 ++ m4/frexpl.m4 ++ m4/fseeko.m4 ++ m4/ftell.m4 ++ m4/ftello.m4 ++ m4/getdtablesize.m4 ++ m4/getopt.m4 ++ m4/getpagesize.m4 ++ m4/gettimeofday.m4 ++ m4/gl_list.m4 ++ m4/glibc21.m4 ++ m4/gnulib-common.m4 ++ m4/include_next.m4 ++ m4/inline.m4 ++ m4/intlmacosx.m4 ++ m4/intmax_t.m4 ++ m4/inttypes_h.m4 ++ m4/isnand.m4 ++ m4/isnanf.m4 ++ m4/isnanl.m4 ++ m4/langinfo_h.m4 ++ m4/lcmessage.m4 ++ m4/ldexp.m4 ++ m4/ldexpl.m4 ++ m4/lib-ld.m4 ++ m4/lib-link.m4 ++ m4/lib-prefix.m4 ++ m4/libsigsegv.m4 ++ m4/link.m4 ++ m4/localcharset.m4 ++ m4/locale-fr.m4 ++ m4/locale-ja.m4 ++ m4/locale-tr.m4 ++ m4/locale-zh.m4 ++ m4/locale_h.m4 ++ m4/localename.m4 ++ m4/lock.m4 ++ m4/longlong.m4 ++ m4/lseek.m4 ++ m4/lstat.m4 ++ m4/malloc.m4 ++ m4/malloca.m4 ++ m4/manywarnings.m4 ++ m4/math_h.m4 ++ m4/mbrtowc.m4 ++ m4/mbsinit.m4 ++ m4/mbstate_t.m4 ++ m4/mbtowc.m4 ++ m4/memchr.m4 ++ m4/mkdtemp.m4 ++ m4/mkstemp.m4 ++ m4/mmap-anon.m4 ++ m4/mode_t.m4 ++ m4/multiarch.m4 ++ m4/nl_langinfo.m4 ++ m4/nocrash.m4 ++ m4/open.m4 ++ m4/pathmax.m4 ++ m4/pipe2.m4 ++ m4/posix_spawn.m4 ++ m4/printf-frexp.m4 ++ m4/printf-frexpl.m4 ++ m4/printf.m4 ++ m4/putenv.m4 ++ m4/quotearg.m4 ++ m4/rawmemchr.m4 ++ m4/readlink.m4 ++ m4/regex.m4 ++ m4/rename.m4 ++ m4/rmdir.m4 ++ m4/sched_h.m4 ++ m4/setenv.m4 ++ m4/setlocale.m4 ++ m4/sig_atomic_t.m4 ++ m4/sigaction.m4 ++ m4/signal_h.m4 ++ m4/signalblocking.m4 ++ m4/signbit.m4 ++ m4/size_max.m4 ++ m4/snprintf.m4 ++ m4/spawn-pipe.m4 ++ m4/spawn_h.m4 ++ m4/ssize_t.m4 ++ m4/stat.m4 ++ m4/stdarg.m4 ++ m4/stdbool.m4 ++ m4/stddef_h.m4 ++ m4/stdint.m4 ++ m4/stdint_h.m4 ++ m4/stdio-safer.m4 ++ m4/stdio_h.m4 ++ m4/stdlib-safer.m4 ++ m4/stdlib_h.m4 ++ m4/strchrnul.m4 ++ m4/strdup.m4 ++ m4/strerror.m4 ++ m4/string_h.m4 ++ m4/strndup.m4 ++ m4/strnlen.m4 ++ m4/strsignal.m4 ++ m4/strstr.m4 ++ m4/strtod.m4 ++ m4/strtol.m4 ++ m4/symlink.m4 ++ m4/sys_stat_h.m4 ++ m4/sys_time_h.m4 ++ m4/sys_wait_h.m4 ++ m4/tempname.m4 ++ m4/threadlib.m4 ++ m4/time_h.m4 ++ m4/tls.m4 ++ m4/tmpdir.m4 ++ m4/ungetc.m4 ++ m4/unistd-safer.m4 ++ m4/unistd_h.m4 ++ m4/unlocked-io.m4 ++ m4/vasnprintf.m4 ++ m4/vasprintf-posix.m4 ++ m4/vasprintf.m4 ++ m4/version-etc.m4 ++ m4/wait-process.m4 ++ m4/waitpid.m4 ++ m4/warn-on-use.m4 ++ m4/warnings.m4 ++ m4/wchar_h.m4 ++ m4/wchar_t.m4 ++ m4/wcrtomb.m4 ++ m4/wctob.m4 ++ m4/wctomb.m4 ++ m4/wctype_h.m4 ++ m4/wint_t.m4 ++ m4/xalloc.m4 ++ m4/xsize.m4 ++ m4/xstrndup.m4 ++ m4/xvasprintf.m4 ++ tests/init.sh ++ tests/macros.h ++ tests/minus-zero.h ++ tests/nan.h ++ tests/signature.h ++ tests/test-alloca-opt.c ++ tests/test-array_list.c ++ tests/test-array_oset.c ++ tests/test-avltree_oset.c ++ tests/test-binary-io.c ++ tests/test-binary-io.sh ++ tests/test-btowc.c ++ tests/test-btowc1.sh ++ tests/test-btowc2.sh ++ tests/test-c-ctype.c ++ tests/test-c-stack.c ++ tests/test-c-stack.sh ++ tests/test-c-stack2.sh ++ tests/test-c-strcase.sh ++ tests/test-c-strcasecmp.c ++ tests/test-c-strncasecmp.c ++ tests/test-canonicalize-lgpl.c ++ tests/test-cloexec.c ++ tests/test-closein.c ++ tests/test-closein.sh ++ tests/test-dirname.c ++ tests/test-dup-safer.c ++ tests/test-dup2.c ++ tests/test-environ.c ++ tests/test-errno.c ++ tests/test-fcntl-h-c++.cc ++ tests/test-fcntl-h.c ++ tests/test-fcntl.c ++ tests/test-fflush.c ++ tests/test-fflush2.c ++ tests/test-fflush2.sh ++ tests/test-filenamecat.c ++ tests/test-fopen-safer.c ++ tests/test-fopen.c ++ tests/test-fopen.h ++ tests/test-fpending.c ++ tests/test-fpending.sh ++ tests/test-fpurge.c ++ tests/test-freadahead.c ++ tests/test-freadahead.sh ++ tests/test-freading.c ++ tests/test-frexp.c ++ tests/test-frexpl.c ++ tests/test-fseeko.c ++ tests/test-fseeko.sh ++ tests/test-fseeko2.sh ++ tests/test-ftell.c ++ tests/test-ftell.sh ++ tests/test-ftell2.sh ++ tests/test-ftell3.c ++ tests/test-ftello.c ++ tests/test-ftello.sh ++ tests/test-ftello2.sh ++ tests/test-ftello3.c ++ tests/test-getdtablesize.c ++ tests/test-getopt.c ++ tests/test-getopt.h ++ tests/test-getopt_long.h ++ tests/test-gettimeofday.c ++ tests/test-ignore-value.c ++ tests/test-isnand-nolibm.c ++ tests/test-isnand.h ++ tests/test-isnanf-nolibm.c ++ tests/test-isnanf.h ++ tests/test-isnanl-nolibm.c ++ tests/test-isnanl.h ++ tests/test-langinfo-c++.cc ++ tests/test-langinfo.c ++ tests/test-link.c ++ tests/test-link.h ++ tests/test-linkedhash_list.c ++ tests/test-locale-c++.cc ++ tests/test-locale-c++2.cc ++ tests/test-locale.c ++ tests/test-localename.c ++ tests/test-lseek.c ++ tests/test-lseek.sh ++ tests/test-lstat.c ++ tests/test-lstat.h ++ tests/test-malloc-gnu.c ++ tests/test-malloca.c ++ tests/test-math-c++.cc ++ tests/test-math-c++2.cc ++ tests/test-math.c ++ tests/test-mbrtowc-w32-1.sh ++ tests/test-mbrtowc-w32-2.sh ++ tests/test-mbrtowc-w32-3.sh ++ tests/test-mbrtowc-w32-4.sh ++ tests/test-mbrtowc-w32-5.sh ++ tests/test-mbrtowc-w32.c ++ tests/test-mbrtowc.c ++ tests/test-mbrtowc1.sh ++ tests/test-mbrtowc2.sh ++ tests/test-mbrtowc3.sh ++ tests/test-mbrtowc4.sh ++ tests/test-mbsinit.c ++ tests/test-mbsinit.sh ++ tests/test-memchr.c ++ tests/test-memchr2.c ++ tests/test-nl_langinfo.c ++ tests/test-nl_langinfo.sh ++ tests/test-open.c ++ tests/test-open.h ++ tests/test-pipe2.c ++ tests/test-posix_spawn1.c ++ tests/test-posix_spawn1.in.sh ++ tests/test-posix_spawn2.c ++ tests/test-posix_spawn2.in.sh ++ tests/test-printf-frexp.c ++ tests/test-printf-frexpl.c ++ tests/test-quotearg-simple.c ++ tests/test-quotearg.h ++ tests/test-rawmemchr.c ++ tests/test-readlink.c ++ tests/test-readlink.h ++ tests/test-rename.c ++ tests/test-rename.h ++ tests/test-rmdir.c ++ tests/test-rmdir.h ++ tests/test-sched.c ++ tests/test-setenv.c ++ tests/test-setlocale1.c ++ tests/test-setlocale1.sh ++ tests/test-setlocale2.c ++ tests/test-setlocale2.sh ++ tests/test-sigaction.c ++ tests/test-signal-c++.cc ++ tests/test-signal-c++2.cc ++ tests/test-signal.c ++ tests/test-signbit.c ++ tests/test-snprintf.c ++ tests/test-spawn-c++.cc ++ tests/test-spawn-pipe.c ++ tests/test-spawn-pipe.sh ++ tests/test-spawn.c ++ tests/test-stat.c ++ tests/test-stat.h ++ tests/test-stdbool.c ++ tests/test-stddef.c ++ tests/test-stdint.c ++ tests/test-stdio-c++.cc ++ tests/test-stdio-c++2.cc ++ tests/test-stdio.c ++ tests/test-stdlib-c++.cc ++ tests/test-stdlib-c++2.cc ++ tests/test-stdlib.c ++ tests/test-strchrnul.c ++ tests/test-strerror.c ++ tests/test-string-c++.cc ++ tests/test-string-c++2.cc ++ tests/test-string.c ++ tests/test-strnlen.c ++ tests/test-strsignal.c ++ tests/test-strstr.c ++ tests/test-strtod.c ++ tests/test-symlink.c ++ tests/test-symlink.h ++ tests/test-sys_stat-c++.cc ++ tests/test-sys_stat.c ++ tests/test-sys_time-c++.cc ++ tests/test-sys_time.c ++ tests/test-sys_wait-c++.cc ++ tests/test-sys_wait.c ++ tests/test-sys_wait.h ++ tests/test-time-c++.cc ++ tests/test-time-c++2.cc ++ tests/test-time.c ++ tests/test-unistd-c++.cc ++ tests/test-unistd.c ++ tests/test-unsetenv.c ++ tests/test-update-copyright.sh ++ tests/test-vasnprintf.c ++ tests/test-vasprintf-posix.c ++ tests/test-vasprintf.c ++ tests/test-vc-list-files-cvs.sh ++ tests/test-vc-list-files-git.sh ++ tests/test-verify.c ++ tests/test-verify.sh ++ tests/test-version-etc.c ++ tests/test-version-etc.sh ++ tests/test-wchar-c++.cc ++ tests/test-wchar.c ++ tests/test-wcrtomb-w32-1.sh ++ tests/test-wcrtomb-w32-2.sh ++ tests/test-wcrtomb-w32-3.sh ++ tests/test-wcrtomb-w32-4.sh ++ tests/test-wcrtomb-w32-5.sh ++ tests/test-wcrtomb-w32.c ++ tests/test-wcrtomb.c ++ tests/test-wcrtomb.sh ++ tests/test-wctype-h-c++.cc ++ tests/test-wctype-h.c ++ tests/test-xalloc-die.c ++ tests/test-xalloc-die.sh ++ tests/test-xvasprintf.c ++ tests/zerosize-ptr.h ++ tests=lib/c-strcase.h ++ tests=lib/c-strcasecmp.c ++ tests=lib/c-strncasecmp.c ++ tests=lib/ftell.c ++ tests=lib/getpagesize.c ++ tests=lib/gl_array_list.c ++ tests=lib/gl_array_list.h ++ tests=lib/gl_array_oset.c ++ tests=lib/gl_array_oset.h ++ tests=lib/link.c ++ tests=lib/locale.in.h ++ tests=lib/localename.c ++ tests=lib/localename.h ++ tests=lib/putenv.c ++ tests=lib/setenv.c ++ tests=lib/setlocale.c ++ tests=lib/strdup.c ++ tests=lib/symlink.c ++ tests=lib/unsetenv.c ++ tests=lib/wctob.c ++ tests=lib/wctomb-impl.h ++ tests=lib/wctomb.c ++ top/GNUmakefile ++ top/maint.mk ++]) ++m4trace:m4/include_next.m4:35: -1- AC_DEFUN([gl_INCLUDE_NEXT], [ ++ AC_LANG_PREPROC_REQUIRE() ++ AC_CACHE_CHECK([whether the preprocessor supports include_next], ++ [gl_cv_have_include_next], ++ [rm -rf conftestd1a conftestd1b conftestd2 ++ mkdir conftestd1a conftestd1b conftestd2 ++ dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on ++ dnl AIX 6.1 support include_next when used as first preprocessor directive ++ dnl in a file, but not when preceded by another include directive. Check ++ dnl for this bug by including . ++ dnl Additionally, with this same compiler, include_next is a no-op when ++ dnl used in a header file that was included by specifying its absolute ++ dnl file name. Despite these two bugs, include_next is used in the ++ dnl compiler's . By virtue of the second bug, we need to use ++ dnl include_next as well in this case. ++ cat < conftestd1a/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd1b/conftest.h ++#define DEFINED_IN_CONFTESTD1 ++#include ++#include_next ++#ifdef DEFINED_IN_CONFTESTD2 ++int foo; ++#else ++#error "include_next doesn't work" ++#endif ++EOF ++ cat < conftestd2/conftest.h ++#ifndef DEFINED_IN_CONFTESTD1 ++#error "include_next test doesn't work" ++#endif ++#define DEFINED_IN_CONFTESTD2 ++EOF ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" ++dnl We intentionally avoid using AC_LANG_SOURCE here. ++ AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], ++ [gl_cv_have_include_next=yes], ++ [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" ++ AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], ++ [gl_cv_have_include_next=buggy], ++ [gl_cv_have_include_next=no]) ++ ]) ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ rm -rf conftestd1a conftestd1b conftestd2 ++ ]) ++ PRAGMA_SYSTEM_HEADER= ++ if test $gl_cv_have_include_next = yes; then ++ INCLUDE_NEXT=include_next ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ if test -n "$GCC"; then ++ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' ++ fi ++ else ++ if test $gl_cv_have_include_next = buggy; then ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next ++ else ++ INCLUDE_NEXT=include ++ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include ++ fi ++ fi ++ AC_SUBST([INCLUDE_NEXT]) ++ AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) ++ AC_SUBST([PRAGMA_SYSTEM_HEADER]) ++ AC_CACHE_CHECK([whether system header files limit the line length], ++ [gl_cv_pragma_columns], ++ [dnl HP NonStop systems, which define __TANDEM, have this misfeature. ++ AC_EGREP_CPP([choke me], ++ [ ++#ifdef __TANDEM ++choke me ++#endif ++ ], ++ [gl_cv_pragma_columns=yes], ++ [gl_cv_pragma_columns=no]) ++ ]) ++ if test $gl_cv_pragma_columns = yes; then ++ PRAGMA_COLUMNS="#pragma COLUMNS 10000" ++ else ++ PRAGMA_COLUMNS= ++ fi ++ AC_SUBST([PRAGMA_COLUMNS]) ++]) ++m4trace:m4/include_next.m4:153: -1- AC_DEFUN([gl_CHECK_NEXT_HEADERS], [ ++ gl_NEXT_HEADERS_INTERNAL([$1], [check]) ++]) ++m4trace:m4/include_next.m4:163: -1- AC_DEFUN([gl_NEXT_HEADERS], [ ++ gl_NEXT_HEADERS_INTERNAL([$1], [assume]) ++]) ++m4trace:m4/include_next.m4:169: -1- AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], [ ++ AC_REQUIRE([gl_INCLUDE_NEXT]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ ++ m4_if([$2], [check], ++ [AC_CHECK_HEADERS_ONCE([$1]) ++ ]) ++ ++ m4_foreach_w([gl_HEADER_NAME], [$1], ++ [AS_VAR_PUSHDEF([gl_next_header], ++ [gl_cv_next_]m4_defn([gl_HEADER_NAME])) ++ if test $gl_cv_have_include_next = yes; then ++ AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) ++ else ++ AC_CACHE_CHECK( ++ [absolute name of <]m4_defn([gl_HEADER_NAME])[>], ++ m4_defn([gl_next_header]), ++ [m4_if([$2], [check], ++ [AS_VAR_PUSHDEF([gl_header_exists], ++ [ac_cv_header_]m4_defn([gl_HEADER_NAME])) ++ if test AS_VAR_GET(gl_header_exists) = yes; then ++ AS_VAR_POPDEF([gl_header_exists]) ++ ]) ++ AC_LANG_CONFTEST( ++ [AC_LANG_SOURCE( ++ [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]] ++ )]) ++ dnl AIX "xlc -E" and "cc -E" omit #line directives for header ++ dnl files that contain only a #include of other header files and ++ dnl no non-comment tokens of their own. This leads to a failure ++ dnl to detect the absolute name of , , ++ dnl and others. The workaround is to force preservation ++ dnl of comments through option -C. This ensures all necessary ++ dnl #line directives are present. GCC supports option -C as well. ++ case "$host_os" in ++ aix*) gl_absname_cpp="$ac_cpp -C" ;; ++ *) gl_absname_cpp="$ac_cpp" ;; ++ esac ++ dnl eval is necessary to expand gl_absname_cpp. ++ dnl Ultrix and Pyramid sh refuse to redirect output of eval, ++ dnl so use subshell. ++ AS_VAR_SET([gl_next_header], ++ ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | ++ sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{ ++ s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1# ++ s#^/[^/]#//&# ++ p ++ q ++ }'`'"']) ++ m4_if([$2], [check], ++ [else ++ AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) ++ fi ++ ]) ++ ]) ++ fi ++ AC_SUBST( ++ AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), ++ [AS_VAR_GET([gl_next_header])]) ++ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' ++ gl_next_as_first_directive='<'gl_HEADER_NAME'>' ++ else ++ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' ++ gl_next_as_first_directive=AS_VAR_GET([gl_next_header]) ++ fi ++ AC_SUBST( ++ AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), ++ [$gl_next_as_first_directive]) ++ AS_VAR_POPDEF([gl_next_header])]) ++]) ++m4trace:m4/inline.m4:12: -1- AC_DEFUN([gl_INLINE], [ ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_CACHE_CHECK([whether the compiler generally respects inline], ++ [gl_cv_c_inline_effective], ++ [if test $ac_cv_c_inline = no; then ++ gl_cv_c_inline_effective=no ++ else ++ dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is ++ dnl specified. ++ dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result ++ dnl depends on optimization flags, which can be in CFLAGS. ++ dnl (AC_EGREP_CPP looks only at the CPPFLAGS.) ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[]], ++ [[#ifdef __NO_INLINE__ ++ #error "inline is not effective" ++ #endif]])], ++ [gl_cv_c_inline_effective=yes], ++ [gl_cv_c_inline_effective=no]) ++ fi ++ ]) ++ if test $gl_cv_c_inline_effective = yes; then ++ AC_DEFINE([HAVE_INLINE], [1], ++ [Define to 1 if the compiler supports one of the keywords ++ 'inline', '__inline__', '__inline' and effectively inlines ++ functions marked as such.]) ++ fi ++]) ++m4trace:m4/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [ ++ dnl Check for API introduced in MacOS X 10.2. ++ AC_CACHE_CHECK([for CFPreferencesCopyAppValue], ++ [gt_cv_func_CFPreferencesCopyAppValue], ++ [gt_save_LIBS="$LIBS" ++ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[CFPreferencesCopyAppValue(NULL, NULL)]])], ++ [gt_cv_func_CFPreferencesCopyAppValue=yes], ++ [gt_cv_func_CFPreferencesCopyAppValue=no]) ++ LIBS="$gt_save_LIBS"]) ++ if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then ++ AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], ++ [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) ++ fi ++ dnl Check for API introduced in MacOS X 10.3. ++ AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], ++ [gt_save_LIBS="$LIBS" ++ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[CFLocaleCopyCurrent();]])], ++ [gt_cv_func_CFLocaleCopyCurrent=yes], ++ [gt_cv_func_CFLocaleCopyCurrent=no]) ++ LIBS="$gt_save_LIBS"]) ++ if test $gt_cv_func_CFLocaleCopyCurrent = yes; then ++ AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], ++ [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) ++ fi ++ INTL_MACOSX_LIBS= ++ if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then ++ INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" ++ fi ++ AC_SUBST([INTL_MACOSX_LIBS]) ++]) ++m4trace:m4/intmax_t.m4:15: -1- AC_DEFUN([gl_AC_TYPE_INTMAX_T], [ ++ dnl For simplicity, we assume that a header file defines 'intmax_t' if and ++ dnl only if it defines 'uintmax_t'. ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], ++ [Define to long or long long if and don't define.]) ++ else ++ AC_DEFINE([HAVE_INTMAX_T], [1], ++ [Define if you have the 'intmax_t' type in or .]) ++ fi ++]) ++m4trace:m4/intmax_t.m4:36: -1- AC_DEFUN([gt_AC_TYPE_INTMAX_T], [ ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[ ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++#include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++#include ++#endif ++ ]], ++ [[intmax_t x = -1; return !x;]])], ++ [gt_cv_c_intmax_t=yes], ++ [gt_cv_c_intmax_t=no])]) ++ if test $gt_cv_c_intmax_t = yes; then ++ AC_DEFINE([HAVE_INTMAX_T], [1], ++ [Define if you have the 'intmax_t' type in or .]) ++ else ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ test $ac_cv_type_long_long_int = yes \ ++ && ac_type='long long' \ ++ || ac_type='long' ++ AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], ++ [Define to long or long long if and don't define.]) ++ fi ++]) ++m4trace:m4/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ ++ AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[ ++#include ++#include ++ ]], ++ [[uintmax_t i = (uintmax_t) -1; return !i;]])], ++ [gl_cv_header_inttypes_h=yes], ++ [gl_cv_header_inttypes_h=no])]) ++ if test $gl_cv_header_inttypes_h = yes; then ++ AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], ++ [Define if exists, doesn't clash with , ++ and declares uintmax_t. ]) ++ fi ++]) ++m4trace:m4/isnand.m4:9: -1- AC_DEFUN([gl_FUNC_ISNAND], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ ISNAND_LIBM= ++ gl_HAVE_ISNAND_NO_LIBM ++ if test $gl_cv_func_isnand_no_libm = no; then ++ gl_HAVE_ISNAND_IN_LIBM ++ if test $gl_cv_func_isnand_in_libm = yes; then ++ ISNAND_LIBM=-lm ++ fi ++ fi ++ dnl The variable gl_func_isnand set here is used by isnan.m4. ++ if test $gl_cv_func_isnand_no_libm = yes \ ++ || test $gl_cv_func_isnand_in_libm = yes; then ++ gl_func_isnand=yes ++ else ++ gl_func_isnand=no ++ HAVE_ISNAND=0 ++ gl_BUILD_ISNAND ++ fi ++ AC_SUBST([ISNAND_LIBM]) ++]) ++m4trace:m4/isnand.m4:34: -1- AC_DEFUN([gl_FUNC_ISNAND_NO_LIBM], [ ++ gl_HAVE_ISNAND_NO_LIBM ++ if test $gl_cv_func_isnand_no_libm = yes; then ++ AC_DEFINE([HAVE_ISNAND_IN_LIBC], [1], ++ [Define if the isnan(double) function is available in libc.]) ++ else ++ gl_BUILD_ISNAND ++ fi ++]) ++m4trace:m4/isnand.m4:46: -1- AC_DEFUN([gl_BUILD_ISNAND], [ ++ AC_LIBOBJ([isnand]) ++ gl_DOUBLE_EXPONENT_LOCATION ++]) ++m4trace:m4/isnand.m4:54: -1- AC_DEFUN([gl_HAVE_ISNAND_IN_LIBM], [ ++ AC_CACHE_CHECK([whether isnan(double) can be used with libm], ++ [gl_cv_func_isnand_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #if __GNUC__ >= 4 ++ # undef isnand ++ # define isnand(x) __builtin_isnan ((double)(x)) ++ #elif defined isnan ++ # undef isnand ++ # define isnand(x) isnan ((double)(x)) ++ #endif ++ double x;]], ++ [[return isnand (x);]])], ++ [gl_cv_func_isnand_in_libm=yes], ++ [gl_cv_func_isnand_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++]) ++m4trace:m4/isnand.m4:79: -1- AC_DEFUN([gl_HAVE_ISNAND_NO_LIBM], [ ++ AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm], ++ [gl_cv_func_isnand_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #if __GNUC__ >= 4 ++ # undef isnand ++ # define isnand(x) __builtin_isnan ((double)(x)) ++ #else ++ # undef isnand ++ # define isnand(x) isnan ((double)(x)) ++ #endif ++ double x;]], ++ [[return isnand (x);]])], ++ [gl_cv_func_isnand_no_libm=yes], ++ [gl_cv_func_isnand_no_libm=no]) ++ ]) ++]) ++m4trace:m4/isnanf.m4:9: -1- AC_DEFUN([gl_FUNC_ISNANF], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ ISNANF_LIBM= ++ gl_HAVE_ISNANF_NO_LIBM ++ if test $gl_cv_func_isnanf_no_libm = no; then ++ gl_HAVE_ISNANF_IN_LIBM ++ if test $gl_cv_func_isnanf_in_libm = yes; then ++ ISNANF_LIBM=-lm ++ fi ++ fi ++ if test $gl_cv_func_isnanf_no_libm = yes \ ++ || test $gl_cv_func_isnanf_in_libm = yes; then ++ save_LIBS="$LIBS" ++ LIBS="$LIBS $ISNANF_LIBM" ++ gl_ISNANF_WORKS ++ LIBS="$save_LIBS" ++ case "$gl_cv_func_isnanf_works" in ++ *yes) gl_func_isnanf=yes ;; ++ *) gl_func_isnanf=no; ISNANF_LIBM= ;; ++ esac ++ else ++ gl_func_isnanf=no ++ fi ++ if test $gl_func_isnanf != yes; then ++ HAVE_ISNANF=0 ++ gl_BUILD_ISNANF ++ fi ++ AC_SUBST([ISNANF_LIBM]) ++]) ++m4trace:m4/isnanf.m4:42: -1- AC_DEFUN([gl_FUNC_ISNANF_NO_LIBM], [ ++ gl_HAVE_ISNANF_NO_LIBM ++ if test $gl_cv_func_isnanf_no_libm = yes; then ++ gl_ISNANF_WORKS ++ fi ++ if test $gl_cv_func_isnanf_no_libm = yes \ ++ && { case "$gl_cv_func_isnanf_works" in ++ *yes) true;; ++ *) false;; ++ esac ++ }; then ++ AC_DEFINE([HAVE_ISNANF_IN_LIBC], [1], ++ [Define if the isnan(float) function is available in libc.]) ++ else ++ gl_BUILD_ISNANF ++ fi ++]) ++m4trace:m4/isnanf.m4:62: -1- AC_DEFUN([gl_BUILD_ISNANF], [ ++ AC_LIBOBJ([isnanf]) ++ gl_FLOAT_EXPONENT_LOCATION ++]) ++m4trace:m4/isnanf.m4:69: -1- AC_DEFUN([gl_HAVE_ISNANF_NO_LIBM], [ ++ AC_CACHE_CHECK([whether isnan(float) can be used without linking with libm], ++ [gl_cv_func_isnanf_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #if __GNUC__ >= 4 ++ # undef isnanf ++ # define isnanf(x) __builtin_isnanf ((float)(x)) ++ #elif defined isnan ++ # undef isnanf ++ # define isnanf(x) isnan ((float)(x)) ++ #endif ++ float x;]], ++ [[return isnanf (x);]])], ++ [gl_cv_func_isnanf_no_libm=yes], ++ [gl_cv_func_isnanf_no_libm=no]) ++ ]) ++]) ++m4trace:m4/isnanf.m4:92: -1- AC_DEFUN([gl_HAVE_ISNANF_IN_LIBM], [ ++ AC_CACHE_CHECK([whether isnan(float) can be used with libm], ++ [gl_cv_func_isnanf_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #if __GNUC__ >= 4 ++ # undef isnanf ++ # define isnanf(x) __builtin_isnanf ((float)(x)) ++ #elif defined isnan ++ # undef isnanf ++ # define isnanf(x) isnan ((float)(x)) ++ #endif ++ float x;]], ++ [[return isnanf (x);]])], ++ [gl_cv_func_isnanf_in_libm=yes], ++ [gl_cv_func_isnanf_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++]) ++m4trace:m4/isnanf.m4:120: -1- AC_DEFUN([gl_ISNANF_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION]) ++ AC_CACHE_CHECK([whether isnan(float) works], [gl_cv_func_isnanf_works], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#if __GNUC__ >= 4 ++# undef isnanf ++# define isnanf(x) __builtin_isnanf ((float)(x)) ++#elif defined isnan ++# undef isnanf ++# define isnanf(x) isnan ((float)(x)) ++#endif ++/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ ++#ifdef __DECC ++static float ++NaN () ++{ ++ static float zero = 0.0f; ++ return zero / zero; ++} ++#else ++# define NaN() (0.0f / 0.0f) ++#endif ++#define NWORDS \ ++ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { unsigned int word[NWORDS]; float value; } memory_float; ++int main() ++{ ++ int result = 0; ++ ++ if (isnanf (1.0f / 0.0f)) ++ result |= 1; ++ ++ if (!isnanf (NaN ())) ++ result |= 2; ++ ++#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT ++ /* The isnanf function should be immune against changes in the sign bit and ++ in the mantissa bits. The xor operation twiddles a bit that can only be ++ a sign bit or a mantissa bit. */ ++ if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0) ++ { ++ memory_float m; ++ ++ m.value = NaN (); ++ /* Set the bits below the exponent to 01111...111. */ ++ m.word[0] &= -1U << FLT_EXPBIT0_BIT; ++ m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1; ++ if (!isnanf (m.value)) ++ result |= 4; ++ } ++#endif ++ ++ return result; ++}]])], ++ [gl_cv_func_isnanf_works=yes], ++ [gl_cv_func_isnanf_works=no], ++ [case "$host_os" in ++ irix* | solaris*) gl_cv_func_isnanf_works="guessing no";; ++ *) gl_cv_func_isnanf_works="guessing yes";; ++ esac ++ ]) ++ ]) ++]) ++m4trace:m4/isnanl.m4:7: -1- AC_DEFUN([gl_FUNC_ISNANL], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ ISNANL_LIBM= ++ gl_HAVE_ISNANL_NO_LIBM ++ if test $gl_cv_func_isnanl_no_libm = no; then ++ gl_HAVE_ISNANL_IN_LIBM ++ if test $gl_cv_func_isnanl_in_libm = yes; then ++ ISNANL_LIBM=-lm ++ fi ++ fi ++ if test $gl_cv_func_isnanl_no_libm = yes \ ++ || test $gl_cv_func_isnanl_in_libm = yes; then ++ save_LIBS="$LIBS" ++ LIBS="$LIBS $ISNANL_LIBM" ++ gl_FUNC_ISNANL_WORKS ++ LIBS="$save_LIBS" ++ case "$gl_cv_func_isnanl_works" in ++ *yes) gl_func_isnanl=yes ;; ++ *) gl_func_isnanl=no; ISNANL_LIBM= ;; ++ esac ++ else ++ gl_func_isnanl=no ++ fi ++ if test $gl_func_isnanl != yes; then ++ HAVE_ISNANL=0 ++ gl_BUILD_ISNANL ++ fi ++ AC_SUBST([ISNANL_LIBM]) ++]) ++m4trace:m4/isnanl.m4:38: -1- AC_DEFUN([gl_FUNC_ISNANL_NO_LIBM], [ ++ gl_HAVE_ISNANL_NO_LIBM ++ gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm ++ if test $gl_func_isnanl_no_libm = yes; then ++ gl_FUNC_ISNANL_WORKS ++ case "$gl_cv_func_isnanl_works" in ++ *yes) ;; ++ *) gl_func_isnanl_no_libm=no ;; ++ esac ++ fi ++ if test $gl_func_isnanl_no_libm = yes; then ++ AC_DEFINE([HAVE_ISNANL_IN_LIBC], [1], ++ [Define if the isnan(long double) function is available in libc.]) ++ else ++ gl_BUILD_ISNANL ++ fi ++]) ++m4trace:m4/isnanl.m4:58: -1- AC_DEFUN([gl_BUILD_ISNANL], [ ++ AC_LIBOBJ([isnanl]) ++ gl_LONG_DOUBLE_EXPONENT_LOCATION ++]) ++m4trace:m4/isnanl.m4:65: -1- AC_DEFUN([gl_HAVE_ISNANL_NO_LIBM], [ ++ AC_CACHE_CHECK([whether isnan(long double) can be used without linking with libm], ++ [gl_cv_func_isnanl_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #if __GNUC__ >= 4 ++ # undef isnanl ++ # define isnanl(x) __builtin_isnanl ((long double)(x)) ++ #elif defined isnan ++ # undef isnanl ++ # define isnanl(x) isnan ((long double)(x)) ++ #endif ++ long double x;]], ++ [[return isnanl (x);]])], ++ [gl_cv_func_isnanl_no_libm=yes], ++ [gl_cv_func_isnanl_no_libm=no]) ++ ]) ++]) ++m4trace:m4/isnanl.m4:88: -1- AC_DEFUN([gl_HAVE_ISNANL_IN_LIBM], [ ++ AC_CACHE_CHECK([whether isnan(long double) can be used with libm], ++ [gl_cv_func_isnanl_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #if __GNUC__ >= 4 ++ # undef isnanl ++ # define isnanl(x) __builtin_isnanl ((long double)(x)) ++ #elif defined isnan ++ # undef isnanl ++ # define isnanl(x) isnan ((long double)(x)) ++ #endif ++ long double x;]], ++ [[return isnanl (x);]])], ++ [gl_cv_func_isnanl_in_libm=yes], ++ [gl_cv_func_isnanl_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++]) ++m4trace:m4/isnanl.m4:118: -1- AC_DEFUN([gl_FUNC_ISNANL_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_BIGENDIAN]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether isnanl works], [gl_cv_func_isnanl_works], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#if __GNUC__ >= 4 ++# undef isnanl ++# define isnanl(x) __builtin_isnanl ((long double)(x)) ++#elif defined isnan ++# undef isnanl ++# define isnanl(x) isnan ((long double)(x)) ++#endif ++#define NWORDS \ ++ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { unsigned int word[NWORDS]; long double value; } ++ memory_long_double; ++/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the ++ runtime type conversion. */ ++#ifdef __sgi ++static long double NaNl () ++{ ++ double zero = 0.0; ++ return zero / zero; ++} ++#else ++# define NaNl() (0.0L / 0.0L) ++#endif ++int main () ++{ ++ int result = 0; ++ ++ if (!isnanl (NaNl ())) ++ result |= 1; ++ ++ { ++ memory_long_double m; ++ unsigned int i; ++ ++ /* The isnanl function should be immune against changes in the sign bit and ++ in the mantissa bits. The xor operation twiddles a bit that can only be ++ a sign bit or a mantissa bit (since the exponent never extends to ++ bit 31). */ ++ m.value = NaNl (); ++ m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); ++ for (i = 0; i < NWORDS; i++) ++ m.word[i] |= 1; ++ if (!isnanl (m.value)) ++ result |= 1; ++ } ++ ++#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 2; ++ } ++ { ++ /* Signalling NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 2; ++ } ++ /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities, ++ Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in ++ Intel IA-64 Architecture Software Developer's Manual, Volume 1: ++ Application Architecture. ++ Table 5-2 "Floating-Point Register Encodings" ++ Figure 5-6 "Memory to Floating-Point Register Data Translation" ++ */ ++ { /* Pseudo-NaN. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 4; ++ } ++ { /* Pseudo-Infinity. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 8; ++ } ++ { /* Pseudo-Zero. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 16; ++ } ++ { /* Unnormalized number. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 32; ++ } ++ { /* Pseudo-Denormal. */ ++ static memory_long_double x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (!isnanl (x.value)) ++ result |= 64; ++ } ++#endif ++ ++ return result; ++}]])], ++ [gl_cv_func_isnanl_works=yes], ++ [gl_cv_func_isnanl_works=no], ++ [case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";; ++ *) ++ case "$host_os" in ++ netbsd*) gl_cv_func_isnanl_works="guessing no";; ++ *) gl_cv_func_isnanl_works="guessing yes";; ++ esac ++ ;; ++ esac ++ ]) ++ ]) ++]) ++m4trace:m4/langinfo_h.m4:7: -1- AC_DEFUN([gl_LANGINFO_H], [ ++ AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) ++ ++ dnl Persuade glibc-2.0.6 to define CODESET. ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ dnl is always overridden, because of GNULIB_POSIXCHECK. ++ gl_CHECK_NEXT_HEADERS([langinfo.h]) ++ ++ dnl Determine whether exists. It is missing on mingw and BeOS. ++ HAVE_LANGINFO_CODESET=0 ++ HAVE_LANGINFO_T_FMT_AMPM=0 ++ HAVE_LANGINFO_ERA=0 ++ HAVE_LANGINFO_YESEXPR=0 ++ AC_CHECK_HEADERS_ONCE([langinfo.h]) ++ if test $ac_cv_header_langinfo_h = yes; then ++ HAVE_LANGINFO_H=1 ++ dnl Determine what defines. CODESET and ERA etc. are missing ++ dnl on OpenBSD 3.8. T_FMT_AMPM and YESEXPR, NOEXPR are missing on IRIX 5.3. ++ AC_CACHE_CHECK([whether langinfo.h defines CODESET], ++ [gl_cv_header_langinfo_codeset], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[#include ++int a = CODESET; ++]])], ++ [gl_cv_header_langinfo_codeset=yes], ++ [gl_cv_header_langinfo_codeset=no]) ++ ]) ++ if test $gl_cv_header_langinfo_codeset = yes; then ++ HAVE_LANGINFO_CODESET=1 ++ fi ++ AC_CACHE_CHECK([whether langinfo.h defines T_FMT_AMPM], ++ [gl_cv_header_langinfo_t_fmt_ampm], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[#include ++int a = T_FMT_AMPM; ++]])], ++ [gl_cv_header_langinfo_t_fmt_ampm=yes], ++ [gl_cv_header_langinfo_t_fmt_ampm=no]) ++ ]) ++ if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then ++ HAVE_LANGINFO_T_FMT_AMPM=1 ++ fi ++ AC_CACHE_CHECK([whether langinfo.h defines ERA], ++ [gl_cv_header_langinfo_era], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[#include ++int a = ERA; ++]])], ++ [gl_cv_header_langinfo_era=yes], ++ [gl_cv_header_langinfo_era=no]) ++ ]) ++ if test $gl_cv_header_langinfo_era = yes; then ++ HAVE_LANGINFO_ERA=1 ++ fi ++ AC_CACHE_CHECK([whether langinfo.h defines YESEXPR], ++ [gl_cv_header_langinfo_yesexpr], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[#include ++int a = YESEXPR; ++]])], ++ [gl_cv_header_langinfo_yesexpr=yes], ++ [gl_cv_header_langinfo_yesexpr=no]) ++ ]) ++ if test $gl_cv_header_langinfo_yesexpr = yes; then ++ HAVE_LANGINFO_YESEXPR=1 ++ fi ++ else ++ HAVE_LANGINFO_H=0 ++ fi ++ AC_SUBST([HAVE_LANGINFO_H]) ++ AC_SUBST([HAVE_LANGINFO_CODESET]) ++ AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM]) ++ AC_SUBST([HAVE_LANGINFO_ERA]) ++ AC_SUBST([HAVE_LANGINFO_YESEXPR]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [nl_langinfo]) ++]) ++m4trace:m4/langinfo_h.m4:90: -1- AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/langinfo_h.m4:99: -1- AC_DEFUN([gl_LANGINFO_H_DEFAULTS], [ ++ GNULIB_NL_LANGINFO=0; AC_SUBST([GNULIB_NL_LANGINFO]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_NL_LANGINFO=1; AC_SUBST([HAVE_NL_LANGINFO]) ++ REPLACE_NL_LANGINFO=0; AC_SUBST([REPLACE_NL_LANGINFO]) ++]) ++m4trace:m4/lcmessage.m4:22: -1- AC_DEFUN([gt_LC_MESSAGES], [ ++ AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], ++ [AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[return LC_MESSAGES]])], ++ [gt_cv_val_LC_MESSAGES=yes], ++ [gt_cv_val_LC_MESSAGES=no])]) ++ if test $gt_cv_val_LC_MESSAGES = yes; then ++ AC_DEFINE([HAVE_LC_MESSAGES], [1], ++ [Define if your file defines LC_MESSAGES.]) ++ fi ++]) ++m4trace:m4/ldexp.m4:7: -1- AC_DEFUN([gl_FUNC_LDEXP], [ ++ AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM]) ++ LDEXP_LIBM= ++ if test $gl_cv_func_ldexp_no_libm = no; then ++ AC_CACHE_CHECK([whether ldexp() can be used with libm], ++ [gl_cv_func_ldexp_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES ++ # define __NO_MATH_INLINES 1 /* for glibc */ ++ #endif ++ #include ++ double (*funcptr) (double, int) = ldexp; ++ double x;]], ++ [[return ldexp (x, -1) > 0;]])], ++ [gl_cv_func_ldexp_in_libm=yes], ++ [gl_cv_func_ldexp_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++ if test $gl_cv_func_ldexp_in_libm = yes; then ++ LDEXP_LIBM=-lm ++ fi ++ fi ++ AC_SUBST([LDEXP_LIBM]) ++]) ++m4trace:m4/ldexp.m4:38: -1- AC_DEFUN([gl_CHECK_LDEXP_NO_LIBM], [ ++ AC_CACHE_CHECK([whether ldexp() can be used without linking with libm], ++ [gl_cv_func_ldexp_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES ++ # define __NO_MATH_INLINES 1 /* for glibc */ ++ #endif ++ #include ++ double (*funcptr) (double, int) = ldexp; ++ double x;]], ++ [[return ldexp (x, -1) > 0;]])], ++ [gl_cv_func_ldexp_no_libm=yes], ++ [gl_cv_func_ldexp_no_libm=no]) ++ ]) ++]) ++m4trace:m4/ldexpl.m4:7: -1- AC_DEFUN([gl_FUNC_LDEXPL], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ AC_REQUIRE([gl_FUNC_ISNANL]) dnl for ISNANL_LIBM ++ dnl Check whether it's declared. ++ dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in . ++ AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include ]) ++ LDEXPL_LIBM= ++ if test $HAVE_DECL_LDEXPL = 1; then ++ gl_CHECK_LDEXPL_NO_LIBM ++ if test $gl_cv_func_ldexpl_no_libm = no; then ++ AC_CACHE_CHECK([whether ldexpl() can be used with libm], ++ [gl_cv_func_ldexpl_in_libm], ++ [ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -lm" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ long double x;]], ++ [[return ldexpl (x, -1) > 0;]])], ++ [gl_cv_func_ldexpl_in_libm=yes], ++ [gl_cv_func_ldexpl_in_libm=no]) ++ LIBS="$save_LIBS" ++ ]) ++ if test $gl_cv_func_ldexpl_in_libm = yes; then ++ LDEXPL_LIBM=-lm ++ fi ++ fi ++ if test $gl_cv_func_ldexpl_no_libm = yes \ ++ || test $gl_cv_func_ldexpl_in_libm = yes; then ++ save_LIBS="$LIBS" ++ LIBS="$LIBS $LDEXPL_LIBM" ++ gl_FUNC_LDEXPL_WORKS ++ LIBS="$save_LIBS" ++ case "$gl_cv_func_ldexpl_works" in ++ *yes) gl_func_ldexpl=yes ;; ++ *) gl_func_ldexpl=no; REPLACE_LDEXPL=1 ;; ++ esac ++ else ++ gl_func_ldexpl=no ++ fi ++ if test $gl_func_ldexpl = yes; then ++ AC_DEFINE([HAVE_LDEXPL], [1], ++ [Define if the ldexpl() function is available.]) ++ fi ++ fi ++ if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then ++ AC_LIBOBJ([ldexpl]) ++ LDEXPL_LIBM="$ISNANL_LIBM" ++ fi ++ AC_SUBST([LDEXPL_LIBM]) ++]) ++m4trace:m4/ldexpl.m4:63: -1- AC_DEFUN([gl_CHECK_LDEXPL_NO_LIBM], [ ++ AC_CACHE_CHECK([whether ldexpl() can be used without linking with libm], ++ [gl_cv_func_ldexpl_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ long double x;]], ++ [[return ldexpl (x, -1) > 0;]])], ++ [gl_cv_func_ldexpl_no_libm=yes], ++ [gl_cv_func_ldexpl_no_libm=no]) ++ ]) ++]) ++m4trace:m4/ldexpl.m4:80: -1- AC_DEFUN([gl_FUNC_LDEXPL_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether ldexpl works], [gl_cv_func_ldexpl_works], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++extern long double ldexpl (long double, int); ++int main() ++{ ++ int result = 0; ++ { ++ volatile long double x = 1.0; ++ volatile long double y = ldexpl (x, -1); ++ if (y != 0.5L) ++ result |= 1; ++ } ++ { ++ volatile long double x = 1.73205L; ++ volatile long double y = ldexpl (x, 0); ++ if (y != x) ++ result |= 2; ++ } ++ return result; ++}]])], ++ [gl_cv_func_ldexpl_works=yes], ++ [gl_cv_func_ldexpl_works=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";; ++ *) gl_cv_func_ldexpl_works="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], ++[# I'd rather use --version here, but apparently some GNU ld's only accept -v. ++case `$LD -v 2>&1 /dev/null 2>&1 \ ++ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ ++ || PATH_SEPARATOR=';' ++ } ++fi ++ac_prog=ld ++if test "$GCC" = yes; then ++ # Check if gcc -print-prog-name=ld gives a path. ++ AC_MSG_CHECKING([for ld used by GCC]) ++ case $host in ++ *-*-mingw*) ++ # gcc leaves a trailing carriage return which upsets mingw ++ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ++ *) ++ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ++ esac ++ case $ac_prog in ++ # Accept absolute paths. ++ [[\\/]* | [A-Za-z]:[\\/]*)] ++ [re_direlt='/[^/][^/]*/\.\./'] ++ # Canonicalize the path of ld ++ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ++ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ++ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ++ done ++ test -z "$LD" && LD="$ac_prog" ++ ;; ++ "") ++ # If it fails, then pretend we aren't using GCC. ++ ac_prog=ld ++ ;; ++ *) ++ # If it is relative, then search for the first ld in PATH. ++ with_gnu_ld=unknown ++ ;; ++ esac ++elif test "$with_gnu_ld" = yes; then ++ AC_MSG_CHECKING([for GNU ld]) ++else ++ AC_MSG_CHECKING([for non-GNU ld]) ++fi ++AC_CACHE_VAL([acl_cv_path_LD], ++[if test -z "$LD"; then ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ++ for ac_dir in $PATH; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ++ acl_cv_path_LD="$ac_dir/$ac_prog" ++ # Check to see if the program is GNU ld. I'd rather use --version, ++ # but apparently some GNU ld's only accept -v. ++ # Break only if it was the GNU/non-GNU ld that we prefer. ++ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ++ *GNU* | *'with BFD'*) ++ test "$with_gnu_ld" != no && break ;; ++ *) ++ test "$with_gnu_ld" != yes && break ;; ++ esac ++ fi ++ done ++ IFS="$ac_save_ifs" ++else ++ acl_cv_path_LD="$LD" # Let the user override the test with a path. ++fi]) ++LD="$acl_cv_path_LD" ++if test -n "$LD"; then ++ AC_MSG_RESULT([$LD]) ++else ++ AC_MSG_RESULT([no]) ++fi ++test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) ++AC_LIB_PROG_LD_GNU ++]) ++m4trace:m4/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [ ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ pushdef([Name],[m4_translit([$1],[./+-], [____])]) ++ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) ++ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ ++ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ++ ac_cv_lib[]Name[]_libs="$LIB[]NAME" ++ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ++ ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ++ ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ++ ]) ++ LIB[]NAME="$ac_cv_lib[]Name[]_libs" ++ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" ++ INC[]NAME="$ac_cv_lib[]Name[]_cppflags" ++ LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ++ AC_SUBST([LIB]NAME) ++ AC_SUBST([LTLIB]NAME) ++ AC_SUBST([LIB]NAME[_PREFIX]) ++ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the ++ dnl results of this search when this library appears as a dependency. ++ HAVE_LIB[]NAME=yes ++ popdef([NAME]) ++ popdef([Name]) ++]) ++m4trace:m4/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ pushdef([Name],[m4_translit([$1],[./+-], [____])]) ++ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) ++ ++ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME ++ dnl accordingly. ++ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ++ ++ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, ++ dnl because if the user has installed lib[]Name and not disabled its use ++ dnl via --without-lib[]Name-prefix, he wants to use it. ++ ac_save_CPPFLAGS="$CPPFLAGS" ++ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ++ ++ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ++ ac_save_LIBS="$LIBS" ++ dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, ++ dnl because these -l options might require -L options that are present in ++ dnl LIBS. -l options benefit only from the -L options listed before it. ++ dnl Otherwise, add it to the front of LIBS, because it may be a static ++ dnl library that depends on another static library that is present in LIBS. ++ dnl Static libraries benefit only from the static libraries listed after ++ dnl it. ++ case " $LIB[]NAME" in ++ *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; ++ *) LIBS="$LIB[]NAME $LIBS" ;; ++ esac ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM([[$3]], [[$4]])], ++ [ac_cv_lib[]Name=yes], ++ [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) ++ LIBS="$ac_save_LIBS" ++ ]) ++ if test "$ac_cv_lib[]Name" = yes; then ++ HAVE_LIB[]NAME=yes ++ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) ++ AC_MSG_CHECKING([how to link with lib[]$1]) ++ AC_MSG_RESULT([$LIB[]NAME]) ++ else ++ HAVE_LIB[]NAME=no ++ dnl If $LIB[]NAME didn't lead to a usable library, we don't need ++ dnl $INC[]NAME either. ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIB[]NAME= ++ LTLIB[]NAME= ++ LIB[]NAME[]_PREFIX= ++ fi ++ AC_SUBST([HAVE_LIB]NAME) ++ AC_SUBST([LIB]NAME) ++ AC_SUBST([LTLIB]NAME) ++ AC_SUBST([LIB]NAME[_PREFIX]) ++ popdef([NAME]) ++ popdef([Name]) ++]) ++m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_RPATH], [ ++ dnl Tell automake >= 1.10 to complain if config.rpath is missing. ++ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) ++ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS ++ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host ++ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir ++ AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ ++ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ++ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ++ . ./conftest.sh ++ rm -f ./conftest.sh ++ acl_cv_rpath=done ++ ]) ++ wl="$acl_cv_wl" ++ acl_libext="$acl_cv_libext" ++ acl_shlibext="$acl_cv_shlibext" ++ acl_libname_spec="$acl_cv_libname_spec" ++ acl_library_names_spec="$acl_cv_library_names_spec" ++ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ++ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ++ acl_hardcode_direct="$acl_cv_hardcode_direct" ++ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" ++ dnl Determine whether the user wants rpath handling at all. ++ AC_ARG_ENABLE([rpath], ++ [ --disable-rpath do not hardcode runtime library paths], ++ :, enable_rpath=yes) ++]) ++m4trace:m4/lib-link.m4:161: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [ ++ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) ++ define([acl_frompackage_]NAME, [$2]) ++ popdef([NAME]) ++ pushdef([PACK],[$2]) ++ pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) ++ define([acl_libsinpackage_]PACKUP, ++ m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) ++ popdef([PACKUP]) ++ popdef([PACK]) ++]) ++m4trace:m4/lib-link.m4:181: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ ++ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) ++ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) ++ pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) ++ pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) ++ pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) ++ dnl Autoconf >= 2.61 supports dots in --with options. ++ pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) ++ dnl By default, look in $includedir and $libdir. ++ use_additional=yes ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ AC_ARG_WITH(P_A_C_K[-prefix], ++[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib ++ --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], ++[ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ if test "$acl_libdirstem2" != "$acl_libdirstem" \ ++ && ! test -d "$withval/$acl_libdirstem"; then ++ additional_libdir="$withval/$acl_libdirstem2" ++ fi ++ fi ++ fi ++]) ++ dnl Search the library and its dependencies in $additional_libdir and ++ dnl $LDFLAGS. Using breadth-first-seach. ++ LIB[]NAME= ++ LTLIB[]NAME= ++ INC[]NAME= ++ LIB[]NAME[]_PREFIX= ++ dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been ++ dnl computed. So it has to be reset here. ++ HAVE_LIB[]NAME= ++ rpathdirs= ++ ltrpathdirs= ++ names_already_handled= ++ names_next_round='$1 $2' ++ while test -n "$names_next_round"; do ++ names_this_round="$names_next_round" ++ names_next_round= ++ for name in $names_this_round; do ++ already_handled= ++ for n in $names_already_handled; do ++ if test "$n" = "$name"; then ++ already_handled=yes ++ break ++ fi ++ done ++ if test -z "$already_handled"; then ++ names_already_handled="$names_already_handled $name" ++ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS ++ dnl or AC_LIB_HAVE_LINKFLAGS call. ++ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` ++ eval value=\"\$HAVE_LIB$uppername\" ++ if test -n "$value"; then ++ if test "$value" = yes; then ++ eval value=\"\$LIB$uppername\" ++ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" ++ eval value=\"\$LTLIB$uppername\" ++ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" ++ else ++ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined ++ dnl that this library doesn't exist. So just drop it. ++ : ++ fi ++ else ++ dnl Search the library lib$name in $additional_libdir and $LDFLAGS ++ dnl and the already constructed $LIBNAME/$LTLIBNAME. ++ found_dir= ++ found_la= ++ found_so= ++ found_a= ++ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name ++ if test -n "$acl_shlibext"; then ++ shrext=".$acl_shlibext" # typically: shrext=.so ++ else ++ shrext= ++ fi ++ if test $use_additional = yes; then ++ dir="$additional_libdir" ++ dnl The same code as in the loop below: ++ dnl First look for a shared library. ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ dnl Then look for a static library. ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ fi ++ if test "X$found_dir" = "X"; then ++ for x in $LDFLAGS $LTLIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ case "$x" in ++ -L*) ++ dir=`echo "X$x" | sed -e 's/^X-L//'` ++ dnl First look for a shared library. ++ if test -n "$acl_shlibext"; then ++ if test -f "$dir/$libname$shrext"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext" ++ else ++ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ++ ver=`(cd "$dir" && \ ++ for f in "$libname$shrext".*; do echo "$f"; done \ ++ | sed -e "s,^$libname$shrext\\\\.,," \ ++ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ++ | sed 1q ) 2>/dev/null` ++ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ++ found_dir="$dir" ++ found_so="$dir/$libname$shrext.$ver" ++ fi ++ else ++ eval library_names=\"$acl_library_names_spec\" ++ for f in $library_names; do ++ if test -f "$dir/$f"; then ++ found_dir="$dir" ++ found_so="$dir/$f" ++ break ++ fi ++ done ++ fi ++ fi ++ fi ++ dnl Then look for a static library. ++ if test "X$found_dir" = "X"; then ++ if test -f "$dir/$libname.$acl_libext"; then ++ found_dir="$dir" ++ found_a="$dir/$libname.$acl_libext" ++ fi ++ fi ++ if test "X$found_dir" != "X"; then ++ if test -f "$dir/$libname.la"; then ++ found_la="$dir/$libname.la" ++ fi ++ fi ++ ;; ++ esac ++ if test "X$found_dir" != "X"; then ++ break ++ fi ++ done ++ fi ++ if test "X$found_dir" != "X"; then ++ dnl Found the library. ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" ++ if test "X$found_so" != "X"; then ++ dnl Linking with a shared library. We attempt to hardcode its ++ dnl directory into the executable's runpath, unless it's the ++ dnl standard /usr/lib. ++ if test "$enable_rpath" = no \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ ++ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then ++ dnl No hardcoding is needed. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ dnl Use an explicit option to hardcode DIR into the resulting ++ dnl binary. ++ dnl Potentially add DIR to ltrpathdirs. ++ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $found_dir" ++ fi ++ dnl The hardcoding into $LIBNAME is system dependent. ++ if test "$acl_hardcode_direct" = yes; then ++ dnl Using DIR/libNAME.so during linking hardcodes DIR into the ++ dnl resulting binary. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ dnl Use an explicit option to hardcode DIR into the resulting ++ dnl binary. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ dnl Potentially add DIR to rpathdirs. ++ dnl The rpathdirs will be appended to $LIBNAME at the end. ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $found_dir" ++ fi ++ else ++ dnl Rely on "-L$found_dir". ++ dnl But don't add it if it's already contained in the LDFLAGS ++ dnl or the already constructed $LIBNAME ++ haveit= ++ for x in $LDFLAGS $LIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$found_dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" ++ fi ++ if test "$acl_hardcode_minus_L" != no; then ++ dnl FIXME: Not sure whether we should use ++ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ++ dnl here. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ++ else ++ dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH ++ dnl here, because this doesn't fit in flags passed to the ++ dnl compiler. So give up. No hardcoding. This affects only ++ dnl very old systems. ++ dnl FIXME: Not sure whether we should use ++ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ++ dnl here. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ++ fi ++ fi ++ fi ++ fi ++ else ++ if test "X$found_a" != "X"; then ++ dnl Linking with a static library. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" ++ else ++ dnl We shouldn't come here, but anyway it's good to have a ++ dnl fallback. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" ++ fi ++ fi ++ dnl Assume the include files are nearby. ++ additional_includedir= ++ case "$found_dir" in ++ */$acl_libdirstem | */$acl_libdirstem/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ++ if test "$name" = '$1'; then ++ LIB[]NAME[]_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ */$acl_libdirstem2 | */$acl_libdirstem2/) ++ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` ++ if test "$name" = '$1'; then ++ LIB[]NAME[]_PREFIX="$basedir" ++ fi ++ additional_includedir="$basedir/include" ++ ;; ++ esac ++ if test "X$additional_includedir" != "X"; then ++ dnl Potentially add $additional_includedir to $INCNAME. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/include, ++ dnl 2. if it's /usr/local/include and we are using GCC on Linux, ++ dnl 3. if it's already present in $CPPFLAGS or the already ++ dnl constructed $INCNAME, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ for x in $CPPFLAGS $INC[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ dnl Really add $additional_includedir to $INCNAME. ++ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ fi ++ dnl Look for dependencies. ++ if test -n "$found_la"; then ++ dnl Read the .la file. It defines the variables ++ dnl dlname, library_names, old_library, dependency_libs, current, ++ dnl age, revision, installed, dlopen, dlpreopen, libdir. ++ save_libdir="$libdir" ++ case "$found_la" in ++ */* | *\\*) . "$found_la" ;; ++ *) . "./$found_la" ;; ++ esac ++ libdir="$save_libdir" ++ dnl We use only dependency_libs. ++ for dep in $dependency_libs; do ++ case "$dep" in ++ -L*) ++ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ++ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/lib, ++ dnl 2. if it's /usr/local/lib and we are using GCC on Linux, ++ dnl 3. if it's already present in $LDFLAGS or the already ++ dnl constructed $LIBNAME, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ ++ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then ++ haveit= ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ ++ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ haveit= ++ for x in $LDFLAGS $LIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LIBNAME. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" ++ fi ++ fi ++ haveit= ++ for x in $LDFLAGS $LTLIB[]NAME; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LTLIBNAME. ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ ;; ++ -R*) ++ dir=`echo "X$dep" | sed -e 's/^X-R//'` ++ if test "$enable_rpath" != no; then ++ dnl Potentially add DIR to rpathdirs. ++ dnl The rpathdirs will be appended to $LIBNAME at the end. ++ haveit= ++ for x in $rpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ dnl Potentially add DIR to ltrpathdirs. ++ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ++ haveit= ++ for x in $ltrpathdirs; do ++ if test "X$x" = "X$dir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ ltrpathdirs="$ltrpathdirs $dir" ++ fi ++ fi ++ ;; ++ -l*) ++ dnl Handle this in the next round. ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ++ ;; ++ *.la) ++ dnl Handle this in the next round. Throw away the .la's ++ dnl directory; it is already contained in a preceding -L ++ dnl option. ++ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ++ ;; ++ *) ++ dnl Most likely an immediate library name. ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ++ ;; ++ esac ++ done ++ fi ++ else ++ dnl Didn't find the library; assume it is in the system directories ++ dnl known to the linker and runtime loader. (All the system ++ dnl directories known to the linker should also be known to the ++ dnl runtime loader, otherwise the system is severely misconfigured.) ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" ++ fi ++ fi ++ fi ++ done ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n "$acl_hardcode_libdir_separator"; then ++ dnl Weird platform: only the last -rpath option counts, the user must ++ dnl pass all path elements in one option. We can arrange that for a ++ dnl single library, but not when more than one $LIBNAMEs are used. ++ alldirs= ++ for found_dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ++ done ++ dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ++ else ++ dnl The -rpath options are cumulative. ++ for found_dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$found_dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ++ done ++ fi ++ fi ++ if test "X$ltrpathdirs" != "X"; then ++ dnl When using libtool, the option that works for both libraries and ++ dnl executables is -R. The -R options are cumulative. ++ for found_dir in $ltrpathdirs; do ++ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" ++ done ++ fi ++ popdef([P_A_C_K]) ++ popdef([PACKLIBS]) ++ popdef([PACKUP]) ++ popdef([PACK]) ++ popdef([NAME]) ++]) ++m4trace:m4/lib-link.m4:684: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [ ++ for element in [$2]; do ++ haveit= ++ for x in $[$1]; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X$element"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ [$1]="${[$1]}${[$1]:+ }$element" ++ fi ++ done ++]) ++m4trace:m4/lib-link.m4:708: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ ++ AC_REQUIRE([AC_LIB_RPATH]) ++ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) ++ $1= ++ if test "$enable_rpath" != no; then ++ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ++ dnl Use an explicit option to hardcode directories into the resulting ++ dnl binary. ++ rpathdirs= ++ next= ++ for opt in $2; do ++ if test -n "$next"; then ++ dir="$next" ++ dnl No need to hardcode the standard /usr/lib. ++ if test "X$dir" != "X/usr/$acl_libdirstem" \ ++ && test "X$dir" != "X/usr/$acl_libdirstem2"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ next= ++ else ++ case $opt in ++ -L) next=yes ;; ++ -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` ++ dnl No need to hardcode the standard /usr/lib. ++ if test "X$dir" != "X/usr/$acl_libdirstem" \ ++ && test "X$dir" != "X/usr/$acl_libdirstem2"; then ++ rpathdirs="$rpathdirs $dir" ++ fi ++ next= ;; ++ *) next= ;; ++ esac ++ fi ++ done ++ if test "X$rpathdirs" != "X"; then ++ if test -n ""$3""; then ++ dnl libtool is used for linking. Use -R options. ++ for dir in $rpathdirs; do ++ $1="${$1}${$1:+ }-R$dir" ++ done ++ else ++ dnl The linker is used for linking directly. ++ if test -n "$acl_hardcode_libdir_separator"; then ++ dnl Weird platform: only the last -rpath option counts, the user ++ dnl must pass all path elements in one option. ++ alldirs= ++ for dir in $rpathdirs; do ++ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" ++ done ++ acl_save_libdir="$libdir" ++ libdir="$alldirs" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ $1="$flag" ++ else ++ dnl The -rpath options are cumulative. ++ for dir in $rpathdirs; do ++ acl_save_libdir="$libdir" ++ libdir="$dir" ++ eval flag=\"$acl_hardcode_libdir_flag_spec\" ++ libdir="$acl_save_libdir" ++ $1="${$1}${$1:+ }$flag" ++ done ++ fi ++ fi ++ fi ++ fi ++ fi ++ AC_SUBST([$1]) ++]) ++m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])]) ++m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [ ++ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ dnl By default, look in $includedir and $libdir. ++ use_additional=yes ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ AC_LIB_ARG_WITH([lib-prefix], ++[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib ++ --without-lib-prefix don't search for libraries in includedir and libdir], ++[ ++ if test "X$withval" = "Xno"; then ++ use_additional=no ++ else ++ if test "X$withval" = "X"; then ++ AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++ else ++ additional_includedir="$withval/include" ++ additional_libdir="$withval/$acl_libdirstem" ++ fi ++ fi ++]) ++ if test $use_additional = yes; then ++ dnl Potentially add $additional_includedir to $CPPFLAGS. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/include, ++ dnl 2. if it's already present in $CPPFLAGS, ++ dnl 3. if it's /usr/local/include and we are using GCC on Linux, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_includedir" != "X/usr/include"; then ++ haveit= ++ for x in $CPPFLAGS; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-I$additional_includedir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test "X$additional_includedir" = "X/usr/local/include"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux* | gnu* | k*bsd*-gnu) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ if test -d "$additional_includedir"; then ++ dnl Really add $additional_includedir to $CPPFLAGS. ++ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" ++ fi ++ fi ++ fi ++ fi ++ dnl Potentially add $additional_libdir to $LDFLAGS. ++ dnl But don't add it ++ dnl 1. if it's the standard /usr/lib, ++ dnl 2. if it's already present in $LDFLAGS, ++ dnl 3. if it's /usr/local/lib and we are using GCC on Linux, ++ dnl 4. if it doesn't exist as a directory. ++ if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then ++ haveit= ++ for x in $LDFLAGS; do ++ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++ if test "X$x" = "X-L$additional_libdir"; then ++ haveit=yes ++ break ++ fi ++ done ++ if test -z "$haveit"; then ++ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then ++ if test -n "$GCC"; then ++ case $host_os in ++ linux*) haveit=yes;; ++ esac ++ fi ++ fi ++ if test -z "$haveit"; then ++ if test -d "$additional_libdir"; then ++ dnl Really add $additional_libdir to $LDFLAGS. ++ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" ++ fi ++ fi ++ fi ++ fi ++ fi ++]) ++m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ ++ dnl Unfortunately, prefix and exec_prefix get only finally determined ++ dnl at the end of configure. ++ if test "X$prefix" = "XNONE"; then ++ acl_final_prefix="$ac_default_prefix" ++ else ++ acl_final_prefix="$prefix" ++ fi ++ if test "X$exec_prefix" = "XNONE"; then ++ acl_final_exec_prefix='${prefix}' ++ else ++ acl_final_exec_prefix="$exec_prefix" ++ fi ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ++ prefix="$acl_save_prefix" ++]) ++m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ ++ acl_save_prefix="$prefix" ++ prefix="$acl_final_prefix" ++ acl_save_exec_prefix="$exec_prefix" ++ exec_prefix="$acl_final_exec_prefix" ++ $1 ++ exec_prefix="$acl_save_exec_prefix" ++ prefix="$acl_save_prefix" ++]) ++m4trace:m4/lib-prefix.m4:162: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ ++ dnl There is no formal standard regarding lib and lib64. ++ dnl On glibc systems, the current practice is that on a system supporting ++ dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under ++ dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine ++ dnl the compiler's default mode by looking at the compiler's library search ++ dnl path. If at least one of its elements ends in /lib64 or points to a ++ dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. ++ dnl Otherwise we use the default, namely "lib". ++ dnl On Solaris systems, the current practice is that on a system supporting ++ dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under ++ dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or ++ dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ acl_libdirstem=lib ++ acl_libdirstem2= ++ case "$host_os" in ++ solaris*) ++ dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment ++ dnl . ++ dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." ++ dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the ++ dnl symlink is missing, so we set acl_libdirstem2 too. ++ AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], ++ [AC_EGREP_CPP([sixtyfour bits], [ ++#ifdef _LP64 ++sixtyfour bits ++#endif ++ ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ++ ]) ++ if test $gl_cv_solaris_64bit = yes; then ++ acl_libdirstem=lib/64 ++ case "$host_cpu" in ++ sparc*) acl_libdirstem2=lib/sparcv9 ;; ++ i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; ++ esac ++ fi ++ ;; ++ *) ++ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` ++ if test -n "$searchpath"; then ++ acl_save_IFS="${IFS= }"; IFS=":" ++ for searchdir in $searchpath; do ++ if test -d "$searchdir"; then ++ case "$searchdir" in ++ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; ++ */../ | */.. ) ++ # Better ignore directories of this form. They are misleading. ++ ;; ++ *) searchdir=`cd "$searchdir" && pwd` ++ case "$searchdir" in ++ */lib64 ) acl_libdirstem=lib64 ;; ++ esac ;; ++ esac ++ fi ++ done ++ IFS="$acl_save_IFS" ++ fi ++ ;; ++ esac ++ test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ++]) ++m4trace:m4/libsigsegv.m4:9: -1- AC_DEFUN([gl_LIBSIGSEGV], [ ++ AC_LIB_HAVE_LINKFLAGS([sigsegv], [], ++ [#include ], [sigsegv_deinstall_handler();], ++ [no, consider installing GNU libsigsegv]) ++ dnl Some other autoconf macros and clisp's configure use this variable. ++ gl_cv_lib_sigsegv="$ac_cv_libsigsegv" ++]) ++m4trace:m4/link.m4:7: -1- AC_DEFUN([gl_FUNC_LINK], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([link]) ++ if test $ac_cv_func_link = no; then ++ HAVE_LINK=0 ++ AC_LIBOBJ([link]) ++ else ++ AC_CACHE_CHECK([whether link handles trailing slash correctly], ++ [gl_cv_func_link_works], ++ [touch conftest.a ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.a conftest.lnk ++ fi ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[int result = 0; ++ if (!link ("conftest.a", "conftest.b/")) ++ result |= 1; ++#if HAVE_LSTAT ++ if (!link ("conftest.lnk/", "conftest.b")) ++ result |= 2; ++#endif ++ return result; ++ ]])], ++ [gl_cv_func_link_works=yes], [gl_cv_func_link_works=no], ++ [gl_cv_func_link_works="guessing no"]) ++ rm -f conftest.a conftest.b conftest.lnk]) ++ if test "$gl_cv_func_link_works" != yes; then ++ REPLACE_LINK=1 ++ AC_LIBOBJ([link]) ++ fi ++ fi ++]) ++m4trace:m4/localcharset.m4:7: -1- AC_DEFUN([gl_LOCALCHARSET], [ ++ dnl Prerequisites of lib/localcharset.c. ++ AC_REQUIRE([AM_LANGINFO_CODESET]) ++ AC_REQUIRE([gl_FCNTL_O_FLAGS]) ++ AC_CHECK_DECLS_ONCE([getc_unlocked]) ++ ++ dnl Prerequisites of the lib/Makefile.am snippet. ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([gl_GLIBC21]) ++]) ++m4trace:m4/locale-fr.m4:10: -1- AC_DEFUN([gt_LOCALE_FR], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AM_LANGINFO_CODESET]) ++ AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [ ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++changequote(,)dnl ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only ++ one byte long. This excludes the UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the native Win32 locale name. ++ if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=French_France.1252 ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO-8859-1 ++ else ++ # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. ++ if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.ISO8859-1 ++ else ++ # Test for the HP-UX locale name. ++ if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr_FR.iso88591 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr=fr ++ else ++ # None found. ++ gt_cv_locale_fr=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ]) ++ LOCALE_FR=$gt_cv_locale_fr ++ AC_SUBST([LOCALE_FR]) ++]) ++m4trace:m4/locale-fr.m4:133: -1- AC_DEFUN([gt_LOCALE_FR_UTF8], [ ++ AC_REQUIRE([AM_LANGINFO_CODESET]) ++ AC_CACHE_CHECK([for a french Unicode locale], [gt_cv_locale_fr_utf8], [ ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++changequote(,)dnl ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. */ ++#if !(defined __BEOS__ || defined __HAIKU__) ++ /* Check whether the given locale name is recognized by the system. */ ++# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++# else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++# endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++# if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++# endif ++# ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++# endif ++ /* Check whether in the abbreviation of the second month, the second ++ character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') ++ return 1; ++#endif ++ /* Check whether the decimal separator is a comma. ++ On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point ++ are nl_langinfo(RADIXCHAR) are both ".". */ ++ if (localeconv () ->decimal_point[0] != ',') return 1; ++ return 0; ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=French_France.65001 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr_FR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_fr_utf8=fr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_fr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ]) ++ LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 ++ AC_SUBST([LOCALE_FR_UTF8]) ++]) ++m4trace:m4/locale-ja.m4:10: -1- AC_DEFUN([gt_LOCALE_JA], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AM_LANGINFO_CODESET]) ++ AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [ ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++changequote(,)dnl ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales ++ on Cygwin 1.5.x. */ ++ if (MB_CUR_MAX == 1) ++ return 1; ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ return 0; ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Note that on native Win32, the Japanese locale is Japanese_Japan.932, ++ # and CP932 is very different from EUC-JP, so we cannot use it here. ++ gt_cv_locale_ja=none ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the AIX locale name. ++ if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC-JP ++ else ++ # Test for the HP-UX, OSF/1, NetBSD locale name. ++ if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # Test for the IRIX, FreeBSD locale name. ++ if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja_JP.EUC ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_ja=ja ++ else ++ # Special test for NetBSD 1.6. ++ if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then ++ gt_cv_locale_ja=ja_JP.eucJP ++ else ++ # None found. ++ gt_cv_locale_ja=none ++ fi ++ fi ++ fi ++ fi ++ fi ++ fi ++ ;; ++ esac ++ fi ++ rm -fr conftest* ++ ]) ++ LOCALE_JA=$gt_cv_locale_ja ++ AC_SUBST([LOCALE_JA]) ++]) ++m4trace:m4/locale-tr.m4:10: -1- AC_DEFUN([gt_LOCALE_TR_UTF8], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AM_LANGINFO_CODESET]) ++ AC_CACHE_CHECK([for a turkish Unicode locale], [gt_cv_locale_tr_utf8], [ ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++changequote(,)dnl ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () { ++ /* On BeOS, locales are not implemented in libc. Rather, libintl ++ imitates locale dependent behaviour by looking at the environment ++ variables, and all locales use the UTF-8 encoding. But BeOS does not ++ implement the Turkish upper-/lowercase mappings. Therefore, let this ++ program return 1 on BeOS. */ ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in the abbreviation of the eighth month, the second ++ character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is ++ two bytes long, with UTF-8 encoding. */ ++ t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19; ++ if (strftime (buf, sizeof (buf), "%b", &t) < 4 ++ || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f) ++ return 1; ++ /* Check whether the upper-/lowercase mappings are as expected for ++ Turkish. */ ++ if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i' ++ || towupper(0x0131) != 'I' || towlower ('I') != 0x0131) ++ return 1; ++ return 0; ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=Turkish_Turkey.65001 ++ else ++ # None found. ++ gt_cv_locale_tr_utf8=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the usual locale name. ++ if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr_TR ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr_TR.UTF-8 ++ else ++ # Test for the Solaris 7 locale name. ++ if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_tr_utf8=tr.UTF-8 ++ else ++ # None found. ++ gt_cv_locale_tr_utf8=none ++ fi ++ fi ++ fi ++ ;; ++ esac ++ else ++ gt_cv_locale_tr_utf8=none ++ fi ++ rm -fr conftest* ++ ]) ++ LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8 ++ AC_SUBST([LOCALE_TR_UTF8]) ++]) ++m4trace:m4/locale-zh.m4:10: -1- AC_DEFUN([gt_LOCALE_ZH_CN], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([AM_LANGINFO_CODESET]) ++ AC_CACHE_CHECK([for a transitional chinese locale], [gt_cv_locale_zh_CN], [ ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++changequote(,)dnl ++#include ++#include ++#include ++#if HAVE_LANGINFO_CODESET ++# include ++#endif ++#include ++#include ++struct tm t; ++char buf[16]; ++int main () ++{ ++ const char *p; ++ /* Check whether the given locale name is recognized by the system. */ ++#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ ++ /* On native Win32, setlocale(category, "") looks at the system settings, ++ not at the environment variables. Also, when an encoding suffix such ++ as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE ++ category of the locale to "C". */ ++ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL ++ || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) ++ return 1; ++#else ++ if (setlocale (LC_ALL, "") == NULL) return 1; ++#endif ++ /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". ++ On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) ++ is empty, and the behaviour of Tcl 8.4 in this locale is not useful. ++ On OpenBSD 4.0, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "646". In this situation, ++ some unit tests fail. ++ On MirBSD 10, when an unsupported locale is specified, setlocale() ++ succeeds but then nl_langinfo(CODESET) is "UTF-8". */ ++#if HAVE_LANGINFO_CODESET ++ { ++ const char *cs = nl_langinfo (CODESET); ++ if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 ++ || strcmp (cs, "UTF-8") == 0) ++ return 1; ++ } ++#endif ++#ifdef __CYGWIN__ ++ /* On Cygwin, avoid locale names without encoding suffix, because the ++ locale_charset() function relies on the encoding suffix. Note that ++ LC_ALL is set on the command line. */ ++ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; ++#endif ++ /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. ++ This excludes the UTF-8 encoding (except on MirBSD). */ ++ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; ++ if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; ++ for (p = buf; *p != '\0'; p++) ++ if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) ++ return 1; ++ /* Check whether a typical GB18030 multibyte sequence is recognized as a ++ single wide character. This excludes the GB2312 and GBK encodings. */ ++ if (mblen ("\203\062\332\066", 5) != 4) ++ return 1; ++ return 0; ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ case "$host_os" in ++ # Handle native Windows specially, because there setlocale() interprets ++ # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", ++ # "fr" or "fra" as "French" or "French_France.1252", ++ # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", ++ # "ja" as "Japanese" or "Japanese_Japan.932", ++ # and similar. ++ mingw*) ++ # Test for the hypothetical native Win32 locale name. ++ if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=Chinese_China.54936 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ ;; ++ *) ++ # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because ++ # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the ++ # configure script would override the LC_ALL setting. Likewise for ++ # LC_CTYPE, which is also set at the beginning of the configure script. ++ # Test for the locale name without encoding suffix. ++ if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN ++ else ++ # Test for the locale name with explicit encoding suffix. ++ if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then ++ gt_cv_locale_zh_CN=zh_CN.GB18030 ++ else ++ # None found. ++ gt_cv_locale_zh_CN=none ++ fi ++ fi ++ ;; ++ esac ++ else ++ # If there was a link error, due to mblen(), the system is so old that ++ # it certainly doesn't have a chinese locale. ++ gt_cv_locale_zh_CN=none ++ fi ++ rm -fr conftest* ++ ]) ++ LOCALE_ZH_CN=$gt_cv_locale_zh_CN ++ AC_SUBST([LOCALE_ZH_CN]) ++]) ++m4trace:m4/locale_h.m4:7: -1- AC_DEFUN([gl_LOCALE_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) ++ ++ dnl Persuade glibc to define locale_t. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ dnl If is replaced, then must also be replaced. ++ AC_REQUIRE([gl_STDDEF_H]) ++ ++ AC_CACHE_CHECK([whether locale.h conforms to POSIX:2001], ++ [gl_cv_header_locale_h_posix2001], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ int x = LC_MESSAGES;]], ++ [[]])], ++ [gl_cv_header_locale_h_posix2001=yes], ++ [gl_cv_header_locale_h_posix2001=no])]) ++ ++ dnl Check for . ++ AC_CHECK_HEADERS_ONCE([xlocale.h]) ++ if test $ac_cv_header_xlocale_h = yes; then ++ HAVE_XLOCALE_H=1 ++ dnl Check whether use of locale_t requires inclusion of , ++ dnl e.g. on MacOS X 10.5. If does not define locale_t by ++ dnl itself, we assume that will do so. ++ AC_CACHE_CHECK([whether locale.h defines locale_t], ++ [gl_cv_header_locale_has_locale_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ locale_t x;]], ++ [[]])], ++ [gl_cv_header_locale_has_locale_t=yes], ++ [gl_cv_header_locale_has_locale_t=no]) ++ ]) ++ if test $gl_cv_header_locale_has_locale_t = yes; then ++ gl_cv_header_locale_h_needs_xlocale_h=no ++ else ++ gl_cv_header_locale_h_needs_xlocale_h=yes ++ fi ++ else ++ HAVE_XLOCALE_H=0 ++ gl_cv_header_locale_h_needs_xlocale_h=no ++ fi ++ AC_SUBST([HAVE_XLOCALE_H]) ++ ++ dnl is always overridden, because of GNULIB_POSIXCHECK. ++ gl_NEXT_HEADERS([locale.h]) ++ ++ if test -n "$STDDEF_H" \ ++ || test $gl_cv_header_locale_h_posix2001 = no \ ++ || test $gl_cv_header_locale_h_needs_xlocale_h = yes; then ++ gl_REPLACE_LOCALE_H ++ fi ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++/* Some systems provide declarations in a non-standard header. */ ++#if HAVE_XLOCALE_H ++# include ++#endif ++ ]], ++ [setlocale duplocale]) ++]) ++m4trace:m4/locale_h.m4:78: -1- AC_DEFUN([gl_REPLACE_LOCALE_H], [ ++ dnl This is a no-op, because is always overridden. ++ : ++]) ++m4trace:m4/locale_h.m4:84: -1- AC_DEFUN([gl_LOCALE_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/locale_h.m4:93: -1- AC_DEFUN([gl_LOCALE_H_DEFAULTS], [ ++ GNULIB_SETLOCALE=0; AC_SUBST([GNULIB_SETLOCALE]) ++ GNULIB_DUPLOCALE=0; AC_SUBST([GNULIB_DUPLOCALE]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_DUPLOCALE=1; AC_SUBST([HAVE_DUPLOCALE]) ++ REPLACE_SETLOCALE=0; AC_SUBST([REPLACE_SETLOCALE]) ++ REPLACE_DUPLOCALE=0; AC_SUBST([REPLACE_DUPLOCALE]) ++]) ++m4trace:m4/localename.m4:7: -1- AC_DEFUN([gl_LOCALENAME], [ ++ AC_REQUIRE([gt_LC_MESSAGES]) ++ AC_REQUIRE([gt_INTL_MACOSX]) ++ AC_CHECK_FUNCS([setlocale uselocale]) ++]) ++m4trace:m4/lock.m4:9: -1- AC_DEFUN([gl_LOCK], [ ++ AC_REQUIRE([gl_THREADLIB]) ++ if test "$gl_threads_api" = posix; then ++ # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the ++ # pthread_rwlock_* functions. ++ AC_CHECK_TYPE([pthread_rwlock_t], ++ [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], ++ [Define if the POSIX multithreading library has read/write locks.])], ++ [], ++ [#include ]) ++ # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. ++ AC_COMPILE_IFELSE([ ++ AC_LANG_PROGRAM( ++ [[#include ]], ++ [[ ++#if __FreeBSD__ == 4 ++error "No, in FreeBSD 4.0 recursive mutexes actually don't work." ++#else ++int x = (int)PTHREAD_MUTEX_RECURSIVE; ++return !x; ++#endif ++ ]])], ++ [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], ++ [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) ++ fi ++ gl_PREREQ_LOCK ++]) ++m4trace:m4/lock.m4:39: -1- AC_DEFUN([gl_PREREQ_LOCK], [ ++ AC_REQUIRE([AC_C_INLINE]) ++]) ++m4trace:m4/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ ++ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) ++ AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], ++ [ac_cv_type_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int ++ if test $ac_cv_type_long_long_int = yes; then ++ dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. ++ dnl If cross compiling, assume the bug is not important, since ++ dnl nobody cross compiles for this platform as far as we know. ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[@%:@include ++ @%:@ifndef LLONG_MAX ++ @%:@ define HALF \ ++ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) ++ @%:@ define LLONG_MAX (HALF - 1 + HALF) ++ @%:@endif]], ++ [[long long int n = 1; ++ int i; ++ for (i = 0; ; i++) ++ { ++ long long int m = n << i; ++ if (m >> i != n) ++ return 1; ++ if (LLONG_MAX / 2 < m) ++ break; ++ } ++ return 0;]])], ++ [], ++ [ac_cv_type_long_long_int=no], ++ [:]) ++ fi ++ fi]) ++ if test $ac_cv_type_long_long_int = yes; then ++ AC_DEFINE([HAVE_LONG_LONG_INT], [1], ++ [Define to 1 if the system has the type `long long int'.]) ++ fi ++]) ++m4trace:m4/longlong.m4:67: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ ++ AC_CACHE_CHECK([for unsigned long long int], ++ [ac_cv_type_unsigned_long_long_int], ++ [ac_cv_type_unsigned_long_long_int=yes ++ if test "x${ac_cv_prog_cc_c99-no}" = xno; then ++ AC_LINK_IFELSE( ++ [_AC_TYPE_LONG_LONG_SNIPPET], ++ [], ++ [ac_cv_type_unsigned_long_long_int=no]) ++ fi]) ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], ++ [Define to 1 if the system has the type `unsigned long long int'.]) ++ fi ++]) ++m4trace:m4/longlong.m4:89: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ ++ AC_LANG_PROGRAM( ++ [[/* For now, do not test the preprocessor; as of 2007 there are too many ++ implementations with broken preprocessors. Perhaps this can ++ be revisited in 2012. In the meantime, code should not expect ++ #if to work with literals wider than 32 bits. */ ++ /* Test literals. */ ++ long long int ll = 9223372036854775807ll; ++ long long int nll = -9223372036854775807LL; ++ unsigned long long int ull = 18446744073709551615ULL; ++ /* Test constant expressions. */ ++ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ++ ? 1 : -1)]; ++ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ++ ? 1 : -1)]; ++ int i = 63;]], ++ [[/* Test availability of runtime routines for shift and division. */ ++ long long int llmax = 9223372036854775807ll; ++ unsigned long long int ullmax = 18446744073709551615ull; ++ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) ++ | (llmax / ll) | (llmax % ll) ++ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) ++ | (ullmax / ull) | (ullmax % ull));]]) ++]) ++m4trace:m4/lseek.m4:7: -1- AC_DEFUN([gl_FUNC_LSEEK], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], ++ [if test $cross_compiling = no; then ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ ++#include /* for off_t */ ++#include /* for SEEK_CUR */ ++#include ]], [[ ++ /* Exit with success only if stdin is seekable. */ ++ return lseek (0, (off_t)0, SEEK_CUR) < 0; ++]])], ++ [if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext < conftest.$ac_ext \ ++ && test 1 = "`echo hi \ ++ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then ++ gl_cv_func_lseek_pipe=yes ++ else ++ gl_cv_func_lseek_pipe=no ++ fi], ++ [gl_cv_func_lseek_pipe=no]) ++ else ++ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ ++#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__ ++/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */ ++ Choke me. ++#endif]])], ++ [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no]) ++ fi]) ++ if test $gl_cv_func_lseek_pipe = no; then ++ gl_REPLACE_LSEEK ++ fi ++]) ++m4trace:m4/lseek.m4:42: -1- AC_DEFUN([gl_REPLACE_LSEEK], [ ++ AC_LIBOBJ([lseek]) ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ REPLACE_LSEEK=1 ++ AC_DEFINE([LSEEK_PIPE_BROKEN], [1], ++ [Define to 1 if lseek does not detect pipes.]) ++]) ++m4trace:m4/lstat.m4:11: -1- AC_DEFUN([gl_FUNC_LSTAT], [ ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ dnl If lstat does not exist, the replacement does ++ dnl "#define lstat stat", and lstat.c is a no-op. ++ AC_CHECK_FUNCS_ONCE([lstat]) ++ if test $ac_cv_func_lstat = yes; then ++ AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) ++ if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then ++ dnl Note: AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK does AC_LIBOBJ([lstat]). ++ REPLACE_LSTAT=1 ++ fi ++ # Prerequisites of lib/lstat.c. ++ AC_REQUIRE([AC_C_INLINE]) ++ else ++ HAVE_LSTAT=0 ++ fi ++]) ++m4trace:m4/lstat.m4:32: -1- AC_DEFUN([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], [ ++ AC_CACHE_CHECK([whether lstat correctly handles trailing slash], ++ [ac_cv_func_lstat_dereferences_slashed_symlink], ++ [rm -f conftest.sym conftest.file ++ echo >conftest.file ++ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [AC_INCLUDES_DEFAULT], ++ [[struct stat sbuf; ++ /* Linux will dereference the symlink and fail, as required by ++ POSIX. That is better in the sense that it means we will not ++ have to compile and use the lstat wrapper. */ ++ return lstat ("conftest.sym/", &sbuf) == 0; ++ ]])], ++ [ac_cv_func_lstat_dereferences_slashed_symlink=yes], ++ [ac_cv_func_lstat_dereferences_slashed_symlink=no], ++ [# When cross-compiling, be pessimistic so we will end up using the ++ # replacement version of lstat that checks for trailing slashes and ++ # calls lstat a second time when necessary. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++ ]) ++ else ++ # If the 'ln -s' command failed, then we probably don't even ++ # have an lstat function. ++ ac_cv_func_lstat_dereferences_slashed_symlink=no ++ fi ++ rm -f conftest.sym conftest.file ++ ]) ++ test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && ++ AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1], ++ [Define to 1 if `lstat' dereferences a symlink specified ++ with a trailing slash.]) ++ if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then ++ AC_LIBOBJ([lstat]) ++ fi ++]) ++m4trace:m4/malloc.m4:11: -1- AC_DEFUN([gl_FUNC_MALLOC_GNU], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ dnl _AC_FUNC_MALLOC_IF is defined in Autoconf. ++ _AC_FUNC_MALLOC_IF( ++ [AC_DEFINE([HAVE_MALLOC_GNU], [1], ++ [Define to 1 if your system has a GNU libc compatible 'malloc' ++ function, and to 0 otherwise.])], ++ [AC_DEFINE([HAVE_MALLOC_GNU], [0]) ++ gl_REPLACE_MALLOC ++ ]) ++]) ++m4trace:m4/malloc.m4:28: -1- AC_DEFUN([gl_FUNC_MALLOC_POSIX], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) ++ if test $gl_cv_func_malloc_posix = yes; then ++ AC_DEFINE([HAVE_MALLOC_POSIX], [1], ++ [Define if the 'malloc' function is POSIX compliant.]) ++ else ++ gl_REPLACE_MALLOC ++ fi ++]) ++m4trace:m4/malloc.m4:42: -1- AC_DEFUN([gl_CHECK_MALLOC_POSIX], [ ++ AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant], ++ [gl_cv_func_malloc_posix], ++ [ ++ dnl It is too dangerous to try to allocate a large amount of memory: ++ dnl some systems go to their knees when you do that. So assume that ++ dnl all Unix implementations of the function are POSIX compliant. ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[]], ++ [[#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++ choke me ++ #endif ++ ]])], ++ [gl_cv_func_malloc_posix=yes], ++ [gl_cv_func_malloc_posix=no]) ++ ]) ++]) ++m4trace:m4/malloc.m4:62: -1- AC_DEFUN([gl_REPLACE_MALLOC], [ ++ AC_LIBOBJ([malloc]) ++ REPLACE_MALLOC=1 ++]) ++m4trace:m4/malloca.m4:8: -1- AC_DEFUN([gl_MALLOCA], [ ++ dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables ++ dnl @ALLOCA@ and @LTALLOCA@. ++ dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. ++ AC_REQUIRE([gl_EEMALLOC]) ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++]) ++m4trace:m4/manywarnings.m4:14: -1- AC_DEFUN([gl_MANYWARN_COMPLEMENT], [ ++ gl_warn_set= ++ set x $2; shift ++ for gl_warn_item ++ do ++ case " $3 " in ++ *" $gl_warn_item "*) ++ ;; ++ *) ++ gl_warn_set="$gl_warn_set $gl_warn_item" ++ ;; ++ esac ++ done ++ $1=$gl_warn_set ++]) ++m4trace:m4/manywarnings.m4:36: -1- AC_DEFUN([gl_MANYWARN_ALL_GCC], [ ++ gl_manywarn_set= ++ for gl_manywarn_item in \ ++ -Wall \ ++ -W \ ++ -Wformat-y2k \ ++ -Wformat-nonliteral \ ++ -Wformat-security \ ++ -Winit-self \ ++ -Wmissing-include-dirs \ ++ -Wswitch-default \ ++ -Wswitch-enum \ ++ -Wunused \ ++ -Wunknown-pragmas \ ++ -Wstrict-aliasing \ ++ -Wstrict-overflow \ ++ -Wsystem-headers \ ++ -Wfloat-equal \ ++ -Wtraditional \ ++ -Wtraditional-conversion \ ++ -Wdeclaration-after-statement \ ++ -Wundef \ ++ -Wshadow \ ++ -Wunsafe-loop-optimizations \ ++ -Wpointer-arith \ ++ -Wbad-function-cast \ ++ -Wc++-compat \ ++ -Wcast-qual \ ++ -Wcast-align \ ++ -Wwrite-strings \ ++ -Wconversion \ ++ -Wsign-conversion \ ++ -Wlogical-op \ ++ -Waggregate-return \ ++ -Wstrict-prototypes \ ++ -Wold-style-definition \ ++ -Wmissing-prototypes \ ++ -Wmissing-declarations \ ++ -Wmissing-noreturn \ ++ -Wmissing-format-attribute \ ++ -Wpacked \ ++ -Wpadded \ ++ -Wredundant-decls \ ++ -Wnested-externs \ ++ -Wunreachable-code \ ++ -Winline \ ++ -Winvalid-pch \ ++ -Wlong-long \ ++ -Wvla \ ++ -Wvolatile-register-var \ ++ -Wdisabled-optimization \ ++ -Wstack-protector \ ++ -Woverlength-strings \ ++ -Wbuiltin-macro-redefined \ ++ -Wmudflap \ ++ -Wpacked-bitfield-compat \ ++ -Wsync-nand \ ++ ; do ++ gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" ++ done ++ # The following are not documented in the manual but are included in ++ # output from gcc --help=warnings. ++ for gl_manywarn_item in \ ++ -Wattributes \ ++ -Wcoverage-mismatch \ ++ -Wmultichar \ ++ -Wunused-macros \ ++ ; do ++ gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" ++ done ++ $1=$gl_manywarn_set ++]) ++m4trace:m4/math_h.m4:7: -1- AC_DEFUN([gl_MATH_H], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ gl_CHECK_NEXT_HEADERS([math.h]) ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ AC_CACHE_CHECK([whether NAN macro works], [gl_cv_header_math_nan_works], ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], ++ [[/* Solaris 10 has a broken definition of NAN. Other platforms ++ fail to provide NAN, or provide it only in C99 mode; this ++ test only needs to fail when NAN is provided but wrong. */ ++ float f = 1.0f; ++#ifdef NAN ++ f = NAN; ++#endif ++ return f == 0;]])], ++ [gl_cv_header_math_nan_works=yes], ++ [gl_cv_header_math_nan_works=no])]) ++ if test $gl_cv_header_math_nan_works = no; then ++ REPLACE_NAN=1 ++ fi ++ AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works], ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], ++ [[/* Solaris 10 has a broken definition of HUGE_VAL. */ ++ double d = HUGE_VAL; ++ return d == 0;]])], ++ [gl_cv_header_math_huge_val_works=yes], ++ [gl_cv_header_math_huge_val_works=no])]) ++ if test $gl_cv_header_math_huge_val_works = no; then ++ REPLACE_HUGE_VAL=1 ++ fi ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl ++ ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl]) ++]) ++m4trace:m4/math_h.m4:46: -1- AC_DEFUN([gl_MATH_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/math_h.m4:55: -1- AC_DEFUN([gl_MATH_H_DEFAULTS], [ ++ GNULIB_ACOSL=0; AC_SUBST([GNULIB_ACOSL]) ++ GNULIB_ASINL=0; AC_SUBST([GNULIB_ASINL]) ++ GNULIB_ATANL=0; AC_SUBST([GNULIB_ATANL]) ++ GNULIB_CEIL=0; AC_SUBST([GNULIB_CEIL]) ++ GNULIB_CEILF=0; AC_SUBST([GNULIB_CEILF]) ++ GNULIB_CEILL=0; AC_SUBST([GNULIB_CEILL]) ++ GNULIB_COSL=0; AC_SUBST([GNULIB_COSL]) ++ GNULIB_EXPL=0; AC_SUBST([GNULIB_EXPL]) ++ GNULIB_FLOOR=0; AC_SUBST([GNULIB_FLOOR]) ++ GNULIB_FLOORF=0; AC_SUBST([GNULIB_FLOORF]) ++ GNULIB_FLOORL=0; AC_SUBST([GNULIB_FLOORL]) ++ GNULIB_FREXP=0; AC_SUBST([GNULIB_FREXP]) ++ GNULIB_FREXPL=0; AC_SUBST([GNULIB_FREXPL]) ++ GNULIB_ISFINITE=0; AC_SUBST([GNULIB_ISFINITE]) ++ GNULIB_ISINF=0; AC_SUBST([GNULIB_ISINF]) ++ GNULIB_ISNAN=0; AC_SUBST([GNULIB_ISNAN]) ++ GNULIB_ISNANF=0; AC_SUBST([GNULIB_ISNANF]) ++ GNULIB_ISNAND=0; AC_SUBST([GNULIB_ISNAND]) ++ GNULIB_ISNANL=0; AC_SUBST([GNULIB_ISNANL]) ++ GNULIB_LDEXPL=0; AC_SUBST([GNULIB_LDEXPL]) ++ GNULIB_LOGB=0; AC_SUBST([GNULIB_LOGB]) ++ GNULIB_LOGL=0; AC_SUBST([GNULIB_LOGL]) ++ GNULIB_ROUND=0; AC_SUBST([GNULIB_ROUND]) ++ GNULIB_ROUNDF=0; AC_SUBST([GNULIB_ROUNDF]) ++ GNULIB_ROUNDL=0; AC_SUBST([GNULIB_ROUNDL]) ++ GNULIB_SIGNBIT=0; AC_SUBST([GNULIB_SIGNBIT]) ++ GNULIB_SINL=0; AC_SUBST([GNULIB_SINL]) ++ GNULIB_SQRTL=0; AC_SUBST([GNULIB_SQRTL]) ++ GNULIB_TANL=0; AC_SUBST([GNULIB_TANL]) ++ GNULIB_TRUNC=0; AC_SUBST([GNULIB_TRUNC]) ++ GNULIB_TRUNCF=0; AC_SUBST([GNULIB_TRUNCF]) ++ GNULIB_TRUNCL=0; AC_SUBST([GNULIB_TRUNCL]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_ACOSL=1; AC_SUBST([HAVE_ACOSL]) ++ HAVE_ASINL=1; AC_SUBST([HAVE_ASINL]) ++ HAVE_ATANL=1; AC_SUBST([HAVE_ATANL]) ++ HAVE_COSL=1; AC_SUBST([HAVE_COSL]) ++ HAVE_EXPL=1; AC_SUBST([HAVE_EXPL]) ++ HAVE_ISNANF=1; AC_SUBST([HAVE_ISNANF]) ++ HAVE_ISNAND=1; AC_SUBST([HAVE_ISNAND]) ++ HAVE_ISNANL=1; AC_SUBST([HAVE_ISNANL]) ++ HAVE_LOGL=1; AC_SUBST([HAVE_LOGL]) ++ HAVE_SINL=1; AC_SUBST([HAVE_SINL]) ++ HAVE_SQRTL=1; AC_SUBST([HAVE_SQRTL]) ++ HAVE_TANL=1; AC_SUBST([HAVE_TANL]) ++ HAVE_DECL_ACOSL=1; AC_SUBST([HAVE_DECL_ACOSL]) ++ HAVE_DECL_ASINL=1; AC_SUBST([HAVE_DECL_ASINL]) ++ HAVE_DECL_ATANL=1; AC_SUBST([HAVE_DECL_ATANL]) ++ HAVE_DECL_CEILF=1; AC_SUBST([HAVE_DECL_CEILF]) ++ HAVE_DECL_CEILL=1; AC_SUBST([HAVE_DECL_CEILL]) ++ HAVE_DECL_COSL=1; AC_SUBST([HAVE_DECL_COSL]) ++ HAVE_DECL_EXPL=1; AC_SUBST([HAVE_DECL_EXPL]) ++ HAVE_DECL_FLOORF=1; AC_SUBST([HAVE_DECL_FLOORF]) ++ HAVE_DECL_FLOORL=1; AC_SUBST([HAVE_DECL_FLOORL]) ++ HAVE_DECL_FREXPL=1; AC_SUBST([HAVE_DECL_FREXPL]) ++ HAVE_DECL_LDEXPL=1; AC_SUBST([HAVE_DECL_LDEXPL]) ++ HAVE_DECL_LOGB=1; AC_SUBST([HAVE_DECL_LOGB]) ++ HAVE_DECL_LOGL=1; AC_SUBST([HAVE_DECL_LOGL]) ++ HAVE_DECL_ROUND=1; AC_SUBST([HAVE_DECL_ROUND]) ++ HAVE_DECL_ROUNDF=1; AC_SUBST([HAVE_DECL_ROUNDF]) ++ HAVE_DECL_ROUNDL=1; AC_SUBST([HAVE_DECL_ROUNDL]) ++ HAVE_DECL_SINL=1; AC_SUBST([HAVE_DECL_SINL]) ++ HAVE_DECL_SQRTL=1; AC_SUBST([HAVE_DECL_SQRTL]) ++ HAVE_DECL_TANL=1; AC_SUBST([HAVE_DECL_TANL]) ++ HAVE_DECL_TRUNC=1; AC_SUBST([HAVE_DECL_TRUNC]) ++ HAVE_DECL_TRUNCF=1; AC_SUBST([HAVE_DECL_TRUNCF]) ++ HAVE_DECL_TRUNCL=1; AC_SUBST([HAVE_DECL_TRUNCL]) ++ REPLACE_CEIL=0; AC_SUBST([REPLACE_CEIL]) ++ REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF]) ++ REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL]) ++ REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR]) ++ REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF]) ++ REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL]) ++ REPLACE_FREXP=0; AC_SUBST([REPLACE_FREXP]) ++ REPLACE_FREXPL=0; AC_SUBST([REPLACE_FREXPL]) ++ REPLACE_HUGE_VAL=0; AC_SUBST([REPLACE_HUGE_VAL]) ++ REPLACE_ISFINITE=0; AC_SUBST([REPLACE_ISFINITE]) ++ REPLACE_ISINF=0; AC_SUBST([REPLACE_ISINF]) ++ REPLACE_ISNAN=0; AC_SUBST([REPLACE_ISNAN]) ++ REPLACE_LDEXPL=0; AC_SUBST([REPLACE_LDEXPL]) ++ REPLACE_NAN=0; AC_SUBST([REPLACE_NAN]) ++ REPLACE_ROUND=0; AC_SUBST([REPLACE_ROUND]) ++ REPLACE_ROUNDF=0; AC_SUBST([REPLACE_ROUNDF]) ++ REPLACE_ROUNDL=0; AC_SUBST([REPLACE_ROUNDL]) ++ REPLACE_SIGNBIT=0; AC_SUBST([REPLACE_SIGNBIT]) ++ REPLACE_SIGNBIT_USING_GCC=0; AC_SUBST([REPLACE_SIGNBIT_USING_GCC]) ++ REPLACE_TRUNC=0; AC_SUBST([REPLACE_TRUNC]) ++ REPLACE_TRUNCF=0; AC_SUBST([REPLACE_TRUNCF]) ++ REPLACE_TRUNCL=0; AC_SUBST([REPLACE_TRUNCL]) ++]) ++m4trace:m4/mbrtowc.m4:8: -1- AC_DEFUN([gl_FUNC_MBRTOWC], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ ++ AC_REQUIRE([AC_TYPE_MBSTATE_T]) ++ gl_MBSTATE_T_BROKEN ++ ++ AC_CHECK_FUNCS_ONCE([mbrtowc]) ++ if test $ac_cv_func_mbrtowc = no; then ++ HAVE_MBRTOWC=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_MBRTOWC=1 ++ else ++ gl_MBRTOWC_NULL_ARG1 ++ gl_MBRTOWC_NULL_ARG2 ++ gl_MBRTOWC_RETVAL ++ gl_MBRTOWC_NUL_RETVAL ++ case "$gl_cv_func_mbrtowc_null_arg1" in ++ *yes) ;; ++ *) AC_DEFINE([MBRTOWC_NULL_ARG1_BUG], [1], ++ [Define if the mbrtowc function has the NULL pwc argument bug.]) ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_null_arg2" in ++ *yes) ;; ++ *) AC_DEFINE([MBRTOWC_NULL_ARG2_BUG], [1], ++ [Define if the mbrtowc function has the NULL string argument bug.]) ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_retval" in ++ *yes) ;; ++ *) AC_DEFINE([MBRTOWC_RETVAL_BUG], [1], ++ [Define if the mbrtowc function returns a wrong return value.]) ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ case "$gl_cv_func_mbrtowc_nul_retval" in ++ *yes) ;; ++ *) AC_DEFINE([MBRTOWC_NUL_RETVAL_BUG], [1], ++ [Define if the mbrtowc function does not return 0 for a NUL character.]) ++ REPLACE_MBRTOWC=1 ++ ;; ++ esac ++ fi ++ fi ++ if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then ++ gl_REPLACE_WCHAR_H ++ AC_LIBOBJ([mbrtowc]) ++ gl_PREREQ_MBRTOWC ++ fi ++]) ++m4trace:m4/mbrtowc.m4:69: -1- AC_DEFUN([gl_MBSTATE_T_BROKEN], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ ++ AC_REQUIRE([AC_TYPE_MBSTATE_T]) ++ AC_CHECK_FUNCS_ONCE([mbsinit]) ++ AC_CHECK_FUNCS_ONCE([mbrtowc]) ++ if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then ++ gl_MBRTOWC_INCOMPLETE_STATE ++ gl_MBRTOWC_SANITYCHECK ++ REPLACE_MBSTATE_T=0 ++ case "$gl_cv_func_mbrtowc_incomplete_state" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ case "$gl_cv_func_mbrtowc_sanitycheck" in ++ *yes) ;; ++ *) REPLACE_MBSTATE_T=1 ;; ++ esac ++ else ++ REPLACE_MBSTATE_T=1 ++ fi ++ if test $REPLACE_MBSTATE_T = 1; then ++ gl_REPLACE_WCHAR_H ++ fi ++]) ++m4trace:m4/mbrtowc.m4:100: -1- AC_DEFUN([gl_MBRTOWC_INCOMPLETE_STATE], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_JA]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether mbrtowc handles incomplete characters], ++ [gl_cv_func_mbrtowc_incomplete_state], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on AIX and OSF/1. ++ aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_JA != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ if (mbsinit (&state)) ++ return 1; ++ } ++ return 0; ++}]])], ++ [gl_cv_func_mbrtowc_incomplete_state=yes], ++ [gl_cv_func_mbrtowc_incomplete_state=no], ++ [:]) ++ fi ++ ]) ++]) ++m4trace:m4/mbrtowc.m4:156: -1- AC_DEFUN([gl_MBRTOWC_SANITYCHECK], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_ZH_CN]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether mbrtowc works as well as mbtowc], ++ [gl_cv_func_mbrtowc_sanitycheck], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Solaris 8. ++ solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_ZH_CN != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8: ++ mbrtowc returns 2, and sets wc to 0x00F0. ++ mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 6, &state) != 4 ++ && mbtowc (&wc, input + 3, 6) == 4) ++ return 1; ++ } ++ return 0; ++}]])], ++ [gl_cv_func_mbrtowc_sanitycheck=yes], ++ [gl_cv_func_mbrtowc_sanitycheck=no], ++ [:]) ++ fi ++ ]) ++]) ++m4trace:m4/mbrtowc.m4:216: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG1], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_FR_UTF8]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether mbrtowc handles a NULL pwc argument], ++ [gl_cv_func_mbrtowc_null_arg1], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Solaris. ++ solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_FR_UTF8 != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ char input[] = "\303\237er"; ++ mbstate_t state; ++ wchar_t wc; ++ size_t ret; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ wc = (wchar_t) 0xBADFACE; ++ ret = mbrtowc (&wc, input, 5, &state); ++ if (ret != 2) ++ result |= 1; ++ if (!mbsinit (&state)) ++ result |= 2; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ ret = mbrtowc (NULL, input, 5, &state); ++ if (ret != 2) /* Solaris 7 fails here: ret is -1. */ ++ result |= 4; ++ if (!mbsinit (&state)) ++ result |= 8; ++ } ++ return result; ++}]])], ++ [gl_cv_func_mbrtowc_null_arg1=yes], ++ [gl_cv_func_mbrtowc_null_arg1=no], ++ [:]) ++ fi ++ ]) ++]) ++m4trace:m4/mbrtowc.m4:286: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG2], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_FR_UTF8]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether mbrtowc handles a NULL string argument], ++ [gl_cv_func_mbrtowc_null_arg2], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on OSF/1. ++ osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_FR_UTF8 != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ mbstate_t state; ++ wchar_t wc; ++ int ret; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ wc = (wchar_t) 0xBADFACE; ++ mbrtowc (&wc, NULL, 5, &state); ++ /* Check that wc was not modified. */ ++ if (wc != (wchar_t) 0xBADFACE) ++ return 1; ++ } ++ return 0; ++}]])], ++ [gl_cv_func_mbrtowc_null_arg2=yes], ++ [gl_cv_func_mbrtowc_null_arg2=no], ++ [:]) ++ fi ++ ]) ++]) ++m4trace:m4/mbrtowc.m4:346: -1- AC_DEFUN([gl_MBRTOWC_RETVAL], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_FR_UTF8]) ++ AC_REQUIRE([gt_LOCALE_JA]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CACHE_CHECK([whether mbrtowc has a correct return value], ++ [gl_cv_func_mbrtowc_retval], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on HP-UX, Solaris, native Windows. ++ hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_retval="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ ++ || { case "$host_os" in mingw*) true;; *) false;; esac; }; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ int found_some_locale = 0; ++ /* This fails on Solaris. */ ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ char input[] = "B\303\274\303\237er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ { ++ input[1] = '\0'; ++ if (mbrtowc (&wc, input + 2, 5, &state) != 1) ++ result |= 1; ++ } ++ found_some_locale = 1; ++ } ++ /* This fails on HP-UX 11.11. */ ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) ++ { ++ input[1] = '\0'; ++ if (mbrtowc (&wc, input + 2, 5, &state) != 2) ++ result |= 2; ++ } ++ found_some_locale = 1; ++ } ++ /* This fails on native Windows. */ ++ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) ++ { ++ char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 4; ++ } ++ found_some_locale = 1; ++ } ++ if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) ++ { ++ char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 8; ++ } ++ found_some_locale = 1; ++ } ++ if (setlocale (LC_ALL, "Chinese_China.936") != NULL) ++ { ++ char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) ++ { ++ input[3] = '\0'; ++ if (mbrtowc (&wc, input + 4, 4, &state) != 1) ++ result |= 16; ++ } ++ found_some_locale = 1; ++ } ++ return (found_some_locale ? result : 77); ++}]])], ++ [gl_cv_func_mbrtowc_retval=yes], ++ [if test $? != 77; then ++ gl_cv_func_mbrtowc_retval=no ++ fi ++ ], ++ [:]) ++ fi ++ ]) ++]) ++m4trace:m4/mbrtowc.m4:476: -1- AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_ZH_CN]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether mbrtowc returns 0 when parsing a NUL character], ++ [gl_cv_func_mbrtowc_nul_retval], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Solaris 8 and 9. ++ solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_ZH_CN != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ /* This fails on Solaris 8 and 9. */ ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ mbstate_t state; ++ wchar_t wc; ++ ++ memset (&state, '\0', sizeof (mbstate_t)); ++ if (mbrtowc (&wc, "", 1, &state) != 0) ++ return 1; ++ } ++ return 0; ++}]])], ++ [gl_cv_func_mbrtowc_nul_retval=yes], ++ [gl_cv_func_mbrtowc_nul_retval=no], ++ [:]) ++ fi ++ ]) ++]) ++m4trace:m4/mbrtowc.m4:529: -1- AC_DEFUN([gl_PREREQ_MBRTOWC], [ ++ : ++]) ++m4trace:m4/mbrtowc.m4:538: -1- AC_DEFUN([AC_FUNC_MBRTOWC], [ ++ dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60. ++ AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], ++ gl_cv_func_mbrtowc, ++ [AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ]], ++ [[wchar_t wc; ++ char const s[] = ""; ++ size_t n = 1; ++ mbstate_t state; ++ return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])], ++ gl_cv_func_mbrtowc=yes, ++ gl_cv_func_mbrtowc=no)]) ++ if test $gl_cv_func_mbrtowc = yes; then ++ AC_DEFINE([HAVE_MBRTOWC], [1], ++ [Define to 1 if mbrtowc and mbstate_t are properly declared.]) ++ fi ++]) ++m4trace:m4/mbsinit.m4:7: -1- AC_DEFUN([gl_FUNC_MBSINIT], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ ++ AC_REQUIRE([AC_TYPE_MBSTATE_T]) ++ gl_MBSTATE_T_BROKEN ++ ++ AC_CHECK_FUNCS_ONCE([mbsinit]) ++ if test $ac_cv_func_mbsinit = no; then ++ HAVE_MBSINIT=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_MBSINIT=1 ++ else ++ dnl On mingw, mbsinit() always returns 1, which is inappropriate for ++ dnl states produced by mbrtowc() for an incomplete multibyte character ++ dnl in multibyte locales. ++ case "$host_os" in ++ mingw*) REPLACE_MBSINIT=1 ;; ++ esac ++ fi ++ fi ++ if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then ++ gl_REPLACE_WCHAR_H ++ AC_LIBOBJ([mbsinit]) ++ gl_PREREQ_MBSINIT ++ fi ++]) ++m4trace:m4/mbsinit.m4:38: -1- AC_DEFUN([gl_PREREQ_MBSINIT], [ ++ : ++]) ++m4trace:m4/mbstate_t.m4:15: -1- AC_DEFUN([AC_TYPE_MBSTATE_T], [ ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11 ++ ++ AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [AC_INCLUDES_DEFAULT[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ]], ++ [[mbstate_t x; return sizeof x;]])], ++ [ac_cv_type_mbstate_t=yes], ++ [ac_cv_type_mbstate_t=no])]) ++ if test $ac_cv_type_mbstate_t = yes; then ++ AC_DEFINE([HAVE_MBSTATE_T], [1], ++ [Define to 1 if declares mbstate_t.]) ++ else ++ AC_DEFINE([mbstate_t], [int], ++ [Define to a type if does not define.]) ++ fi ++]) ++m4trace:m4/mbtowc.m4:7: -1- AC_DEFUN([gl_FUNC_MBTOWC], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ ++ if false; then ++ REPLACE_MBTOWC=1 ++ fi ++ if test $REPLACE_MBTOWC = 1; then ++ AC_LIBOBJ([mbtowc]) ++ gl_PREREQ_MBTOWC ++ fi ++]) ++m4trace:m4/mbtowc.m4:21: -1- AC_DEFUN([gl_PREREQ_MBTOWC], [ ++ : ++]) ++m4trace:m4/memchr.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ ++ dnl Check for prerequisites for memory fence checks. ++ gl_FUNC_MMAP_ANON ++ AC_CHECK_HEADERS_ONCE([sys/mman.h]) ++ AC_CHECK_FUNCS_ONCE([mprotect]) ++ ++ dnl These days, we assume memchr is present. But just in case... ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([memchr]) ++ if test $ac_cv_func_memchr = yes; then ++ # Detect platform-specific bugs in some versions of glibc: ++ # memchr should not dereference anything with length 0 ++ # http://bugzilla.redhat.com/499689 ++ # memchr should not dereference overestimated length after a match ++ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 ++ # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 ++ # Assume that memchr works on platforms that lack mprotect. ++ AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include ++#if HAVE_SYS_MMAN_H ++# include ++# include ++# include ++# include ++# ifndef MAP_FILE ++# define MAP_FILE 0 ++# endif ++#endif ++]], [[ ++ int result = 0; ++ char *fence = NULL; ++#if HAVE_SYS_MMAN_H && HAVE_MPROTECT ++# if HAVE_MAP_ANONYMOUS ++ const int flags = MAP_ANONYMOUS | MAP_PRIVATE; ++ const int fd = -1; ++# else /* !HAVE_MAP_ANONYMOUS */ ++ const int flags = MAP_FILE | MAP_PRIVATE; ++ int fd = open ("/dev/zero", O_RDONLY, 0666); ++ if (fd >= 0) ++# endif ++ { ++ int pagesize = getpagesize (); ++ char *two_pages = ++ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, ++ flags, fd, 0); ++ if (two_pages != (char *)(-1) ++ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) ++ fence = two_pages + pagesize; ++ } ++#endif ++ if (fence) ++ { ++ if (memchr (fence, 0, 0)) ++ result |= 1; ++ strcpy (fence - 9, "12345678"); ++ if (memchr (fence - 9, 0, 79) != fence - 1) ++ result |= 2; ++ if (memchr (fence - 1, 0, 3) != fence - 1) ++ result |= 4; ++ } ++ return result; ++]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no], ++ [dnl Be pessimistic for now. ++ gl_cv_func_memchr_works="guessing no"])]) ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_MEMCHR=1 ++ fi ++ else ++ HAVE_MEMCHR=0 ++ fi ++ if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then ++ AC_LIBOBJ([memchr]) ++ gl_PREREQ_MEMCHR ++ fi ++]) ++m4trace:m4/memchr.m4:86: -1- AC_DEFUN([gl_PREREQ_MEMCHR], [ ++ AC_CHECK_HEADERS([bp-sym.h]) ++]) ++m4trace:m4/mkdtemp.m4:8: -1- AC_DEFUN([gt_FUNC_MKDTEMP], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([mkdtemp]) ++ if test $ac_cv_func_mkdtemp = no; then ++ HAVE_MKDTEMP=0 ++ gl_PREREQ_MKDTEMP ++ fi ++]) ++m4trace:m4/mkdtemp.m4:19: -1- AC_DEFUN([gl_PREREQ_MKDTEMP], [: ++]) ++m4trace:m4/mkstemp.m4:14: -1- AC_DEFUN([gl_FUNC_MKSTEMP], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_REQUIRE([AC_SYS_LARGEFILE]) ++ ++ AC_CHECK_FUNCS_ONCE([mkstemp]) ++ if test $ac_cv_func_mkstemp = yes; then ++ AC_CACHE_CHECK([for working mkstemp], ++ [gl_cv_func_working_mkstemp], ++ [ ++ mkdir conftest.mkstemp ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [AC_INCLUDES_DEFAULT], ++ [[int result = 0; ++ int i; ++ off_t large = (off_t) 4294967295u; ++ if (large < 0) ++ large = 2147483647; ++ for (i = 0; i < 70; i++) ++ { ++ char templ[] = "conftest.mkstemp/coXXXXXX"; ++ int (*mkstemp_function) (char *) = mkstemp; ++ int fd = mkstemp_function (templ); ++ if (fd < 0) ++ result |= 1; ++ else ++ { ++ if (lseek (fd, large, SEEK_SET) != large) ++ result |= 2; ++ close (fd); ++ } ++ } ++ return result;]])], ++ [gl_cv_func_working_mkstemp=yes], ++ [gl_cv_func_working_mkstemp=no], ++ [gl_cv_func_working_mkstemp=no]) ++ rm -rf conftest.mkstemp ++ ]) ++ if test $gl_cv_func_working_mkstemp != yes; then ++ REPLACE_MKSTEMP=1 ++ AC_LIBOBJ([mkstemp]) ++ gl_PREREQ_MKSTEMP ++ fi ++ else ++ HAVE_MKSTEMP=0 ++ AC_LIBOBJ([mkstemp]) ++ gl_PREREQ_MKSTEMP ++ fi ++]) ++m4trace:m4/mkstemp.m4:66: -1- AC_DEFUN([gl_PREREQ_MKSTEMP], [ ++]) ++m4trace:m4/mmap-anon.m4:16: -1- AC_DEFUN([gl_FUNC_MMAP_ANON], [ ++ dnl Persuade glibc to define MAP_ANONYMOUS. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it ++ # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is ++ # irrelevant for anonymous mappings. ++ AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no]) ++ ++ # Try to allow MAP_ANONYMOUS. ++ gl_have_mmap_anonymous=no ++ if test $gl_have_mmap = yes; then ++ AC_MSG_CHECKING([for MAP_ANONYMOUS]) ++ AC_EGREP_CPP([I cant identify this map.], [ ++#include ++#ifdef MAP_ANONYMOUS ++ I cant identify this map. ++#endif ++], ++ [gl_have_mmap_anonymous=yes]) ++ if test $gl_have_mmap_anonymous != yes; then ++ AC_EGREP_CPP([I cant identify this map.], [ ++#include ++#ifdef MAP_ANON ++ I cant identify this map. ++#endif ++], ++ [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], ++ [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) ++ gl_have_mmap_anonymous=yes]) ++ fi ++ AC_MSG_RESULT([$gl_have_mmap_anonymous]) ++ if test $gl_have_mmap_anonymous = yes; then ++ AC_DEFINE([HAVE_MAP_ANONYMOUS], [1], ++ [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including ++ config.h and .]) ++ fi ++ fi ++]) ++m4trace:m4/mode_t.m4:12: -1- AC_DEFUN([gl_PROMOTED_TYPE_MODE_T], [ ++ AC_REQUIRE([AC_TYPE_MODE_T]) ++ AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [ ++ dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int', ++ dnl and to itself otherwise. This assumption is not guaranteed by the ISO C ++ dnl standard, but we don't know of any real-world counterexamples. ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], ++ [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])], ++ [gl_cv_promoted_mode_t='int'], ++ [gl_cv_promoted_mode_t='mode_t']) ++ ]) ++ AC_DEFINE_UNQUOTED([PROMOTED_MODE_T], [$gl_cv_promoted_mode_t], ++ [Define to the type that is the result of default argument promotions of type mode_t.]) ++]) ++m4trace:m4/multiarch.m4:21: -1- AC_DEFUN_ONCE([gl_MULTIARCH], [ ++ dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. ++ gl_cv_c_multiarch=no ++ AC_COMPILE_IFELSE( ++ [AC_LANG_SOURCE( ++ [[#ifndef __APPLE_CC__ ++ not a universal capable compiler ++ #endif ++ typedef int dummy; ++ ]])], ++ [ ++ dnl Check for potential -arch flags. It is not universal unless ++ dnl there are at least two -arch flags with different values. ++ arch= ++ prev= ++ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do ++ if test -n "$prev"; then ++ case $word in ++ i?86 | x86_64 | ppc | ppc64) ++ if test -z "$arch" || test "$arch" = "$word"; then ++ arch="$word" ++ else ++ gl_cv_c_multiarch=yes ++ fi ++ ;; ++ esac ++ prev= ++ else ++ if test "x$word" = "x-arch"; then ++ prev=arch ++ fi ++ fi ++ done ++ ]) ++ if test $gl_cv_c_multiarch = yes; then ++ APPLE_UNIVERSAL_BUILD=1 ++ else ++ APPLE_UNIVERSAL_BUILD=0 ++ fi ++ AC_SUBST([APPLE_UNIVERSAL_BUILD]) ++]) ++m4trace:m4/nl_langinfo.m4:7: -1- AC_DEFUN([gl_FUNC_NL_LANGINFO], [ ++ AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) ++ AC_REQUIRE([gl_LANGINFO_H]) ++ AC_CHECK_FUNCS_ONCE([nl_langinfo]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ if test $ac_cv_func_nl_langinfo = yes; then ++ # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken. ++ AC_CACHE_CHECK([whether YESEXPR works], ++ [gl_cv_func_nl_langinfo_yesexpr_works], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM([[#include ++]], [[return !*nl_langinfo(YESEXPR); ++]])], ++ [gl_cv_func_nl_langinfo_yesexpr_works=yes], ++ [gl_cv_func_nl_langinfo_yesexpr_works=no], ++ [ ++ case "$host_os" in ++ # Guess no on irix systems. ++ irix*) gl_cv_func_nl_langinfo_yesexpr_works="guessing no";; ++ # Guess yes elsewhere. ++ *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";; ++ esac ++ ]) ++ ]) ++ case $gl_cv_func_nl_langinfo_yesexpr_works in ++ *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;; ++ *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;; ++ esac ++ AC_DEFINE_UNQUOTED([FUNC_NL_LANGINFO_YESEXPR_WORKS], ++ [$FUNC_NL_LANGINFO_YESEXPR_WORKS], ++ [Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string.]) ++ if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \ ++ && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then ++ : ++ else ++ REPLACE_NL_LANGINFO=1 ++ AC_DEFINE([REPLACE_NL_LANGINFO], [1], ++ [Define if nl_langinfo exists but is overridden by gnulib.]) ++ AC_LIBOBJ([nl_langinfo]) ++ fi ++ else ++ HAVE_NL_LANGINFO=0 ++ AC_LIBOBJ([nl_langinfo]) ++ fi ++]) ++m4trace:m4/nocrash.m4:18: -1- AC_DEFUN([GL_NOCRASH], [[ ++#include ++#if defined __MACH__ && defined __APPLE__ ++/* Avoid a crash on MacOS X. */ ++#include ++#include ++#include ++#include ++#include ++#include ++/* The exception port on which our thread listens. */ ++static mach_port_t our_exception_port; ++/* The main function of the thread listening for exceptions of type ++ EXC_BAD_ACCESS. */ ++static void * ++mach_exception_thread (void *arg) ++{ ++ /* Buffer for a message to be received. */ ++ struct { ++ mach_msg_header_t head; ++ mach_msg_body_t msgh_body; ++ char data[1024]; ++ } msg; ++ mach_msg_return_t retval; ++ /* Wait for a message on the exception port. */ ++ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), ++ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); ++ if (retval != MACH_MSG_SUCCESS) ++ abort (); ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++ mach_port_t self = mach_task_self (); ++ /* Allocate a port on which the thread shall listen for exceptions. */ ++ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) ++ == KERN_SUCCESS) { ++ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ ++ if (mach_port_insert_right (self, our_exception_port, our_exception_port, ++ MACH_MSG_TYPE_MAKE_SEND) ++ == KERN_SUCCESS) { ++ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting ++ for us. */ ++ exception_mask_t mask = EXC_MASK_BAD_ACCESS; ++ /* Create the thread listening on the exception port. */ ++ pthread_attr_t attr; ++ pthread_t thread; ++ if (pthread_attr_init (&attr) == 0 ++ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 ++ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { ++ pthread_attr_destroy (&attr); ++ /* Replace the exception port info for these exceptions with our own. ++ Note that we replace the exception port for the entire task, not only ++ for a particular thread. This has the effect that when our exception ++ port gets the message, the thread specific exception port has already ++ been asked, and we don't need to bother about it. ++ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ ++ task_set_exception_ports (self, mask, our_exception_port, ++ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); ++ } ++ } ++ } ++} ++#else ++/* Avoid a crash on POSIX systems. */ ++#include ++/* A POSIX signal handler. */ ++static void ++exception_handler (int sig) ++{ ++ exit (1); ++} ++static void ++nocrash_init (void) ++{ ++#ifdef SIGSEGV ++ signal (SIGSEGV, exception_handler); ++#endif ++#ifdef SIGBUS ++ signal (SIGBUS, exception_handler); ++#endif ++} ++#endif ++]]) ++m4trace:m4/open.m4:7: -1- AC_DEFUN([gl_FUNC_OPEN], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ case "$host_os" in ++ mingw* | pw*) ++ gl_REPLACE_OPEN ++ ;; ++ *) ++ dnl open("foo/") should not create a file when the file name has a ++ dnl trailing slash. FreeBSD only has the problem on symlinks. ++ AC_CHECK_FUNCS_ONCE([lstat]) ++ AC_CACHE_CHECK([whether open recognizes a trailing slash], ++ [gl_cv_func_open_slash], ++ [# Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ touch conftest.tmp ++ ln -s conftest.tmp conftest.lnk ++ fi ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#if HAVE_UNISTD_H ++# include ++#endif ++int main () ++{ ++ int result = 0; ++#if HAVE_LSTAT ++ if (open ("conftest.lnk/", O_RDONLY) != -1) ++ result |= 1; ++#endif ++ if (open ("conftest.sl/", O_CREAT, 0600) >= 0) ++ result |= 2; ++ return result; ++}]])], ++ [gl_cv_func_open_slash=yes], ++ [gl_cv_func_open_slash=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) ++ gl_cv_func_open_slash="guessing no" ;; ++ *) ++ gl_cv_func_open_slash="guessing yes" ;; ++ esac ++changequote([,])dnl ++ ]) ++ rm -f conftest.sl conftest.tmp conftest.lnk ++ ]) ++ case "$gl_cv_func_open_slash" in ++ *no) ++ AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1], ++ [Define to 1 if open() fails to recognize a trailing slash.]) ++ gl_REPLACE_OPEN ++ ;; ++ esac ++ ;; ++ esac ++]) ++m4trace:m4/open.m4:67: -1- AC_DEFUN([gl_REPLACE_OPEN], [ ++ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++ REPLACE_OPEN=1 ++ AC_LIBOBJ([open]) ++ gl_PREREQ_OPEN ++]) ++m4trace:m4/open.m4:76: -1- AC_DEFUN([gl_PREREQ_OPEN], [ ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) ++ : ++]) ++m4trace:m4/pathmax.m4:8: -1- AC_DEFUN([gl_PATHMAX], [ ++ dnl Prerequisites of lib/pathmax.h. ++ AC_CHECK_FUNCS_ONCE([pathconf]) ++ AC_CHECK_HEADERS_ONCE([sys/param.h]) ++]) ++m4trace:m4/pipe2.m4:7: -1- AC_DEFUN([gl_FUNC_PIPE2], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ ++ dnl Persuade glibc to declare pipe2(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CHECK_FUNCS_ONCE([pipe2]) ++ if test $ac_cv_func_pipe2 != yes; then ++ HAVE_PIPE2=0 ++ fi ++]) ++m4trace:m4/posix_spawn.m4:8: -1- AC_DEFUN([gl_POSIX_SPAWN], [ ++ AC_REQUIRE([gl_POSIX_SPAWN_BODY]) ++]) ++m4trace:m4/posix_spawn.m4:13: -1- AC_DEFUN([gl_POSIX_SPAWN_BODY], [ ++ AC_REQUIRE([gl_SPAWN_H_DEFAULTS]) ++ AC_REQUIRE([gl_HAVE_POSIX_SPAWN]) ++ dnl Assume that when the main function exists, all the others, ++ dnl except posix_spawnattr_{get,set}sched*, are available as well. ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnp]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_init]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_addclose]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_adddup2]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_addopen]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_destroy]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_init]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getflags]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setflags]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getpgroup]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setpgroup]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getsigdefault]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setsigdefault]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getsigmask]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setsigmask]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_destroy]) ++ if test $ac_cv_func_posix_spawn = yes; then ++ gl_POSIX_SPAWN_WORKS ++ case "$gl_cv_func_posix_spawn_works" in ++ *yes) ++ dnl Assume that these functions are available if POSIX_SPAWN_SETSCHEDULER ++ dnl evaluates to nonzero. ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getschedpolicy]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setschedpolicy]) ++ AC_CACHE_CHECK([whether posix_spawnattr_setschedpolicy is supported], ++ [gl_cv_func_spawnattr_setschedpolicy], ++ [AC_EGREP_CPP([POSIX scheduling supported], [ ++#include ++#if POSIX_SPAWN_SETSCHEDULER ++ POSIX scheduling supported ++#endif ++], ++ [gl_cv_func_spawnattr_setschedpolicy=yes], ++ [gl_cv_func_spawnattr_setschedpolicy=no]) ++ ]) ++ dnl Assume that these functions are available if POSIX_SPAWN_SETSCHEDPARAM ++ dnl evaluates to nonzero. ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getschedparam]) ++ dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setschedparam]) ++ AC_CACHE_CHECK([whether posix_spawnattr_setschedparam is supported], ++ [gl_cv_func_spawnattr_setschedparam], ++ [AC_EGREP_CPP([POSIX scheduling supported], [ ++#include ++#if POSIX_SPAWN_SETSCHEDPARAM ++ POSIX scheduling supported ++#endif ++], ++ [gl_cv_func_spawnattr_setschedparam=yes], ++ [gl_cv_func_spawnattr_setschedparam=no]) ++ ]) ++ ;; ++ *) REPLACE_POSIX_SPAWN=1 ;; ++ esac ++ fi ++]) ++m4trace:m4/posix_spawn.m4:84: -1- AC_DEFUN([gl_POSIX_SPAWN_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether posix_spawn works], [gl_cv_func_posix_spawn_works], ++ [if test $cross_compiling = no; then ++ AC_LINK_IFELSE([AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++extern char **environ; ++ ++#ifndef STDIN_FILENO ++# define STDIN_FILENO 0 ++#endif ++#ifndef STDOUT_FILENO ++# define STDOUT_FILENO 1 ++#endif ++#ifndef STDERR_FILENO ++# define STDERR_FILENO 2 ++#endif ++ ++#ifndef WTERMSIG ++# define WTERMSIG(x) ((x) & 0x7f) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(x) (WTERMSIG (x) == 0) ++#endif ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(x) (((x) >> 8) & 0xff) ++#endif ++ ++#define CHILD_PROGRAM_FILENAME "/non/exist/ent" ++ ++static int ++fd_safer (int fd) ++{ ++ if (0 <= fd && fd <= 2) ++ { ++ int f = fd_safer (dup (fd)); ++ int e = errno; ++ close (fd); ++ errno = e; ++ fd = f; ++ } ++ ++ return fd; ++} ++ ++int ++main () ++{ ++ char *argv[2] = { CHILD_PROGRAM_FILENAME, NULL }; ++ int ofd[2]; ++ sigset_t blocked_signals; ++ sigset_t fatal_signal_set; ++ posix_spawn_file_actions_t actions; ++ bool actions_allocated; ++ posix_spawnattr_t attrs; ++ bool attrs_allocated; ++ int err; ++ pid_t child; ++ int status; ++ int exitstatus; ++ ++ setvbuf (stdout, NULL, _IOFBF, 0); ++ puts ("This should be seen only once."); ++ if (pipe (ofd) < 0 || (ofd[1] = fd_safer (ofd[1])) < 0) ++ { ++ perror ("cannot create pipe"); ++ exit (1); ++ } ++ sigprocmask (SIG_SETMASK, NULL, &blocked_signals); ++ sigemptyset (&fatal_signal_set); ++ sigaddset (&fatal_signal_set, SIGINT); ++ sigaddset (&fatal_signal_set, SIGTERM); ++ sigaddset (&fatal_signal_set, SIGHUP); ++ sigaddset (&fatal_signal_set, SIGPIPE); ++ sigprocmask (SIG_BLOCK, &fatal_signal_set, NULL); ++ actions_allocated = false; ++ attrs_allocated = false; ++ if ((err = posix_spawn_file_actions_init (&actions)) != 0 ++ || (actions_allocated = true, ++ (err = posix_spawn_file_actions_adddup2 (&actions, ofd[0], STDIN_FILENO)) != 0 ++ || (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) != 0 ++ || (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) != 0 ++ || (err = posix_spawnattr_init (&attrs)) != 0 ++ || (attrs_allocated = true, ++ (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 ++ || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0) ++ || (err = posix_spawnp (&child, CHILD_PROGRAM_FILENAME, &actions, &attrs, argv, environ)) != 0)) ++ { ++ if (actions_allocated) ++ posix_spawn_file_actions_destroy (&actions); ++ if (attrs_allocated) ++ posix_spawnattr_destroy (&attrs); ++ sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL); ++ if (err == ENOENT) ++ return 0; ++ else ++ { ++ errno = err; ++ perror ("subprocess failed"); ++ exit (1); ++ } ++ } ++ posix_spawn_file_actions_destroy (&actions); ++ posix_spawnattr_destroy (&attrs); ++ sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL); ++ close (ofd[0]); ++ close (ofd[1]); ++ status = 0; ++ while (waitpid (child, &status, 0) != child) ++ ; ++ if (!WIFEXITED (status)) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status); ++ exit (1); ++ } ++ exitstatus = WEXITSTATUS (status); ++ if (exitstatus != 127) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus); ++ exit (1); ++ } ++ return 0; ++} ++]])], ++ [if test -s conftest$ac_exeext \ ++ && ./conftest$ac_exeext > conftest.out \ ++ && echo 'This should be seen only once.' > conftest.ok \ ++ && cmp conftest.out conftest.ok > /dev/null; then ++ gl_cv_func_posix_spawn_works=yes ++ else ++ gl_cv_func_posix_spawn_works=no ++ fi], ++ [gl_cv_func_posix_spawn_works=no]) ++ if test $gl_cv_func_posix_spawn_works = yes; then ++ AC_RUN_IFELSE([AC_LANG_SOURCE([[ ++/* Test whether posix_spawn_file_actions_addopen supports filename arguments ++ that contain special characters such as '*'. */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++extern char **environ; ++ ++#ifndef STDIN_FILENO ++# define STDIN_FILENO 0 ++#endif ++#ifndef STDOUT_FILENO ++# define STDOUT_FILENO 1 ++#endif ++#ifndef STDERR_FILENO ++# define STDERR_FILENO 2 ++#endif ++ ++#ifndef WTERMSIG ++# define WTERMSIG(x) ((x) & 0x7f) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(x) (WTERMSIG (x) == 0) ++#endif ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(x) (((x) >> 8) & 0xff) ++#endif ++ ++#define CHILD_PROGRAM_FILENAME "conftest" ++#define DATA_FILENAME "conftest%=*#?" ++ ++static int ++parent_main (void) ++{ ++ FILE *fp; ++ char *argv[3] = { CHILD_PROGRAM_FILENAME, "-child", NULL }; ++ posix_spawn_file_actions_t actions; ++ bool actions_allocated; ++ int err; ++ pid_t child; ++ int status; ++ int exitstatus; ++ ++ /* Create a data file with specific contents. */ ++ fp = fopen (DATA_FILENAME, "wb"); ++ if (fp == NULL) ++ { ++ perror ("cannot create data file"); ++ return 1; ++ } ++ fwrite ("Halle Potta", 1, 11, fp); ++ if (fflush (fp) || fclose (fp)) ++ { ++ perror ("cannot prepare data file"); ++ return 2; ++ } ++ ++ /* Avoid reading from our stdin, as it could block. */ ++ freopen ("/dev/null", "rb", stdin); ++ ++ /* Test whether posix_spawn_file_actions_addopen with this file name ++ actually works, but spawning a child that reads from this file. */ ++ actions_allocated = false; ++ if ((err = posix_spawn_file_actions_init (&actions)) != 0 ++ || (actions_allocated = true, ++ (err = posix_spawn_file_actions_addopen (&actions, STDIN_FILENO, DATA_FILENAME, O_RDONLY, 0600)) != 0 ++ || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0)) ++ { ++ if (actions_allocated) ++ posix_spawn_file_actions_destroy (&actions); ++ errno = err; ++ perror ("subprocess failed"); ++ return 3; ++ } ++ posix_spawn_file_actions_destroy (&actions); ++ status = 0; ++ while (waitpid (child, &status, 0) != child) ++ ; ++ if (!WIFEXITED (status)) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status); ++ return 4; ++ } ++ exitstatus = WEXITSTATUS (status); ++ if (exitstatus != 0) ++ { ++ fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus); ++ return 5; ++ } ++ return 0; ++} ++ ++static int ++child_main (void) ++{ ++ char buf[1024]; ++ ++ /* See if reading from STDIN_FILENO yields the expected contents. */ ++ if (fread (buf, 1, sizeof (buf), stdin) == 11 ++ && memcmp (buf, "Halle Potta", 11) == 0) ++ return 0; ++ else ++ return 8; ++} ++ ++static void ++cleanup_then_die (int sig) ++{ ++ /* Clean up data file. */ ++ unlink (DATA_FILENAME); ++ ++ /* Re-raise the signal and die from it. */ ++ signal (sig, SIG_DFL); ++ raise (sig); ++} ++ ++int ++main (int argc, char *argv[]) ++{ ++ int exitstatus; ++ ++ if (!(argc > 1 && strcmp (argv[1], "-child") == 0)) ++ { ++ /* This is the parent process. */ ++ signal (SIGINT, cleanup_then_die); ++ signal (SIGTERM, cleanup_then_die); ++ #ifdef SIGHUP ++ signal (SIGHUP, cleanup_then_die); ++ #endif ++ ++ exitstatus = parent_main (); ++ } ++ else ++ { ++ /* This is the child process. */ ++ ++ exitstatus = child_main (); ++ } ++ unlink (DATA_FILENAME); ++ return exitstatus; ++} ++]])], ++ [], ++ [gl_cv_func_posix_spawn_works=no]) ++ fi ++ else ++ case "$host_os" in ++ aix*) gl_cv_func_posix_spawn_works="guessing no";; ++ *) gl_cv_func_posix_spawn_works="guessing yes";; ++ esac ++ fi ++ ]) ++]) ++m4trace:m4/posix_spawn.m4:394: -1- AC_DEFUN([gl_POSIX_SPAWN_INTERNAL], [ ++ AC_LIBOBJ([spawni]) ++ dnl Prerequisites of lib/spawni.c. ++ AC_CHECK_HEADERS([paths.h]) ++ AC_CHECK_FUNCS([confstr sched_setparam sched_setscheduler setegid seteuid vfork]) ++]) ++m4trace:m4/printf-frexp.m4:9: -1- AC_DEFUN([gl_FUNC_PRINTF_FREXP], [ ++ AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM]) ++ if test $gl_cv_func_frexp_no_libm = yes; then ++ gl_FUNC_FREXP_WORKS ++ case "$gl_cv_func_frexp_works" in ++ *yes) ++ AC_DEFINE([HAVE_FREXP_IN_LIBC], [1], ++ [Define if the frexp function is available in libc.]) ++ ;; ++ esac ++ fi ++ ++ AC_CACHE_CHECK([whether ldexp can be used without linking with libm], ++ [gl_cv_func_ldexp_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ double x; ++ int y;]], ++ [[return ldexp (x, y) < 1;]])], ++ [gl_cv_func_ldexp_no_libm=yes], ++ [gl_cv_func_ldexp_no_libm=no]) ++ ]) ++ if test $gl_cv_func_ldexp_no_libm = yes; then ++ AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1], ++ [Define if the ldexp function is available in libc.]) ++ fi ++]) ++m4trace:m4/printf-frexpl.m4:9: -1- AC_DEFUN([gl_FUNC_PRINTF_FREXPL], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ dnl Subset of gl_FUNC_FREXPL_NO_LIBM. ++ gl_CHECK_FREXPL_NO_LIBM ++ if test $gl_cv_func_frexpl_no_libm = yes; then ++ gl_FUNC_FREXPL_WORKS ++ case "$gl_cv_func_frexpl_works" in ++ *yes) gl_func_frexpl_no_libm=yes ;; ++ *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; ++ esac ++ else ++ gl_func_frexpl_no_libm=no ++ dnl Set REPLACE_FREXPL here because the system may have frexpl in libm. ++ REPLACE_FREXPL=1 ++ fi ++ if test $gl_func_frexpl_no_libm = yes; then ++ AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1], ++ [Define if the frexpl function is available in libc.]) ++ dnl Also check whether it's declared. ++ dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in . ++ AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include ]) ++ fi ++ ++ gl_CHECK_LDEXPL_NO_LIBM ++ if test $gl_cv_func_ldexpl_no_libm = yes; then ++ gl_FUNC_LDEXPL_WORKS ++ case "$gl_cv_func_ldexpl_works" in ++ *yes) ++ AC_DEFINE([HAVE_LDEXPL_IN_LIBC], [1], ++ [Define if the ldexpl function is available in libc.]) ++ dnl Also check whether it's declared. ++ dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in . ++ AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include ]) ++ ;; ++ esac ++ fi ++]) ++m4trace:m4/printf.m4:11: -1- AC_DEFUN([gl_PRINTF_SIZES_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) ++ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports size specifiers as in C99], ++ [gl_cv_func_printf_sizes_c99], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#include ++#include ++#if HAVE_STDINT_H_WITH_UINTMAX ++# include ++#endif ++#if HAVE_INTTYPES_H_WITH_UINTMAX ++# include ++#endif ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 ++ || strcmp (buf, "12345671 33") != 0) ++ result |= 1; ++#endif ++ buf[0] = '\0'; ++ if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 ++ || strcmp (buf, "12345672 33") != 0) ++ result |= 2; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 ++ || strcmp (buf, "12345673 33") != 0) ++ result |= 4; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 ++ || strcmp (buf, "1.5 33") != 0) ++ result |= 8; ++ return result; ++}]])], ++ [gl_cv_func_printf_sizes_c99=yes], ++ [gl_cv_func_printf_sizes_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; ++ darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_sizes_c99="guessing no";; ++ netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_sizes_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:92: -1- AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports 'long double' arguments], ++ [gl_cv_func_printf_long_double], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[10000]; ++int main () ++{ ++ int result = 0; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000 33") != 0) ++ result |= 1; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.750000e+00 33") != 0) ++ result |= 2; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 ++ || strcmp (buf, "1.75 33") != 0) ++ result |= 4; ++ return result; ++}]])], ++ [gl_cv_func_printf_long_double=yes], ++ [gl_cv_func_printf_long_double=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ beos*) gl_cv_func_printf_long_double="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_long_double="guessing no";; ++ *) gl_cv_func_printf_long_double="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:140: -1- AC_DEFUN([gl_PRINTF_INFINITE], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports infinite 'double' arguments], ++ [gl_cv_func_printf_infinite], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static int ++have_minus_zero () ++{ ++ static double plus_zero = 0.0; ++ double minus_zero = - plus_zero; ++ return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; ++} ++static char buf[10000]; ++static double zero = 0.0; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%f", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%f", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%f", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%e", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 4; ++ if (sprintf (buf, "%e", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 4; ++ if (sprintf (buf, "%e", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%g", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 16; ++ if (sprintf (buf, "%g", -1.0 / 0.0) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 16; ++ if (sprintf (buf, "%g", zero / zero) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ /* This test fails on HP-UX 10.20. */ ++ if (have_minus_zero ()) ++ if (sprintf (buf, "%g", - zero) < 0 ++ || strcmp (buf, "-0") != 0) ++ result |= 64; ++ return result; ++}]])], ++ [gl_cv_func_printf_infinite=yes], ++ [gl_cv_func_printf_infinite=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; ++ darwin*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; ++ hpux*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_printf_infinite="guessing no";; ++ netbsd*) gl_cv_func_printf_infinite="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_infinite="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:249: -1- AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_BIGENDIAN]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ dnl The user can set or unset the variable gl_printf_safe to indicate ++ dnl that he wishes a safe handling of non-IEEE-754 'long double' values. ++ if test -n "$gl_printf_safe"; then ++ AC_DEFINE([CHECK_PRINTF_SAFE], [1], ++ [Define if you wish *printf() functions that have a safe handling of ++ non-IEEE-754 'long double' values.]) ++ fi ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments], ++ [gl_cv_func_printf_infinite_long_double], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++]GL_NOCRASH[ ++#include ++#include ++#include ++static int ++strisnan (const char *string, size_t start_index, size_t end_index) ++{ ++ if (start_index < end_index) ++ { ++ if (string[start_index] == '-') ++ start_index++; ++ if (start_index + 3 <= end_index ++ && memcmp (string + start_index, "nan", 3) == 0) ++ { ++ start_index += 3; ++ if (start_index == end_index ++ || (string[start_index] == '(' && string[end_index - 1] == ')')) ++ return 1; ++ } ++ } ++ return 0; ++} ++static char buf[10000]; ++static long double zeroL = 0.0L; ++int main () ++{ ++ int result = 0; ++ nocrash_init(); ++ if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++ if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Le", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++ if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0 ++ || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0 ++ || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 1; ++#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) ++/* Representation of an 80-bit 'long double' as an initializer for a sequence ++ of 'unsigned int' words. */ ++# ifdef WORDS_BIGENDIAN ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ++ ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ ++ (unsigned int) (mantlo) << 16 \ ++ } ++# else ++# define LDBL80_WORDS(exponent,manthi,mantlo) \ ++ { mantlo, manthi, exponent } ++# endif ++ { /* Quiet NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ } ++ { ++ /* Signalling NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 2; ++ } ++ { /* Pseudo-NaN. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 4; ++ } ++ { /* Pseudo-Infinity. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 8; ++ } ++ { /* Pseudo-Zero. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 16; ++ } ++ { /* Unnormalized number. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 32; ++ } ++ { /* Pseudo-Denormal. */ ++ static union { unsigned int word[4]; long double value; } x = ++ { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; ++ if (sprintf (buf, "%Lf", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ if (sprintf (buf, "%Le", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ if (sprintf (buf, "%Lg", x.value) < 0 ++ || !strisnan (buf, 0, strlen (buf))) ++ result |= 64; ++ } ++#endif ++ return result; ++}]])], ++ [gl_cv_func_printf_infinite_long_double=yes], ++ [gl_cv_func_printf_infinite_long_double=no], ++ [ ++changequote(,)dnl ++ case "$host_cpu" in ++ # Guess no on ia64, x86_64, i386. ++ ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; ++ *) ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; ++ hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_infinite_long_double="guessing no";; ++ esac ++ ;; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++ ;; ++ *) ++ gl_cv_func_printf_infinite_long_double="irrelevant" ++ ;; ++ esac ++]) ++m4trace:m4/printf.m4:469: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], ++ [gl_cv_func_printf_directive_a], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.922p+1 33") != 0 ++ && strcmp (buf, "0x3.244p+0 33") != 0 ++ && strcmp (buf, "0x6.488p-1 33") != 0 ++ && strcmp (buf, "0xc.91p-2 33") != 0)) ++ result |= 1; ++ if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 ++ || (strcmp (buf, "-0X1.922P+1 33") != 0 ++ && strcmp (buf, "-0X3.244P+0 33") != 0 ++ && strcmp (buf, "-0X6.488P-1 33") != 0 ++ && strcmp (buf, "-0XC.91P-2 33") != 0)) ++ result |= 2; ++ /* This catches a FreeBSD 6.1 bug: it doesn't round. */ ++ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 ++ || (strcmp (buf, "0x1.83p+0 33") != 0 ++ && strcmp (buf, "0x3.05p-1 33") != 0 ++ && strcmp (buf, "0x6.0ap-2 33") != 0 ++ && strcmp (buf, "0xc.14p-3 33") != 0)) ++ result |= 4; ++ /* This catches a FreeBSD 6.1 bug. See ++ */ ++ if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0 ++ || buf[0] == '0') ++ result |= 8; ++ /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ ++ if (sprintf (buf, "%.1a", 1.999) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ result |= 16; ++ /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a ++ glibc 2.4 bug . */ ++ if (sprintf (buf, "%.1La", 1.999L) < 0 ++ || (strcmp (buf, "0x1.0p+1") != 0 ++ && strcmp (buf, "0x2.0p+0") != 0 ++ && strcmp (buf, "0x4.0p-1") != 0 ++ && strcmp (buf, "0x8.0p-2") != 0)) ++ result |= 32; ++ return result; ++}]])], ++ [gl_cv_func_printf_directive_a=yes], ++ [gl_cv_func_printf_directive_a=no], ++ [ ++ case "$host_os" in ++ # Guess yes on glibc >= 2.5 systems. ++ *-gnu*) ++ AC_EGREP_CPP([BZ2908], [ ++ #include ++ #ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__ ++ BZ2908 ++ #endif ++ #endif ++ ], ++ [gl_cv_func_printf_directive_a="guessing yes"], ++ [gl_cv_func_printf_directive_a="guessing no"]) ++ ;; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_a="guessing no";; ++ esac ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:553: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'F' directive], ++ [gl_cv_func_printf_directive_f], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ int result = 0; ++ if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 ++ || strcmp (buf, "1234567.000000 33") != 0) ++ result |= 1; ++ if (sprintf (buf, "%F", 1.0 / 0.0) < 0 ++ || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) ++ result |= 2; ++ /* This catches a Cygwin 1.5.x bug. */ ++ if (sprintf (buf, "%.F", 1234.0) < 0 ++ || strcmp (buf, "1234") != 0) ++ result |= 4; ++ return result; ++}]])], ++ [gl_cv_func_printf_directive_f=yes], ++ [gl_cv_func_printf_directive_f=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on FreeBSD >= 6. ++ freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; ++ darwin*) gl_cv_func_printf_directive_f="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_directive_f="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:608: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'n' directive], ++ [gl_cv_func_printf_directive_n], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char fmtstring[10]; ++static char buf[100]; ++int main () ++{ ++ int count = -1; ++ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) ++ support %n in format strings in read-only memory but not in writable ++ memory. */ ++ strcpy (fmtstring, "%d %n"); ++ if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 ++ || strcmp (buf, "123 ") != 0 ++ || count != 4) ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_printf_directive_n=yes], ++ [gl_cv_func_printf_directive_n=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ *) gl_cv_func_printf_directive_n="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:653: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the 'ls' directive], ++ [gl_cv_func_printf_directive_ls], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ char buf[100]; ++ /* Test whether %ls works at all. ++ This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on ++ Cygwin 1.5. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "abc") != 0) ++ result |= 1; ++ } ++ /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an ++ assertion failure inside libc), but not on OpenBSD 4.0. */ ++ { ++ static const wchar_t wstring[] = { 'a', 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%ls", wstring) < 0 ++ || strcmp (buf, "a") != 0) ++ result |= 2; ++ } ++ /* Test whether precisions in %ls are supported as specified in ISO C 99 ++ section 7.19.6.1: ++ "If a precision is specified, no more than that many bytes are written ++ (including shift sequences, if any), and the array shall contain a ++ null wide character if, to equal the multibyte character sequence ++ length given by the precision, the function would need to access a ++ wide character one past the end of the array." ++ This test fails on Solaris 10. */ ++ { ++ static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; ++ buf[0] = '\0'; ++ if (sprintf (buf, "%.2ls", wstring) < 0 ++ || strcmp (buf, "ab") != 0) ++ result |= 8; ++ } ++ return result; ++}]])], ++ [gl_cv_func_printf_directive_ls=yes], ++ [gl_cv_func_printf_directive_ls=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ openbsd*) gl_cv_func_printf_directive_ls="guessing no";; ++ irix*) gl_cv_func_printf_directive_ls="guessing no";; ++ solaris*) gl_cv_func_printf_directive_ls="guessing no";; ++ cygwin*) gl_cv_func_printf_directive_ls="guessing no";; ++ beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; ++ *) gl_cv_func_printf_directive_ls="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:732: -1- AC_DEFUN([gl_PRINTF_POSITIONS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions], ++ [gl_cv_func_printf_positions], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* The string "%2$d %1$d", with dollar characters protected from the shell's ++ dollar expansion (possibly an autoconf bug). */ ++static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; ++static char buf[100]; ++int main () ++{ ++ sprintf (buf, format, 33, 55); ++ return (strcmp (buf, "55 33") != 0); ++}]])], ++ [gl_cv_func_printf_positions=yes], ++ [gl_cv_func_printf_positions=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) ++ gl_cv_func_printf_positions="guessing no";; ++ beos*) gl_cv_func_printf_positions="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_positions="guessing no";; ++ *) gl_cv_func_printf_positions="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:772: -1- AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the grouping flag], ++ [gl_cv_func_printf_flag_grouping], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%'d %d", 1234567, 99) < 0 ++ || buf[strlen (buf) - 1] != '9') ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_printf_flag_grouping=yes], ++ [gl_cv_func_printf_flag_grouping=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; ++ netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; ++ mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; ++ *) gl_cv_func_printf_flag_grouping="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:811: -1- AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly], ++ [gl_cv_func_printf_flag_leftadjust], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ /* Check that a '-' flag is not annihilated by a negative width. */ ++ if (sprintf (buf, "a%-*sc", -3, "b") < 0 ++ || strcmp (buf, "ab c") != 0) ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_printf_flag_leftadjust=yes], ++ [gl_cv_func_printf_flag_leftadjust=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on HP-UX 11. ++ hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ # Guess no on HP-UX 10 and older. ++ hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; ++ # Guess yes otherwise. ++ *) gl_cv_func_printf_flag_leftadjust="guessing yes";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:853: -1- AC_DEFUN([gl_PRINTF_FLAG_ZERO], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports the zero flag correctly], ++ [gl_cv_func_printf_flag_zero], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0 ++ || (strcmp (buf, " inf") != 0 ++ && strcmp (buf, " infinity") != 0)) ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_printf_flag_zero=yes], ++ [gl_cv_func_printf_flag_zero=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_flag_zero="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_flag_zero="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:898: -1- AC_DEFUN([gl_PRINTF_PRECISION], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf supports large precisions], ++ [gl_cv_func_printf_precision], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[5000]; ++int main () ++{ ++ int result = 0; ++#ifdef __BEOS__ ++ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ ++ return 1; ++#endif ++ if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) ++ result |= 1; ++ if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) ++ result |= 2; ++ if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 ++ || buf[0] != '1') ++ result |= 4; ++ return result; ++}]])], ++ [gl_cv_func_printf_precision=yes], ++ [gl_cv_func_printf_precision=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no only on Solaris, native Win32, and BeOS systems. ++ solaris*) gl_cv_func_printf_precision="guessing no" ;; ++ mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; ++ beos*) gl_cv_func_printf_precision="guessing no" ;; ++ *) gl_cv_func_printf_precision="guessing yes" ;; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:946: -1- AC_DEFUN([gl_PRINTF_ENOMEM], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gl_MULTIARCH]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether printf survives out-of-memory conditions], ++ [gl_cv_func_printf_enomem], ++ [ ++ gl_cv_func_printf_enomem="guessing no" ++ if test "$cross_compiling" = no; then ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ AC_LANG_CONFTEST([AC_LANG_SOURCE([ ++]GL_NOCRASH[ ++changequote(,)dnl ++#include ++#include ++#include ++#include ++#include ++int main() ++{ ++ struct rlimit limit; ++ int ret; ++ nocrash_init (); ++ /* Some printf implementations allocate temporary space with malloc. */ ++ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ ++#ifdef RLIMIT_DATA ++ if (getrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_DATA, &limit) < 0) ++ return 77; ++#endif ++ /* On Linux systems, malloc() is limited by RLIMIT_AS. */ ++#ifdef RLIMIT_AS ++ if (getrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_AS, &limit) < 0) ++ return 77; ++#endif ++ /* Some printf implementations allocate temporary space on the stack. */ ++#ifdef RLIMIT_STACK ++ if (getrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++ if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) ++ limit.rlim_max = 5000000; ++ limit.rlim_cur = limit.rlim_max; ++ if (setrlimit (RLIMIT_STACK, &limit) < 0) ++ return 77; ++#endif ++ ret = printf ("%.5000000f", 1.0); ++ return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); ++} ++changequote([,])dnl ++ ])]) ++ if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then ++ (./conftest ++ result=$? ++ if test $result != 0 && test $result != 77; then result=1; fi ++ exit $result ++ ) >/dev/null 2>/dev/null ++ case $? in ++ 0) gl_cv_func_printf_enomem="yes" ;; ++ 77) gl_cv_func_printf_enomem="guessing no" ;; ++ *) gl_cv_func_printf_enomem="no" ;; ++ esac ++ else ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ rm -fr conftest* ++ else ++ dnl A universal build on Apple MacOS X platforms. ++ dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode. ++ dnl But we need a configuration result that is valid in both modes. ++ gl_cv_func_printf_enomem="guessing no" ++ fi ++ fi ++ if test "$gl_cv_func_printf_enomem" = "guessing no"; then ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Solaris. ++ solaris*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on AIX. ++ aix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on HP-UX/hppa. ++ hpux*) case "$host_cpu" in ++ hppa*) gl_cv_func_printf_enomem="guessing yes";; ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++ ;; ++ # Guess yes on IRIX. ++ irix*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on OSF/1. ++ osf*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_printf_enomem="guessing yes";; ++ # Guess yes on Haiku. ++ haiku*) gl_cv_func_printf_enomem="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_printf_enomem="guessing no";; ++ esac ++changequote([,])dnl ++ fi ++ ]) ++]) ++m4trace:m4/printf.m4:1062: -1- AC_DEFUN([gl_SNPRINTF_PRESENCE], [ ++ AC_CHECK_FUNCS_ONCE([snprintf]) ++]) ++m4trace:m4/printf.m4:1071: -1- AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether snprintf truncates the result as in C99], ++ [gl_cv_func_snprintf_truncation_c99], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ strcpy (buf, "ABCDEF"); ++ snprintf (buf, 3, "%d %d", 4567, 89); ++ if (memcmp (buf, "45\0DEF", 6) != 0) ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_snprintf_truncation_c99=yes], ++ [gl_cv_func_snprintf_truncation_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_snprintf_truncation_c99="guessing no";; ++ openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5] | solaris2.[0-5].*) ++ gl_cv_func_snprintf_truncation_c99="guessing no";; ++ solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on HP-UX >= 11. ++ hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on IRIX >= 6.5. ++ irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on OSF/1 >= 5. ++ osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_truncation_c99="guessing no";; ++ netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_truncation_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:1152: -1- AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], ++ [gl_cv_func_snprintf_retval_c99], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char buf[100]; ++int main () ++{ ++ strcpy (buf, "ABCDEF"); ++ if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) ++ return 1; ++ if (snprintf (buf, 0, "%d %d", 4567, 89) != 7) ++ return 2; ++ if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7) ++ return 3; ++ return 0; ++}]])], ++ [gl_cv_func_snprintf_retval_c99=yes], ++ [gl_cv_func_snprintf_retval_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on OpenBSD >= 3.9. ++ openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.10. ++ solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; ++ solaris*) gl_cv_func_printf_sizes_c99="guessing no";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; ++ aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_retval_c99="guessing no";; ++ netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_retval_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:1216: -1- AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], ++ [gl_cv_func_snprintf_directive_n], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static char fmtstring[10]; ++static char buf[100]; ++int main () ++{ ++ int count = -1; ++ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) ++ support %n in format strings in read-only memory but not in writable ++ memory. */ ++ strcpy (fmtstring, "%d %n"); ++ snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); ++ if (count != 6) ++ return 1; ++ return 0; ++}]])], ++ [gl_cv_func_snprintf_directive_n=yes], ++ [gl_cv_func_snprintf_directive_n=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";; ++ darwin*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5] | solaris2.[0-5].*) ++ gl_cv_func_snprintf_directive_n="guessing no";; ++ solaris*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ aix*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on IRIX >= 6.5. ++ irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on OSF/1 >= 5. ++ osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";; ++ osf*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_snprintf_directive_n="guessing no";; ++ netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_snprintf_directive_n="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_snprintf_directive_n="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/printf.m4:1285: -1- AC_DEFUN([gl_SNPRINTF_SIZE1], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([whether snprintf respects a size of 1], ++ [gl_cv_func_snprintf_size1], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ snprintf (buf, 1, "%d", 12345); ++ return buf[1] != 'E'; ++}]])], ++ [gl_cv_func_snprintf_size1=yes], ++ [gl_cv_func_snprintf_size1=no], ++ [gl_cv_func_snprintf_size1="guessing yes"]) ++ ]) ++]) ++m4trace:m4/printf.m4:1342: -1- AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99], ++ [gl_cv_func_vsnprintf_zerosize_c99], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++static int my_snprintf (char *buf, int size, const char *format, ...) ++{ ++ va_list args; ++ int ret; ++ va_start (args, format); ++ ret = vsnprintf (buf, size, format, args); ++ va_end (args); ++ return ret; ++} ++int main() ++{ ++ static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; ++ my_snprintf (buf, 0, "%d", 12345); ++ return buf[0] != 'D'; ++}]])], ++ [gl_cv_func_vsnprintf_zerosize_c99=yes], ++ [gl_cv_func_vsnprintf_zerosize_c99=no], ++ [ ++changequote(,)dnl ++ case "$host_os" in ++ # Guess yes on glibc systems. ++ *-gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on FreeBSD >= 5. ++ freebsd[1-4]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on MacOS X >= 10.3. ++ darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on Cygwin. ++ cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on Solaris >= 2.6. ++ solaris2.[0-5] | solaris2.[0-5].*) ++ gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on AIX >= 4. ++ aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on IRIX >= 6.5. ++ irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on NetBSD >= 3. ++ netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) ++ gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on BeOS. ++ beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # Guess yes on mingw. ++ mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; ++ # If we don't know, assume the worst. ++ *) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; ++ esac ++changequote([,])dnl ++ ]) ++ ]) ++]) ++m4trace:m4/putenv.m4:12: -1- AC_DEFUN([gl_FUNC_PUTENV], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_CACHE_CHECK([for putenv compatible with GNU and SVID], ++ [gl_cv_func_svid_putenv], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[[ ++ /* Put it in env. */ ++ if (putenv ("CONFTEST_putenv=val")) ++ return 1; ++ ++ /* Try to remove it. */ ++ if (putenv ("CONFTEST_putenv")) ++ return 2; ++ ++ /* Make sure it was deleted. */ ++ if (getenv ("CONFTEST_putenv") != 0) ++ return 3; ++ ++ return 0; ++ ]])], ++ gl_cv_func_svid_putenv=yes, ++ gl_cv_func_svid_putenv=no, ++ dnl When crosscompiling, assume putenv is broken. ++ gl_cv_func_svid_putenv=no) ++ ]) ++ if test $gl_cv_func_svid_putenv = no; then ++ REPLACE_PUTENV=1 ++ AC_LIBOBJ([putenv]) ++ fi ++]) ++m4trace:m4/quotearg.m4:7: -1- AC_DEFUN([gl_QUOTEARG], [ ++ AC_LIBOBJ([quotearg]) ++]) ++m4trace:m4/rawmemchr.m4:7: -1- AC_DEFUN([gl_FUNC_RAWMEMCHR], [ ++ dnl Persuade glibc to declare rawmemchr(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([rawmemchr]) ++ if test $ac_cv_func_rawmemchr = no; then ++ HAVE_RAWMEMCHR=0 ++ gl_PREREQ_RAWMEMCHR ++ fi ++]) ++m4trace:m4/rawmemchr.m4:21: -1- AC_DEFUN([gl_PREREQ_RAWMEMCHR], [:]) ++m4trace:m4/readlink.m4:7: -1- AC_DEFUN([gl_FUNC_READLINK], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([readlink]) ++ if test $ac_cv_func_readlink = no; then ++ HAVE_READLINK=0 ++ AC_LIBOBJ([readlink]) ++ gl_PREREQ_READLINK ++ else ++ AC_CACHE_CHECK([whether readlink signature is correct], ++ [gl_cv_decl_readlink_works], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ /* Cause compilation failure if original declaration has wrong type. */ ++ ssize_t readlink (const char *, char *, size_t);]])], ++ [gl_cv_decl_readlink_works=yes], [gl_cv_decl_readlink_works=no])]) ++ dnl Solaris 9 ignores trailing slash. ++ dnl FreeBSD 7.2 dereferences only one level of links with trailing slash. ++ AC_CACHE_CHECK([whether readlink handles trailing slash correctly], ++ [gl_cv_func_readlink_works], ++ [# We have readlink, so assume ln -s works. ++ ln -s conftest.no-such conftest.link ++ ln -s conftest.link conftest.lnk2 ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++]], [[char buf[20]; ++ return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;]])], ++ [gl_cv_func_readlink_works=yes], [gl_cv_func_readlink_works=no], ++ [gl_cv_func_readlink_works="guessing no"]) ++ rm -f conftest.link conftest.lnk2]) ++ if test "$gl_cv_func_readlink_works" != yes; then ++ AC_DEFINE([READLINK_TRAILING_SLASH_BUG], [1], [Define to 1 if readlink ++ fails to recognize a trailing slash.]) ++ REPLACE_READLINK=1 ++ AC_LIBOBJ([readlink]) ++ elif test "$gl_cv_decl_readlink_works" != yes; then ++ REPLACE_READLINK=1 ++ AC_LIBOBJ([readlink]) ++ fi ++ fi ++]) ++m4trace:m4/readlink.m4:52: -1- AC_DEFUN([gl_FUNC_READLINK_SEPARATE], [ ++ AC_CHECK_FUNCS_ONCE([readlink]) ++ gl_PREREQ_READLINK ++]) ++m4trace:m4/readlink.m4:59: -1- AC_DEFUN([gl_PREREQ_READLINK], [ ++ : ++]) ++m4trace:m4/regex.m4:14: -1- AC_DEFUN([gl_REGEX], [ ++ AC_ARG_WITH([included-regex], ++ [AS_HELP_STRING([--without-included-regex], ++ [don't compile regex; this is the default on systems ++ with recent-enough versions of the GNU C Library ++ (use with caution on other systems).])]) ++ ++ case $with_included_regex in #( ++ yes|no) ac_use_included_regex=$with_included_regex ++ ;; ++ '') ++ # If the system regex support is good enough that it passes the ++ # following run test, then default to *not* using the included regex.c. ++ # If cross compiling, assume the test would fail and use the included ++ # regex.c. ++ AC_CACHE_CHECK([for working re_compile_pattern], ++ [gl_cv_func_re_compile_pattern_working], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [AC_INCLUDES_DEFAULT[ ++ #include ++ #include ++ #include ++ ]], ++ [[int result = 0; ++ static struct re_pattern_buffer regex; ++ unsigned char folded_chars[UCHAR_MAX + 1]; ++ int i; ++ const char *s; ++ struct re_registers regs; ++ ++ /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html ++ This test needs valgrind to catch the bug on Debian ++ GNU/Linux 3.1 x86, but it might catch the bug better ++ on other platforms and it shouldn't hurt to try the ++ test here. */ ++ if (setlocale (LC_ALL, "en_US.UTF-8")) ++ { ++ static char const pat[] = "insert into"; ++ static char const data[] = ++ "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; ++ re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE ++ | RE_ICASE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern (pat, sizeof pat - 1, ®ex); ++ if (s) ++ result |= 1; ++ else if (re_search (®ex, data, sizeof data - 1, ++ 0, sizeof data - 1, ®s) ++ != -1) ++ result |= 1; ++ if (! setlocale (LC_ALL, "C")) ++ return 1; ++ } ++ ++ /* This test is from glibc bug 3957, reported by Andrew Mackey. */ ++ re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("a[^x]b", 6, ®ex); ++ if (s) ++ result |= 2; ++ /* This should fail, but succeeds for glibc-2.5. */ ++ else if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) ++ result |= 2; ++ ++ /* This regular expression is from Spencer ere test number 75 ++ in grep-2.3. */ ++ re_set_syntax (RE_SYNTAX_POSIX_EGREP); ++ memset (®ex, 0, sizeof regex); ++ for (i = 0; i <= UCHAR_MAX; i++) ++ folded_chars[i] = i; ++ regex.translate = folded_chars; ++ s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, ®ex); ++ /* This should fail with _Invalid character class name_ error. */ ++ if (!s) ++ result |= 4; ++ ++ /* Ensure that [b-a] is diagnosed as invalid, when ++ using RE_NO_EMPTY_RANGES. */ ++ re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("a[b-a]", 6, ®ex); ++ if (s == 0) ++ result |= 8; ++ ++ /* This should succeed, but does not for glibc-2.1.3. */ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("{1", 2, ®ex); ++ if (s) ++ result |= 8; ++ ++ /* The following example is derived from a problem report ++ against gawk from Jorge Stolfi . */ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("[an\371]*n", 7, ®ex); ++ if (s) ++ result |= 8; ++ /* This should match, but does not for glibc-2.2.1. */ ++ else if (re_match (®ex, "an", 2, 0, ®s) != 2) ++ result |= 8; ++ ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("x", 1, ®ex); ++ if (s) ++ result |= 8; ++ /* glibc-2.2.93 does not work with a negative RANGE argument. */ ++ else if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) ++ result |= 8; ++ ++ /* The version of regex.c in older versions of gnulib ++ ignored RE_ICASE. Detect that problem too. */ ++ re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("x", 1, ®ex); ++ if (s) ++ result |= 16; ++ else if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) ++ result |= 16; ++ ++ /* Catch a bug reported by Vin Shelton in ++ http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html ++ */ ++ re_set_syntax (RE_SYNTAX_POSIX_BASIC ++ & ~RE_CONTEXT_INVALID_DUP ++ & ~RE_NO_EMPTY_RANGES); ++ memset (®ex, 0, sizeof regex); ++ s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); ++ if (s) ++ result |= 32; ++ ++ /* REG_STARTEND was added to glibc on 2004-01-15. ++ Reject older versions. */ ++ if (! REG_STARTEND) ++ result |= 64; ++ ++#if 0 ++ /* It would be nice to reject hosts whose regoff_t values are too ++ narrow (including glibc on hosts with 64-bit ptrdiff_t and ++ 32-bit int), but we should wait until glibc implements this ++ feature. Otherwise, support for equivalence classes and ++ multibyte collation symbols would always be broken except ++ when compiling --without-included-regex. */ ++ if (sizeof (regoff_t) < sizeof (ptrdiff_t) ++ || sizeof (regoff_t) < sizeof (ssize_t)) ++ result |= 64; ++#endif ++ ++ return result; ++ ]])], ++ [gl_cv_func_re_compile_pattern_working=yes], ++ [gl_cv_func_re_compile_pattern_working=no], ++ dnl When crosscompiling, assume it is not working. ++ [gl_cv_func_re_compile_pattern_working=no])]) ++ case $gl_cv_func_re_compile_pattern_working in #( ++ yes) ac_use_included_regex=no;; #( ++ no) ac_use_included_regex=yes;; ++ esac ++ ;; ++ *) AC_MSG_ERROR([Invalid value for --with-included-regex: $with_included_regex]) ++ ;; ++ esac ++ ++ if test $ac_use_included_regex = yes; then ++ AC_DEFINE([_REGEX_LARGE_OFFSETS], [1], ++ [Define if you want regoff_t to be at least as wide POSIX requires.]) ++ AC_DEFINE([re_syntax_options], [rpl_re_syntax_options], ++ [Define to rpl_re_syntax_options if the replacement should be used.]) ++ AC_DEFINE([re_set_syntax], [rpl_re_set_syntax], ++ [Define to rpl_re_set_syntax if the replacement should be used.]) ++ AC_DEFINE([re_compile_pattern], [rpl_re_compile_pattern], ++ [Define to rpl_re_compile_pattern if the replacement should be used.]) ++ AC_DEFINE([re_compile_fastmap], [rpl_re_compile_fastmap], ++ [Define to rpl_re_compile_fastmap if the replacement should be used.]) ++ AC_DEFINE([re_search], [rpl_re_search], ++ [Define to rpl_re_search if the replacement should be used.]) ++ AC_DEFINE([re_search_2], [rpl_re_search_2], ++ [Define to rpl_re_search_2 if the replacement should be used.]) ++ AC_DEFINE([re_match], [rpl_re_match], ++ [Define to rpl_re_match if the replacement should be used.]) ++ AC_DEFINE([re_match_2], [rpl_re_match_2], ++ [Define to rpl_re_match_2 if the replacement should be used.]) ++ AC_DEFINE([re_set_registers], [rpl_re_set_registers], ++ [Define to rpl_re_set_registers if the replacement should be used.]) ++ AC_DEFINE([re_comp], [rpl_re_comp], ++ [Define to rpl_re_comp if the replacement should be used.]) ++ AC_DEFINE([re_exec], [rpl_re_exec], ++ [Define to rpl_re_exec if the replacement should be used.]) ++ AC_DEFINE([regcomp], [rpl_regcomp], ++ [Define to rpl_regcomp if the replacement should be used.]) ++ AC_DEFINE([regexec], [rpl_regexec], ++ [Define to rpl_regexec if the replacement should be used.]) ++ AC_DEFINE([regerror], [rpl_regerror], ++ [Define to rpl_regerror if the replacement should be used.]) ++ AC_DEFINE([regfree], [rpl_regfree], ++ [Define to rpl_regfree if the replacement should be used.]) ++ AC_LIBOBJ([regex]) ++ gl_PREREQ_REGEX ++ fi ++]) ++m4trace:m4/regex.m4:216: -1- AC_DEFUN([gl_PREREQ_REGEX], [ ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([AC_TYPE_MBSTATE_T]) ++ AC_CHECK_HEADERS([libintl.h]) ++ AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll]) ++ AC_CHECK_DECLS([isblank], [], [], [#include ]) ++]) ++m4trace:m4/rename.m4:16: -1- AC_DEFUN([gl_FUNC_RENAME], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([lstat]) ++ ++ dnl Solaris 10, AIX 7.1 mistakenly allow rename("file","name/"). ++ dnl NetBSD 1.6 mistakenly forbids rename("dir","name/"). ++ dnl FreeBSD 7.2 mistakenly allows rename("file","link-to-file/"). ++ dnl The Solaris bug can be worked around without stripping ++ dnl trailing slash, while the NetBSD bug requires stripping; ++ dnl the two conditions can be distinguished by whether hard ++ dnl links are also broken. ++ AC_CACHE_CHECK([whether rename honors trailing slash on destination], ++ [gl_cv_func_rename_slash_dst_works], ++ [rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk ++ touch conftest.f && touch conftest.f1 && mkdir conftest.d1 || ++ AC_MSG_ERROR([cannot create temporary files]) ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.f conftest.lnk ++ fi ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM([[ ++# include ++# include ++ ]], ++ [[int result = 0; ++ if (rename ("conftest.f1", "conftest.f2/") == 0) ++ result |= 1; ++ if (rename ("conftest.d1", "conftest.d2/") != 0) ++ result |= 2; ++#if HAVE_LSTAT ++ if (rename ("conftest.f", "conftest.lnk/") == 0) ++ result |= 4; ++#endif ++ return result; ++ ]])], ++ [gl_cv_func_rename_slash_dst_works=yes], ++ [gl_cv_func_rename_slash_dst_works=no], ++ dnl When crosscompiling, assume rename is broken. ++ [gl_cv_func_rename_slash_dst_works="guessing no"]) ++ rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk ++ ]) ++ if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then ++ AC_LIBOBJ([rename]) ++ REPLACE_RENAME=1 ++ AC_DEFINE([RENAME_TRAILING_SLASH_DEST_BUG], [1], ++ [Define if rename does not correctly handle slashes on the destination ++ argument, such as on Solaris 10 or NetBSD 1.6.]) ++ fi ++ ++ dnl SunOS 4.1.1_U1 mistakenly forbids rename("dir/","name"). ++ dnl Solaris 9 mistakenly allows rename("file/","name"). ++ dnl FreeBSD 7.2 mistakenly allows rename("link-to-file/","name"). ++ dnl These bugs require stripping trailing slash to avoid corrupting ++ dnl symlinks with a trailing slash. ++ AC_CACHE_CHECK([whether rename honors trailing slash on source], ++ [gl_cv_func_rename_slash_src_works], ++ [rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk ++ touch conftest.f && touch conftest.f1 && mkdir conftest.d1 || ++ AC_MSG_ERROR([cannot create temporary files]) ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.f conftest.lnk ++ fi ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM([[ ++# include ++# include ++ ]], ++ [[int result = 0; ++ if (rename ("conftest.f1/", "conftest.d3") == 0) ++ result |= 1; ++ if (rename ("conftest.d1/", "conftest.d2") != 0) ++ result |= 2; ++#if HAVE_LSTAT ++ if (rename ("conftest.lnk/", "conftest.f") == 0) ++ result |= 4; ++#endif ++ return result; ++ ]])], ++ [gl_cv_func_rename_slash_src_works=yes], ++ [gl_cv_func_rename_slash_src_works=no], ++ dnl When crosscompiling, assume rename is broken. ++ [gl_cv_func_rename_slash_src_works="guessing no"]) ++ rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk ++ ]) ++ if test "x$gl_cv_func_rename_slash_src_works" != xyes; then ++ AC_LIBOBJ([rename]) ++ REPLACE_RENAME=1 ++ AC_DEFINE([RENAME_TRAILING_SLASH_SOURCE_BUG], [1], ++ [Define if rename does not correctly handle slashes on the source ++ argument, such as on Solaris 9 or cygwin 1.5.]) ++ fi ++ ++ dnl NetBSD 1.6 and cygwin 1.5.x mistakenly reduce hard link count ++ dnl on rename("h1","h2"). ++ dnl This bug requires stat'ting targets prior to attempting rename. ++ AC_CACHE_CHECK([whether rename manages hard links correctly], ++ [gl_cv_func_rename_link_works], ++ [rm -rf conftest.f conftest.f1 ++ if touch conftest.f && ln conftest.f conftest.f1 && ++ set x `ls -i conftest.f conftest.f1` && test "$2" = "$4"; then ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM([[ ++# include ++# include ++# include ++ ]], ++ [[int result = 0; ++ if (rename ("conftest.f", "conftest.f1")) ++ result |= 1; ++ if (unlink ("conftest.f1")) ++ result |= 2; ++ if (rename ("conftest.f", "conftest.f")) ++ result |= 4; ++ if (rename ("conftest.f1", "conftest.f1") == 0) ++ result |= 8; ++ return result; ++ ]])], ++ [gl_cv_func_rename_link_works=yes], ++ [gl_cv_func_rename_link_works=no], ++ dnl When crosscompiling, assume rename is broken. ++ [gl_cv_func_rename_link_works="guessing no"]) ++ else ++ gl_cv_func_rename_link_works="guessing no" ++ fi ++ rm -rf conftest.f conftest.f1 ++ ]) ++ if test "x$gl_cv_func_rename_link_works" != xyes; then ++ AC_LIBOBJ([rename]) ++ REPLACE_RENAME=1 ++ AC_DEFINE([RENAME_HARD_LINK_BUG], [1], ++ [Define if rename fails to leave hard links alone, as on NetBSD 1.6 ++ or Cygwin 1.5.]) ++ fi ++ ++ dnl Cygwin 1.5.x mistakenly allows rename("dir","file"). ++ dnl mingw mistakenly forbids rename("dir1","dir2"). ++ dnl These bugs require stripping trailing slash to avoid corrupting ++ dnl symlinks with a trailing slash. ++ AC_CACHE_CHECK([whether rename manages existing destinations correctly], ++ [gl_cv_func_rename_dest_works], ++ [rm -rf conftest.f conftest.d1 conftest.d2 ++ touch conftest.f && mkdir conftest.d1 conftest.d2 || ++ AC_MSG_ERROR([cannot create temporary files]) ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM([[ ++# include ++# include ++ ]], ++ [[int result = 0; ++ if (rename ("conftest.d1", "conftest.d2") != 0) ++ result |= 1; ++ if (rename ("conftest.d2", "conftest.f") == 0) ++ result |= 2; ++ return result; ++ ]])], ++ [gl_cv_func_rename_dest_works=yes], ++ [gl_cv_func_rename_dest_works=no], ++ dnl When crosscompiling, assume rename is broken. ++ [gl_cv_func_rename_dest_works="guessing no"]) ++ rm -rf conftest.f conftest.d1 conftest.d2 ++ ]) ++ if test "x$gl_cv_func_rename_dest_works" != xyes; then ++ AC_LIBOBJ([rename]) ++ REPLACE_RENAME=1 ++ AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1], ++ [Define if rename does not work when the destination file exists, ++ as on Cygwin 1.5 or Windows.]) ++ fi ++]) ++m4trace:m4/rmdir.m4:7: -1- AC_DEFUN([gl_FUNC_RMDIR], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ dnl Detect cygwin 1.5.x bug. ++ AC_CACHE_CHECK([whether rmdir works], [gl_cv_func_rmdir_works], ++ [mkdir conftest.dir ++ touch conftest.file ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #include ++ #include ++]], [[int result = 0; ++ if (!rmdir ("conftest.file/")) ++ result |= 1; ++ else if (errno != ENOTDIR) ++ result |= 2; ++ if (!rmdir ("conftest.dir/./")) ++ result |= 4; ++ return result; ++ ]])], ++ [gl_cv_func_rmdir_works=yes], [gl_cv_func_rmdir_works=no], ++ [gl_cv_func_rmdir_works="guessing no"]) ++ rm -rf conftest.dir conftest.file]) ++ if test x"$gl_cv_func_rmdir_works" != xyes; then ++ REPLACE_RMDIR=1 ++ AC_LIBOBJ([rmdir]) ++ fi ++]) ++m4trace:m4/sched_h.m4:9: -1- AC_DEFUN([gl_SCHED_H], [ ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[ ++ #include ++ struct sched_param a; ++ int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; ++ ]])], ++ [SCHED_H=''], ++ [SCHED_H='sched.h' ++ ++ gl_CHECK_NEXT_HEADERS([sched.h]) ++ ++ if test $ac_cv_header_sched_h = yes; then ++ HAVE_SCHED_H=1 ++ else ++ HAVE_SCHED_H=0 ++ fi ++ AC_SUBST([HAVE_SCHED_H]) ++ ++ AC_CHECK_TYPE([struct sched_param], ++ [HAVE_STRUCT_SCHED_PARAM=1], [HAVE_STRUCT_SCHED_PARAM=0], ++ [#include ]) ++ AC_SUBST([HAVE_STRUCT_SCHED_PARAM]) ++ ]) ++ AC_SUBST([SCHED_H]) ++]) ++m4trace:m4/setenv.m4:7: -1- AC_DEFUN([gl_FUNC_SETENV], [ ++ AC_REQUIRE([gl_FUNC_SETENV_SEPARATE]) ++ if test $HAVE_SETENV$REPLACE_SETENV != 10; then ++ AC_LIBOBJ([setenv]) ++ fi ++]) ++m4trace:m4/setenv.m4:16: -1- AC_DEFUN([gl_FUNC_SETENV_SEPARATE], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_CHECK_DECLS_ONCE([setenv]) ++ if test $ac_cv_have_decl_setenv = no; then ++ HAVE_DECL_SETENV=0 ++ fi ++ AC_CHECK_FUNCS_ONCE([setenv]) ++ if test $ac_cv_func_setenv = no; then ++ HAVE_SETENV=0 ++ else ++ AC_CACHE_CHECK([whether setenv validates arguments], ++ [gl_cv_func_setenv_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++ #include ++ #include ++ #include ++ ]], [[ ++ int result = 0; ++ { ++ if (setenv ("", "", 0) != -1) ++ result |= 1; ++ else if (errno != EINVAL) ++ result |= 2; ++ } ++ { ++ if (setenv ("a", "=", 1) != 0) ++ result |= 4; ++ else if (strcmp (getenv ("a"), "=") != 0) ++ result |= 8; ++ } ++ return result; ++ ]])], ++ [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no], ++ [gl_cv_func_setenv_works="guessing no"])]) ++ if test "$gl_cv_func_setenv_works" != yes; then ++ REPLACE_SETENV=1 ++ AC_LIBOBJ([setenv]) ++ fi ++ fi ++ gl_PREREQ_SETENV ++]) ++m4trace:m4/setenv.m4:59: -1- AC_DEFUN([gl_FUNC_UNSETENV], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_CHECK_DECLS_ONCE([unsetenv]) ++ if test $ac_cv_have_decl_unsetenv = no; then ++ HAVE_DECL_UNSETENV=0 ++ fi ++ AC_CHECK_FUNCS([unsetenv]) ++ if test $ac_cv_func_unsetenv = no; then ++ AC_LIBOBJ([unsetenv]) ++ gl_PREREQ_UNSETENV ++ else ++ dnl Some BSDs return void, failing to do error checking. ++ AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[ ++#undef _BSD ++#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ ++#include ++extern ++#ifdef __cplusplus ++"C" ++#endif ++#if defined(__STDC__) || defined(__cplusplus) ++int unsetenv (const char *name); ++#else ++int unsetenv(); ++#endif ++ ]], ++ [[]])], ++ [gt_cv_func_unsetenv_ret='int'], ++ [gt_cv_func_unsetenv_ret='void'])]) ++ if test $gt_cv_func_unsetenv_ret = 'void'; then ++ AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void ++ instead of int.]) ++ REPLACE_UNSETENV=1 ++ AC_LIBOBJ([unsetenv]) ++ fi ++ ++ dnl Solaris 10 unsetenv does not remove all copies of a name. ++ dnl Haiku alpha 2 unsetenv gets confused by assignment to environ. ++ dnl OpenBSD 4.7 unsetenv("") does not fail. ++ AC_CACHE_CHECK([whether unsetenv obeys POSIX], ++ [gl_cv_func_unsetenv_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++ #include ++ #include ++ extern char **environ; ++ ]], [[ ++ char entry1[] = "a=1"; ++ char entry2[] = "b=2"; ++ char *env[] = { entry1, entry2, NULL }; ++ if (putenv ((char *) "a=1")) return 1; ++ if (putenv (entry2)) return 2; ++ entry2[0] = 'a'; ++ unsetenv ("a"); ++ if (getenv ("a")) return 3; ++ if (!unsetenv ("") || errno != EINVAL) return 4; ++ entry2[0] = 'b'; ++ environ = env; ++ if (!getenv ("a")) return 5; ++ entry2[0] = 'a'; ++ unsetenv ("a"); ++ if (getenv ("a")) return 6; ++ ]])], ++ [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no], ++ [gl_cv_func_unsetenv_works="guessing no"])]) ++ if test "$gl_cv_func_unsetenv_works" != yes; then ++ REPLACE_UNSETENV=1 ++ AC_LIBOBJ([unsetenv]) ++ fi ++ fi ++]) ++m4trace:m4/setenv.m4:135: -1- AC_DEFUN([gl_PREREQ_SETENV], [ ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ AC_REQUIRE([gl_ENVIRON]) ++ AC_CHECK_HEADERS_ONCE([unistd.h]) ++ AC_CHECK_HEADERS([search.h]) ++ AC_CHECK_FUNCS([tsearch]) ++]) ++m4trace:m4/setenv.m4:145: -1- AC_DEFUN([gl_PREREQ_UNSETENV], [ ++ AC_REQUIRE([gl_ENVIRON]) ++ AC_CHECK_HEADERS_ONCE([unistd.h]) ++]) ++m4trace:m4/setlocale.m4:7: -1- AC_DEFUN([gl_FUNC_SETLOCALE], [ ++ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ case "$host_os" in ++ dnl On native Windows systems, setlocale(category,NULL) does not look at ++ dnl the environment variables LC_ALL, category, and LANG. ++ mingw*) REPLACE_SETLOCALE=1 ;; ++ esac ++ if test $REPLACE_SETLOCALE = 1; then ++ gl_REPLACE_LOCALE_H ++ AC_LIBOBJ([setlocale]) ++ gl_PREREQ_SETLOCALE ++ fi ++]) ++m4trace:m4/setlocale.m4:24: -1- AC_DEFUN([gl_PREREQ_SETLOCALE], [ ++ : ++]) ++m4trace:m4/sig_atomic_t.m4:7: -1- AC_DEFUN([gt_TYPE_SIG_ATOMIC_T], [ ++ AC_CHECK_TYPES([sig_atomic_t], , ++ [AC_DEFINE([sig_atomic_t], [int], ++ [Define as an integer type suitable for memory locations that can be ++ accessed atomically even in the presence of asynchnonous signals.])], ++ [#include ]) ++]) ++m4trace:m4/sigaction.m4:8: -1- AC_DEFUN([gl_SIGACTION], [ ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([sigaction]) ++ if test $ac_cv_func_sigaction = yes; then ++ AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , , ++ [[#include ]]) ++ if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then ++ HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 ++ fi ++ else ++ HAVE_SIGACTION=0 ++ AC_LIBOBJ([sigaction]) ++ gl_PREREQ_SIGACTION ++ fi ++]) ++m4trace:m4/sigaction.m4:26: -1- AC_DEFUN([gl_PREREQ_SIGACTION], [ ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([AC_TYPE_UID_T]) ++ AC_REQUIRE([gl_PREREQ_SIG_HANDLER_H]) ++ AC_CHECK_FUNCS_ONCE([sigaltstack siginterrupt]) ++ AC_CHECK_TYPES([siginfo_t], [], [], [[ ++#include ++ ]]) ++ if test $ac_cv_type_siginfo_t = no; then ++ HAVE_SIGINFO_T=0 ++ fi ++]) ++m4trace:m4/sigaction.m4:42: -1- AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], [ ++ AC_REQUIRE([AC_C_INLINE]) ++]) ++m4trace:m4/signal_h.m4:7: -1- AC_DEFUN([gl_SIGNAL_H], [ ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ gl_NEXT_HEADERS([signal.h]) ++# AIX declares sig_atomic_t to already include volatile, and C89 compilers ++# then choke on 'volatile sig_atomic_t'. C99 requires that it compile. ++ AC_CHECK_TYPE([volatile sig_atomic_t], [], ++ [HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0], [[ ++#include ++ ]]) ++ AC_REQUIRE([AC_TYPE_UID_T]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [sigaction sigaddset sigdelset sigemptyset sigfillset sigismember ++ sigpending sigprocmask]) ++]) ++m4trace:m4/signal_h.m4:26: -1- AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/signal_h.m4:35: -1- AC_DEFUN([gl_SIGNAL_H_DEFAULTS], [ ++ GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) ++ GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) ++ GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) ++ HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) ++ HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) ++ HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) ++ HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; ++ AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) ++ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; ++ AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) ++]) ++m4trace:m4/signalblocking.m4:12: -1- AC_DEFUN([gl_SIGNALBLOCKING], [ ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ signals_not_posix= ++ AC_EGREP_HEADER([sigset_t], [signal.h], , [signals_not_posix=1]) ++ if test -z "$signals_not_posix"; then ++ AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) ++ fi ++ if test -z "$gl_cv_func_sigprocmask"; then ++ HAVE_POSIX_SIGNALBLOCKING=0 ++ AC_LIBOBJ([sigprocmask]) ++ gl_PREREQ_SIGPROCMASK ++ fi ++]) ++m4trace:m4/signalblocking.m4:28: -1- AC_DEFUN([gl_PREREQ_SIGPROCMASK], [ ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ AC_CHECK_TYPES([sigset_t], ++ [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], ++ [#include ++/* Mingw defines sigset_t not in , but in . */ ++#include ]) ++ if test $gl_cv_type_sigset_t != yes; then ++ HAVE_SIGSET_T=0 ++ fi ++ dnl HAVE_SIGSET_T is 1 if the system lacks the sigprocmask function but has ++ dnl the sigset_t type. ++ AC_SUBST([HAVE_SIGSET_T]) ++]) ++m4trace:m4/signbit.m4:7: -1- AC_DEFUN([gl_SIGNBIT], [ ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ AC_CACHE_CHECK([for signbit macro], [gl_cv_func_signbit], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++/* If signbit is defined as a function, don't use it, since calling it for ++ 'float' or 'long double' arguments would involve conversions. ++ If signbit is not declared at all but exists as a library function, don't ++ use it, since the prototype may not match. ++ If signbit is not declared at all but exists as a compiler built-in, don't ++ use it, since it's preferable to use __builtin_signbit* (no warnings, ++ no conversions). */ ++#ifndef signbit ++# error "signbit should be a macro" ++#endif ++#include ++]gl_SIGNBIT_TEST_PROGRAM ++])], ++ [gl_cv_func_signbit=yes], ++ [gl_cv_func_signbit=no], ++ [gl_cv_func_signbit="guessing no"]) ++ ]) ++ dnl GCC 4.0 and newer provides three built-ins for signbit. ++ dnl They can be used without warnings, also in C++, regardless of . ++ dnl But they may expand to calls to functions, which may or may not be in ++ dnl libc. ++ AC_CACHE_CHECK([for signbit compiler built-ins], [gl_cv_func_signbit_gcc], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#if __GNUC__ >= 4 ++# define signbit(x) \ ++ (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ ++ sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ ++ __builtin_signbitf (x)) ++#else ++# error "signbit should be three compiler built-ins" ++#endif ++#include ++]gl_SIGNBIT_TEST_PROGRAM ++])], ++ [gl_cv_func_signbit_gcc=yes], ++ [gl_cv_func_signbit_gcc=no], ++ [gl_cv_func_signbit_gcc="guessing no"]) ++ ]) ++ dnl Use the compiler built-ins whenever possible, because they are more ++ dnl efficient than the system library functions (if they exist). ++ if test "$gl_cv_func_signbit_gcc" = yes; then ++ REPLACE_SIGNBIT_USING_GCC=1 ++ else ++ if test "$gl_cv_func_signbit" != yes; then ++ REPLACE_SIGNBIT=1 ++ AC_LIBOBJ([signbitf]) ++ AC_LIBOBJ([signbitd]) ++ AC_LIBOBJ([signbitl]) ++ gl_FLOAT_SIGN_LOCATION ++ gl_DOUBLE_SIGN_LOCATION ++ gl_LONG_DOUBLE_SIGN_LOCATION ++ if test "$gl_cv_cc_float_signbit" = unknown; then ++ dnl Test whether copysignf() is declared. ++ AC_CHECK_DECLS([copysignf], , , [#include ]) ++ if test "$ac_cv_have_decl_copysignf" = yes; then ++ dnl Test whether copysignf() can be used without libm. ++ AC_CACHE_CHECK([whether copysignf can be used without linking with libm], ++ [gl_cv_func_copysignf_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ float x, y;]], ++ [[return copysignf (x, y) < 0;]])], ++ [gl_cv_func_copysignf_no_libm=yes], ++ [gl_cv_func_copysignf_no_libm=no]) ++ ]) ++ if test $gl_cv_func_copysignf_no_libm = yes; then ++ AC_DEFINE([HAVE_COPYSIGNF_IN_LIBC], [1], ++ [Define if the copysignf function is declared in and available in libc.]) ++ fi ++ fi ++ fi ++ if test "$gl_cv_cc_double_signbit" = unknown; then ++ dnl Test whether copysign() is declared. ++ AC_CHECK_DECLS([copysign], , , [#include ]) ++ if test "$ac_cv_have_decl_copysign" = yes; then ++ dnl Test whether copysign() can be used without libm. ++ AC_CACHE_CHECK([whether copysign can be used without linking with libm], ++ [gl_cv_func_copysign_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ double x, y;]], ++ [[return copysign (x, y) < 0;]])], ++ [gl_cv_func_copysign_no_libm=yes], ++ [gl_cv_func_copysign_no_libm=no]) ++ ]) ++ if test $gl_cv_func_copysign_no_libm = yes; then ++ AC_DEFINE([HAVE_COPYSIGN_IN_LIBC], [1], ++ [Define if the copysign function is declared in and available in libc.]) ++ fi ++ fi ++ fi ++ if test "$gl_cv_cc_long_double_signbit" = unknown; then ++ dnl Test whether copysignl() is declared. ++ AC_CHECK_DECLS([copysignl], , , [#include ]) ++ if test "$ac_cv_have_decl_copysignl" = yes; then ++ dnl Test whether copysignl() can be used without libm. ++ AC_CACHE_CHECK([whether copysignl can be used without linking with libm], ++ [gl_cv_func_copysignl_no_libm], ++ [ ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ long double x, y;]], ++ [[return copysignl (x, y) < 0;]])], ++ [gl_cv_func_copysignl_no_libm=yes], ++ [gl_cv_func_copysignl_no_libm=no]) ++ ]) ++ if test $gl_cv_func_copysignl_no_libm = yes; then ++ AC_DEFINE([HAVE_COPYSIGNL_IN_LIBC], [1], ++ [Define if the copysignl function is declared in and available in libc.]) ++ fi ++ fi ++ fi ++ fi ++ fi ++]) ++m4trace:m4/signbit.m4:138: -1- AC_DEFUN([gl_SIGNBIT_TEST_PROGRAM], [[ ++/* Global variables. ++ Needed because GCC 4 constant-folds __builtin_signbitl (literal) ++ but cannot constant-fold __builtin_signbitl (variable). */ ++float vf; ++double vd; ++long double vl; ++int main () ++{ ++/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ++ So we use -p0f and -p0d instead. */ ++float p0f = 0.0f; ++float m0f = -p0f; ++double p0d = 0.0; ++double m0d = -p0d; ++/* On HP-UX 10.20, negating 0.0L does not yield -0.0L. ++ So we use another constant expression instead. ++ But that expression does not work on other platforms, such as when ++ cross-compiling to PowerPC on MacOS X 10.5. */ ++long double p0l = 0.0L; ++#if defined __hpux || defined __sgi ++long double m0l = -LDBL_MIN * LDBL_MIN; ++#else ++long double m0l = -p0l; ++#endif ++ int result = 0; ++ if (signbit (vf)) /* link check */ ++ vf++; ++ { ++ float plus_inf = 1.0f / p0f; ++ float minus_inf = -1.0f / p0f; ++ if (!(!signbit (255.0f) ++ && signbit (-255.0f) ++ && !signbit (p0f) ++ && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 1; ++ } ++ if (signbit (vd)) /* link check */ ++ vd++; ++ { ++ double plus_inf = 1.0 / p0d; ++ double minus_inf = -1.0 / p0d; ++ if (!(!signbit (255.0) ++ && signbit (-255.0) ++ && !signbit (p0d) ++ && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) ++ && !signbit (plus_inf) ++ && signbit (minus_inf))) ++ result |= 2; ++ } ++ if (signbit (vl)) /* link check */ ++ vl++; ++ { ++ long double plus_inf = 1.0L / p0l; ++ long double minus_inf = -1.0L / p0l; ++ if (signbit (255.0L)) ++ result |= 4; ++ if (!signbit (-255.0L)) ++ result |= 4; ++ if (signbit (p0l)) ++ result |= 8; ++ if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) ++ result |= 16; ++ if (signbit (plus_inf)) ++ result |= 32; ++ if (!signbit (minus_inf)) ++ result |= 64; ++ } ++ return result; ++} ++]]) ++m4trace:m4/signbit.m4:212: -1- AC_DEFUN([gl_FLOAT_SIGN_LOCATION], [ ++ gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT]) ++]) ++m4trace:m4/signbit.m4:217: -1- AC_DEFUN([gl_DOUBLE_SIGN_LOCATION], [ ++ gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL]) ++]) ++m4trace:m4/signbit.m4:222: -1- AC_DEFUN([gl_LONG_DOUBLE_SIGN_LOCATION], [ ++ gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL]) ++]) ++m4trace:m4/signbit.m4:227: -1- AC_DEFUN([gl_FLOATTYPE_SIGN_LOCATION], [ ++ AC_CACHE_CHECK([where to find the sign bit in a '$1'], ++ [$2], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++#define NWORDS \ ++ ((sizeof ($1) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++typedef union { $1 value; unsigned int word[NWORDS]; } ++ memory_float; ++static memory_float plus = { 1.0$3 }; ++static memory_float minus = { -1.0$3 }; ++int main () ++{ ++ size_t j, k, i; ++ unsigned int m; ++ FILE *fp = fopen ("conftest.out", "w"); ++ if (fp == NULL) ++ return 1; ++ /* Find the different bit. */ ++ k = 0; m = 0; ++ for (j = 0; j < NWORDS; j++) ++ { ++ unsigned int x = plus.word[j] ^ minus.word[j]; ++ if ((x & (x - 1)) || (x && m)) ++ { ++ /* More than one bit difference. */ ++ fprintf (fp, "unknown"); ++ return 2; ++ } ++ if (x) ++ { ++ k = j; ++ m = x; ++ } ++ } ++ if (m == 0) ++ { ++ /* No difference. */ ++ fprintf (fp, "unknown"); ++ return 3; ++ } ++ /* Now m = plus.word[k] ^ ~minus.word[k]. */ ++ if (plus.word[k] & ~minus.word[k]) ++ { ++ /* Oh? The sign bit is set in the positive and cleared in the negative ++ numbers? */ ++ fprintf (fp, "unknown"); ++ return 4; ++ } ++ for (i = 0; ; i++) ++ if ((m >> i) & 1) ++ break; ++ fprintf (fp, "word %d bit %d", (int) k, (int) i); ++ if (fclose (fp) != 0) ++ return 5; ++ return 0; ++} ++ ]])], ++ [$2=`cat conftest.out`], ++ [$2="unknown"], ++ [ ++ dnl When cross-compiling, we don't know. It depends on the ++ dnl ABI and compiler version. There are too many cases. ++ $2="unknown" ++ ]) ++ rm -f conftest.out ++ ]) ++ case "$$2" in ++ word*bit*) ++ word=`echo "$$2" | sed -e 's/word //' -e 's/ bit.*//'` ++ bit=`echo "$$2" | sed -e 's/word.*bit //'` ++ AC_DEFINE_UNQUOTED([$4][_SIGNBIT_WORD], [$word], ++ [Define as the word index where to find the sign of '$1'.]) ++ AC_DEFINE_UNQUOTED([$4][_SIGNBIT_BIT], [$bit], ++ [Define as the bit index in the word where to find the sign of '$1'.]) ++ ;; ++ esac ++]) ++m4trace:m4/signbit.m4:312: -1- AC_DEFUN([gl_FLOAT_SIGNBIT_CODE], [ ++ gl_FLOATTYPE_SIGNBIT_CODE([float], [f], [f]) ++]) ++m4trace:m4/signbit.m4:319: -1- AC_DEFUN([gl_DOUBLE_SIGNBIT_CODE], [ ++ gl_FLOATTYPE_SIGNBIT_CODE([double], [d], []) ++]) ++m4trace:m4/signbit.m4:326: -1- AC_DEFUN([gl_LONG_DOUBLE_SIGNBIT_CODE], [ ++ gl_FLOATTYPE_SIGNBIT_CODE([long double], [l], [L]) ++]) ++m4trace:m4/signbit.m4:331: -1- AC_DEFUN([gl_FLOATTYPE_SIGNBIT_CODE], [[ ++static int ++signbit$2 ($1 value) ++{ ++ typedef union { $1 f; unsigned char b[sizeof ($1)]; } float_union; ++ static float_union plus_one = { 1.0$3 }; /* unused bits are zero here */ ++ static float_union minus_one = { -1.0$3 }; /* unused bits are zero here */ ++ /* Compute the sign bit mask as the XOR of plus_one and minus_one. */ ++ float_union u; ++ unsigned int i; ++ u.f = value; ++ for (i = 0; i < sizeof ($1); i++) ++ if (u.b[i] & (plus_one.b[i] ^ minus_one.b[i])) ++ return 1; ++ return 0; ++} ++]]) ++m4trace:m4/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [ ++ AC_CHECK_HEADERS([stdint.h]) ++ dnl First test whether the system already has SIZE_MAX. ++ AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ ++ gl_cv_size_max= ++ AC_EGREP_CPP([Found it], [ ++#include ++#if HAVE_STDINT_H ++#include ++#endif ++#ifdef SIZE_MAX ++Found it ++#endif ++], [gl_cv_size_max=yes]) ++ if test -z "$gl_cv_size_max"; then ++ dnl Define it ourselves. Here we assume that the type 'size_t' is not wider ++ dnl than the type 'unsigned long'. Try hard to find a definition that can ++ dnl be used in a preprocessor #if, i.e. doesn't contain a cast. ++ AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], ++ [#include ++#include ], [size_t_bits_minus_1=]) ++ AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], ++ [#include ], [fits_in_uint=]) ++ if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then ++ if test $fits_in_uint = 1; then ++ dnl Even though SIZE_MAX fits in an unsigned int, it must be of type ++ dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ extern size_t foo; ++ extern unsigned long foo; ++ ]], ++ [[]])], ++ [fits_in_uint=0]) ++ fi ++ dnl We cannot use 'expr' to simplify this expression, because 'expr' ++ dnl works only with 'long' integers in the host environment, while we ++ dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. ++ if test $fits_in_uint = 1; then ++ gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" ++ else ++ gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" ++ fi ++ else ++ dnl Shouldn't happen, but who knows... ++ gl_cv_size_max='((size_t)~(size_t)0)' ++ fi ++ fi ++ ]) ++ if test "$gl_cv_size_max" != yes; then ++ AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], ++ [Define as the maximum value of type 'size_t', if the system doesn't define it.]) ++ fi ++ dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after ++ dnl . Remember that the #undef in AH_VERBATIM gets replaced with ++ dnl #define by AC_DEFINE_UNQUOTED. ++ AH_VERBATIM([SIZE_MAX], ++[/* Define as the maximum value of type 'size_t', if the system doesn't define ++ it. */ ++#ifndef SIZE_MAX ++# undef SIZE_MAX ++#endif]) ++]) ++m4trace:m4/snprintf.m4:7: -1- AC_DEFUN([gl_FUNC_SNPRINTF], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ gl_cv_func_snprintf_usable=no ++ AC_CHECK_FUNCS([snprintf]) ++ if test $ac_cv_func_snprintf = yes; then ++ gl_SNPRINTF_SIZE1 ++ case "$gl_cv_func_snprintf_size1" in ++ *yes) ++ gl_SNPRINTF_RETVAL_C99 ++ case "$gl_cv_func_snprintf_retval_c99" in ++ *yes) ++ gl_cv_func_snprintf_usable=yes ++ ;; ++ esac ++ ;; ++ esac ++ fi ++ if test $gl_cv_func_snprintf_usable = no; then ++ gl_REPLACE_SNPRINTF ++ fi ++ AC_CHECK_DECLS_ONCE([snprintf]) ++ if test $ac_cv_have_decl_snprintf = no; then ++ HAVE_DECL_SNPRINTF=0 ++ fi ++]) ++m4trace:m4/snprintf.m4:34: -1- AC_DEFUN([gl_REPLACE_SNPRINTF], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_LIBOBJ([snprintf]) ++ if test $ac_cv_func_snprintf = yes; then ++ REPLACE_SNPRINTF=1 ++ fi ++ gl_PREREQ_SNPRINTF ++]) ++m4trace:m4/snprintf.m4:45: -1- AC_DEFUN([gl_PREREQ_SNPRINTF], [:]) ++m4trace:m4/spawn-pipe.m4:7: -1- AC_DEFUN([gl_SPAWN_PIPE], [ ++ dnl Prerequisites of lib/spawn-pipe.c. ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([AC_TYPE_MODE_T]) ++]) ++m4trace:m4/spawn_h.m4:9: -1- AC_DEFUN([gl_SPAWN_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_SPAWN_H_DEFAULTS]) ++ ++ dnl is always overridden, because of GNULIB_POSIXCHECK. ++ gl_CHECK_NEXT_HEADERS([spawn.h]) ++ ++ if test $ac_cv_header_spawn_h = yes; then ++ HAVE_SPAWN_H=1 ++ AC_CHECK_TYPES([posix_spawnattr_t], [], [HAVE_POSIX_SPAWNATTR_T=0], [[ ++#include ++ ]]) ++ AC_CHECK_TYPES([posix_spawn_file_actions_t], [], ++ [HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0], [[ ++#include ++ ]]) ++ else ++ HAVE_SPAWN_H=0 ++ HAVE_POSIX_SPAWNATTR_T=0 ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0 ++ gl_REPLACE_SPAWN_H ++ fi ++ AC_SUBST([HAVE_SPAWN_H]) ++ ++ AC_REQUIRE([gl_HAVE_POSIX_SPAWN]) ++ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [posix_spawn posix_spawnp posix_spawnattr_init posix_spawnattr_destroy ++ posix_spawnattr_getsigdefault posix_spawnattr_setsigdefault ++ posix_spawnattr_getsigmask posix_spawnattr_setsigmask ++ posix_spawnattr_getflags posix_spawnattr_setflags ++ posix_spawnattr_getpgroup posix_spawnattr_setpgroup ++ posix_spawnattr_getschedpolicy posix_spawnattr_setschedpolicy ++ posix_spawnattr_getschedparam posix_spawnattr_setschedparam ++ posix_spawn_file_actions_init posix_spawn_file_actions_destroy ++ posix_spawn_file_actions_addopen posix_spawn_file_actions_addclose ++ posix_spawn_file_actions_adddup2]) ++]) ++m4trace:m4/spawn_h.m4:56: -1- AC_DEFUN([gl_HAVE_POSIX_SPAWN], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_SPAWN_H_DEFAULTS]) ++ ++ AC_CHECK_FUNCS_ONCE([posix_spawn]) ++ if test $ac_cv_func_posix_spawn != yes; then ++ HAVE_POSIX_SPAWN=0 ++ fi ++]) ++m4trace:m4/spawn_h.m4:69: -1- AC_DEFUN([gl_REPLACE_SPAWN_H], [ ++ dnl This is a no-op, because is always overridden. ++ : ++]) ++m4trace:m4/spawn_h.m4:75: -1- AC_DEFUN([gl_SPAWN_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SPAWN_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/spawn_h.m4:84: -1- AC_DEFUN([gl_SPAWN_H_DEFAULTS], [ ++ GNULIB_POSIX_SPAWN=0; AC_SUBST([GNULIB_POSIX_SPAWN]) ++ GNULIB_POSIX_SPAWNP=0; AC_SUBST([GNULIB_POSIX_SPAWNP]) ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT]) ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]) ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]) ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]) ++ GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY]) ++ GNULIB_POSIX_SPAWNATTR_INIT=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_INIT]) ++ GNULIB_POSIX_SPAWNATTR_GETFLAGS=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETFLAGS]) ++ GNULIB_POSIX_SPAWNATTR_SETFLAGS=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETFLAGS]) ++ GNULIB_POSIX_SPAWNATTR_GETPGROUP=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETPGROUP]) ++ GNULIB_POSIX_SPAWNATTR_SETPGROUP=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETPGROUP]) ++ GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM]) ++ GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM]) ++ GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY]) ++ GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY]) ++ GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT]) ++ GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT]) ++ GNULIB_POSIX_SPAWNATTR_GETSIGMASK=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGMASK]) ++ GNULIB_POSIX_SPAWNATTR_SETSIGMASK=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGMASK]) ++ GNULIB_POSIX_SPAWNATTR_DESTROY=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_DESTROY]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_POSIX_SPAWN=1; AC_SUBST([HAVE_POSIX_SPAWN]) ++ HAVE_POSIX_SPAWNATTR_T=1; AC_SUBST([HAVE_POSIX_SPAWNATTR_T]) ++ HAVE_POSIX_SPAWN_FILE_ACTIONS_T=1; ++ AC_SUBST([HAVE_POSIX_SPAWN_FILE_ACTIONS_T]) ++ REPLACE_POSIX_SPAWN=0; AC_SUBST([REPLACE_POSIX_SPAWN]) ++]) ++m4trace:m4/ssize_t.m4:10: -1- AC_DEFUN([gt_TYPE_SSIZE_T], [ ++ AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[int x = sizeof (ssize_t *) + sizeof (ssize_t); ++ return !x;]])], ++ [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) ++ if test $gt_cv_ssize_t = no; then ++ AC_DEFINE([ssize_t], [int], ++ [Define as a signed type of the same size as size_t.]) ++ fi ++]) ++m4trace:m4/stat.m4:9: -1- AC_DEFUN([gl_FUNC_STAT], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([lstat]) ++ dnl mingw is the only known platform where stat(".") and stat("./") differ ++ AC_CACHE_CHECK([whether stat handles trailing slashes on directories], ++ [gl_cv_func_stat_dir_slash], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++]], [[struct stat st; return stat (".", &st) != stat ("./", &st);]])], ++ [gl_cv_func_stat_dir_slash=yes], [gl_cv_func_stat_dir_slash=no], ++ [case $host_os in ++ mingw*) gl_cv_func_stat_dir_slash="guessing no";; ++ *) gl_cv_func_stat_dir_slash="guessing yes";; ++ esac])]) ++ dnl AIX 7.1, Solaris 9 mistakenly succeed on stat("file/") ++ dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/") ++ AC_CACHE_CHECK([whether stat handles trailing slashes on files], ++ [gl_cv_func_stat_file_slash], ++ [touch conftest.tmp ++ # Assume that if we have lstat, we can also check symlinks. ++ if test $ac_cv_func_lstat = yes; then ++ ln -s conftest.tmp conftest.lnk ++ fi ++ AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++]], [[int result = 0; ++ struct stat st; ++ if (!stat ("conftest.tmp/", &st)) ++ result |= 1; ++#if HAVE_LSTAT ++ if (!stat ("conftest.lnk/", &st)) ++ result |= 2; ++#endif ++ return result; ++ ]])], ++ [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no], ++ [gl_cv_func_stat_file_slash="guessing no"]) ++ rm -f conftest.tmp conftest.lnk]) ++ case $gl_cv_func_stat_dir_slash in ++ *no) REPLACE_STAT=1 ++ AC_DEFINE([REPLACE_FUNC_STAT_DIR], [1], [Define to 1 if stat needs ++ help when passed a directory name with a trailing slash]);; ++ esac ++ case $gl_cv_func_stat_file_slash in ++ *no) REPLACE_STAT=1 ++ AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs ++ help when passed a file name with a trailing slash]);; ++ esac ++ if test $REPLACE_STAT = 1; then ++ AC_LIBOBJ([stat]) ++ dnl Prerequisites of lib/stat.c. ++ AC_REQUIRE([AC_C_INLINE]) ++ fi ++]) ++m4trace:m4/stdarg.m4:10: -1- AC_DEFUN([gl_STDARG_H], [ ++ STDARG_H=''; AC_SUBST([STDARG_H]) ++ NEXT_STDARG_H=''; AC_SUBST([NEXT_STDARG_H]) ++ AC_MSG_CHECKING([for va_copy]) ++ AC_CACHE_VAL([gl_cv_func_va_copy], [ ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[ ++#ifndef va_copy ++void (*func) (va_list, va_list) = va_copy; ++#endif ++ ]])], ++ [gl_cv_func_va_copy=yes], ++ [gl_cv_func_va_copy=no])]) ++ AC_MSG_RESULT([$gl_cv_func_va_copy]) ++ if test $gl_cv_func_va_copy = no; then ++ dnl Provide a substitute. ++ dnl Usually a simple definition in is enough. Not so on AIX 5 ++ dnl with some versions of the /usr/vac/bin/cc compiler. It has an ++ dnl which does '#undef va_copy', leading to a missing va_copy symbol. For ++ dnl this platform, we use an substitute. But we cannot use this ++ dnl approach on other platforms, because often defines only ++ dnl preprocessor macros and gl_ABSOLUTE_HEADER, gl_CHECK_NEXT_HEADERS do ++ dnl not work in this situation. ++ AC_EGREP_CPP([vaccine], ++ [#if defined _AIX && !defined __GNUC__ ++ AIX vaccine ++ #endif ++ ], [gl_aixcc=yes], [gl_aixcc=no]) ++ if test $gl_aixcc = yes; then ++ dnl Provide a substitute file. ++ STDARG_H=stdarg.h ++ gl_NEXT_HEADERS([stdarg.h]) ++ dnl Fallback for the case when contains only macro definitions. ++ if test "$gl_cv_next_stdarg_h" = '""'; then ++ gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' ++ NEXT_STDARG_H="$gl_cv_next_stdarg_h" ++ fi ++ else ++ dnl Provide a substitute in , either __va_copy or as a simple ++ dnl assignment. ++ gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [ ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[ ++#ifndef __va_copy ++error, bail out ++#endif ++ ]])], ++ [gl_cv_func___va_copy=yes], ++ [gl_cv_func___va_copy=no])]) ++ if test $gl_cv_func___va_copy = yes; then ++ AC_DEFINE([va_copy], [__va_copy], ++ [Define as a macro for copying va_list variables.]) ++ else ++ AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed. */ ++#define gl_va_copy(a,b) ((a) = (b))]) ++ AC_DEFINE([va_copy], [gl_va_copy], ++ [Define as a macro for copying va_list variables.]) ++ fi ++ fi ++ fi ++]) ++m4trace:m4/stdbool.m4:12: -1- AC_DEFUN([AM_STDBOOL_H], [ ++ AC_REQUIRE([AC_CHECK_HEADER_STDBOOL]) ++ ++ # Define two additional variables used in the Makefile substitution. ++ ++ if test "$ac_cv_header_stdbool_h" = yes; then ++ STDBOOL_H='' ++ else ++ STDBOOL_H='stdbool.h' ++ fi ++ AC_SUBST([STDBOOL_H]) ++ ++ if test "$ac_cv_type__Bool" = yes; then ++ HAVE__BOOL=1 ++ else ++ HAVE__BOOL=0 ++ fi ++ AC_SUBST([HAVE__BOOL]) ++]) ++m4trace:m4/stdbool.m4:34: -1- AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) ++m4trace:m4/stdbool.m4:38: -1- AC_DEFUN([AC_CHECK_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99], ++ [ac_cv_header_stdbool_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[ ++ #include ++ #ifndef bool ++ "error: bool is not defined" ++ #endif ++ #ifndef false ++ "error: false is not defined" ++ #endif ++ #if false ++ "error: false is not 0" ++ #endif ++ #ifndef true ++ "error: true is not defined" ++ #endif ++ #if true != 1 ++ "error: true is not 1" ++ #endif ++ #ifndef __bool_true_false_are_defined ++ "error: __bool_true_false_are_defined is not defined" ++ #endif ++ ++ struct s { _Bool s: 1; _Bool t; } s; ++ ++ char a[true == 1 ? 1 : -1]; ++ char b[false == 0 ? 1 : -1]; ++ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ++ char d[(bool) 0.5 == true ? 1 : -1]; ++ /* See body of main program for 'e'. */ ++ char f[(_Bool) 0.0 == false ? 1 : -1]; ++ char g[true]; ++ char h[sizeof (_Bool)]; ++ char i[sizeof s.t]; ++ enum { j = false, k = true, l = false * true, m = true * 256 }; ++ /* The following fails for ++ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ ++ _Bool n[m]; ++ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ++ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ++ /* Catch a bug in an HP-UX C compiler. See ++ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ++ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ++ */ ++ _Bool q = true; ++ _Bool *pq = &q; ++ ]], ++ [[ ++ bool e = &s; ++ *pq |= q; ++ *pq |= ! q; ++ /* Refer to every declared value, to avoid compiler optimizations. */ ++ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ++ + !m + !n + !o + !p + !q + !pq); ++ ]])], ++ [ac_cv_header_stdbool_h=yes], ++ [ac_cv_header_stdbool_h=no])]) ++ AC_CHECK_TYPES([_Bool]) ++]) ++m4trace:m4/stddef_h.m4:8: -1- AC_DEFUN([gl_STDDEF_H], [ ++ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ if test $gt_cv_c_wchar_t = no; then ++ HAVE_WCHAR_T=0 ++ STDDEF_H=stddef.h ++ fi ++ AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions], ++ [gl_cv_decl_null_works], ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ++ int test[2 * (sizeof NULL == sizeof (void *)) -1]; ++]])], ++ [gl_cv_decl_null_works=yes], ++ [gl_cv_decl_null_works=no])]) ++ if test $gl_cv_decl_null_works = no; then ++ REPLACE_NULL=1 ++ STDDEF_H=stddef.h ++ fi ++ if test -n "$STDDEF_H"; then ++ gl_NEXT_HEADERS([stddef.h]) ++ fi ++]) ++m4trace:m4/stddef_h.m4:32: -1- AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++]) ++m4trace:m4/stddef_h.m4:39: -1- AC_DEFUN([gl_STDDEF_H_DEFAULTS], [ ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ REPLACE_NULL=0; AC_SUBST([REPLACE_NULL]) ++ HAVE_WCHAR_T=1; AC_SUBST([HAVE_WCHAR_T]) ++ STDDEF_H=''; AC_SUBST([STDDEF_H]) ++]) ++m4trace:m4/stdint.m4:10: -1- AC_DEFUN([gl_STDINT_H], [ ++ AC_PREREQ([2.59])dnl ++ ++ dnl Check for long long int and unsigned long long int. ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ if test $ac_cv_type_long_long_int = yes; then ++ HAVE_LONG_LONG_INT=1 ++ else ++ HAVE_LONG_LONG_INT=0 ++ fi ++ AC_SUBST([HAVE_LONG_LONG_INT]) ++ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) ++ if test $ac_cv_type_unsigned_long_long_int = yes; then ++ HAVE_UNSIGNED_LONG_LONG_INT=1 ++ else ++ HAVE_UNSIGNED_LONG_LONG_INT=0 ++ fi ++ AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) ++ ++ dnl Check for , in the same way as gl_WCHAR_H does. ++ AC_CHECK_HEADERS_ONCE([wchar.h]) ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ AC_SUBST([HAVE_WCHAR_H]) ++ ++ dnl Check for . ++ dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h. ++ if test $ac_cv_header_inttypes_h = yes; then ++ HAVE_INTTYPES_H=1 ++ else ++ HAVE_INTTYPES_H=0 ++ fi ++ AC_SUBST([HAVE_INTTYPES_H]) ++ ++ dnl Check for . ++ dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h. ++ if test $ac_cv_header_sys_types_h = yes; then ++ HAVE_SYS_TYPES_H=1 ++ else ++ HAVE_SYS_TYPES_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_TYPES_H]) ++ ++ gl_CHECK_NEXT_HEADERS([stdint.h]) ++ if test $ac_cv_header_stdint_h = yes; then ++ HAVE_STDINT_H=1 ++ else ++ HAVE_STDINT_H=0 ++ fi ++ AC_SUBST([HAVE_STDINT_H]) ++ ++ dnl Now see whether we need a substitute . ++ if test $ac_cv_header_stdint_h = yes; then ++ AC_CACHE_CHECK([whether stdint.h conforms to C99], ++ [gl_cv_header_working_stdint_h], ++ [gl_cv_header_working_stdint_h=no ++ AC_COMPILE_IFELSE([ ++ AC_LANG_PROGRAM([[ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ ++#if !(defined WCHAR_MIN && defined WCHAR_MAX) ++#error "WCHAR_MIN, WCHAR_MAX not defined in " ++#endif ++] ++gl_STDINT_INCLUDES ++[ ++#ifdef INT8_MAX ++int8_t a1 = INT8_MAX; ++int8_t a1min = INT8_MIN; ++#endif ++#ifdef INT16_MAX ++int16_t a2 = INT16_MAX; ++int16_t a2min = INT16_MIN; ++#endif ++#ifdef INT32_MAX ++int32_t a3 = INT32_MAX; ++int32_t a3min = INT32_MIN; ++#endif ++#ifdef INT64_MAX ++int64_t a4 = INT64_MAX; ++int64_t a4min = INT64_MIN; ++#endif ++#ifdef UINT8_MAX ++uint8_t b1 = UINT8_MAX; ++#else ++typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; ++#endif ++#ifdef UINT16_MAX ++uint16_t b2 = UINT16_MAX; ++#endif ++#ifdef UINT32_MAX ++uint32_t b3 = UINT32_MAX; ++#endif ++#ifdef UINT64_MAX ++uint64_t b4 = UINT64_MAX; ++#endif ++int_least8_t c1 = INT8_C (0x7f); ++int_least8_t c1max = INT_LEAST8_MAX; ++int_least8_t c1min = INT_LEAST8_MIN; ++int_least16_t c2 = INT16_C (0x7fff); ++int_least16_t c2max = INT_LEAST16_MAX; ++int_least16_t c2min = INT_LEAST16_MIN; ++int_least32_t c3 = INT32_C (0x7fffffff); ++int_least32_t c3max = INT_LEAST32_MAX; ++int_least32_t c3min = INT_LEAST32_MIN; ++int_least64_t c4 = INT64_C (0x7fffffffffffffff); ++int_least64_t c4max = INT_LEAST64_MAX; ++int_least64_t c4min = INT_LEAST64_MIN; ++uint_least8_t d1 = UINT8_C (0xff); ++uint_least8_t d1max = UINT_LEAST8_MAX; ++uint_least16_t d2 = UINT16_C (0xffff); ++uint_least16_t d2max = UINT_LEAST16_MAX; ++uint_least32_t d3 = UINT32_C (0xffffffff); ++uint_least32_t d3max = UINT_LEAST32_MAX; ++uint_least64_t d4 = UINT64_C (0xffffffffffffffff); ++uint_least64_t d4max = UINT_LEAST64_MAX; ++int_fast8_t e1 = INT_FAST8_MAX; ++int_fast8_t e1min = INT_FAST8_MIN; ++int_fast16_t e2 = INT_FAST16_MAX; ++int_fast16_t e2min = INT_FAST16_MIN; ++int_fast32_t e3 = INT_FAST32_MAX; ++int_fast32_t e3min = INT_FAST32_MIN; ++int_fast64_t e4 = INT_FAST64_MAX; ++int_fast64_t e4min = INT_FAST64_MIN; ++uint_fast8_t f1 = UINT_FAST8_MAX; ++uint_fast16_t f2 = UINT_FAST16_MAX; ++uint_fast32_t f3 = UINT_FAST32_MAX; ++uint_fast64_t f4 = UINT_FAST64_MAX; ++#ifdef INTPTR_MAX ++intptr_t g = INTPTR_MAX; ++intptr_t gmin = INTPTR_MIN; ++#endif ++#ifdef UINTPTR_MAX ++uintptr_t h = UINTPTR_MAX; ++#endif ++intmax_t i = INTMAX_MAX; ++uintmax_t j = UINTMAX_MAX; ++ ++#include /* for CHAR_BIT */ ++#define TYPE_MINIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) ++#define TYPE_MAXIMUM(t) \ ++ ((t) ((t) 0 < (t) -1 \ ++ ? (t) -1 \ ++ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) ++struct s { ++ int check_PTRDIFF: ++ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) ++ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ++ ? 1 : -1; ++ /* Detect bug in FreeBSD 6.0 / ia64. */ ++ int check_SIG_ATOMIC: ++ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) ++ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ++ ? 1 : -1; ++ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; ++ int check_WCHAR: ++ WCHAR_MIN == TYPE_MINIMUM (wchar_t) ++ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ++ ? 1 : -1; ++ /* Detect bug in mingw. */ ++ int check_WINT: ++ WINT_MIN == TYPE_MINIMUM (wint_t) ++ && WINT_MAX == TYPE_MAXIMUM (wint_t) ++ ? 1 : -1; ++ ++ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ ++ int check_UINT8_C: ++ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; ++ int check_UINT16_C: ++ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; ++ ++ /* Detect bugs in OpenBSD 3.9 stdint.h. */ ++#ifdef UINT8_MAX ++ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; ++#endif ++#ifdef UINT16_MAX ++ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; ++#endif ++#ifdef UINT32_MAX ++ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; ++#endif ++#ifdef UINT64_MAX ++ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; ++#endif ++ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; ++ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; ++ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; ++ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; ++ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; ++ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; ++ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; ++ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; ++ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; ++ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; ++ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; ++}; ++ ]])], ++ [dnl Determine whether the various *_MIN, *_MAX macros are usable ++ dnl in preprocessor expression. We could do it by compiling a test ++ dnl program for each of these macros. It is faster to run a program ++ dnl that inspects the macro expansion. ++ dnl This detects a bug on HP-UX 11.23/ia64. ++ AC_RUN_IFELSE([ ++ AC_LANG_PROGRAM([[ ++#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ ++#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ ++#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ ++#include ++] ++gl_STDINT_INCLUDES ++[ ++#include ++#include ++#define MVAL(macro) MVAL1(macro) ++#define MVAL1(expression) #expression ++static const char *macro_values[] = ++ { ++#ifdef INT8_MAX ++ MVAL (INT8_MAX), ++#endif ++#ifdef INT16_MAX ++ MVAL (INT16_MAX), ++#endif ++#ifdef INT32_MAX ++ MVAL (INT32_MAX), ++#endif ++#ifdef INT64_MAX ++ MVAL (INT64_MAX), ++#endif ++#ifdef UINT8_MAX ++ MVAL (UINT8_MAX), ++#endif ++#ifdef UINT16_MAX ++ MVAL (UINT16_MAX), ++#endif ++#ifdef UINT32_MAX ++ MVAL (UINT32_MAX), ++#endif ++#ifdef UINT64_MAX ++ MVAL (UINT64_MAX), ++#endif ++ NULL ++ }; ++]], [[ ++ const char **mv; ++ for (mv = macro_values; *mv != NULL; mv++) ++ { ++ const char *value = *mv; ++ /* Test whether it looks like a cast expression. */ ++ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 ++ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 ++ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 ++ || strncmp (value, "((int)"/*)*/, 6) == 0 ++ || strncmp (value, "((signed short)"/*)*/, 15) == 0 ++ || strncmp (value, "((signed char)"/*)*/, 14) == 0) ++ return mv - macro_values + 1; ++ } ++ return 0; ++]])], ++ [gl_cv_header_working_stdint_h=yes], ++ [], ++ [dnl When cross-compiling, assume it works. ++ gl_cv_header_working_stdint_h=yes ++ ]) ++ ]) ++ ]) ++ fi ++ if test "$gl_cv_header_working_stdint_h" = yes; then ++ STDINT_H= ++ else ++ dnl Check for , and for ++ dnl (used in Linux libc4 >= 4.6.7 and libc5). ++ AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) ++ if test $ac_cv_header_sys_inttypes_h = yes; then ++ HAVE_SYS_INTTYPES_H=1 ++ else ++ HAVE_SYS_INTTYPES_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_INTTYPES_H]) ++ if test $ac_cv_header_sys_bitypes_h = yes; then ++ HAVE_SYS_BITYPES_H=1 ++ else ++ HAVE_SYS_BITYPES_H=0 ++ fi ++ AC_SUBST([HAVE_SYS_BITYPES_H]) ++ ++ gl_STDINT_TYPE_PROPERTIES ++ STDINT_H=stdint.h ++ fi ++ AC_SUBST([STDINT_H]) ++]) ++m4trace:m4/stdint.m4:312: -1- AC_DEFUN([gl_STDINT_BITSIZEOF], [ ++ dnl Use a shell loop, to avoid bloating configure, and ++ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into ++ dnl config.h.in, ++ dnl - extra AC_SUBST calls, so that the right substitutions are made. ++ m4_foreach_w([gltype], [$1], ++ [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), ++ [Define to the number of bits in type ']gltype['.])]) ++ for gltype in $1 ; do ++ AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], ++ [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], ++ [$2 ++#include ], [result=unknown]) ++ eval gl_cv_bitsizeof_${gltype}=\$result ++ ]) ++ eval result=\$gl_cv_bitsizeof_${gltype} ++ if test $result = unknown; then ++ dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, ++ dnl do a syntax check even on unused #if conditions and give an error ++ dnl on valid C code like this: ++ dnl #if 0 ++ dnl # if > 32 ++ dnl # endif ++ dnl #endif ++ result=0 ++ fi ++ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) ++ eval BITSIZEOF_${GLTYPE}=\$result ++ done ++ m4_foreach_w([gltype], [$1], ++ [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ++]) ++m4trace:m4/stdint.m4:350: -1- AC_DEFUN([gl_CHECK_TYPES_SIGNED], [ ++ dnl Use a shell loop, to avoid bloating configure, and ++ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into ++ dnl config.h.in, ++ dnl - extra AC_SUBST calls, so that the right substitutions are made. ++ m4_foreach_w([gltype], [$1], ++ [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), ++ [Define to 1 if ']gltype[' is a signed integer type.])]) ++ for gltype in $1 ; do ++ AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([$2[ ++ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], ++ result=yes, result=no) ++ eval gl_cv_type_${gltype}_signed=\$result ++ ]) ++ eval result=\$gl_cv_type_${gltype}_signed ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ if test "$result" = yes; then ++ AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) ++ eval HAVE_SIGNED_${GLTYPE}=1 ++ else ++ eval HAVE_SIGNED_${GLTYPE}=0 ++ fi ++ done ++ m4_foreach_w([gltype], [$1], ++ [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ++]) ++m4trace:m4/stdint.m4:383: -1- AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [ ++ dnl Use a shell loop, to avoid bloating configure, and ++ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into ++ dnl config.h.in, ++ dnl - extra AC_SUBST calls, so that the right substitutions are made. ++ m4_foreach_w([gltype], [$1], ++ [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], ++ [Define to l, ll, u, ul, ull, etc., as suitable for ++ constants of type ']gltype['.])]) ++ for gltype in $1 ; do ++ AC_CACHE_CHECK([for $gltype integer literal suffix], ++ [gl_cv_type_${gltype}_suffix], ++ [eval gl_cv_type_${gltype}_suffix=no ++ eval result=\$gl_cv_type_${gltype}_signed ++ if test "$result" = yes; then ++ glsufu= ++ else ++ glsufu=u ++ fi ++ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do ++ case $glsuf in ++ '') gltype1='int';; ++ l) gltype1='long int';; ++ ll) gltype1='long long int';; ++ i64) gltype1='__int64';; ++ u) gltype1='unsigned int';; ++ ul) gltype1='unsigned long int';; ++ ull) gltype1='unsigned long long int';; ++ ui64)gltype1='unsigned __int64';; ++ esac ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([$2[ ++ extern $gltype foo; ++ extern $gltype1 foo;]])], ++ [eval gl_cv_type_${gltype}_suffix=\$glsuf]) ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" != no && break ++ done]) ++ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` ++ eval result=\$gl_cv_type_${gltype}_suffix ++ test "$result" = no && result= ++ eval ${GLTYPE}_SUFFIX=\$result ++ AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) ++ done ++ m4_foreach_w([gltype], [$1], ++ [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) ++]) ++m4trace:m4/stdint.m4:433: -1- AC_DEFUN([gl_STDINT_INCLUDES], [[ ++ /* BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++ #include ++ #include ++ #if HAVE_WCHAR_H ++ # include ++ # include ++ # include ++ #endif ++]]) ++m4trace:m4/stdint.m4:449: -1- AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [ ++ AC_REQUIRE([gl_MULTIARCH]) ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ gl_STDINT_BITSIZEOF([ptrdiff_t size_t], ++ [gl_STDINT_INCLUDES]) ++ fi ++ gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], ++ [gl_STDINT_INCLUDES]) ++ gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], ++ [gl_STDINT_INCLUDES]) ++ gl_cv_type_ptrdiff_t_signed=yes ++ gl_cv_type_size_t_signed=no ++ if test $APPLE_UNIVERSAL_BUILD = 0; then ++ gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], ++ [gl_STDINT_INCLUDES]) ++ fi ++ gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], ++ [gl_STDINT_INCLUDES]) ++]) ++m4trace:m4/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [ ++ AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ #include ]], ++ [[uintmax_t i = (uintmax_t) -1; return !i;]])], ++ [gl_cv_header_stdint_h=yes], ++ [gl_cv_header_stdint_h=no])]) ++ if test $gl_cv_header_stdint_h = yes; then ++ AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], ++ [Define if exists, doesn't clash with , ++ and declares uintmax_t. ]) ++ fi ++]) ++m4trace:m4/stdio-safer.m4:7: -1- AC_DEFUN([gl_FOPEN_SAFER], [ ++ AC_LIBOBJ([fopen-safer]) ++]) ++m4trace:m4/stdio-safer.m4:12: -1- AC_DEFUN([gl_FREOPEN_SAFER], [ ++ AC_LIBOBJ([freopen-safer]) ++]) ++m4trace:m4/stdio-safer.m4:17: -1- AC_DEFUN([gl_POPEN_SAFER], [ ++ AC_LIBOBJ([popen-safer]) ++]) ++m4trace:m4/stdio-safer.m4:22: -1- AC_DEFUN([gl_TMPFILE_SAFER], [ ++ AC_LIBOBJ([tmpfile-safer]) ++]) ++m4trace:m4/stdio_h.m4:7: -1- AC_DEFUN([gl_STDIO_H], [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ AC_REQUIRE([AC_C_INLINE]) ++ gl_NEXT_HEADERS([stdio.h]) ++ dnl No need to create extra modules for these functions. Everyone who uses ++ dnl likely needs them. ++ GNULIB_FPRINTF=1 ++ GNULIB_PRINTF=1 ++ GNULIB_VFPRINTF=1 ++ GNULIB_VPRINTF=1 ++ GNULIB_FPUTC=1 ++ GNULIB_PUTC=1 ++ GNULIB_PUTCHAR=1 ++ GNULIB_FPUTS=1 ++ GNULIB_PUTS=1 ++ GNULIB_FWRITE=1 ++ dnl This ifdef is just an optimization, to avoid performing a configure ++ dnl check whose result is not used. It does not make the test of ++ dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant. ++ m4_ifdef([gl_SIGNAL_SIGPIPE], [ ++ gl_SIGNAL_SIGPIPE ++ if test $gl_cv_header_signal_h_SIGPIPE != yes; then ++ REPLACE_STDIO_WRITE_FUNCS=1 ++ AC_LIBOBJ([stdio-write]) ++ fi ++ ]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use, and which is not ++ dnl guaranteed by C89. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat ++ snprintf tmpfile vdprintf vsnprintf]) ++]) ++m4trace:m4/stdio_h.m4:43: -1- AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/stdio_h.m4:52: -1- AC_DEFUN([gl_STDIO_H_DEFAULTS], [ ++ GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) ++ GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) ++ GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) ++ GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) ++ GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) ++ GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) ++ GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) ++ GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) ++ GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) ++ GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) ++ GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) ++ GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) ++ GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) ++ GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) ++ GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) ++ GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) ++ GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) ++ GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) ++ GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) ++ GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) ++ GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) ++ GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) ++ GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) ++ GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) ++ GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) ++ GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) ++ GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE]) ++ GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME]) ++ GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT]) ++ GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) ++ GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) ++ GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) ++ GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE]) ++ GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) ++ GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) ++ GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) ++ GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) ++ GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) ++ GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) ++ GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) ++ GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) ++ HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO]) ++ HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO]) ++ HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) ++ HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) ++ HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) ++ HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) ++ HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) ++ HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) ++ HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) ++ HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) ++ HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) ++ HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) ++ HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) ++ REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) ++ REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) ++ REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) ++ REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) ++ REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) ++ REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) ++ REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) ++ REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) ++ REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) ++ REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) ++ REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) ++ REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM]) ++ REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) ++ REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) ++ REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) ++ REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN]) ++ REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) ++ REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE]) ++ REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME]) ++ REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT]) ++ REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) ++ REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) ++ REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) ++ REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE]) ++ REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) ++ REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) ++ REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) ++ REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) ++ REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) ++ REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) ++]) ++m4trace:m4/stdlib-safer.m4:7: -1- AC_DEFUN([gl_STDLIB_SAFER], [ ++ AC_LIBOBJ([mkstemp-safer]) ++]) ++m4trace:m4/stdlib_h.m4:7: -1- AC_DEFUN([gl_STDLIB_H], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ gl_NEXT_HEADERS([stdlib.h]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use, and which is not ++ dnl guaranteed by C89. ++ gl_WARN_ON_USE_PREPARE([[#include ++#if HAVE_SYS_LOADAVG_H ++# include ++#endif ++#if HAVE_RANDOM_H ++# include ++#endif ++ ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp ++ mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r ++ setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt ++ unsetenv]) ++]) ++m4trace:m4/stdlib_h.m4:28: -1- AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/stdlib_h.m4:37: -1- AC_DEFUN([gl_STDLIB_H_DEFAULTS], [ ++ GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT]) ++ GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) ++ GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) ++ GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) ++ GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) ++ GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) ++ GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) ++ GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) ++ GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC]) ++ GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) ++ GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) ++ GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) ++ GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) ++ GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS]) ++ GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME]) ++ GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) ++ GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) ++ GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) ++ GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH]) ++ GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) ++ GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) ++ GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) ++ GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) ++ GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) ++ GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) ++ GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) ++ GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) ++ GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) ++ HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) ++ HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) ++ HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) ++ HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) ++ HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT]) ++ HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) ++ HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP]) ++ HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS]) ++ HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP]) ++ HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS]) ++ HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME]) ++ HAVE_RANDOM_H=1; AC_SUBST([HAVE_RANDOM_H]) ++ HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) ++ HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH]) ++ HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) ++ HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) ++ HAVE_DECL_SETENV=1; AC_SUBST([HAVE_DECL_SETENV]) ++ HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) ++ HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) ++ HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) ++ HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) ++ HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) ++ HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT]) ++ HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV]) ++ REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) ++ REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) ++ REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) ++ REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC]) ++ REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) ++ REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) ++ REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) ++ REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) ++ REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) ++ REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) ++ REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) ++ REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) ++]) ++m4trace:m4/strchrnul.m4:7: -1- AC_DEFUN([gl_FUNC_STRCHRNUL], [ ++ dnl Persuade glibc to declare strchrnul(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REPLACE_FUNCS([strchrnul]) ++ if test $ac_cv_func_strchrnul = no; then ++ HAVE_STRCHRNUL=0 ++ gl_PREREQ_STRCHRNUL ++ fi ++]) ++m4trace:m4/strchrnul.m4:21: -1- AC_DEFUN([gl_PREREQ_STRCHRNUL], [:]) ++m4trace:m4/strdup.m4:9: -1- AC_DEFUN([gl_FUNC_STRDUP], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([strdup]) ++ if test $ac_cv_func_strdup != yes; then ++ AC_LIBOBJ([strdup]) ++ gl_PREREQ_STRDUP ++ fi ++ AC_CHECK_DECLS_ONCE([strdup]) ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++]) ++m4trace:m4/strdup.m4:23: -1- AC_DEFUN([gl_FUNC_STRDUP_POSIX], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) ++ AC_CHECK_FUNCS_ONCE([strdup]) ++ if test $ac_cv_func_strdup = yes; then ++ if test $gl_cv_func_malloc_posix != yes; then ++ REPLACE_STRDUP=1 ++ AC_LIBOBJ([strdup]) ++ gl_PREREQ_STRDUP ++ fi ++ else ++ AC_LIBOBJ([strdup]) ++ gl_PREREQ_STRDUP ++ fi ++ AC_CHECK_DECLS_ONCE([strdup]) ++ if test $ac_cv_have_decl_strdup = no; then ++ HAVE_DECL_STRDUP=0 ++ fi ++]) ++m4trace:m4/strdup.m4:45: -1- AC_DEFUN([gl_PREREQ_STRDUP], [:]) ++m4trace:m4/strerror.m4:7: -1- AC_DEFUN([gl_FUNC_STRERROR], [ ++ AC_REQUIRE([gl_FUNC_STRERROR_SEPARATE]) ++ if test $REPLACE_STRERROR = 1; then ++ AC_LIBOBJ([strerror]) ++ AC_DEFINE_UNQUOTED([REPLACE_STRERROR], [$REPLACE_STRERROR], ++ [Define this to 1 if strerror is broken.]) ++ fi ++]) ++m4trace:m4/strerror.m4:18: -1- AC_DEFUN([gl_FUNC_STRERROR_SEPARATE], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_HEADER_ERRNO_H]) ++ if test -z "$ERRNO_H"; then ++ AC_CACHE_CHECK([for working strerror function], ++ [gl_cv_func_working_strerror], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[return !*strerror (-2);]])], ++ [gl_cv_func_working_strerror=yes], ++ [gl_cv_func_working_strerror=no], ++ [dnl Assume crossbuild works if it compiles. ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[return !*strerror (-2);]])], ++ [gl_cv_func_working_strerror=yes], ++ [gl_cv_func_working_strerror=no]) ++ ]) ++ ]) ++ if test $gl_cv_func_working_strerror = no; then ++ dnl The system's strerror() fails to return a string for out-of-range ++ dnl integers. Replace it. ++ REPLACE_STRERROR=1 ++ fi ++ else ++ dnl The system's strerror() cannot know about the new errno values we add ++ dnl to . Replace it. ++ REPLACE_STRERROR=1 ++ fi ++ if test $REPLACE_STRERROR = 1; then ++ gl_PREREQ_STRERROR ++ fi ++]) ++m4trace:m4/strerror.m4:58: -1- AC_DEFUN([gl_PREREQ_STRERROR], [ ++ AC_CHECK_DECLS([strerror]) ++ AC_CHECK_HEADERS_ONCE([sys/socket.h]) ++ if test $ac_cv_header_sys_socket_h != yes; then ++ dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make ++ dnl the check for those headers unconditional; yet cygwin reports ++ dnl that the headers are present but cannot be compiled (since on ++ dnl cygwin, all socket information should come from sys/socket.h). ++ AC_CHECK_HEADERS([winsock2.h]) ++ fi ++]) ++m4trace:m4/string_h.m4:12: -1- AC_DEFUN([gl_HEADER_STRING_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_HEADER_STRING_H_BODY]) ++]) ++m4trace:m4/string_h.m4:19: -1- AC_DEFUN([gl_HEADER_STRING_H_BODY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ gl_NEXT_HEADERS([string.h]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use, and which is not ++ dnl guaranteed by C89. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], ++ [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup ++ strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r ++ strsignal strverscmp]) ++]) ++m4trace:m4/string_h.m4:35: -1- AC_DEFUN([gl_STRING_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/string_h.m4:44: -1- AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [ ++ GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) ++ GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) ++ GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) ++ GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) ++ GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) ++ GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) ++ GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) ++ GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) ++ GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) ++ GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT]) ++ GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) ++ GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) ++ GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) ++ GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) ++ GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) ++ GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) ++ GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) ++ GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) ++ GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) ++ GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) ++ GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) ++ GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) ++ GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) ++ GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) ++ GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) ++ GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) ++ GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) ++ GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) ++ GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) ++ GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) ++ GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) ++ GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) ++ GNULIB_STRERROR_R=0; AC_SUBST([GNULIB_STRERROR_R]) ++ GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) ++ GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) ++ HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR]) ++ HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) ++ HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) ++ HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) ++ HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) ++ HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) ++ HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) ++ HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) ++ HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) ++ HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) ++ HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) ++ HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) ++ HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) ++ HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) ++ HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) ++ HAVE_DECL_STRERROR_R=1; AC_SUBST([HAVE_DECL_STRERROR_R]) ++ HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) ++ HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) ++ REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) ++ REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) ++ REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY]) ++ REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) ++ REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) ++ REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) ++ REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) ++ REPLACE_STRERROR_R=0; AC_SUBST([REPLACE_STRERROR_R]) ++ REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT]) ++ REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP]) ++ REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN]) ++ REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) ++ REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R]) ++ UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R]) ++]) ++m4trace:m4/strndup.m4:7: -1- AC_DEFUN([gl_FUNC_STRNDUP], [ ++ dnl Persuade glibc to declare strndup(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_CHECK_DECLS_ONCE([strndup]) ++ AC_CHECK_FUNCS_ONCE([strndup]) ++ if test $ac_cv_have_decl_strndup = no; then ++ HAVE_DECL_STRNDUP=0 ++ fi ++ ++ if test $ac_cv_func_strndup = yes; then ++ # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. ++ AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup_works], ++ [AC_RUN_IFELSE([ ++ AC_LANG_PROGRAM([[#include ++ #include ]], [[ ++#ifndef HAVE_DECL_STRNDUP ++ extern char *strndup (const char *, size_t); ++#endif ++ char *s; ++ s = strndup ("some longer string", 15); ++ free (s); ++ s = strndup ("shorter string", 13); ++ return s[13] != '\0';]])], ++ [gl_cv_func_strndup_works=yes], ++ [gl_cv_func_strndup_works=no], ++ [ ++changequote(,)dnl ++ case $host_os in ++ aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; ++ *) gl_cv_func_strndup_works="guessing yes";; ++ esac ++changequote([,])dnl ++ ])]) ++ case $gl_cv_func_strndup_works in ++ *no) ++ REPLACE_STRNDUP=1 ++ AC_LIBOBJ([strndup]) ++ ;; ++ esac ++ else ++ AC_LIBOBJ([strndup]) ++ fi ++]) ++m4trace:m4/strnlen.m4:8: -1- AC_DEFUN([gl_FUNC_STRNLEN], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ ++ dnl Persuade glibc to declare strnlen(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CHECK_DECLS_ONCE([strnlen]) ++ if test $ac_cv_have_decl_strnlen = no; then ++ HAVE_DECL_STRNLEN=0 ++ else ++ AC_FUNC_STRNLEN ++ dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]). ++ if test $ac_cv_func_strnlen_working = no; then ++ REPLACE_STRNLEN=1 ++ fi ++ fi ++ if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then ++ AC_LIBOBJ([strnlen]) ++ gl_PREREQ_STRNLEN ++ fi ++]) ++m4trace:m4/strnlen.m4:32: -1- AC_DEFUN([gl_PREREQ_STRNLEN], [:]) ++m4trace:m4/strsignal.m4:7: -1- AC_DEFUN([gl_FUNC_STRSIGNAL], [ ++ dnl Persuade glibc to declare strsignal(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ ++ AC_CHECK_DECLS_ONCE([strsignal]) ++ if test $ac_cv_have_decl_strsignal = no; then ++ HAVE_DECL_STRSIGNAL=0 ++ fi ++ ++ AC_CHECK_FUNCS([strsignal]) ++ if test $ac_cv_func_strsignal = yes; then ++ dnl Check if strsignal behaves reasonably for out-of-range signal numbers. ++ dnl On Solaris it returns NULL; on AIX 5.1 it returns (char *) -1. ++ AC_CACHE_CHECK([whether strsignal always returns a string], ++ [gl_cv_func_working_strsignal], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++#include /* NetBSD 5.0 declares it in wrong header. */ ++ ]], ++ [[int result = 0; ++ char *s = strsignal (-1); ++ if (s == (char *) 0) ++ result |= 1; ++ if (s == (char *) -1) ++ result |= 2; ++ return result; ++ ]])], ++ [gl_cv_func_working_strsignal=yes], ++ [gl_cv_func_working_strsignal=no], ++ [case "$host_os" in ++ solaris* | aix*) gl_cv_func_working_strsignal=no;; ++ *) gl_cv_func_working_strsignal="guessing yes";; ++ esac])]) ++ else ++ gl_cv_func_working_strsignal=no ++ fi ++ ++ if test "$gl_cv_func_working_strsignal" = no; then ++ if test $ac_cv_func_strsignal = yes; then ++ REPLACE_STRSIGNAL=1 ++ fi ++ AC_LIBOBJ([strsignal]) ++ gl_PREREQ_STRSIGNAL ++ fi ++]) ++m4trace:m4/strsignal.m4:59: -1- AC_DEFUN([gl_PREREQ_STRSIGNAL], [ ++ AC_REQUIRE([AC_DECL_SYS_SIGLIST]) ++ AC_CHECK_DECLS([_sys_siglist], [], [], [#include ]) ++]) ++m4trace:m4/strstr.m4:8: -1- AC_DEFUN([gl_FUNC_STRSTR_SIMPLE], [ ++ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_FUNC_MEMCHR]) ++ if test "$gl_cv_func_memchr_works" != yes; then ++ REPLACE_STRSTR=1 ++ AC_LIBOBJ([strstr]) ++ else ++ dnl Detect http://sourceware.org/bugzilla/show_bug.cgi?id=12092. ++ AC_CACHE_CHECK([whether strstr works], ++ [gl_cv_func_strstr_works_always], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include /* for strstr */ ++#define P "_EF_BF_BD" ++#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P ++#define NEEDLE P P P P P ++]], [[return !!strstr (HAYSTACK, NEEDLE); ++ ]])], ++ [gl_cv_func_strstr_works_always=yes], ++ [gl_cv_func_strstr_works_always=no], ++ [dnl glibc 2.12 and cygwin 1.7.7 have a known bug. uClibc is not ++ dnl affected, since it uses different source code for strstr than ++ dnl glibc. ++ dnl Assume that it works on all other platforms, even if it is not ++ dnl linear. ++ AC_EGREP_CPP([Lucky user], ++ [ ++#ifdef __GNU_LIBRARY__ ++ #include ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ || defined __UCLIBC__ ++ Lucky user ++ #endif ++#elif defined __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#else ++ Lucky user ++#endif ++ ], ++ [gl_cv_func_strstr_works_always=yes], ++ [gl_cv_func_strstr_works_always="guessing no"]) ++ ]) ++ ]) ++ if test "$gl_cv_func_strstr_works_always" != yes; then ++ REPLACE_STRSTR=1 ++ AC_LIBOBJ([strstr]) ++ fi ++ fi ++]) ++m4trace:m4/strstr.m4:62: -1- AC_DEFUN([gl_FUNC_STRSTR], [ ++ AC_REQUIRE([gl_FUNC_STRSTR_SIMPLE]) ++ if test $REPLACE_STRSTR = 0; then ++ AC_CACHE_CHECK([whether strstr works in linear time], ++ [gl_cv_func_strstr_linear], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include /* for signal */ ++#include /* for strstr */ ++#include /* for malloc */ ++#include /* for alarm */ ++static void quit (int sig) { exit (sig + 128); } ++]], [[ ++ int result = 0; ++ size_t m = 1000000; ++ char *haystack = (char *) malloc (2 * m + 2); ++ char *needle = (char *) malloc (m + 2); ++ /* Failure to compile this test due to missing alarm is okay, ++ since all such platforms (mingw) also have quadratic strstr. */ ++ signal (SIGALRM, quit); ++ alarm (5); ++ /* Check for quadratic performance. */ ++ if (haystack && needle) ++ { ++ memset (haystack, 'A', 2 * m); ++ haystack[2 * m] = 'B'; ++ haystack[2 * m + 1] = 0; ++ memset (needle, 'A', m); ++ needle[m] = 'B'; ++ needle[m + 1] = 0; ++ if (!strstr (haystack, needle)) ++ result |= 1; ++ } ++ return result; ++ ]])], ++ [gl_cv_func_strstr_linear=yes], [gl_cv_func_strstr_linear=no], ++ [dnl Only glibc > 2.12 and cygwin > 1.7.7 are known to have a ++ dnl bug-free strstr that works in linear time. ++ AC_EGREP_CPP([Lucky user], ++ [ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \ ++ && !defined __UCLIBC__ ++ Lucky user ++ #endif ++#endif ++#ifdef __CYGWIN__ ++ #include ++ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) ++ Lucky user ++ #endif ++#endif ++ ], ++ [gl_cv_func_strstr_linear=yes], ++ [gl_cv_func_strstr_linear="guessing no"]) ++ ]) ++ ]) ++ if test "$gl_cv_func_strstr_linear" != yes; then ++ REPLACE_STRSTR=1 ++ fi ++ fi ++ if test $REPLACE_STRSTR = 1; then ++ AC_LIBOBJ([strstr]) ++ fi ++]) ++m4trace:m4/strtod.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOD], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ dnl Test whether strtod is declared. ++ dnl Don't call AC_FUNC_STRTOD, because it does not have the right guess ++ dnl when cross-compiling. ++ dnl Don't call AC_CHECK_FUNCS([strtod]) because it would collide with the ++ dnl ac_cv_func_strtod variable set by the AC_FUNC_STRTOD macro. ++ AC_CHECK_DECLS_ONCE([strtod]) ++ if test $ac_cv_have_decl_strtod != yes; then ++ HAVE_STRTOD=0 ++ else ++ AC_CACHE_CHECK([whether strtod obeys C99], [gl_cv_func_strtod_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include ++#include ++#include ++/* Compare two numbers with ==. ++ This is a separate function because IRIX 6.5 "cc -O" miscompiles an ++ 'x == x' test. */ ++static int ++numeric_equal (double x, double y) ++{ ++ return x == y; ++} ++]], [[ ++ int result = 0; ++ { ++ /* In some old versions of Linux (2000 or before), strtod mis-parses ++ strings with leading '+'. */ ++ const char *string = " +69"; ++ char *term; ++ double value = strtod (string, &term); ++ if (value != 69 || term != (string + 4)) ++ result |= 1; ++ } ++ { ++ /* Under Solaris 2.4, strtod returns the wrong value for the ++ terminating character under some conditions. */ ++ const char *string = "NaN"; ++ char *term; ++ strtod (string, &term); ++ if (term != string && *(term - 1) == 0) ++ result |= 2; ++ } ++ { ++ /* Older glibc and Cygwin mis-parse "-0x". */ ++ const char *string = "-0x"; ++ char *term; ++ double value = strtod (string, &term); ++ double zero = 0.0; ++ if (1.0 / value != -1.0 / zero || term != (string + 2)) ++ result |= 4; ++ } ++ { ++ /* Many platforms do not parse hex floats. */ ++ const char *string = "0XaP+1"; ++ char *term; ++ double value = strtod (string, &term); ++ if (value != 20.0 || term != (string + 6)) ++ result |= 8; ++ } ++ { ++ /* Many platforms do not parse infinities. HP-UX 11.31 parses inf, ++ but mistakenly sets errno. */ ++ const char *string = "inf"; ++ char *term; ++ double value; ++ errno = 0; ++ value = strtod (string, &term); ++ if (value != HUGE_VAL || term != (string + 3) || errno) ++ result |= 16; ++ } ++ { ++ /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */ ++ const char *string = "nan()"; ++ char *term; ++ double value = strtod (string, &term); ++ if (numeric_equal (value, value) || term != (string + 5)) ++ result |= 32; ++ } ++ { ++ /* darwin 10.6.1 misparses "nan(". */ ++ const char *string = "nan("; ++ char *term; ++ double value = strtod (string, &term); ++ if (numeric_equal (value, value) || term != (string + 3)) ++ result |= 64; ++ } ++ return result; ++]])], ++ [gl_cv_func_strtod_works=yes], ++ [gl_cv_func_strtod_works=no], ++ [dnl The last known bugs in glibc strtod(), as of this writing, ++ dnl were fixed in version 2.8 ++ AC_EGREP_CPP([Lucky user], ++ [ ++#include ++#ifdef __GNU_LIBRARY__ ++ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ ++ && !defined __UCLIBC__ ++ Lucky user ++ #endif ++#endif ++ ], ++ [gl_cv_func_strtod_works=yes], ++ [gl_cv_func_strtod_works="guessing no"])])]) ++ if test "$gl_cv_func_strtod_works" != yes; then ++ REPLACE_STRTOD=1 ++ fi ++ fi ++ if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then ++ AC_LIBOBJ([strtod]) ++ gl_PREREQ_STRTOD ++ fi ++]) ++m4trace:m4/strtod.m4:125: -1- AC_DEFUN([gl_PREREQ_STRTOD], [ ++ AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM]) ++ if test $gl_cv_func_ldexp_no_libm = yes; then ++ AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1], ++ [Define if the ldexp function is available in libc.]) ++ fi ++]) ++m4trace:m4/strtol.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOL], [ ++ AC_REPLACE_FUNCS([strtol]) ++]) ++m4trace:m4/symlink.m4:11: -1- AC_DEFUN([gl_FUNC_SYMLINK], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_CHECK_FUNCS_ONCE([symlink]) ++ dnl The best we can do on mingw is provide a dummy that always fails, so ++ dnl that compilation can proceed with fewer ifdefs. On FreeBSD 7.2, AIX 7.1, ++ dnl and Solaris 9, we want to fix a bug with trailing slash handling. ++ if test $ac_cv_func_symlink = no; then ++ HAVE_SYMLINK=0 ++ AC_LIBOBJ([symlink]) ++ else ++ AC_CACHE_CHECK([whether symlink handles trailing slash correctly], ++ [gl_cv_func_symlink_works], ++ [AC_RUN_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[int result = 0; ++ if (!symlink ("a", "conftest.link/")) ++ result |= 1; ++ if (symlink ("conftest.f", "conftest.lnk2")) ++ result |= 2; ++ else if (!symlink ("a", "conftest.lnk2/")) ++ result |= 4; ++ return result; ++ ]])], ++ [gl_cv_func_symlink_works=yes], [gl_cv_func_symlink_works=no], ++ [gl_cv_func_symlink_works="guessing no"]) ++ rm -f conftest.f conftest.link conftest.lnk2]) ++ if test "$gl_cv_func_symlink_works" != yes; then ++ REPLACE_SYMLINK=1 ++ AC_LIBOBJ([symlink]) ++ fi ++ fi ++]) ++m4trace:m4/sys_stat_h.m4:10: -1- AC_DEFUN([gl_HEADER_SYS_STAT_H], [ ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ ++ dnl For the mkdir substitute. ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ dnl Check for broken stat macros. ++ AC_REQUIRE([AC_HEADER_STAT]) ++ ++ gl_CHECK_NEXT_HEADERS([sys/stat.h]) ++ ++ dnl Define types that are supposed to be defined in or ++ dnl . ++ AC_CHECK_TYPE([nlink_t], [], ++ [AC_DEFINE([nlink_t], [int], ++ [Define to the type of st_nlink in struct stat, or a supertype.])], ++ [#include ++ #include ]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++ ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat ++ mknod mknodat stat utimensat]) ++]) ++m4trace:m4/sys_stat_h.m4:37: -1- AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/sys_stat_h.m4:46: -1- AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [ ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR ++ GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT]) ++ GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT]) ++ GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS]) ++ GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) ++ GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT]) ++ GNULIB_MKDIRAT=0; AC_SUBST([GNULIB_MKDIRAT]) ++ GNULIB_MKFIFO=0; AC_SUBST([GNULIB_MKFIFO]) ++ GNULIB_MKFIFOAT=0; AC_SUBST([GNULIB_MKFIFOAT]) ++ GNULIB_MKNOD=0; AC_SUBST([GNULIB_MKNOD]) ++ GNULIB_MKNODAT=0; AC_SUBST([GNULIB_MKNODAT]) ++ GNULIB_STAT=0; AC_SUBST([GNULIB_STAT]) ++ GNULIB_UTIMENSAT=0; AC_SUBST([GNULIB_UTIMENSAT]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT]) ++ HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT]) ++ HAVE_FUTIMENS=1; AC_SUBST([HAVE_FUTIMENS]) ++ HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD]) ++ HAVE_LSTAT=1; AC_SUBST([HAVE_LSTAT]) ++ HAVE_MKDIRAT=1; AC_SUBST([HAVE_MKDIRAT]) ++ HAVE_MKFIFO=1; AC_SUBST([HAVE_MKFIFO]) ++ HAVE_MKFIFOAT=1; AC_SUBST([HAVE_MKFIFOAT]) ++ HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD]) ++ HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT]) ++ HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT]) ++ REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT]) ++ REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT]) ++ REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS]) ++ REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) ++ REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) ++ REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO]) ++ REPLACE_MKNOD=0; AC_SUBST([REPLACE_MKNOD]) ++ REPLACE_STAT=0; AC_SUBST([REPLACE_STAT]) ++ REPLACE_UTIMENSAT=0; AC_SUBST([REPLACE_UTIMENSAT]) ++]) ++m4trace:m4/sys_time_h.m4:11: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H], [ ++ dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement ++ dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1 ++ dnl statements that occur in other macros. ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY]) ++]) ++m4trace:m4/sys_time_h.m4:19: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) ++ AC_CHECK_HEADERS_ONCE([sys/time.h]) ++ gl_CHECK_NEXT_HEADERS([sys/time.h]) ++ ++ if test $ac_cv_header_sys_time_h != yes; then ++ HAVE_SYS_TIME_H=0 ++ fi ++ ++ AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#if HAVE_SYS_TIME_H ++ #include ++ #endif ++ #include ++ ]], ++ [[static struct timeval x; x.tv_sec = x.tv_usec;]])], ++ [gl_cv_sys_struct_timeval=yes], ++ [gl_cv_sys_struct_timeval=no])]) ++ if test $gl_cv_sys_struct_timeval != yes; then ++ HAVE_STRUCT_TIMEVAL=0 ++ fi ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[ ++#if HAVE_SYS_TIME_H ++# include ++#endif ++#include ++ ]], [gettimeofday]) ++]) ++m4trace:m4/sys_time_h.m4:55: -1- AC_DEFUN([gl_SYS_TIME_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/sys_time_h.m4:64: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_DEFAULTS], [ ++ GNULIB_GETTIMEOFDAY=0; AC_SUBST([GNULIB_GETTIMEOFDAY]) ++ dnl Assume POSIX behavior unless another module says otherwise. ++ HAVE_GETTIMEOFDAY=1; AC_SUBST([HAVE_GETTIMEOFDAY]) ++ HAVE_STRUCT_TIMEVAL=1; AC_SUBST([HAVE_STRUCT_TIMEVAL]) ++ HAVE_SYS_TIME_H=1; AC_SUBST([HAVE_SYS_TIME_H]) ++ REPLACE_GETTIMEOFDAY=0; AC_SUBST([REPLACE_GETTIMEOFDAY]) ++]) ++m4trace:m4/sys_wait_h.m4:7: -1- AC_DEFUN([gl_SYS_WAIT_H], [ ++ AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS]) ++ ++ dnl is always overridden, because of GNULIB_POSIXCHECK. ++ gl_CHECK_NEXT_HEADERS([sys/wait.h]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ]], ++ [waitpid]) ++]) ++m4trace:m4/sys_wait_h.m4:20: -1- AC_DEFUN([gl_SYS_WAIT_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/sys_wait_h.m4:29: -1- AC_DEFUN([gl_SYS_WAIT_H_DEFAULTS], [ ++ GNULIB_WAITPID=0; AC_SUBST([GNULIB_WAITPID]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++]) ++m4trace:m4/tempname.m4:10: -1- AC_DEFUN([gl_FUNC_GEN_TEMPNAME], [ ++ AC_REQUIRE([AC_SYS_LARGEFILE]) ++ ++ AC_LIBOBJ([tempname]) ++ gl_PREREQ_TEMPNAME ++]) ++m4trace:m4/tempname.m4:19: -1- AC_DEFUN([gl_PREREQ_TEMPNAME], [ ++ : ++]) ++m4trace:m4/threadlib.m4:29: -1- AC_DEFUN([gl_THREADLIB_EARLY], [ ++ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) ++]) ++m4trace:m4/threadlib.m4:36: -1- AC_DEFUN([gl_THREADLIB_EARLY_BODY], [ ++ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that ++ dnl influences the result of the autoconf tests that test for *_unlocked ++ dnl declarations, on AIX 5 at least. Therefore it must come early. ++ AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl ++ AC_BEFORE([$0], [gl_ARGP])dnl ++ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. ++ dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes ++ dnl AC_GNU_SOURCE. ++ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], ++ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], ++ [AC_REQUIRE([AC_GNU_SOURCE])]) ++ dnl Check for multithreading. ++ m4_ifdef([gl_THREADLIB_DEFAULT_NO], ++ [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], ++ [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) ++ AC_ARG_ENABLE([threads], ++AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ ++AC_HELP_STRING([--disable-threads], [build without multithread safety])]), ++ [gl_use_threads=$enableval], ++ [if test -n "$gl_use_threads_default"; then ++ gl_use_threads="$gl_use_threads_default" ++ else ++changequote(,)dnl ++ case "$host_os" in ++ dnl Disable multithreading by default on OSF/1, because it interferes ++ dnl with fork()/exec(): When msgexec is linked with -lpthread, its ++ dnl child process gets an endless segmentation fault inside execvp(). ++ dnl Disable multithreading by default on Cygwin 1.5.x, because it has ++ dnl bugs that lead to endless loops or crashes. See ++ dnl . ++ osf*) gl_use_threads=no ;; ++ cygwin*) ++ case `uname -r` in ++ 1.[0-5].*) gl_use_threads=no ;; ++ *) gl_use_threads=yes ;; ++ esac ++ ;; ++ *) gl_use_threads=yes ;; ++ esac ++changequote([,])dnl ++ fi ++ ]) ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then ++ # For using : ++ case "$host_os" in ++ osf*) ++ # On OSF/1, the compiler needs the flag -D_REENTRANT so that it ++ # groks . cc also understands the flag -pthread, but ++ # we don't use it because 1. gcc-2.95 doesn't understand -pthread, ++ # 2. putting a flag into CPPFLAGS that has an effect on the linker ++ # causes the AC_LINK_IFELSE test below to succeed unexpectedly, ++ # leading to wrong values of LIBTHREAD and LTLIBTHREAD. ++ CPPFLAGS="$CPPFLAGS -D_REENTRANT" ++ ;; ++ esac ++ # Some systems optimize for single-threaded programs by default, and ++ # need special flags to disable these optimizations. For example, the ++ # definition of 'errno' in . ++ case "$host_os" in ++ aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; ++ solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; ++ esac ++ fi ++]) ++m4trace:m4/threadlib.m4:107: -1- AC_DEFUN([gl_THREADLIB_BODY], [ ++ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) ++ gl_threads_api=none ++ LIBTHREAD= ++ LTLIBTHREAD= ++ LIBMULTITHREAD= ++ LTLIBMULTITHREAD= ++ if test "$gl_use_threads" != no; then ++ dnl Check whether the compiler and linker support weak declarations. ++ AC_CACHE_CHECK([whether imported symbols can be declared weak], ++ [gl_cv_have_weak], ++ [gl_cv_have_weak=no ++ dnl First, test whether the compiler accepts it syntactically. ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[extern void xyzzy (); ++#pragma weak xyzzy]], ++ [[xyzzy();]])], ++ [gl_cv_have_weak=maybe]) ++ if test $gl_cv_have_weak = maybe; then ++ dnl Second, test whether it actually works. On Cygwin 1.7.2, with ++ dnl gcc 4.3, symbols declared weak always evaluate to the address 0. ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#pragma weak fputs ++int main () ++{ ++ return (fputs == NULL); ++}]])], ++ [gl_cv_have_weak=yes], ++ [gl_cv_have_weak=no], ++ [dnl When cross-compiling, assume that only ELF platforms support ++ dnl weak symbols. ++ AC_EGREP_CPP([Extensible Linking Format], ++ [#ifdef __ELF__ ++ Extensible Linking Format ++ #endif ++ ], ++ [gl_cv_have_weak="guessing yes"], ++ [gl_cv_have_weak="guessing no"]) ++ ]) ++ fi ++ ]) ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then ++ # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that ++ # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. ++ AC_CHECK_HEADER([pthread.h], ++ [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) ++ if test "$gl_have_pthread_h" = yes; then ++ # Other possible tests: ++ # -lpthreads (FSU threads, PCthreads) ++ # -lgthreads ++ gl_have_pthread= ++ # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist ++ # in libc. IRIX 6.5 has the first one in both libc and libpthread, but ++ # the second one only in libpthread, and lock.c needs it. ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[pthread_mutex_lock((pthread_mutex_t*)0); ++ pthread_mutexattr_init((pthread_mutexattr_t*)0);]])], ++ [gl_have_pthread=yes]) ++ # Test for libpthread by looking for pthread_kill. (Not pthread_self, ++ # since it is defined as a macro on OSF/1.) ++ if test -n "$gl_have_pthread"; then ++ # The program links fine without libpthread. But it may actually ++ # need to link with libpthread in order to create multiple threads. ++ AC_CHECK_LIB([pthread], [pthread_kill], ++ [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread ++ # On Solaris and HP-UX, most pthread functions exist also in libc. ++ # Therefore pthread_in_use() needs to actually try to create a ++ # thread: pthread_create from libc will fail, whereas ++ # pthread_create will actually create a thread. ++ case "$host_os" in ++ solaris* | hpux*) ++ AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], ++ [Define if the pthread_in_use() detection is hard.]) ++ esac ++ ]) ++ else ++ # Some library is needed. Try libpthread and libc_r. ++ AC_CHECK_LIB([pthread], [pthread_kill], ++ [gl_have_pthread=yes ++ LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread ++ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) ++ if test -z "$gl_have_pthread"; then ++ # For FreeBSD 4. ++ AC_CHECK_LIB([c_r], [pthread_kill], ++ [gl_have_pthread=yes ++ LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r ++ LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) ++ fi ++ fi ++ if test -n "$gl_have_pthread"; then ++ gl_threads_api=posix ++ AC_DEFINE([USE_POSIX_THREADS], [1], ++ [Define if the POSIX multithreading library can be used.]) ++ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], ++ [Define if references to the POSIX multithreading library should be made weak.]) ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ fi ++ fi ++ fi ++ if test -z "$gl_have_pthread"; then ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then ++ gl_have_solaristhread= ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS -lthread" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[ ++#include ++#include ++ ]], ++ [[thr_self();]])], ++ [gl_have_solaristhread=yes]) ++ LIBS="$gl_save_LIBS" ++ if test -n "$gl_have_solaristhread"; then ++ gl_threads_api=solaris ++ LIBTHREAD=-lthread ++ LTLIBTHREAD=-lthread ++ LIBMULTITHREAD="$LIBTHREAD" ++ LTLIBMULTITHREAD="$LTLIBTHREAD" ++ AC_DEFINE([USE_SOLARIS_THREADS], [1], ++ [Define if the old Solaris multithreading library can be used.]) ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1], ++ [Define if references to the old Solaris multithreading library should be made weak.]) ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ fi ++ fi ++ if test "$gl_use_threads" = pth; then ++ gl_save_CPPFLAGS="$CPPFLAGS" ++ AC_LIB_LINKFLAGS([pth]) ++ gl_have_pth= ++ gl_save_LIBS="$LIBS" ++ LIBS="$LIBS $LIBPTH" ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM([[#include ]], [[pth_self();]])], ++ [gl_have_pth=yes]) ++ LIBS="$gl_save_LIBS" ++ if test -n "$gl_have_pth"; then ++ gl_threads_api=pth ++ LIBTHREAD="$LIBPTH" ++ LTLIBTHREAD="$LTLIBPTH" ++ LIBMULTITHREAD="$LIBTHREAD" ++ LTLIBMULTITHREAD="$LTLIBTHREAD" ++ AC_DEFINE([USE_PTH_THREADS], [1], ++ [Define if the GNU Pth multithreading library can be used.]) ++ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then ++ AC_DEFINE([USE_PTH_THREADS_WEAK], [1], ++ [Define if references to the GNU Pth multithreading library should be made weak.]) ++ LIBTHREAD= ++ LTLIBTHREAD= ++ fi ++ fi ++ else ++ CPPFLAGS="$gl_save_CPPFLAGS" ++ fi ++ fi ++ if test -z "$gl_have_pthread"; then ++ if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then ++ if { case "$host_os" in ++ mingw*) true;; ++ *) false;; ++ esac ++ }; then ++ gl_threads_api=win32 ++ AC_DEFINE([USE_WIN32_THREADS], [1], ++ [Define if the Win32 multithreading API can be used.]) ++ fi ++ fi ++ fi ++ fi ++ AC_MSG_CHECKING([for multithread API to use]) ++ AC_MSG_RESULT([$gl_threads_api]) ++ AC_SUBST([LIBTHREAD]) ++ AC_SUBST([LTLIBTHREAD]) ++ AC_SUBST([LIBMULTITHREAD]) ++ AC_SUBST([LTLIBMULTITHREAD]) ++]) ++m4trace:m4/threadlib.m4:300: -1- AC_DEFUN([gl_THREADLIB], [ ++ AC_REQUIRE([gl_THREADLIB_EARLY]) ++ AC_REQUIRE([gl_THREADLIB_BODY]) ++]) ++m4trace:m4/threadlib.m4:313: -1- AC_DEFUN([gl_DISABLE_THREADS], [ ++ m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) ++]) ++m4trace:m4/time_h.m4:13: -1- AC_DEFUN([gl_HEADER_TIME_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_HEADER_TIME_H_BODY]) ++]) ++m4trace:m4/time_h.m4:20: -1- AC_DEFUN([gl_HEADER_TIME_H_BODY], [ ++ AC_REQUIRE([AC_C_RESTRICT]) ++ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ gl_NEXT_HEADERS([time.h]) ++ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) ++]) ++m4trace:m4/time_h.m4:31: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [ ++ AC_CHECK_HEADERS_ONCE([sys/time.h]) ++ AC_CACHE_CHECK([for struct timespec in ], ++ [gl_cv_sys_struct_timespec_in_time_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], ++ [gl_cv_sys_struct_timespec_in_time_h=yes], ++ [gl_cv_sys_struct_timespec_in_time_h=no])]) ++ ++ TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 ++ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 ++ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then ++ TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ AC_CACHE_CHECK([for struct timespec in ], ++ [gl_cv_sys_struct_timespec_in_sys_time_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], ++ [gl_cv_sys_struct_timespec_in_sys_time_h=yes], ++ [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) ++ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then ++ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 ++ else ++ AC_CACHE_CHECK([for struct timespec in ], ++ [gl_cv_sys_struct_timespec_in_pthread_h], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], ++ [gl_cv_sys_struct_timespec_in_pthread_h=yes], ++ [gl_cv_sys_struct_timespec_in_pthread_h=no])]) ++ if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then ++ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 ++ fi ++ fi ++ fi ++ AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) ++ AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) ++ AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) ++]) ++m4trace:m4/time_h.m4:81: -1- AC_DEFUN([gl_TIME_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/time_h.m4:90: -1- AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], [ ++ GNULIB_MKTIME=0; AC_SUBST([GNULIB_MKTIME]) ++ GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP]) ++ GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) ++ GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) ++ GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) ++ HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) ++ HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) ++ HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) ++ dnl If another module says to replace or to not replace, do that. ++ dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; ++ dnl this lets maintainers check for portability. ++ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) ++ REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME]) ++ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) ++ REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) ++]) ++m4trace:m4/tls.m4:9: -1- AC_DEFUN([gl_TLS], [ ++ AC_REQUIRE([gl_THREADLIB]) ++]) ++m4trace:m4/tmpdir.m4:9: -1- AC_DEFUN([gt_TMPDIR], [ ++ AC_CHECK_FUNCS([__secure_getenv]) ++]) ++m4trace:m4/ungetc.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [ ++ AC_REQUIRE([AC_PROG_CC]) ++ ++ AC_CACHE_CHECK([whether ungetc works on arbitrary bytes], ++ [gl_cv_func_ungetc_works], ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++#include ++ ]], [FILE *f; ++ if (!(f = fopen ("conftest.tmp", "w+"))) return 1; ++ if (fputs ("abc", f) < 0) return 2; ++ rewind (f); ++ if (fgetc (f) != 'a') return 3; ++ if (fgetc (f) != 'b') return 4; ++ if (ungetc ('d', f) != 'd') return 5; ++ if (ftell (f) != 1) return 6; ++ if (fgetc (f) != 'd') return 7; ++ if (ftell (f) != 2) return 8; ++ if (fseek (f, 0, SEEK_CUR) != 0) return 9; ++ if (ftell (f) != 2) return 10; ++ if (fgetc (f) != 'c') return 11; ++ fclose (f); remove ("conftest.tmp");])], ++ [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no], ++ [gl_cv_func_ungetc_works='guessing no']) ++ ]) ++ if test "$gl_cv_func_ungetc_works" != yes; then ++ AC_DEFINE([FUNC_UNGETC_BROKEN], [1], ++ [Define to 1 if ungetc is broken when used on arbitrary bytes.]) ++ fi ++]) ++m4trace:m4/unistd-safer.m4:7: -1- AC_DEFUN([gl_UNISTD_SAFER], [ ++ AC_CHECK_FUNCS_ONCE([pipe]) ++ AC_LIBOBJ([dup-safer]) ++ AC_LIBOBJ([fd-safer]) ++ AC_LIBOBJ([pipe-safer]) ++]) ++m4trace:m4/unistd_h.m4:9: -1- AC_DEFUN([gl_UNISTD_H], [ ++ dnl Use AC_REQUIRE here, so that the default behavior below is expanded ++ dnl once only, before all statements that occur in other macros. ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ gl_CHECK_NEXT_HEADERS([unistd.h]) ++ if test $ac_cv_header_unistd_h = yes; then ++ HAVE_UNISTD_H=1 ++ else ++ HAVE_UNISTD_H=0 ++ fi ++ AC_SUBST([HAVE_UNISTD_H]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[#include ++/* Some systems declare various items in the wrong headers. */ ++#if !(defined __GLIBC__ && !defined __UCLIBC__) ++# include ++# include ++# include ++# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++# include ++# endif ++#endif ++ ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat ++ fsync ftruncate getcwd getdomainname getdtablesize getgroups ++ gethostname getlogin getlogin_r getpagesize getusershell setusershell ++ endusershell lchown link linkat lseek pipe pipe2 pread pwrite readlink ++ readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat ++ usleep]) ++]) ++m4trace:m4/unistd_h.m4:44: -1- AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/unistd_h.m4:53: -1- AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ ++ GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) ++ GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) ++ GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) ++ GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) ++ GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) ++ GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) ++ GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) ++ GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) ++ GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) ++ GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) ++ GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) ++ GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) ++ GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) ++ GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) ++ GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS]) ++ GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) ++ GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN]) ++ GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) ++ GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) ++ GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) ++ GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) ++ GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) ++ GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT]) ++ GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) ++ GNULIB_PIPE=0; AC_SUBST([GNULIB_PIPE]) ++ GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2]) ++ GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD]) ++ GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE]) ++ GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) ++ GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT]) ++ GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR]) ++ GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) ++ GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK]) ++ GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT]) ++ GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R]) ++ GNULIB_UNISTD_H_GETOPT=0; AC_SUBST([GNULIB_UNISTD_H_GETOPT]) ++ GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) ++ GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK]) ++ GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT]) ++ GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP]) ++ GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) ++ HAVE_DUP2=1; AC_SUBST([HAVE_DUP2]) ++ HAVE_DUP3=1; AC_SUBST([HAVE_DUP3]) ++ HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) ++ HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) ++ HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) ++ HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) ++ HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) ++ HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) ++ HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) ++ HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS]) ++ HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) ++ HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN]) ++ HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) ++ HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN]) ++ HAVE_LINK=1; AC_SUBST([HAVE_LINK]) ++ HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT]) ++ HAVE_PIPE=1; AC_SUBST([HAVE_PIPE]) ++ HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2]) ++ HAVE_PREAD=1; AC_SUBST([HAVE_PREAD]) ++ HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE]) ++ HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) ++ HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT]) ++ HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) ++ HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK]) ++ HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT]) ++ HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT]) ++ HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) ++ HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) ++ HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) ++ HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) ++ HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) ++ HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) ++ HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) ++ HAVE_DECL_TTYNAME_R=1; AC_SUBST([HAVE_DECL_TTYNAME_R]) ++ HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) ++ HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) ++ REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) ++ REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) ++ REPLACE_DUP=0; AC_SUBST([REPLACE_DUP]) ++ REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2]) ++ REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT]) ++ REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) ++ REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME]) ++ REPLACE_GETLOGIN_R=0; AC_SUBST([REPLACE_GETLOGIN_R]) ++ REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS]) ++ REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) ++ REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) ++ REPLACE_LINK=0; AC_SUBST([REPLACE_LINK]) ++ REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT]) ++ REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) ++ REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD]) ++ REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE]) ++ REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK]) ++ REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR]) ++ REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP]) ++ REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK]) ++ REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R]) ++ REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK]) ++ REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT]) ++ REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP]) ++ REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) ++ UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) ++ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; ++ AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) ++]) ++m4trace:m4/unlocked-io.m4:17: -1- AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO], [ ++ AC_DEFINE([USE_UNLOCKED_IO], [1], ++ [Define to 1 if you want getc etc. to use unlocked I/O if available. ++ Unlocked I/O can improve performance in unithreaded apps, ++ but it is not safe for multithreaded apps.]) ++ ++ dnl Persuade glibc and Solaris to declare ++ dnl fgets_unlocked(), fputs_unlocked() etc. ++ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ++ ++ AC_CHECK_DECLS_ONCE([clearerr_unlocked]) ++ AC_CHECK_DECLS_ONCE([feof_unlocked]) ++ AC_CHECK_DECLS_ONCE([ferror_unlocked]) ++ AC_CHECK_DECLS_ONCE([fflush_unlocked]) ++ AC_CHECK_DECLS_ONCE([fgets_unlocked]) ++ AC_CHECK_DECLS_ONCE([fputc_unlocked]) ++ AC_CHECK_DECLS_ONCE([fputs_unlocked]) ++ AC_CHECK_DECLS_ONCE([fread_unlocked]) ++ AC_CHECK_DECLS_ONCE([fwrite_unlocked]) ++ AC_CHECK_DECLS_ONCE([getc_unlocked]) ++ AC_CHECK_DECLS_ONCE([getchar_unlocked]) ++ AC_CHECK_DECLS_ONCE([putc_unlocked]) ++ AC_CHECK_DECLS_ONCE([putchar_unlocked]) ++]) ++m4trace:m4/vasnprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VASNPRINTF], [ ++ AC_CHECK_FUNCS_ONCE([vasnprintf]) ++ if test $ac_cv_func_vasnprintf = no; then ++ gl_REPLACE_VASNPRINTF ++ fi ++]) ++m4trace:m4/vasnprintf.m4:15: -1- AC_DEFUN([gl_REPLACE_VASNPRINTF], [ ++ AC_CHECK_FUNCS_ONCE([vasnprintf]) ++ AC_LIBOBJ([vasnprintf]) ++ AC_LIBOBJ([printf-args]) ++ AC_LIBOBJ([printf-parse]) ++ AC_LIBOBJ([asnprintf]) ++ if test $ac_cv_func_vasnprintf = yes; then ++ AC_DEFINE([REPLACE_VASNPRINTF], [1], ++ [Define if vasnprintf exists but is overridden by gnulib.]) ++ fi ++ gl_PREREQ_PRINTF_ARGS ++ gl_PREREQ_PRINTF_PARSE ++ gl_PREREQ_VASNPRINTF ++ gl_PREREQ_ASNPRINTF ++]) ++m4trace:m4/vasnprintf.m4:33: -1- AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++]) ++m4trace:m4/vasnprintf.m4:41: -1- AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ ++ AC_REQUIRE([gl_FEATURES_H]) ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ AC_REQUIRE([AC_TYPE_SIZE_T]) ++ AC_CHECK_TYPE([ptrdiff_t], , ++ [AC_DEFINE([ptrdiff_t], [long], ++ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ++ ]) ++ AC_REQUIRE([gt_AC_TYPE_INTMAX_T]) ++]) ++m4trace:m4/vasnprintf.m4:56: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([AC_FUNC_ALLOCA]) ++ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ++ AC_REQUIRE([gt_TYPE_WCHAR_T]) ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) ++ dnl Use the _snprintf function only if it is declared (because on NetBSD it ++ dnl is defined as a weak alias of snprintf; we prefer to use the latter). ++ AC_CHECK_DECLS([_snprintf], , , [#include ]) ++ dnl We can avoid a lot of code by assuming that snprintf's return value ++ dnl conforms to ISO C99. So check that. ++ AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) ++ case "$gl_cv_func_snprintf_retval_c99" in ++ *yes) ++ AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1], ++ [Define if the return value of the snprintf function is the number of ++ of bytes (excluding the terminating NUL) that would have been produced ++ if the buffer had been large enough.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:82: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'long double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:98: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_INFINITE]) ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ infinite 'double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:114: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [ ++ AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) ++ dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if ++ dnl NEED_PRINTF_LONG_DOUBLE is already set. ++ AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE]) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ infinite 'long double' arguments.]) ++ ;; ++ esac ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:136: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [ ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1], ++ [Define if the vasnprintf implementation needs special code for ++ the 'a' and 'A' directives.]) ++ AC_CHECK_FUNCS([nl_langinfo]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:152: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [ ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1], ++ [Define if the vasnprintf implementation needs special code for ++ the 'F' directive.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:167: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [ ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1], ++ [Define if the vasnprintf implementation needs special code for ++ the 'ls' directive.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:182: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [ ++ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1], ++ [Define if the vasnprintf implementation needs special code for the ++ ' flag.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:197: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [ ++ AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1], ++ [Define if the vasnprintf implementation needs special code for the ++ '-' flag.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:212: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [ ++ AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1], ++ [Define if the vasnprintf implementation needs special code for the ++ 0 flag.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:227: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [ ++ AC_REQUIRE([gl_PRINTF_PRECISION]) ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1], ++ [Define if the vasnprintf implementation needs special code for ++ supporting large precisions without arbitrary bounds.]) ++ AC_DEFINE([NEED_PRINTF_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'double' arguments.]) ++ AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'long double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:249: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [ ++ AC_REQUIRE([gl_PRINTF_ENOMEM]) ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ ;; ++ *) ++ AC_DEFINE([NEED_PRINTF_ENOMEM], [1], ++ [Define if the vasnprintf implementation needs special code for ++ surviving out-of-memory conditions.]) ++ AC_DEFINE([NEED_PRINTF_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'double' arguments.]) ++ AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], ++ [Define if the vasnprintf implementation needs special code for ++ 'long double' arguments.]) ++ ;; ++ esac ++]) ++m4trace:m4/vasnprintf.m4:270: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [ ++ AC_REQUIRE([gl_PREREQ_VASNPRINTF]) ++ gl_PREREQ_VASNPRINTF_LONG_DOUBLE ++ gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE ++ gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_A ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_F ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_LS ++ gl_PREREQ_VASNPRINTF_FLAG_GROUPING ++ gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST ++ gl_PREREQ_VASNPRINTF_FLAG_ZERO ++ gl_PREREQ_VASNPRINTF_PRECISION ++ gl_PREREQ_VASNPRINTF_ENOMEM ++]) ++m4trace:m4/vasnprintf.m4:287: -1- AC_DEFUN([gl_PREREQ_ASNPRINTF], [ ++]) ++m4trace:m4/vasprintf-posix.m4:7: -1- AC_DEFUN([gl_FUNC_VASPRINTF_POSIX], [ ++ AC_REQUIRE([gl_PRINTF_SIZES_C99]) ++ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) ++ AC_REQUIRE([gl_PRINTF_INFINITE]) ++ AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_N]) ++ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) ++ AC_REQUIRE([gl_PRINTF_POSITIONS]) ++ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) ++ AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) ++ AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) ++ AC_REQUIRE([gl_PRINTF_PRECISION]) ++ AC_REQUIRE([gl_PRINTF_ENOMEM]) ++ gl_cv_func_vasprintf_posix=no ++ AC_CHECK_FUNCS([vasprintf]) ++ case "$gl_cv_func_printf_sizes_c99" in ++ *yes) ++ case "$gl_cv_func_printf_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_infinite" in ++ *yes) ++ case "$gl_cv_func_printf_infinite_long_double" in ++ *yes) ++ case "$gl_cv_func_printf_directive_a" in ++ *yes) ++ case "$gl_cv_func_printf_directive_f" in ++ *yes) ++ case "$gl_cv_func_printf_directive_n" in ++ *yes) ++ case "$gl_cv_func_printf_directive_ls" in ++ *yes) ++ case "$gl_cv_func_printf_positions" in ++ *yes) ++ case "$gl_cv_func_printf_flag_grouping" in ++ *yes) ++ case "$gl_cv_func_printf_flag_leftadjust" in ++ *yes) ++ case "$gl_cv_func_printf_flag_zero" in ++ *yes) ++ case "$gl_cv_func_printf_precision" in ++ *yes) ++ case "$gl_cv_func_printf_enomem" in ++ *yes) ++ if test $ac_cv_func_vasprintf = yes; then ++ # vasprintf exists and is ++ # already POSIX compliant. ++ gl_cv_func_vasprintf_posix=yes ++ fi ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ ;; ++ esac ++ if test $gl_cv_func_vasprintf_posix = no; then ++ gl_PREREQ_VASNPRINTF_LONG_DOUBLE ++ gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE ++ gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_A ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_F ++ gl_PREREQ_VASNPRINTF_DIRECTIVE_LS ++ gl_PREREQ_VASNPRINTF_FLAG_GROUPING ++ gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST ++ gl_PREREQ_VASNPRINTF_FLAG_ZERO ++ gl_PREREQ_VASNPRINTF_PRECISION ++ gl_PREREQ_VASNPRINTF_ENOMEM ++ gl_REPLACE_VASNPRINTF ++ gl_REPLACE_VASPRINTF ++ fi ++]) ++m4trace:m4/vasprintf.m4:8: -1- AC_DEFUN([gl_FUNC_VASPRINTF], [ ++ AC_CHECK_FUNCS([vasprintf]) ++ if test $ac_cv_func_vasprintf = no; then ++ gl_REPLACE_VASPRINTF ++ fi ++]) ++m4trace:m4/vasprintf.m4:16: -1- AC_DEFUN([gl_REPLACE_VASPRINTF], [ ++ AC_LIBOBJ([vasprintf]) ++ AC_LIBOBJ([asprintf]) ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ if test $ac_cv_func_vasprintf = yes; then ++ REPLACE_VASPRINTF=1 ++ else ++ HAVE_VASPRINTF=0 ++ fi ++ gl_PREREQ_VASPRINTF_H ++ gl_PREREQ_VASPRINTF ++ gl_PREREQ_ASPRINTF ++]) ++m4trace:m4/vasprintf.m4:32: -1- AC_DEFUN([gl_PREREQ_VASPRINTF_H], [ ++ dnl Persuade glibc to declare asprintf() and vasprintf(). ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++]) ++m4trace:m4/vasprintf.m4:39: -1- AC_DEFUN([gl_PREREQ_VASPRINTF], [ ++]) ++m4trace:m4/vasprintf.m4:44: -1- AC_DEFUN([gl_PREREQ_ASPRINTF], [ ++]) ++m4trace:m4/version-etc.m4:20: -1- AC_DEFUN([gl_VERSION_ETC], [dnl ++ gl_VERSION_ETC_FLAG([packager], ++ [String identifying the packager of this software]) ++ gl_VERSION_ETC_FLAG([packager-version], ++ [Packager-specific version information]) ++ gl_VERSION_ETC_FLAG([packager-bug-reports], ++ [Packager info for bug reports (URL/e-mail/...)]) ++ if test "X$with_packager" = "X" && \ ++ test "X$with_packager_version$with_packager_bug_reports" != "X" ++ then ++ AC_MSG_ERROR([The --with-packager-{bug-reports,version} options require --with-packager]) ++ fi ++]) ++m4trace:m4/wait-process.m4:7: -1- AC_DEFUN([gl_WAIT_PROCESS], [ ++ dnl Prerequisites of lib/wait-process.c. ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T]) ++ AC_CHECK_FUNCS([waitid]) ++]) ++m4trace:m4/waitpid.m4:7: -1- AC_DEFUN([gl_FUNC_WAITPID], [ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ case $host_os in ++ mingw*) ++ AC_LIBOBJ([waitpid]) ++ ;; ++ esac ++]) ++m4trace:m4/warnings.m4:21: -1- AC_DEFUN([gl_WARN_ADD], [AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl ++AC_CACHE_CHECK([whether compiler handles $1], [gl_Warn], [ ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="${CPPFLAGS} $1" ++ AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])], ++ [AS_VAR_SET([gl_Warn], [yes])], ++ [AS_VAR_SET([gl_Warn], [no])]) ++ CPPFLAGS="$save_CPPFLAGS" ++]) ++AS_VAR_PUSHDEF([gl_Flags], m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]))dnl ++AS_VAR_IF([gl_Warn], [yes], [gl_AS_VAR_APPEND([gl_Flags], [" $1"])]) ++AS_VAR_POPDEF([gl_Flags])dnl ++AS_VAR_POPDEF([gl_Warn])dnl ++m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl ++]) ++m4trace:m4/wchar_h.m4:12: -1- AC_DEFUN([gl_WCHAR_H], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) ++ dnl Prepare for creating substitute . ++ dnl Check for (missing in Linux uClibc when built without wide ++ dnl character support). ++ dnl is always overridden, because of GNULIB_POSIXCHECK. ++ gl_CHECK_NEXT_HEADERS([wchar.h]) ++ if test $ac_cv_header_wchar_h = yes; then ++ HAVE_WCHAR_H=1 ++ else ++ HAVE_WCHAR_H=0 ++ fi ++ AC_SUBST([HAVE_WCHAR_H]) ++ ++ AC_REQUIRE([gl_FEATURES_H]) ++ ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ AC_SUBST([HAVE_WINT_T]) ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#if !(defined __GLIBC__ && !defined __UCLIBC__) ++# include ++# include ++# include ++#endif ++#include ++ ]], ++ [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb ++ wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset ++ wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp ++ wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr ++ wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth ++ ]) ++]) ++m4trace:m4/wchar_h.m4:61: -1- AC_DEFUN([gl_WCHAR_H_INLINE_OK], [ ++ dnl Test whether suffers due to the transition from '__inline' to ++ dnl 'gnu_inline'. See ++ dnl and . In summary, ++ dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and ++ dnl the option -std=c99 or -std=gnu99, leads to a broken . ++ AC_CACHE_CHECK([whether uses 'inline' correctly], ++ [gl_cv_header_wchar_h_correct_inline], ++ [gl_cv_header_wchar_h_correct_inline=yes ++ AC_LANG_CONFTEST([ ++ AC_LANG_SOURCE([[#define wcstod renamed_wcstod ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++extern int zero (void); ++int main () { return zero(); } ++]])]) ++ if AC_TRY_EVAL([ac_compile]); then ++ mv conftest.$ac_objext conftest1.$ac_objext ++ AC_LANG_CONFTEST([ ++ AC_LANG_SOURCE([[#define wcstod renamed_wcstod ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int zero (void) { return 0; } ++]])]) ++ if AC_TRY_EVAL([ac_compile]); then ++ mv conftest.$ac_objext conftest2.$ac_objext ++ if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then ++ : ++ else ++ gl_cv_header_wchar_h_correct_inline=no ++ fi ++ fi ++ fi ++ rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext ++ ]) ++ if test $gl_cv_header_wchar_h_correct_inline = no; then ++ AC_MSG_ERROR([ cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). ++This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in ++C99 mode. You have four options: ++ - Add the flag -fgnu89-inline to CC and reconfigure, or ++ - Fix your include files, using parts of ++ , or ++ - Use a gcc version older than 4.3, or ++ - Don't use the flags -std=c99 or -std=gnu99. ++Configuration aborted.]) ++ fi ++]) ++m4trace:m4/wchar_h.m4:123: -1- AC_DEFUN([gl_REPLACE_WCHAR_H], [ ++ dnl This is a no-op, because is always overridden. ++ : ++]) ++m4trace:m4/wchar_h.m4:129: -1- AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/wchar_h.m4:138: -1- AC_DEFUN([gl_WCHAR_H_DEFAULTS], [ ++ GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC]) ++ GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB]) ++ GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT]) ++ GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC]) ++ GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN]) ++ GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS]) ++ GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS]) ++ GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB]) ++ GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS]) ++ GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS]) ++ GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH]) ++ GNULIB_WMEMCHR=0; AC_SUBST([GNULIB_WMEMCHR]) ++ GNULIB_WMEMCMP=0; AC_SUBST([GNULIB_WMEMCMP]) ++ GNULIB_WMEMCPY=0; AC_SUBST([GNULIB_WMEMCPY]) ++ GNULIB_WMEMMOVE=0; AC_SUBST([GNULIB_WMEMMOVE]) ++ GNULIB_WMEMSET=0; AC_SUBST([GNULIB_WMEMSET]) ++ GNULIB_WCSLEN=0; AC_SUBST([GNULIB_WCSLEN]) ++ GNULIB_WCSNLEN=0; AC_SUBST([GNULIB_WCSNLEN]) ++ GNULIB_WCSCPY=0; AC_SUBST([GNULIB_WCSCPY]) ++ GNULIB_WCPCPY=0; AC_SUBST([GNULIB_WCPCPY]) ++ GNULIB_WCSNCPY=0; AC_SUBST([GNULIB_WCSNCPY]) ++ GNULIB_WCPNCPY=0; AC_SUBST([GNULIB_WCPNCPY]) ++ GNULIB_WCSCAT=0; AC_SUBST([GNULIB_WCSCAT]) ++ GNULIB_WCSNCAT=0; AC_SUBST([GNULIB_WCSNCAT]) ++ GNULIB_WCSCMP=0; AC_SUBST([GNULIB_WCSCMP]) ++ GNULIB_WCSNCMP=0; AC_SUBST([GNULIB_WCSNCMP]) ++ GNULIB_WCSCASECMP=0; AC_SUBST([GNULIB_WCSCASECMP]) ++ GNULIB_WCSNCASECMP=0; AC_SUBST([GNULIB_WCSNCASECMP]) ++ GNULIB_WCSCOLL=0; AC_SUBST([GNULIB_WCSCOLL]) ++ GNULIB_WCSXFRM=0; AC_SUBST([GNULIB_WCSXFRM]) ++ GNULIB_WCSDUP=0; AC_SUBST([GNULIB_WCSDUP]) ++ GNULIB_WCSCHR=0; AC_SUBST([GNULIB_WCSCHR]) ++ GNULIB_WCSRCHR=0; AC_SUBST([GNULIB_WCSRCHR]) ++ GNULIB_WCSCSPN=0; AC_SUBST([GNULIB_WCSCSPN]) ++ GNULIB_WCSSPN=0; AC_SUBST([GNULIB_WCSSPN]) ++ GNULIB_WCSPBRK=0; AC_SUBST([GNULIB_WCSPBRK]) ++ GNULIB_WCSSTR=0; AC_SUBST([GNULIB_WCSSTR]) ++ GNULIB_WCSTOK=0; AC_SUBST([GNULIB_WCSTOK]) ++ GNULIB_WCSWIDTH=0; AC_SUBST([GNULIB_WCSWIDTH]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) ++ HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) ++ HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC]) ++ HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN]) ++ HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS]) ++ HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS]) ++ HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB]) ++ HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS]) ++ HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS]) ++ HAVE_WMEMCHR=1; AC_SUBST([HAVE_WMEMCHR]) ++ HAVE_WMEMCMP=1; AC_SUBST([HAVE_WMEMCMP]) ++ HAVE_WMEMCPY=1; AC_SUBST([HAVE_WMEMCPY]) ++ HAVE_WMEMMOVE=1; AC_SUBST([HAVE_WMEMMOVE]) ++ HAVE_WMEMSET=1; AC_SUBST([HAVE_WMEMSET]) ++ HAVE_WCSLEN=1; AC_SUBST([HAVE_WCSLEN]) ++ HAVE_WCSNLEN=1; AC_SUBST([HAVE_WCSNLEN]) ++ HAVE_WCSCPY=1; AC_SUBST([HAVE_WCSCPY]) ++ HAVE_WCPCPY=1; AC_SUBST([HAVE_WCPCPY]) ++ HAVE_WCSNCPY=1; AC_SUBST([HAVE_WCSNCPY]) ++ HAVE_WCPNCPY=1; AC_SUBST([HAVE_WCPNCPY]) ++ HAVE_WCSCAT=1; AC_SUBST([HAVE_WCSCAT]) ++ HAVE_WCSNCAT=1; AC_SUBST([HAVE_WCSNCAT]) ++ HAVE_WCSCMP=1; AC_SUBST([HAVE_WCSCMP]) ++ HAVE_WCSNCMP=1; AC_SUBST([HAVE_WCSNCMP]) ++ HAVE_WCSCASECMP=1; AC_SUBST([HAVE_WCSCASECMP]) ++ HAVE_WCSNCASECMP=1; AC_SUBST([HAVE_WCSNCASECMP]) ++ HAVE_WCSCOLL=1; AC_SUBST([HAVE_WCSCOLL]) ++ HAVE_WCSXFRM=1; AC_SUBST([HAVE_WCSXFRM]) ++ HAVE_WCSDUP=1; AC_SUBST([HAVE_WCSDUP]) ++ HAVE_WCSCHR=1; AC_SUBST([HAVE_WCSCHR]) ++ HAVE_WCSRCHR=1; AC_SUBST([HAVE_WCSRCHR]) ++ HAVE_WCSCSPN=1; AC_SUBST([HAVE_WCSCSPN]) ++ HAVE_WCSSPN=1; AC_SUBST([HAVE_WCSSPN]) ++ HAVE_WCSPBRK=1; AC_SUBST([HAVE_WCSPBRK]) ++ HAVE_WCSSTR=1; AC_SUBST([HAVE_WCSSTR]) ++ HAVE_WCSTOK=1; AC_SUBST([HAVE_WCSTOK]) ++ HAVE_WCSWIDTH=1; AC_SUBST([HAVE_WCSWIDTH]) ++ HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB]) ++ HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH]) ++ REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T]) ++ REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC]) ++ REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB]) ++ REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT]) ++ REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC]) ++ REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN]) ++ REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS]) ++ REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS]) ++ REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB]) ++ REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS]) ++ REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS]) ++ REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH]) ++ REPLACE_WCSWIDTH=0; AC_SUBST([REPLACE_WCSWIDTH]) ++]) ++m4trace:m4/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [ ++ AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ wchar_t foo = (wchar_t)'\0';]], ++ [[]])], ++ [gt_cv_c_wchar_t=yes], ++ [gt_cv_c_wchar_t=no])]) ++ if test $gt_cv_c_wchar_t = yes; then ++ AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) ++ fi ++]) ++m4trace:m4/wcrtomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCRTOMB], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ ++ AC_REQUIRE([AC_TYPE_MBSTATE_T]) ++ gl_MBSTATE_T_BROKEN ++ ++ AC_CHECK_FUNCS_ONCE([wcrtomb]) ++ if test $ac_cv_func_wcrtomb = no; then ++ HAVE_WCRTOMB=0 ++ else ++ if test $REPLACE_MBSTATE_T = 1; then ++ REPLACE_WCRTOMB=1 ++ else ++ dnl On AIX 4.3, OSF/1 5.1 and Solaris 10, wcrtomb (NULL, 0, NULL) sometimes ++ dnl returns 0 instead of 1. ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_FR]) ++ AC_REQUIRE([gt_LOCALE_FR_UTF8]) ++ AC_REQUIRE([gt_LOCALE_JA]) ++ AC_REQUIRE([gt_LOCALE_ZH_CN]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether wcrtomb return value is correct], ++ [gl_cv_func_wcrtomb_retval], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on AIX 4, OSF/1 and Solaris. ++ aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_wcrtomb_retval="guessing yes" ;; ++ esac ++changequote([,])dnl ++ if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ int result = 0; ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 1; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 2; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 4; ++ } ++ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) ++ { ++ if (wcrtomb (NULL, 0, NULL) != 1) ++ result |= 8; ++ } ++ return result; ++}]])], ++ [gl_cv_func_wcrtomb_retval=yes], ++ [gl_cv_func_wcrtomb_retval=no], ++ [:]) ++ fi ++ ]) ++ case "$gl_cv_func_wcrtomb_retval" in ++ *yes) ;; ++ *) REPLACE_WCRTOMB=1 ;; ++ esac ++ fi ++ fi ++ if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then ++ gl_REPLACE_WCHAR_H ++ AC_LIBOBJ([wcrtomb]) ++ gl_PREREQ_WCRTOMB ++ fi ++]) ++m4trace:m4/wcrtomb.m4:99: -1- AC_DEFUN([gl_PREREQ_WCRTOMB], [ ++ : ++]) ++m4trace:m4/wctob.m4:7: -1- AC_DEFUN([gl_FUNC_WCTOB], [ ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ ++ AC_CHECK_FUNCS_ONCE([wctob]) ++ if test $ac_cv_func_wctob = no; then ++ HAVE_DECL_WCTOB=0 ++ gl_REPLACE_WCHAR_H ++ AC_LIBOBJ([wctob]) ++ gl_PREREQ_WCTOB ++ else ++ ++ dnl Solaris 9 has the wctob() function but it does not work. ++ dnl Cygwin 1.7.2 has the wctob() function but it clobbers caller-owned ++ dnl registers, see . ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([gt_LOCALE_FR]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles ++ AC_CACHE_CHECK([whether wctob works], ++ [gl_cv_func_wctob_works], ++ [ ++ dnl Initial guess, used when cross-compiling or when no suitable locale ++ dnl is present. ++changequote(,)dnl ++ case "$host_os" in ++ # Guess no on Solaris <= 9 and Cygwin. ++ solaris2.[1-9] | solaris2.[1-9].* | cygwin*) ++ gl_cv_func_wctob_works="guessing no" ;; ++ # Guess yes otherwise. ++ *) gl_cv_func_wctob_works="guessing yes" ;; ++ esac ++changequote([,])dnl ++ case "$host_os" in ++ cygwin*) ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++ ++register long global __asm__ ("%ebx"); ++ ++int main () ++{ ++ setlocale (LC_ALL, "en_US.UTF-8"); ++ ++ global = 0x12345678; ++ if (wctob (0x00FC) != -1) ++ return 1; ++ if (global != 0x12345678) ++ return 2; ++ return 0; ++}]])], ++ [:], ++ [gl_cv_func_wctob_works=no], ++ [:]) ++ ;; ++ esac ++ if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++#include ++#include ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#include ++#include ++#include ++#include ++int main () ++{ ++ if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) ++ { ++ wchar_t wc; ++ ++ if (mbtowc (&wc, "\374", 1) == 1) ++ if (wctob (wc) != (unsigned char) '\374') ++ return 1; ++ } ++ return 0; ++}]])], ++ [gl_cv_func_wctob_works=yes], ++ [gl_cv_func_wctob_works=no], ++ [:]) ++ fi ++ ]) ++ case "$gl_cv_func_wctob_works" in ++ *yes) ;; ++ *) REPLACE_WCTOB=1 ;; ++ esac ++ if test $REPLACE_WCTOB = 1; then ++ gl_REPLACE_WCHAR_H ++ AC_LIBOBJ([wctob]) ++ gl_PREREQ_WCTOB ++ else ++ ++ dnl IRIX 6.5 has the wctob() function but does not declare it. ++ AC_CHECK_DECLS([wctob], [], [], [ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++]) ++ if test $ac_cv_have_decl_wctob != yes; then ++ HAVE_DECL_WCTOB=0 ++ gl_REPLACE_WCHAR_H ++ fi ++ fi ++ fi ++]) ++m4trace:m4/wctob.m4:131: -1- AC_DEFUN([gl_PREREQ_WCTOB], [ ++ : ++]) ++m4trace:m4/wctomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCTOMB], [ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ ++ if false; then ++ REPLACE_WCTOMB=1 ++ fi ++ if test $REPLACE_WCTOMB = 1; then ++ AC_LIBOBJ([wctomb]) ++ gl_PREREQ_WCTOMB ++ fi ++]) ++m4trace:m4/wctomb.m4:21: -1- AC_DEFUN([gl_PREREQ_WCTOMB], [ ++ : ++]) ++m4trace:m4/wctype_h.m4:12: -1- AC_DEFUN([gl_WCTYPE_H], [ ++ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CHECK_FUNCS_ONCE([iswcntrl]) ++ if test $ac_cv_func_iswcntrl = yes; then ++ HAVE_ISWCNTRL=1 ++ else ++ HAVE_ISWCNTRL=0 ++ fi ++ AC_SUBST([HAVE_ISWCNTRL]) ++ ++ AC_REQUIRE([AC_C_INLINE]) ++ ++ AC_REQUIRE([gt_TYPE_WINT_T]) ++ if test $gt_cv_c_wint_t = yes; then ++ HAVE_WINT_T=1 ++ else ++ HAVE_WINT_T=0 ++ fi ++ AC_SUBST([HAVE_WINT_T]) ++ ++ gl_CHECK_NEXT_HEADERS([wctype.h]) ++ if test $ac_cv_header_wctype_h = yes; then ++ if test $ac_cv_func_iswcntrl = yes; then ++ dnl Linux libc5 has an iswprint function that returns 0 for all arguments. ++ dnl The other functions are likely broken in the same way. ++ AC_CACHE_CHECK([whether iswcntrl works], [gl_cv_func_iswcntrl_works], ++ [ ++ AC_RUN_IFELSE( ++ [AC_LANG_SOURCE([[ ++ /* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #include ++ int main () { return iswprint ('x') == 0; } ++ ]])], ++ [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no], ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ++ #if __GNU_LIBRARY__ == 1 ++ Linux libc5 i18n is broken. ++ #endif]], [])], ++ [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no]) ++ ]) ++ ]) ++ fi ++ HAVE_WCTYPE_H=1 ++ else ++ HAVE_WCTYPE_H=0 ++ fi ++ AC_SUBST([HAVE_WCTYPE_H]) ++ ++ if test "$gl_cv_func_iswcntrl_works" = no; then ++ REPLACE_ISWCNTRL=1 ++ else ++ REPLACE_ISWCNTRL=0 ++ fi ++ AC_SUBST([REPLACE_ISWCNTRL]) ++ ++ if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then ++ dnl Redefine all of iswcntrl, ..., towupper in . ++ : ++ fi ++ ++ dnl We assume that the wctype() and iswctype() functions exist if and only ++ dnl if the type wctype_t is defined in or in if that ++ dnl exists. ++ dnl HP-UX 11.00 declares all these in and lacks . ++ AC_CACHE_CHECK([for wctype_t], [gl_cv_type_wctype_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #if HAVE_WCTYPE_H ++ # include ++ #endif ++ wctype_t a; ++ ]], ++ [[]])], ++ [gl_cv_type_wctype_t=yes], ++ [gl_cv_type_wctype_t=no]) ++ ]) ++ if test $gl_cv_type_wctype_t = no; then ++ HAVE_WCTYPE_T=0 ++ fi ++ ++ dnl We assume that the wctrans() and towctrans() functions exist if and only ++ dnl if the type wctrans_t is defined in . ++ AC_CACHE_CHECK([for wctrans_t], [gl_cv_type_wctrans_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[/* Tru64 with Desktop Toolkit C has a bug: must be ++ included before . ++ BSD/OS 4.0.1 has a bug: , and ++ must be included before . */ ++ #include ++ #include ++ #include ++ #include ++ #include ++ wctrans_t a; ++ ]], ++ [[]])], ++ [gl_cv_type_wctrans_t=yes], ++ [gl_cv_type_wctrans_t=no]) ++ ]) ++ if test $gl_cv_type_wctrans_t = no; then ++ HAVE_WCTRANS_T=0 ++ fi ++ ++ dnl Check for declarations of anything we want to poison if the ++ dnl corresponding gnulib module is not in use. ++ gl_WARN_ON_USE_PREPARE([[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#if !(defined __GLIBC__ && !defined __UCLIBC__) ++# include ++# include ++# include ++# include ++#endif ++#include ++ ]], ++ [wctype iswctype wctrans towctrans ++ ]) ++]) ++m4trace:m4/wctype_h.m4:153: -1- AC_DEFUN([gl_WCTYPE_MODULE_INDICATOR], [ ++ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. ++ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) ++ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ++ dnl Define it also as a C macro, for the benefit of the unit tests. ++ gl_MODULE_INDICATOR_FOR_TESTS([$1]) ++]) ++m4trace:m4/wctype_h.m4:162: -1- AC_DEFUN([gl_WCTYPE_H_DEFAULTS], [ ++ GNULIB_ISWBLANK=0; AC_SUBST([GNULIB_ISWBLANK]) ++ GNULIB_WCTYPE=0; AC_SUBST([GNULIB_WCTYPE]) ++ GNULIB_ISWCTYPE=0; AC_SUBST([GNULIB_ISWCTYPE]) ++ GNULIB_WCTRANS=0; AC_SUBST([GNULIB_WCTRANS]) ++ GNULIB_TOWCTRANS=0; AC_SUBST([GNULIB_TOWCTRANS]) ++ dnl Assume proper GNU behavior unless another module says otherwise. ++ HAVE_ISWBLANK=1; AC_SUBST([HAVE_ISWBLANK]) ++ HAVE_WCTYPE_T=1; AC_SUBST([HAVE_WCTYPE_T]) ++ HAVE_WCTRANS_T=1; AC_SUBST([HAVE_WCTRANS_T]) ++ REPLACE_ISWBLANK=0; AC_SUBST([REPLACE_ISWBLANK]) ++]) ++m4trace:m4/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [ ++ AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be included ++ before . */ ++#include ++#include ++#include ++#include ++ wint_t foo = (wchar_t)'\0';]], ++ [[]])], ++ [gt_cv_c_wint_t=yes], ++ [gt_cv_c_wint_t=no])]) ++ if test $gt_cv_c_wint_t = yes; then ++ AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) ++ fi ++]) ++m4trace:m4/xalloc.m4:7: -1- AC_DEFUN([gl_XALLOC], [ ++ AC_LIBOBJ([xmalloc]) ++ ++ gl_PREREQ_XALLOC ++ gl_PREREQ_XMALLOC ++]) ++m4trace:m4/xalloc.m4:16: -1- AC_DEFUN([gl_PREREQ_XALLOC], [ ++ AC_REQUIRE([gl_INLINE]) ++ : ++]) ++m4trace:m4/xalloc.m4:22: -1- AC_DEFUN([gl_PREREQ_XMALLOC], [ ++ : ++]) ++m4trace:m4/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [ ++ dnl Prerequisites of lib/xsize.h. ++ AC_REQUIRE([gl_SIZE_MAX]) ++ AC_REQUIRE([AC_C_INLINE]) ++ AC_CHECK_HEADERS([stdint.h]) ++]) ++m4trace:m4/xstrndup.m4:7: -1- AC_DEFUN([gl_XSTRNDUP], [ ++ gl_PREREQ_XSTRNDUP ++]) ++m4trace:m4/xstrndup.m4:13: -1- AC_DEFUN([gl_PREREQ_XSTRNDUP], [ ++ : ++]) ++m4trace:m4/xvasprintf.m4:7: -1- AC_DEFUN([gl_XVASPRINTF], [ ++ dnl Prerequisites of lib/xvasprintf.c. ++ AC_REQUIRE([AC_C_INLINE]) ++]) ++m4trace:acinclude.m4:12: -1- AC_DEFUN([M4_WITH_DMALLOC], [AC_MSG_CHECKING([if malloc debugging is wanted]) ++AC_ARG_WITH([dmalloc], ++[AS_HELP_STRING([--with-dmalloc], ++ [use dmalloc, as in dmalloc.tar.gz from ++ @/ftp.antaire.com:antaire/src/dmalloc.])], ++[if test "$withval" = yes; then ++ AC_MSG_RESULT([yes]) ++ AC_DEFINE([WITH_DMALLOC], [1], [Define to 1 if malloc debugging is enabled]) ++ LIBS="$LIBS -ldmalloc" ++ LDFLAGS="$LDFLAGS -g" ++else ++ AC_MSG_RESULT([no]) ++fi], [AC_MSG_RESULT([no])])]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?A[CHUM]_]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([_AC_]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^AS_FLAGS$]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?m4_]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^dnl$]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?AS_]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^SHELL$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PATH_SEPARATOR$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^exec_prefix$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^prefix$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^program_transform_name$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^bindir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^sbindir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^libexecdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^datadir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^sysconfdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^sharedstatedir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^localstatedir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^includedir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^oldincludedir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^infodir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^libdir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^mandir$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^DEFS$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_C$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_N$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_T$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^build_alias$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^host_alias$]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^target_alias$]) ++m4trace:configure.ac:25: -1- AM_INIT_AUTOMAKE([1.11.1 dist-bzip2 dist-xz color-tests parallel-tests ++silent-rules gnu]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) ++m4trace:configure.ac:25: -1- AM_SET_CURRENT_AUTOMAKE_VERSION ++m4trace:configure.ac:25: -1- AM_AUTOMAKE_VERSION([1.13.2]) ++m4trace:configure.ac:25: -1- _AM_AUTOCONF_VERSION([2.69]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_DATA$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__isrc$]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([am__isrc]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^CYGPATH_W$]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTIONS([1.11.1 dist-bzip2 dist-xz color-tests parallel-tests ++silent-rules gnu]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([1.11.1]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([1.11.1]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([dist-bzip2]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([dist-bzip2]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([dist-xz]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([dist-xz]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([color-tests]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([color-tests]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([parallel-tests]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([parallel-tests]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([silent-rules]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([silent-rules]) ++m4trace:configure.ac:25: -1- _AM_SET_OPTION([gnu]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([gnu]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.ac:25: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) ++ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([no-define]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.ac:25: -1- AM_SANITY_CHECK ++m4trace:configure.ac:25: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) ++m4trace:configure.ac:25: -1- AM_MISSING_HAS_RUN ++m4trace:configure.ac:25: -1- AM_AUX_DIR_EXPAND ++m4trace:configure.ac:25: -1- m4_pattern_allow([^ACLOCAL$]) ++m4trace:configure.ac:25: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOCONF$]) ++m4trace:configure.ac:25: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOMAKE$]) ++m4trace:configure.ac:25: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOHEADER$]) ++m4trace:configure.ac:25: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^MAKEINFO$]) ++m4trace:configure.ac:25: -1- AM_PROG_INSTALL_SH ++m4trace:configure.ac:25: -1- m4_pattern_allow([^install_sh$]) ++m4trace:configure.ac:25: -1- AM_PROG_INSTALL_STRIP ++m4trace:configure.ac:25: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) ++m4trace:configure.ac:25: -1- AC_PROG_MKDIR_P ++m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^mkdir_p$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AWK$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^SET_MAKE$]) ++m4trace:configure.ac:25: -1- AM_SET_LEADING_DOT ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__leading_dot$]) ++m4trace:configure.ac:25: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], ++ [_AM_PROG_TAR([v7])])]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([tar-ustar]) ++m4trace:configure.ac:25: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([tar-pax]) ++m4trace:configure.ac:25: -1- _AM_PROG_TAR([v7]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AMTAR$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__tar$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__untar$]) ++m4trace:configure.ac:25: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], ++ [_AM_DEPENDENCIES([CC])], ++ [m4_define([AC_PROG_CC], ++ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_CXX], ++ [_AM_DEPENDENCIES([CXX])], ++ [m4_define([AC_PROG_CXX], ++ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJC], ++ [_AM_DEPENDENCIES([OBJC])], ++ [m4_define([AC_PROG_OBJC], ++ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl ++AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], ++ [_AM_DEPENDENCIES([OBJCXX])], ++ [m4_define([AC_PROG_OBJCXX], ++ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ++]) ++m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([no-dependencies]) ++m4trace:configure.ac:25: -1- AM_SILENT_RULES ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_V$]) ++m4trace:configure.ac:25: -1- AM_SUBST_NOTMAKE([AM_V]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_V]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_V$]) ++m4trace:configure.ac:25: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_BACKSLASH$]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) ++m4trace:configure.ac:28: -1- m4_pattern_forbid([^M4_[A-Z]]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^EXEEXT$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^OBJEXT$]) ++m4trace:configure.ac:33: -1- _AM_DEPENDENCIES([CC]) ++m4trace:configure.ac:33: -1- AM_SET_DEPDIR ++m4trace:configure.ac:33: -1- m4_pattern_allow([^DEPDIR$]) ++m4trace:configure.ac:33: -1- AM_OUTPUT_DEPENDENCY_COMMANDS ++m4trace:configure.ac:33: -1- AM_MAKE_INCLUDE ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__include$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__quote$]) ++m4trace:configure.ac:33: -1- AM_DEP_TRACK ++m4trace:configure.ac:33: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_TRUE$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_FALSE$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__nodep$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__nodep]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CCDEPMODE$]) ++m4trace:configure.ac:33: -1- AM_CONDITIONAL([am__fastdepCC], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) ++m4trace:configure.ac:34: -1- AC_DEFUN([gl_CXX_CHOICE_DEFAULT_NO]) ++m4trace:configure.ac:35: -1- M4_EARLY ++m4trace:configure.ac:35: -1- m4_pattern_forbid([^gl_[A-Z]]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_ES$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LIBOBJS$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.ac:35: -1- AM_PROG_CC_C_O ++m4trace:configure.ac:35: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$]) ++m4trace:configure.ac:35: -1- AB_INIT ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.ac:35: -1- gl_USE_SYSTEM_EXTENSIONS ++m4trace:configure.ac:35: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... ++m4/gnulib-comp.m4:22: M4_EARLY is expanded from... ++configure.ac:35: the top level]) ++m4trace:configure.ac:35: -1- AC_USE_SYSTEM_EXTENSIONS ++m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^STDC_HEADERS$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_MINIX$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^__EXTENSIONS__$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_GNU_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.ac:35: -1- gl_FP_IEEE ++m4trace:configure.ac:35: -1- gl_THREADLIB_EARLY ++m4trace:configure.ac:35: -1- gl_THREADLIB_EARLY_BODY ++m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... ++m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... ++m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... ++m4/gnulib-comp.m4:22: M4_EARLY is expanded from... ++configure.ac:35: the top level]) ++m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... ++m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... ++m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... ++m4/gnulib-comp.m4:22: M4_EARLY is expanded from... ++configure.ac:35: the top level]) ++m4trace:configure.ac:40: -1- gl_ASSERT_NO_GNULIB_POSIXCHECK ++m4trace:configure.ac:40: -1- AC_DEFUN([gl_WARN_ON_USE_PREPARE], []) ++m4trace:configure.ac:43: -1- gl_DISABLE_THREADS ++m4trace:configure.ac:57: -1- gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) ++m4trace:configure.ac:57: -1- m4_pattern_allow([^WERROR_CFLAGS$]) ++m4trace:configure.ac:58: -1- m4_pattern_allow([^WERROR_CFLAGS$]) ++m4trace:configure.ac:77: -1- gl_MANYWARN_ALL_GCC([ws]) ++m4trace:configure.ac:78: -1- gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) ++m4trace:configure.ac:80: -1- gl_WARN_ADD([$w]) ++m4trace:configure.ac:83: -1- gl_WARN_ADD([-fdiagnostics-show-option]) ++m4trace:configure.ac:84: -1- gl_WARN_ADD([-funit-at-a-time]) ++m4trace:configure.ac:86: -1- m4_pattern_allow([^WARN_CFLAGS$]) ++m4trace:configure.ac:88: -1- m4_pattern_allow([^_FORTIFY_SOURCE$]) ++m4trace:configure.ac:95: -1- AC_TYPE_LONG_LONG_INT ++m4trace:configure.ac:95: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT ++m4trace:configure.ac:95: -1- _AC_TYPE_LONG_LONG_SNIPPET ++m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.ac:96: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT ++m4trace:configure.ac:96: -1- _AC_TYPE_LONG_LONG_SNIPPET ++m4trace:configure.ac:96: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.ac:104: -1- M4_INIT ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.ac:104: -1- gl_COMMON ++m4trace:configure.ac:104: -1- gl_00GNULIB ++m4trace:configure.ac:104: -1- gl_COMMON_BODY ++m4trace:configure.ac:104: -1- gl_FUNC_ALLOCA ++m4trace:configure.ac:104: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^C_ALLOCA$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STACK_DIRECTION$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_ALLOCA ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA_H$]) ++m4trace:configure.ac:104: -1- gl_ASSERT ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NDEBUG$]) ++m4trace:configure.ac:104: -1- gl_FUNC_BTOWC ++m4trace:configure.ac:104: -1- gl_WCHAR_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_BTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSINIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCRTOMB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCWIDTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMMOVE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMSET$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCOLL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSXFRM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCSPN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSPN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSPBRK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSTOK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSWIDTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSINIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCRTOMB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMMOVE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMSET$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCOLL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSXFRM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCSPN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSPN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSPBRK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSTOK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSWIDTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_BTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSINIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCRTOMB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCWIDTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSWIDTH$]) ++m4trace:configure.ac:104: -1- gl_WCHAR_H_INLINE_OK ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- AM_LANGINFO_CODESET ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([btowc.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_BTOWC ++m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([btowc]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([btowc]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([btowc]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$]) ++m4trace:configure.ac:104: -1- gl_C_STACK ++m4trace:configure.ac:104: -1- gl_PREREQ_C_STACK ++m4trace:configure.ac:104: -1- AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_setrlimit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setrlimit"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_ucontext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" ucontext.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FAULT_YIELDS_SIGBUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_OVERFLOW_HANDLING$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGALTSTACK_SS_REVERSED$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XSI_STACK_OVERFLOW_HEURISTIC$]) ++m4trace:configure.ac:104: -1- gl_LIBSIGSEGV ++m4trace:configure.ac:104: -1- AC_LIB_HAVE_LINKFLAGS([sigsegv], [], [#include ], [sigsegv_deinstall_handler();], [no, consider installing GNU libsigsegv]) ++m4trace:configure.ac:104: -1- AC_LIB_PREPARE_PREFIX ++m4trace:configure.ac:104: -1- AC_LIB_RPATH ++m4trace:configure.ac:104: -1- AC_LIB_PROG_LD ++m4trace:configure.ac:104: -1- AC_LIB_PROG_LD_GNU ++m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS_BODY([sigsegv], []) ++m4trace:configure.ac:104: -1- AC_LIB_PREPARE_MULTILIB ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_sigaltstack], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaltstack"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SIGALTSTACK$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_ucontext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" ucontext.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBCSTACK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBCSTACK$]) ++m4trace:configure.ac:104: -1- gl_CANONICALIZE_LGPL ++m4trace:configure.ac:104: -1- gl_CANONICALIZE_LGPL_SEPARATE ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_canonicalize_file_name], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" canonicalize_file_name"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_getcwd], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getcwd"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_readlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlink"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_DOUBLE_SLASH_ROOT ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_REALPATH_WORKS ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_realpath], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" realpath"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_REALPATH_WORKS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([canonicalize-lgpl.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([canonicalize-lgpl.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([canonicalize-lgpl]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_LGPL$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) ++m4trace:configure.ac:104: -1- gl_STDLIB_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB__EXIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATOLL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GRANTPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PTSNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RANDOM_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALPATH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RPMATCH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOLL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOULL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYSTEM_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNSETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOMB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__EXIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATOLL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETSUBOPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GRANTPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTSNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_REALPATH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RPMATCH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOULL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLOCKPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CALLOC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MALLOC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBTOWC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKSTEMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PUTENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALLOC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALPATH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNSETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOMB$]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([canonicalize_file_name]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([canonicalize_file_name]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([realpath]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([realpath]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([realpath]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_REALPATH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGNAL_SAFE_LIST$]) ++m4trace:configure.ac:104: -1- gl_CLOEXEC ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([cloexec.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOEXEC$]) ++m4trace:configure.ac:104: -1- gl_FUNC_CLOSE ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([close]) ++m4trace:configure.ac:104: -1- gl_UNISTD_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CHOWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP3$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ENVIRON$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FACCESSAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHDIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSYNC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETCWD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETGROUPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHOWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSEEK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PWRITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RMDIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_USLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WRITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CHOWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP3$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EUIDACCESS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FACCESSAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHDIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHOWNAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSYNC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETGROUPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETLOGIN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHOWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PWRITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_USLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDOMAINNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CHOWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CLOSE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETCWD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDOMAINNAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLOGIN_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETGROUPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LCHOWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSEEK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PWRITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_READLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RMDIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SYMLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINKAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_USLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WRITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([close]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([close]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOSE$]) ++m4trace:configure.ac:104: -1- gl_CLOSE_STREAM ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([close-stream.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([close-stream]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE_STREAM$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_CLOSEIN ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([closein.c]) ++m4trace:configure.ac:104: -1- gl_CLOSEOUT ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([closeout.c]) ++m4trace:configure.ac:104: -1- gl_CONFIG_H ++m4trace:configure.ac:104: -1- gl_CONFIGMAKE_PREP ++m4trace:configure.ac:104: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^lispdir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^pkglibexecdir$]) ++m4trace:configure.ac:104: -1- gl_DIRNAME ++m4trace:configure.ac:104: -1- gl_DIRNAME_LGPL ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([basename-lgpl.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([dirname-lgpl.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([stripslash.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([basename.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([dirname.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([dirname]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DIRNAME$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_DIRNAME_LGPL ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([basename-lgpl.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([dirname-lgpl.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([stripslash.c]) ++m4trace:configure.ac:104: -1- gl_DOUBLE_SLASH_ROOT ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_DUP2 ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_dup2], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" dup2"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([dup2.c]) ++m4trace:configure.ac:104: -1- gl_REPLACE_DUP2 ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([dup2.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([dup2]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([dup2]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([dup2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_DUP2$]) ++m4trace:configure.ac:104: -1- gl_ENVIRON ++m4trace:configure.ac:104: -1- gt_CHECK_VAR_DECL([#include ], [environ]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ENVIRON_DECL$]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([environ]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([environ]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([environ]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_ENVIRON$]) ++m4trace:configure.ac:104: -1- gl_HEADER_ERRNO_H ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([errno.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([errno.h], [assume]) ++m4trace:configure.ac:104: -1- gl_INCLUDE_NEXT ++m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_COLUMNS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_ERRNO_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ERRNO_H$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EMULTIHOP], [EMULTIHOP], [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_VALUE$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_ERRNO_VALUE([ENOLINK]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_ENOLINK], [ENOLINK], [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_HIDDEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_VALUE$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EOVERFLOW], [EOVERFLOW], [ ++#define _XOPEN_SOURCE_EXTENDED 1 ++#include ++/* The following two lines are a workaround against an autoconf-2.52 bug. */ ++#include ++#include ++]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_VALUE$]) ++m4trace:configure.ac:104: -1- gl_ERROR ++m4trace:configure.ac:104: -1- AC_FUNC_ERROR_AT_LINE ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([error.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_ERROR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION_INIT ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format]) ++m4trace:configure.ac:104: -1- gl_EXECUTE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^mode_t$]) ++m4trace:configure.ac:104: -1- gl_FATAL_SIGNAL ++m4trace:configure.ac:104: -1- gt_TYPE_SIG_ATOMIC_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^sig_atomic_t$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_PREREQ_SIG_HANDLER_H ++m4trace:configure.ac:104: -1- gl_FUNC_FCLOSE ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fclose]) ++m4trace:configure.ac:104: -1- gl_STDIO_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCLOSE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FFLUSH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPURGE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREOPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEKO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELLO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FWRITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDELIM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLINE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PERROR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTCHAR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REMOVE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAMEAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TMPFILE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VASPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VDPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTELLO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RENAMEAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VDPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCLOSE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FFLUSH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FOPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPURGE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREOPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEKO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELLO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDELIM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLINE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PERROR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REMOVE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAMEAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TMPFILE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VDPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VFPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSPRINTF$]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fclose]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fclose]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCLOSE$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FCNTL ++m4trace:configure.ac:104: -1- gl_FCNTL_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCNTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPENAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCNTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OPENAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCNTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPENAT$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FCNTL ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fcntl.c]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FCNTL ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fcntl.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FCNTL_DUPFD_BUGGY$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FCNTL ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fcntl.c]) ++m4trace:configure.ac:104: -1- gl_FCNTL_MODULE_INDICATOR([fcntl]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fcntl]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fcntl]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCNTL$]) ++m4trace:configure.ac:104: -1- gl_FCNTL_H ++m4trace:configure.ac:104: -1- gl_FCNTL_O_FLAGS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([fcntl.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([fcntl.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FCNTL_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [fcntl openat]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([fd-safer-flag]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FD_SAFER_FLAG$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_FUNC_FFLUSH ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_FFLUSH_STDIN$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FFLUSH ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fflush.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_FFLUSH ++m4trace:configure.ac:104: -1- gl_REPLACE_FSEEKO ++m4trace:configure.ac:104: -1- gl_HAVE_FSEEKO ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fseeko.c]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fflush]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fflush]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fflush]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FFLUSH$]) ++m4trace:configure.ac:104: -1- gl_FILE_NAME_CONCAT ++m4trace:configure.ac:104: -1- gl_FILE_NAME_CONCAT_LGPL ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([filenamecat-lgpl.c]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([filenamecat.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([filenamecat]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FILENAMECAT$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_FILE_NAME_CONCAT_LGPL ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([filenamecat-lgpl.c]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_FLOAT_H ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([float.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([float.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FLOAT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLOAT_H$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FOPEN ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FOPEN_TRAILING_SLASH_BUG$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fopen.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_FOPEN ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fopen]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fopen]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fopen]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FOPEN$]) ++m4trace:configure.ac:104: -1- gl_FOPEN_SAFER ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fopen-safer.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([fopen-safer]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN_SAFER$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_FUNC_FPENDING ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_stdio_ext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdio_ext.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func___fpending], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fpending"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL___FPENDING$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PENDING_OUTPUT_N_BYTES$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fpending.c]) ++m4trace:configure.ac:104: -1- gl_FUNC_FPURGE ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fpurge], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fpurge"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func___fpurge], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fpurge"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fpurge.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fpurge.c]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fpurge]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fpurge]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fpurge]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FPURGE$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FREADING ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func___freading], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __freading"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_FUNC_FREXP_NO_LIBM ++m4trace:configure.ac:104: -1- gl_MATH_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ACOSL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ASINL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEIL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_COSL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOOR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISFINITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISINF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAND$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LDEXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUND$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNBIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SINL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SQRTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ACOSL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ASINL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COSL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LOGL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SINL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SQRTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ACOSL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ASINL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ATANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COSL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_EXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LDEXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUND$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SINL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SQRTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TANL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEIL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOOR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_HUGE_VAL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISFINITE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISINF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISNAN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LDEXPL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NAN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUND$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT_USING_GCC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCL$]) ++m4trace:configure.ac:104: -1- gl_CHECK_FREXP_NO_LIBM ++m4trace:configure.ac:104: -1- gl_FUNC_FREXP_WORKS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([frexp.c]) ++m4trace:configure.ac:104: -1- gl_MATH_MODULE_INDICATOR([frexp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([frexp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([frexp]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXP$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FREXPL_NO_LIBM ++m4trace:configure.ac:104: -1- gl_CHECK_FREXPL_NO_LIBM ++m4trace:configure.ac:104: -1- gl_FUNC_FREXPL_WORKS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([frexpl.c]) ++m4trace:configure.ac:104: -1- gl_MATH_MODULE_INDICATOR([frexpl]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([frexpl]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([frexpl]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXPL$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FSEEKO ++m4trace:configure.ac:104: -1- gl_STDIN_LARGE_OFFSET ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fseeko], [_AC_CHECK_DECLS([fseeko])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FSEEKO ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fseeko.c]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FSEEKO ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fseeko.c]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fseeko]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fseeko]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fseeko]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FSEEKO$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FTELLO ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_ftello], [_AC_CHECK_DECLS([ftello])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_FTELLO ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([ftello.c]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([ftello]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ftello]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([ftello]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELLO$]) ++m4trace:configure.ac:104: -1- gl_FUNC_GETDTABLESIZE ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_getdtablesize], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getdtablesize"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([getdtablesize.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([getdtablesize]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getdtablesize]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([getdtablesize]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETDTABLESIZE$]) ++m4trace:configure.ac:104: -1- gl_FUNC_GETOPT_GNU ++m4trace:configure.ac:104: -1- gl_FUNC_GETOPT_POSIX ++m4trace:configure.ac:104: -1- gl_GETOPT_IFELSE([ ++ gl_REPLACE_GETOPT ++ ], []) ++m4trace:configure.ac:104: -1- gl_GETOPT_CHECK_HEADERS ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([getopt.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([getopt.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_getopt_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" getopt.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_GETOPT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_GETOPT ++m4trace:configure.ac:104: -1- gl_GETOPT_SUBSTITUTE_HEADER ++m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt1.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_GETOPT ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETENV$]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$]) ++m4trace:configure.ac:104: -1- gl_FUNC_GETOPT_POSIX ++m4trace:configure.ac:104: -1- gl_GETOPT_IFELSE([ ++ gl_REPLACE_GETOPT ++ ], []) ++m4trace:configure.ac:104: -1- gl_REPLACE_GETOPT ++m4trace:configure.ac:104: -1- gl_GETOPT_SUBSTITUTE_HEADER ++m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt1.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_GETOPT ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBINTL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBINTL$]) ++m4trace:configure.ac:104: -1- gl_FUNC_GETTIMEOFDAY ++m4trace:configure.ac:104: -1- AC_C_RESTRICT ++m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H ++m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H_BODY ++m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sys/time.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sys/time.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[ ++#if HAVE_SYS_TIME_H ++# include ++#endif ++#include ++ ]], [gettimeofday]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_gettimeofday], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" gettimeofday"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([gettimeofday.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_GETTIMEOFDAY ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.ac:104: -1- gl_FUNC_GETTIMEOFDAY_CLOBBER ++m4trace:configure.ac:104: -1- gl_GETTIMEOFDAY_REPLACE_LOCALTIME ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([gettimeofday.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_GETTIMEOFDAY ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^gmtime$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^localtime$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([gettimeofday.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_GETTIMEOFDAY ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_TIMEZONE$]) ++m4trace:configure.ac:104: -1- gl_SYS_TIME_MODULE_INDICATOR([gettimeofday]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([gettimeofday]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([gettimeofday]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- gl_INLINE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INLINE$]) ++m4trace:configure.ac:104: -1- gl_FUNC_ISNAND_NO_LIBM ++m4trace:configure.ac:104: -1- gl_HAVE_ISNAND_NO_LIBM ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_BUILD_ISNAND ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([isnand.c]) ++m4trace:configure.ac:104: -1- gl_DOUBLE_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_ISNANF_NO_LIBM ++m4trace:configure.ac:104: -1- gl_HAVE_ISNANF_NO_LIBM ++m4trace:configure.ac:104: -1- gl_ISNANF_WORKS ++m4trace:configure.ac:104: -1- gl_FLOAT_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_BUILD_ISNANF ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([isnanf.c]) ++m4trace:configure.ac:104: -1- gl_FLOAT_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_ISNANL_NO_LIBM ++m4trace:configure.ac:104: -1- gl_HAVE_ISNANL_NO_LIBM ++m4trace:configure.ac:104: -1- gl_FUNC_ISNANL_WORKS ++m4trace:configure.ac:104: -1- gl_BIGENDIAN ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WORDS_BIGENDIAN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_BUILD_ISNANL ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([isnanl.c]) ++m4trace:configure.ac:104: -1- gl_LONG_DOUBLE_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- gl_LANGINFO_H ++m4trace:configure.ac:104: -1- gl_LANGINFO_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([langinfo.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([langinfo.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LANGINFO_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [nl_langinfo]) ++m4trace:configure.ac:104: -1- gl_LIBSIGSEGV ++m4trace:configure.ac:104: -1- AC_LIB_HAVE_LINKFLAGS([sigsegv], [], [#include ], [sigsegv_deinstall_handler();], [no, consider installing GNU libsigsegv]) ++m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS_BODY([sigsegv], []) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$]) ++m4trace:configure.ac:104: -1- gl_LIST ++m4trace:configure.ac:104: -1- gl_LOCALCHARSET ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) ++m4trace:configure.ac:104: -1- gl_GLIBC21 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GLIBC21$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$]) ++m4trace:configure.ac:104: -1- gl_LOCK ++m4trace:configure.ac:104: -1- gl_THREADLIB ++m4trace:configure.ac:104: -1- gl_THREADLIB_BODY ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$]) ++m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS([pth]) ++m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS_BODY([pth], []) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([ ++ eval additional_includedir=\"$includedir\" ++ eval additional_libdir=\"$libdir\" ++ ]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCPTH]) ++m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBPTH$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH_PREFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_WIN32_THREADS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTHREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBTHREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBMULTITHREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBMULTITHREAD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_LOCK ++m4trace:configure.ac:104: -1- gl_FUNC_LSEEK ++m4trace:configure.ac:104: -1- gl_REPLACE_LSEEK ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([lseek.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([lseek]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lseek]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([lseek]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSEEK$]) ++m4trace:configure.ac:104: -1- gl_FUNC_LSTAT ++m4trace:configure.ac:104: -1- gl_SYS_STAT_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHMODAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSTATAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FUTIMENS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHMOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSTAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDIRAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFOAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNODAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UTIMENSAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHMODAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSTATAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FUTIMENS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHMOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LSTAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDIRAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFOAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNODAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UTIMENSAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTATAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUTIMENS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSTAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKDIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKFIFO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKNOD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UTIMENSAT$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([lstat.c]) ++m4trace:configure.ac:104: -1- gl_SYS_STAT_MODULE_INDICATOR([lstat]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lstat]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([lstat]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSTAT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MALLOC_GNU ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_MALLOC ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([malloc.c]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([malloc-gnu]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_FUNC_MALLOC_POSIX ++m4trace:configure.ac:104: -1- gl_CHECK_MALLOC_POSIX ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_MALLOC ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([malloc.c]) ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([malloc-posix]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([malloc-posix]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([malloc-posix]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- gl_MALLOCA ++m4trace:configure.ac:104: -1- gl_EEMALLOC ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MALLOC_0_IS_NONNULL$]) ++m4trace:configure.ac:104: -1- gl_MATH_H ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([math.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([math.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_math_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" math.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_MATH_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_MATH_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl ++ ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl]) ++m4trace:configure.ac:104: -1- gl_FUNC_MBRTOWC ++m4trace:configure.ac:104: -1- AC_TYPE_MBSTATE_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSTATE_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^mbstate_t$]) ++m4trace:configure.ac:104: -1- gl_MBSTATE_T_BROKEN ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_MBRTOWC_INCOMPLETE_STATE ++m4trace:configure.ac:104: -1- gt_LOCALE_JA ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- gl_MBRTOWC_SANITYCHECK ++m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_MBRTOWC_NULL_ARG1 ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- gl_MBRTOWC_NULL_ARG2 ++m4trace:configure.ac:104: -1- gl_MBRTOWC_RETVAL ++m4trace:configure.ac:104: -1- gl_MBRTOWC_NUL_RETVAL ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([mbrtowc.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MBRTOWC ++m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([mbrtowc]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbrtowc]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbrtowc]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MBSINIT ++m4trace:configure.ac:104: -1- gl_MBSTATE_T_BROKEN ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_MBRTOWC_INCOMPLETE_STATE ++m4trace:configure.ac:104: -1- gl_MBRTOWC_SANITYCHECK ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([mbsinit.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MBSINIT ++m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([mbsinit]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsinit]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsinit]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MBTOWC ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([mbtowc.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MBTOWC ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([mbtowc]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbtowc]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbtowc]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBTOWC$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MEMCHR ++m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_HEADER_STRING_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMMEM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMPCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMRCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNCAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPBRK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCASESTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOK_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCSPN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPBRK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSPN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPBRK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCASESTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRVERSCMP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMCHR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMMEM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STPNCPY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRCASESTR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNCAT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNDUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNLEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOK_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_memchr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" memchr"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([memchr.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MEMCHR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([memchr]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([memchr]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([memchr]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$]) ++m4trace:configure.ac:104: -1- gt_FUNC_MKDTEMP ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) ++m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MKDTEMP ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([mkdtemp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mkdtemp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mkdtemp]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKDTEMP$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MKSTEMP ++m4trace:configure.ac:104: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mkstemp], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkstemp"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([mkstemp.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MKSTEMP ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([mkstemp.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_MKSTEMP ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([mkstemp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mkstemp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mkstemp]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKSTEMP$]) ++m4trace:configure.ac:104: -1- gl_MULTIARCH ++m4trace:configure.ac:104: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- gl_FUNC_NL_LANGINFO ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_nl_langinfo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nl_langinfo"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_NL_LANGINFO_YESEXPR_WORKS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([nl_langinfo.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([nl_langinfo.c]) ++m4trace:configure.ac:104: -1- gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([nl_langinfo]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([nl_langinfo]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OBSTACK$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([obstack.c]) ++m4trace:configure.ac:104: -1- gl_FUNC_OPEN ++m4trace:configure.ac:104: -1- gl_REPLACE_OPEN ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([open.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_OPEN ++m4trace:configure.ac:104: -1- gl_PROMOTED_TYPE_MODE_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PROMOTED_MODE_T$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^OPEN_TRAILING_SLASH_BUG$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_OPEN ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([open.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_OPEN ++m4trace:configure.ac:104: -1- gl_FCNTL_MODULE_INDICATOR([open]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([open]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([open]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_OPEN$]) ++m4trace:configure.ac:104: -1- gl_LIST ++m4trace:configure.ac:104: -1- gl_PATHMAX ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_pathconf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pathconf"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_FUNC_PIPE2 ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_pipe2], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pipe2"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([pipe2]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([pipe2]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([pipe2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PIPE2$]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([pipe2-safer]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2_SAFER$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN_BODY ++m4trace:configure.ac:104: -1- gl_SPAWN_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_INIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETFLAGS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETFLAGS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETPGROUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETPGROUP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGMASK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGMASK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_DESTROY$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POSIX_SPAWN$]) ++m4trace:configure.ac:104: -1- gl_HAVE_POSIX_SPAWN ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_posix_spawn], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" posix_spawn"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN_WORKS ++m4trace:configure.ac:104: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... ++../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... ++m4/posix_spawn.m4:84: gl_POSIX_SPAWN_WORKS is expanded from... ++m4/posix_spawn.m4:13: gl_POSIX_SPAWN_BODY is expanded from... ++m4/posix_spawn.m4:8: gl_POSIX_SPAWN is expanded from... ++m4/gnulib-comp.m4:377: M4_INIT is expanded from... ++configure.ac:104: the top level]) ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_addclose.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_addclose]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_addclose]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_adddup2.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_adddup2]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_adddup2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_addopen.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_addopen]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_addopen]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_destroy.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_destroy]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_destroy]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_init.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_init]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_init]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_destroy.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_destroy]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_destroy]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_DESTROY$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_init.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_init]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_init]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_INIT$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_setflags.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_setflags]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_setflags]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_setsigmask.c]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_setsigmask]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_setsigmask]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK$]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnp.c]) ++m4trace:configure.ac:104: -1- gl_POSIX_SPAWN_INTERNAL ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawni.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PATHS_H$]) ++m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnp]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnp]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNP$]) ++m4trace:configure.ac:104: -1- gl_FUNC_PRINTF_FREXP ++m4trace:configure.ac:104: -1- gl_FUNC_FREXP_WORKS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_FUNC_PRINTF_FREXPL ++m4trace:configure.ac:104: -1- gl_CHECK_FREXPL_NO_LIBM ++m4trace:configure.ac:104: -1- gl_FUNC_FREXPL_WORKS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_CHECK_LDEXPL_NO_LIBM ++m4trace:configure.ac:104: -1- gl_FUNC_LDEXPL_WORKS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXPL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$]) ++m4trace:configure.ac:104: -1- gl_QUOTEARG ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([quotearg.c]) ++m4trace:configure.ac:104: -1- gl_FUNC_RAWMEMCHR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func]) ++m4trace:configure.ac:104: -1- gl_PREREQ_RAWMEMCHR ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([rawmemchr]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rawmemchr]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([rawmemchr]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- gl_FUNC_READLINK ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_readlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlink"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([readlink.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_READLINK ++m4trace:configure.ac:104: -1- m4_pattern_allow([^READLINK_TRAILING_SLASH_BUG$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([readlink.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([readlink.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([readlink]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([readlink]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([readlink]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_READLINK$]) ++m4trace:configure.ac:104: -1- gl_REGEX ++m4trace:configure.ac:104: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_syntax_options$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_syntax$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_pattern$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_fastmap$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search_2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match_2$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_registers$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_comp$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_exec$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regcomp$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regexec$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regerror$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regfree$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([regex.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_REGEX ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBINTL_H$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_wcscoll], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcscoll"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$]) ++m4trace:configure.ac:104: -1- gl_FUNC_RENAME ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_DEST_BUG$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_SOURCE_BUG$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_HARD_LINK_BUG$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_DEST_EXISTS_BUG$]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([rename]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rename]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([rename]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RENAME$]) ++m4trace:configure.ac:104: -1- gl_FUNC_RMDIR ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([rmdir.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([rmdir]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rmdir]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([rmdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RMDIR$]) ++m4trace:configure.ac:104: -1- gl_SCHED_H ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sched.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sched.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sched_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sched.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SCHED_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SCHED_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SCHED_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SCHED_PARAM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SCHED_H$]) ++m4trace:configure.ac:104: -1- gl_SIGACTION ++m4trace:configure.ac:104: -1- gl_SIGNAL_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNAL_H_SIGPIPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGPROCMASK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGACTION$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SIGNALBLOCKING$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGACTION$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_sigaction], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaction"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([sigaction.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_SIGACTION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^uid_t$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^gid_t$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_sigaltstack], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaltstack"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_siginterrupt], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" siginterrupt"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$]) ++m4trace:configure.ac:104: -1- gl_SIGNAL_MODULE_INDICATOR([sigaction]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sigaction]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([sigaction]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGACTION$]) ++m4trace:configure.ac:104: -1- gl_SIGNAL_H ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([signal.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([signal.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SIGNAL_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [sigaction sigaddset sigdelset sigemptyset sigfillset sigismember ++ sigpending sigprocmask]) ++m4trace:configure.ac:104: -1- gl_SIGNBIT ++m4trace:configure.ac:104: -1- gl_SIGNBIT_TEST_PROGRAM ++m4trace:configure.ac:104: -1- gl_SIGNBIT_TEST_PROGRAM ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([signbitf.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([signbitd.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([signbitl.c]) ++m4trace:configure.ac:104: -1- gl_FLOAT_SIGN_LOCATION ++m4trace:configure.ac:104: -1- gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_BIT$]) ++m4trace:configure.ac:104: -1- gl_DOUBLE_SIGN_LOCATION ++m4trace:configure.ac:104: -1- gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_BIT$]) ++m4trace:configure.ac:104: -1- gl_LONG_DOUBLE_SIGN_LOCATION ++m4trace:configure.ac:104: -1- gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_BIT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNF_IN_LIBC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGN$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGN_IN_LIBC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_MATH_MODULE_INDICATOR([signbit]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([signbit]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([signbit]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGNBIT$]) ++m4trace:configure.ac:104: -1- gl_SIGNALBLOCKING ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([sigprocmask.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_SIGPROCMASK ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$]) ++m4trace:configure.ac:104: -1- gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sigprocmask]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([sigprocmask]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGPROCMASK$]) ++m4trace:configure.ac:104: -1- gl_SIZE_MAX ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include ++#include ], [size_t_bits_minus_1=]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], [fits_in_uint=]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_MAX$]) ++m4trace:configure.ac:104: -1- gl_FUNC_SNPRINTF ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) ++m4trace:configure.ac:104: -1- gl_SNPRINTF_SIZE1 ++m4trace:configure.ac:104: -1- gl_SNPRINTF_RETVAL_C99 ++m4trace:configure.ac:104: -1- gl_REPLACE_SNPRINTF ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([snprintf.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_SNPRINTF ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_snprintf], [_AC_CHECK_DECLS([snprintf])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([snprintf]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([snprintf]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([snprintf]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SNPRINTF$]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([snprintf]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) ++m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_SPAWN_H ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([spawn.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([spawn.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_spawn_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" spawn.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SPAWN_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SPAWN_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SPAWN_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [posix_spawn posix_spawnp posix_spawnattr_init posix_spawnattr_destroy ++ posix_spawnattr_getsigdefault posix_spawnattr_setsigdefault ++ posix_spawnattr_getsigmask posix_spawnattr_setsigmask ++ posix_spawnattr_getflags posix_spawnattr_setflags ++ posix_spawnattr_getpgroup posix_spawnattr_setpgroup ++ posix_spawnattr_getschedpolicy posix_spawnattr_setschedpolicy ++ posix_spawnattr_getschedparam posix_spawnattr_setschedparam ++ posix_spawn_file_actions_init posix_spawn_file_actions_destroy ++ posix_spawn_file_actions_addopen posix_spawn_file_actions_addclose ++ posix_spawn_file_actions_adddup2]) ++m4trace:configure.ac:104: -1- gl_SPAWN_PIPE ++m4trace:configure.ac:104: -1- gt_TYPE_SSIZE_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ssize_t$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STAT ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_DIR$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_FILE$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([stat.c]) ++m4trace:configure.ac:104: -1- gl_SYS_STAT_MODULE_INDICATOR([stat]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([stat]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([stat]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STAT$]) ++m4trace:configure.ac:104: -1- gl_STDARG_H ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDARG_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stdarg.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdarg.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDARG_H$]) ++m4trace:configure.ac:104: -1- gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [ ++ AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ]], ++ [[ ++#ifndef __va_copy ++error, bail out ++#endif ++ ]])], ++ [gl_cv_func___va_copy=yes], ++ [gl_cv_func___va_copy=no])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$]) ++m4trace:configure.ac:104: -1- AM_STDBOOL_H ++m4trace:configure.ac:104: -1- AC_CHECK_HEADER_STDBOOL ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDBOOL_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.ac:104: -1- gl_STDDEF_H ++m4trace:configure.ac:104: -1- gl_STDDEF_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NULL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDDEF_H$]) ++m4trace:configure.ac:104: -1- gt_TYPE_WCHAR_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stddef.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stddef.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDDEF_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$]) ++m4trace:configure.ac:104: -1- gl_STDINT_H ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([stdint.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdint.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdint.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDINT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$]) ++m4trace:configure.ac:104: -1- gl_STDINT_TYPE_PROPERTIES ++m4trace:configure.ac:104: -1- gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES ++#include ], [result=unknown]) ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$]) ++m4trace:configure.ac:104: -1- gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.ac:104: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES ++#include ], [result=unknown]) ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$]) ++m4trace:configure.ac:104: -1- gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$]) ++m4trace:configure.ac:104: -1- gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) ++m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WINT_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDINT_H$]) ++m4trace:configure.ac:104: -1- gl_STDIO_H ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stdio.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdio.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDIO_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat ++ snprintf tmpfile vdprintf vsnprintf]) ++m4trace:configure.ac:104: -1- gl_STDLIB_H ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stdlib.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdlib.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDLIB_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++#if HAVE_SYS_LOADAVG_H ++# include ++#endif ++#if HAVE_RANDOM_H ++# include ++#endif ++ ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp ++ mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r ++ setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt ++ unsetenv]) ++m4trace:configure.ac:104: -1- gl_STDLIB_SAFER ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([mkstemp-safer.c]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRCHRNUL ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func]) ++m4trace:configure.ac:104: -1- gl_PREREQ_STRCHRNUL ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strchrnul]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strchrnul]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strchrnul]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRERROR ++m4trace:configure.ac:104: -1- gl_FUNC_STRERROR_SEPARATE ++m4trace:configure.ac:104: -1- gl_PREREQ_STRERROR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strerror.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strerror]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strerror]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strerror]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$]) ++m4trace:configure.ac:104: -1- gl_HEADER_STRING_H ++m4trace:configure.ac:104: -1- gl_HEADER_STRING_H_BODY ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([string.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([string.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STRING_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup ++ strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r ++ strsignal strverscmp]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRNDUP ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strndup], [_AC_CHECK_DECLS([strndup])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_strndup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strndup"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strndup.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strndup.c]) ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strndup]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strndup]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strndup]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRNLEN ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strnlen], [_AC_CHECK_DECLS([strnlen])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strnlen.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strnlen.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_STRNLEN ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strnlen]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strnlen]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strnlen]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRSIGNAL ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strsignal], [_AC_CHECK_DECLS([strsignal])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strsignal.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_STRSIGNAL ++m4trace:configure.ac:104: -1- _m4_warn([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/specific.m4:39: AC_DECL_SYS_SIGLIST is expanded from... ++m4/strsignal.m4:59: gl_PREREQ_STRSIGNAL is expanded from... ++m4/strsignal.m4:7: gl_FUNC_STRSIGNAL is expanded from... ++m4/gnulib-comp.m4:377: M4_INIT is expanded from... ++configure.ac:104: the top level]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$]) ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strsignal]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strsignal]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strsignal]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRSTR ++m4trace:configure.ac:104: -1- gl_FUNC_STRSTR_SIMPLE ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRSTR_SIMPLE ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c]) ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strstr]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strstr]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strstr]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSTR$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRTOD ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strtod], [_AC_CHECK_DECLS([strtod])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOD$]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([strtod.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_STRTOD ++m4trace:configure.ac:104: -1- gl_CHECK_LDEXP_NO_LIBM ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([strtod]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtod]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strtod]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRTOD$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRTOL ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOL$]) ++m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func]) ++m4trace:configure.ac:104: -1- gl_HEADER_SYS_STAT_H ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$]) ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sys/stat.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sys/stat.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_stat_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/stat.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^nlink_t$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++ ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat ++ mknod mknodat stat utimensat]) ++m4trace:configure.ac:104: -1- AC_PROG_MKDIR_P ++m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H ++m4trace:configure.ac:104: -1- AC_PROG_MKDIR_P ++m4trace:configure.ac:104: -1- gl_SYS_WAIT_H ++m4trace:configure.ac:104: -1- gl_SYS_WAIT_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WAITPID$]) ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sys/wait.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sys/wait.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_wait_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/wait.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ]], [waitpid]) ++m4trace:configure.ac:104: -1- AC_PROG_MKDIR_P ++m4trace:configure.ac:104: -1- gl_FUNC_GEN_TEMPNAME ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([tempname.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_TEMPNAME ++m4trace:configure.ac:104: -1- gl_THREADLIB ++m4trace:configure.ac:104: -1- gl_HEADER_TIME_H ++m4trace:configure.ac:104: -1- gl_HEADER_TIME_H_BODY ++m4trace:configure.ac:104: -1- gl_HEADER_TIME_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKTIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NANOSLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPTIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIMEGM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIME_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NANOSLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPTIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TIMEGM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKTIME$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TIMEGM$]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([time.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([time.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_TIME_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$]) ++m4trace:configure.ac:104: -1- gl_CHECK_TYPE_STRUCT_TIMESPEC ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:104: -1- gl_TLS ++m4trace:configure.ac:104: -1- gt_TMPDIR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE___SECURE_GETENV$]) ++m4trace:configure.ac:104: -1- gl_UNISTD_H ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([unistd.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([unistd.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_UNISTD_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++/* Some systems declare various items in the wrong headers. */ ++#if !(defined __GLIBC__ && !defined __UCLIBC__) ++# include ++# include ++# include ++# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ ++# include ++# endif ++#endif ++ ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat ++ fsync ftruncate getcwd getdomainname getdtablesize getgroups ++ gethostname getlogin getlogin_r getpagesize getusershell setusershell ++ endusershell lchown link linkat lseek pipe pipe2 pread pwrite readlink ++ readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat ++ usleep]) ++m4trace:configure.ac:104: -1- gl_UNISTD_SAFER ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_pipe], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pipe"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([dup-safer.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([fd-safer.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([pipe-safer.c]) ++m4trace:configure.ac:104: -1- gl_FUNC_GLIBC_UNLOCKED_IO ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_UNLOCKED_IO$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_clearerr_unlocked], [_AC_CHECK_DECLS([clearerr_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_feof_unlocked], [_AC_CHECK_DECLS([feof_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_ferror_unlocked], [_AC_CHECK_DECLS([ferror_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fflush_unlocked], [_AC_CHECK_DECLS([fflush_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fgets_unlocked], [_AC_CHECK_DECLS([fgets_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fputc_unlocked], [_AC_CHECK_DECLS([fputc_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fputs_unlocked], [_AC_CHECK_DECLS([fputs_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fread_unlocked], [_AC_CHECK_DECLS([fread_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fwrite_unlocked], [_AC_CHECK_DECLS([fwrite_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getchar_unlocked], [_AC_CHECK_DECLS([getchar_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_putc_unlocked], [_AC_CHECK_DECLS([putc_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_putchar_unlocked], [_AC_CHECK_DECLS([putchar_unlocked])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- gl_FUNC_VASNPRINTF ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_REPLACE_VASNPRINTF ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasnprintf.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-args.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-parse.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([asnprintf.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_ARGS ++m4trace:configure.ac:104: -1- gt_TYPE_WINT_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_PARSE ++m4trace:configure.ac:104: -1- gl_FEATURES_H ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_features_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" features.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FEATURES_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$]) ++m4trace:configure.ac:104: -1- gt_AC_TYPE_INTMAX_T ++m4trace:configure.ac:104: -1- gl_AC_HEADER_INTTYPES_H ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) ++m4trace:configure.ac:104: -1- gl_AC_HEADER_STDINT_H ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^intmax_t$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_ASNPRINTF ++m4trace:configure.ac:104: -1- gl_FUNC_VASPRINTF ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_VASPRINTF ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasprintf.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([asprintf.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF_H ++m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF ++m4trace:configure.ac:104: -1- gl_PREREQ_ASPRINTF ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([vasprintf]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([vasprintf]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([vasprintf]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format]) ++m4trace:configure.ac:104: -1- gl_FUNC_VASPRINTF_POSIX ++m4trace:configure.ac:104: -1- gl_PRINTF_SIZES_C99 ++m4trace:configure.ac:104: -1- gl_PRINTF_LONG_DOUBLE ++m4trace:configure.ac:104: -1- gl_PRINTF_INFINITE ++m4trace:configure.ac:104: -1- gl_PRINTF_INFINITE_LONG_DOUBLE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CHECK_PRINTF_SAFE$]) ++m4trace:configure.ac:104: -1- GL_NOCRASH ++m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_A ++m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_F ++m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_N ++m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_LS ++m4trace:configure.ac:104: -1- gl_PRINTF_POSITIONS ++m4trace:configure.ac:104: -1- gl_PRINTF_FLAG_GROUPING ++m4trace:configure.ac:104: -1- gl_PRINTF_FLAG_LEFTADJUST ++m4trace:configure.ac:104: -1- gl_PRINTF_FLAG_ZERO ++m4trace:configure.ac:104: -1- gl_PRINTF_PRECISION ++m4trace:configure.ac:104: -1- gl_PRINTF_ENOMEM ++m4trace:configure.ac:104: -2- GL_NOCRASH ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_LONG_DOUBLE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_A ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_F ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_LS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_FLAG_GROUPING ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_FLAG_ZERO ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_PRECISION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_ENOMEM ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_VASNPRINTF ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasnprintf.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-args.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-parse.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([asnprintf.c]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_ARGS ++m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_PARSE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF ++m4trace:configure.ac:104: -1- gl_PREREQ_ASNPRINTF ++m4trace:configure.ac:104: -1- gl_REPLACE_VASPRINTF ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasprintf.c]) ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([asprintf.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF_H ++m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF ++m4trace:configure.ac:104: -1- gl_PREREQ_ASPRINTF ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror:3:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format]) ++m4trace:configure.ac:104: -1- gl_VERSION_ETC ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_VERSION$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_BUG_REPORTS$]) ++m4trace:configure.ac:104: -1- gl_WAIT_PROCESS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WAITID$]) ++m4trace:configure.ac:104: -1- gl_FUNC_WAITPID ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([waitpid.c]) ++m4trace:configure.ac:104: -1- gl_SYS_WAIT_MODULE_INDICATOR([waitpid]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([waitpid]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([waitpid]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WAITPID$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WARN_CFLAGS$]) ++m4trace:configure.ac:104: -1- gl_WCHAR_H ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([wchar.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([wchar.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCHAR_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#if !(defined __GLIBC__ && !defined __UCLIBC__) ++# include ++# include ++# include ++#endif ++#include ++ ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb ++ wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset ++ wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp ++ wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr ++ wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth ++ ]) ++m4trace:configure.ac:104: -1- gl_FUNC_WCRTOMB ++m4trace:configure.ac:104: -1- gl_MBSTATE_T_BROKEN ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_MBRTOWC_INCOMPLETE_STATE ++m4trace:configure.ac:104: -1- gl_MBRTOWC_SANITYCHECK ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_wcrtomb], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcrtomb"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([wcrtomb.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_WCRTOMB ++m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([wcrtomb]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wcrtomb]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([wcrtomb]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$]) ++m4trace:configure.ac:104: -1- gl_WCTYPE_H ++m4trace:configure.ac:104: -1- gl_WCTYPE_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWBLANK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTYPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWCTYPE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTRANS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TOWCTRANS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWBLANK$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTRANS_T$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWBLANK$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_iswcntrl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswcntrl"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWCNTRL$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([wctype.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([wctype.h], [check]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCTYPE_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$]) ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[ ++/* Tru64 with Desktop Toolkit C has a bug: must be included before ++ . ++ BSD/OS 4.0.1 has a bug: , and must be ++ included before . */ ++#if !(defined __GLIBC__ && !defined __UCLIBC__) ++# include ++# include ++# include ++# include ++#endif ++#include ++ ]], [wctype iswctype wctrans towctrans ++ ]) ++m4trace:configure.ac:104: -1- gl_XALLOC ++m4trace:configure.ac:104: -1- M4_LIBSOURCES([xmalloc.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_XALLOC ++m4trace:configure.ac:104: -1- gl_PREREQ_XMALLOC ++m4trace:configure.ac:104: -1- gl_LIST ++m4trace:configure.ac:104: -1- gl_LIST ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format]) ++m4trace:configure.ac:104: -1- gl_XSIZE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- gl_XSTRNDUP ++m4trace:configure.ac:104: -1- gl_PREREQ_XSTRNDUP ++m4trace:configure.ac:104: -1- gl_XVASPRINTF ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format]) ++m4trace:configure.ac:104: -1- gl_COMMON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^M4tests_WITNESS$]) ++m4trace:configure.ac:104: -1- gl_PROG_ANSI_CXX([CXX], [ANSICXX]) ++m4trace:configure.ac:104: -1- gl_CXX_CHOICE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX_CHOICE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ac_ct_CXX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXFLAGS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([ANSICXX], [test "$CXX" != ":"]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_TRUE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_FALSE]) ++m4trace:configure.ac:104: -1- _AM_DEPENDENCIES([CXX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXDEPMODE$]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [false]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_TR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_TR_UTF8$]) ++m4trace:configure.ac:104: -1- gl_FUNC_UNGETC_WORKS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$]) ++m4trace:configure.ac:104: -1- gl_FUNC_FTELL ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([ftell.c]) ++m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([ftell]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ftell]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([ftell]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELL$]) ++m4trace:configure.ac:104: -1- gl_FUNC_UNGETC_WORKS ++m4trace:configure.ac:104: -1- gl_FUNC_UNGETC_WORKS ++m4trace:configure.ac:104: -1- gl_FUNC_GETPAGESIZE ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([getpagesize.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([getpagesize]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getpagesize]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([getpagesize]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- gl_DOUBLE_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- gl_FLOAT_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- gl_LONG_DOUBLE_EXPONENT_LOCATION ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- gl_FUNC_LINK ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_link], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" link"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([link.c]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([link.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([link]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([link]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([link]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LINK$]) ++m4trace:configure.ac:104: -1- gl_LOCALE_H ++m4trace:configure.ac:104: -1- gl_LOCALE_H_DEFAULTS ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETLOCALE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUPLOCALE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUPLOCALE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETLOCALE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUPLOCALE$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_xlocale_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" xlocale.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XLOCALE_H$]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([locale.h]) ++m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([locale.h], [assume]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LOCALE_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LOCALE_H$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_LOCALE_H ++m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include ++/* Some systems provide declarations in a non-standard header. */ ++#if HAVE_XLOCALE_H ++# include ++#endif ++ ]], [setlocale duplocale]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_newlocale], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" newlocale"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_LOCALENAME ++m4trace:configure.ac:104: -1- gt_LC_MESSAGES ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$]) ++m4trace:configure.ac:104: -1- gt_INTL_MACOSX ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_newlocale], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" newlocale"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_JA ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_TRUE$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_FALSE]) ++m4trace:configure.ac:104: -1- gl_FUNC_PUTENV ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([putenv.c]) ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([putenv]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([putenv]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([putenv]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PUTENV$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_FUNC_SETENV ++m4trace:configure.ac:104: -1- gl_FUNC_SETENV_SEPARATE ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_setenv], [_AC_CHECK_DECLS([setenv])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_setenv], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setenv"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([setenv.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_SETENV ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SEARCH_H$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TSEARCH$]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([setenv.c]) ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([setenv]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setenv]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([setenv]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETENV$]) ++m4trace:configure.ac:104: -1- gl_FUNC_SETLOCALE ++m4trace:configure.ac:104: -1- gl_REPLACE_LOCALE_H ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([setlocale.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_SETLOCALE ++m4trace:configure.ac:104: -1- gl_LOCALE_MODULE_INDICATOR([setlocale]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setlocale]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([setlocale]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETLOCALE$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_JA ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- gt_TYPE_WCHAR_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.ac:104: -1- gt_TYPE_WINT_T ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- gl_FUNC_STRDUP_POSIX ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_strdup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strdup"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([strdup.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_STRDUP ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([strdup.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_STRDUP ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strdup], [_AC_CHECK_DECLS([strdup])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strdup]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strdup]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strdup]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRDUP$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_alarm], [_AC_CHECK_DECLS([alarm])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ALARM$]) ++m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_FUNC_SYMLINK ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_symlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" symlink"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([symlink.c]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([symlink.c]) ++m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([symlink]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([symlink]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([symlink]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINK$]) ++m4trace:configure.ac:104: -1- gl_FUNC_UNSETENV ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_unsetenv], [_AC_CHECK_DECLS([unsetenv])]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSETENV$]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([unsetenv.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_UNSETENV ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) ++_AC_HEADERS_EXPANSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^VOID_UNSETENV$]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([unsetenv.c]) ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([unsetenv.c]) ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([unsetenv]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([unsetenv]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([unsetenv]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_UNSETENV$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8 ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_JA ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- gl_FUNC_WCTOB ++m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_wctob], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wctob"])]) ++_AC_FUNCS_EXPANSION]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([wctob.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_WCTOB ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([wctob.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_WCTOB ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) ++m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H ++m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([wctob]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wctob]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([wctob]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOB$]) ++m4trace:configure.ac:104: -1- gl_FUNC_WCTOMB ++m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([wctomb.c]) ++m4trace:configure.ac:104: -1- gl_PREREQ_WCTOMB ++m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([wctomb]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wctomb]) ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION ++m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([wctomb]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOMB$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LIBDEPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LTLIBDEPS$]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$]) ++m4trace:configure.ac:121: -1- m4_pattern_allow([^RENAME_OPEN_FILE_WORKS$]) ++m4trace:configure.ac:129: -1- m4_pattern_allow([^ENABLE_CHANGEWORD$]) ++m4trace:configure.ac:169: -1- m4_pattern_allow([^SYSCMD_SHELL$]) ++m4trace:configure.ac:172: -1- M4_WITH_DMALLOC ++m4trace:configure.ac:172: -1- m4_pattern_allow([^WITH_DMALLOC$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:185: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) ++m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^CONFIG_INCLUDE$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LIBOBJS$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LTLIBOBJS$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LIBOBJS$]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LTLIBOBJS$]) ++m4trace:configure.ac:185: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) ++m4trace:configure.ac:185: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS +diff -Nur m4-1.4.16.orig/autom4te.cache/traces.1 m4-1.4.16/autom4te.cache/traces.1 +--- m4-1.4.16.orig/autom4te.cache/traces.1 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/autom4te.cache/traces.1 2013-09-04 14:47:46.000000000 +0200 +@@ -0,0 +1,5088 @@ ++m4trace:aclocal.m4:1525: -1- m4_include([m4/00gnulib.m4]) ++m4trace:aclocal.m4:1526: -1- m4_include([m4/alloca.m4]) ++m4trace:aclocal.m4:1527: -1- m4_include([m4/ansi-c++.m4]) ++m4trace:aclocal.m4:1528: -1- m4_include([m4/assert.m4]) ++m4trace:aclocal.m4:1529: -1- m4_include([m4/autobuild.m4]) ++m4trace:aclocal.m4:1530: -1- m4_include([m4/btowc.m4]) ++m4trace:aclocal.m4:1531: -1- m4_include([m4/c-stack.m4]) ++m4trace:aclocal.m4:1532: -1- m4_include([m4/canonicalize.m4]) ++m4trace:aclocal.m4:1533: -1- m4_include([m4/cloexec.m4]) ++m4trace:aclocal.m4:1534: -1- m4_include([m4/close-stream.m4]) ++m4trace:aclocal.m4:1535: -1- m4_include([m4/close.m4]) ++m4trace:aclocal.m4:1536: -1- m4_include([m4/closein.m4]) ++m4trace:aclocal.m4:1537: -1- m4_include([m4/closeout.m4]) ++m4trace:aclocal.m4:1538: -1- m4_include([m4/codeset.m4]) ++m4trace:aclocal.m4:1539: -1- m4_include([m4/config-h.m4]) ++m4trace:aclocal.m4:1540: -1- m4_include([m4/configmake.m4]) ++m4trace:aclocal.m4:1541: -1- m4_include([m4/dirname.m4]) ++m4trace:aclocal.m4:1542: -1- m4_include([m4/double-slash-root.m4]) ++m4trace:aclocal.m4:1543: -1- m4_include([m4/dup2.m4]) ++m4trace:aclocal.m4:1544: -1- m4_include([m4/eealloc.m4]) ++m4trace:aclocal.m4:1545: -1- m4_include([m4/environ.m4]) ++m4trace:aclocal.m4:1546: -1- m4_include([m4/errno_h.m4]) ++m4trace:aclocal.m4:1547: -1- m4_include([m4/error.m4]) ++m4trace:aclocal.m4:1548: -1- m4_include([m4/execute.m4]) ++m4trace:aclocal.m4:1549: -1- m4_include([m4/exponentd.m4]) ++m4trace:aclocal.m4:1550: -1- m4_include([m4/exponentf.m4]) ++m4trace:aclocal.m4:1551: -1- m4_include([m4/exponentl.m4]) ++m4trace:aclocal.m4:1552: -1- m4_include([m4/extensions.m4]) ++m4trace:aclocal.m4:1553: -1- m4_include([m4/fatal-signal.m4]) ++m4trace:aclocal.m4:1554: -1- m4_include([m4/fclose.m4]) ++m4trace:aclocal.m4:1555: -1- m4_include([m4/fcntl-o.m4]) ++m4trace:aclocal.m4:1556: -1- m4_include([m4/fcntl.m4]) ++m4trace:aclocal.m4:1557: -1- m4_include([m4/fcntl_h.m4]) ++m4trace:aclocal.m4:1558: -1- m4_include([m4/fflush.m4]) ++m4trace:aclocal.m4:1559: -1- m4_include([m4/filenamecat.m4]) ++m4trace:aclocal.m4:1560: -1- m4_include([m4/float_h.m4]) ++m4trace:aclocal.m4:1561: -1- m4_include([m4/fopen.m4]) ++m4trace:aclocal.m4:1562: -1- m4_include([m4/fpending.m4]) ++m4trace:aclocal.m4:1563: -1- m4_include([m4/fpieee.m4]) ++m4trace:aclocal.m4:1564: -1- m4_include([m4/fpurge.m4]) ++m4trace:aclocal.m4:1565: -1- m4_include([m4/freading.m4]) ++m4trace:aclocal.m4:1566: -1- m4_include([m4/frexp.m4]) ++m4trace:aclocal.m4:1567: -1- m4_include([m4/frexpl.m4]) ++m4trace:aclocal.m4:1568: -1- m4_include([m4/fseeko.m4]) ++m4trace:aclocal.m4:1569: -1- m4_include([m4/ftell.m4]) ++m4trace:aclocal.m4:1570: -1- m4_include([m4/ftello.m4]) ++m4trace:aclocal.m4:1571: -1- m4_include([m4/getdtablesize.m4]) ++m4trace:aclocal.m4:1572: -1- m4_include([m4/getopt.m4]) ++m4trace:aclocal.m4:1573: -1- m4_include([m4/getpagesize.m4]) ++m4trace:aclocal.m4:1574: -1- m4_include([m4/gettimeofday.m4]) ++m4trace:aclocal.m4:1575: -1- m4_include([m4/gl_list.m4]) ++m4trace:aclocal.m4:1576: -1- m4_include([m4/glibc21.m4]) ++m4trace:aclocal.m4:1577: -1- m4_include([m4/gnulib-common.m4]) ++m4trace:aclocal.m4:1578: -1- m4_include([m4/gnulib-comp.m4]) ++m4trace:aclocal.m4:1579: -1- m4_include([m4/include_next.m4]) ++m4trace:aclocal.m4:1580: -1- m4_include([m4/inline.m4]) ++m4trace:aclocal.m4:1581: -1- m4_include([m4/intlmacosx.m4]) ++m4trace:aclocal.m4:1582: -1- m4_include([m4/intmax_t.m4]) ++m4trace:aclocal.m4:1583: -1- m4_include([m4/inttypes_h.m4]) ++m4trace:aclocal.m4:1584: -1- m4_include([m4/isnand.m4]) ++m4trace:aclocal.m4:1585: -1- m4_include([m4/isnanf.m4]) ++m4trace:aclocal.m4:1586: -1- m4_include([m4/isnanl.m4]) ++m4trace:aclocal.m4:1587: -1- m4_include([m4/langinfo_h.m4]) ++m4trace:aclocal.m4:1588: -1- m4_include([m4/lcmessage.m4]) ++m4trace:aclocal.m4:1589: -1- m4_include([m4/ldexp.m4]) ++m4trace:aclocal.m4:1590: -1- m4_include([m4/ldexpl.m4]) ++m4trace:aclocal.m4:1591: -1- m4_include([m4/lib-ld.m4]) ++m4trace:aclocal.m4:1592: -1- m4_include([m4/lib-link.m4]) ++m4trace:aclocal.m4:1593: -1- m4_include([m4/lib-prefix.m4]) ++m4trace:aclocal.m4:1594: -1- m4_include([m4/libsigsegv.m4]) ++m4trace:aclocal.m4:1595: -1- m4_include([m4/link.m4]) ++m4trace:aclocal.m4:1596: -1- m4_include([m4/localcharset.m4]) ++m4trace:aclocal.m4:1597: -1- m4_include([m4/locale-fr.m4]) ++m4trace:aclocal.m4:1598: -1- m4_include([m4/locale-ja.m4]) ++m4trace:aclocal.m4:1599: -1- m4_include([m4/locale-tr.m4]) ++m4trace:aclocal.m4:1600: -1- m4_include([m4/locale-zh.m4]) ++m4trace:aclocal.m4:1601: -1- m4_include([m4/locale_h.m4]) ++m4trace:aclocal.m4:1602: -1- m4_include([m4/localename.m4]) ++m4trace:aclocal.m4:1603: -1- m4_include([m4/lock.m4]) ++m4trace:aclocal.m4:1604: -1- m4_include([m4/longlong.m4]) ++m4trace:aclocal.m4:1605: -1- m4_include([m4/lseek.m4]) ++m4trace:aclocal.m4:1606: -1- m4_include([m4/lstat.m4]) ++m4trace:aclocal.m4:1607: -1- m4_include([m4/malloc.m4]) ++m4trace:aclocal.m4:1608: -1- m4_include([m4/malloca.m4]) ++m4trace:aclocal.m4:1609: -1- m4_include([m4/manywarnings.m4]) ++m4trace:aclocal.m4:1610: -1- m4_include([m4/math_h.m4]) ++m4trace:aclocal.m4:1611: -1- m4_include([m4/mbrtowc.m4]) ++m4trace:aclocal.m4:1612: -1- m4_include([m4/mbsinit.m4]) ++m4trace:aclocal.m4:1613: -1- m4_include([m4/mbstate_t.m4]) ++m4trace:aclocal.m4:1614: -1- m4_include([m4/mbtowc.m4]) ++m4trace:aclocal.m4:1615: -1- m4_include([m4/memchr.m4]) ++m4trace:aclocal.m4:1616: -1- m4_include([m4/mkdtemp.m4]) ++m4trace:aclocal.m4:1617: -1- m4_include([m4/mkstemp.m4]) ++m4trace:aclocal.m4:1618: -1- m4_include([m4/mmap-anon.m4]) ++m4trace:aclocal.m4:1619: -1- m4_include([m4/mode_t.m4]) ++m4trace:aclocal.m4:1620: -1- m4_include([m4/multiarch.m4]) ++m4trace:aclocal.m4:1621: -1- m4_include([m4/nl_langinfo.m4]) ++m4trace:aclocal.m4:1622: -1- m4_include([m4/nocrash.m4]) ++m4trace:aclocal.m4:1623: -1- m4_include([m4/open.m4]) ++m4trace:aclocal.m4:1624: -1- m4_include([m4/pathmax.m4]) ++m4trace:aclocal.m4:1625: -1- m4_include([m4/pipe2.m4]) ++m4trace:aclocal.m4:1626: -1- m4_include([m4/posix_spawn.m4]) ++m4trace:aclocal.m4:1627: -1- m4_include([m4/printf-frexp.m4]) ++m4trace:aclocal.m4:1628: -1- m4_include([m4/printf-frexpl.m4]) ++m4trace:aclocal.m4:1629: -1- m4_include([m4/printf.m4]) ++m4trace:aclocal.m4:1630: -1- m4_include([m4/putenv.m4]) ++m4trace:aclocal.m4:1631: -1- m4_include([m4/quotearg.m4]) ++m4trace:aclocal.m4:1632: -1- m4_include([m4/rawmemchr.m4]) ++m4trace:aclocal.m4:1633: -1- m4_include([m4/readlink.m4]) ++m4trace:aclocal.m4:1634: -1- m4_include([m4/regex.m4]) ++m4trace:aclocal.m4:1635: -1- m4_include([m4/rename.m4]) ++m4trace:aclocal.m4:1636: -1- m4_include([m4/rmdir.m4]) ++m4trace:aclocal.m4:1637: -1- m4_include([m4/sched_h.m4]) ++m4trace:aclocal.m4:1638: -1- m4_include([m4/setenv.m4]) ++m4trace:aclocal.m4:1639: -1- m4_include([m4/setlocale.m4]) ++m4trace:aclocal.m4:1640: -1- m4_include([m4/sig_atomic_t.m4]) ++m4trace:aclocal.m4:1641: -1- m4_include([m4/sigaction.m4]) ++m4trace:aclocal.m4:1642: -1- m4_include([m4/signal_h.m4]) ++m4trace:aclocal.m4:1643: -1- m4_include([m4/signalblocking.m4]) ++m4trace:aclocal.m4:1644: -1- m4_include([m4/signbit.m4]) ++m4trace:aclocal.m4:1645: -1- m4_include([m4/size_max.m4]) ++m4trace:aclocal.m4:1646: -1- m4_include([m4/snprintf.m4]) ++m4trace:aclocal.m4:1647: -1- m4_include([m4/spawn-pipe.m4]) ++m4trace:aclocal.m4:1648: -1- m4_include([m4/spawn_h.m4]) ++m4trace:aclocal.m4:1649: -1- m4_include([m4/ssize_t.m4]) ++m4trace:aclocal.m4:1650: -1- m4_include([m4/stat.m4]) ++m4trace:aclocal.m4:1651: -1- m4_include([m4/stdarg.m4]) ++m4trace:aclocal.m4:1652: -1- m4_include([m4/stdbool.m4]) ++m4trace:aclocal.m4:1653: -1- m4_include([m4/stddef_h.m4]) ++m4trace:aclocal.m4:1654: -1- m4_include([m4/stdint.m4]) ++m4trace:aclocal.m4:1655: -1- m4_include([m4/stdint_h.m4]) ++m4trace:aclocal.m4:1656: -1- m4_include([m4/stdio-safer.m4]) ++m4trace:aclocal.m4:1657: -1- m4_include([m4/stdio_h.m4]) ++m4trace:aclocal.m4:1658: -1- m4_include([m4/stdlib-safer.m4]) ++m4trace:aclocal.m4:1659: -1- m4_include([m4/stdlib_h.m4]) ++m4trace:aclocal.m4:1660: -1- m4_include([m4/strchrnul.m4]) ++m4trace:aclocal.m4:1661: -1- m4_include([m4/strdup.m4]) ++m4trace:aclocal.m4:1662: -1- m4_include([m4/strerror.m4]) ++m4trace:aclocal.m4:1663: -1- m4_include([m4/string_h.m4]) ++m4trace:aclocal.m4:1664: -1- m4_include([m4/strndup.m4]) ++m4trace:aclocal.m4:1665: -1- m4_include([m4/strnlen.m4]) ++m4trace:aclocal.m4:1666: -1- m4_include([m4/strsignal.m4]) ++m4trace:aclocal.m4:1667: -1- m4_include([m4/strstr.m4]) ++m4trace:aclocal.m4:1668: -1- m4_include([m4/strtod.m4]) ++m4trace:aclocal.m4:1669: -1- m4_include([m4/strtol.m4]) ++m4trace:aclocal.m4:1670: -1- m4_include([m4/symlink.m4]) ++m4trace:aclocal.m4:1671: -1- m4_include([m4/sys_stat_h.m4]) ++m4trace:aclocal.m4:1672: -1- m4_include([m4/sys_time_h.m4]) ++m4trace:aclocal.m4:1673: -1- m4_include([m4/sys_wait_h.m4]) ++m4trace:aclocal.m4:1674: -1- m4_include([m4/tempname.m4]) ++m4trace:aclocal.m4:1675: -1- m4_include([m4/threadlib.m4]) ++m4trace:aclocal.m4:1676: -1- m4_include([m4/time_h.m4]) ++m4trace:aclocal.m4:1677: -1- m4_include([m4/tls.m4]) ++m4trace:aclocal.m4:1678: -1- m4_include([m4/tmpdir.m4]) ++m4trace:aclocal.m4:1679: -1- m4_include([m4/ungetc.m4]) ++m4trace:aclocal.m4:1680: -1- m4_include([m4/unistd-safer.m4]) ++m4trace:aclocal.m4:1681: -1- m4_include([m4/unistd_h.m4]) ++m4trace:aclocal.m4:1682: -1- m4_include([m4/unlocked-io.m4]) ++m4trace:aclocal.m4:1683: -1- m4_include([m4/vasnprintf.m4]) ++m4trace:aclocal.m4:1684: -1- m4_include([m4/vasprintf-posix.m4]) ++m4trace:aclocal.m4:1685: -1- m4_include([m4/vasprintf.m4]) ++m4trace:aclocal.m4:1686: -1- m4_include([m4/version-etc.m4]) ++m4trace:aclocal.m4:1687: -1- m4_include([m4/wait-process.m4]) ++m4trace:aclocal.m4:1688: -1- m4_include([m4/waitpid.m4]) ++m4trace:aclocal.m4:1689: -1- m4_include([m4/warnings.m4]) ++m4trace:aclocal.m4:1690: -1- m4_include([m4/wchar_h.m4]) ++m4trace:aclocal.m4:1691: -1- m4_include([m4/wchar_t.m4]) ++m4trace:aclocal.m4:1692: -1- m4_include([m4/wcrtomb.m4]) ++m4trace:aclocal.m4:1693: -1- m4_include([m4/wctob.m4]) ++m4trace:aclocal.m4:1694: -1- m4_include([m4/wctomb.m4]) ++m4trace:aclocal.m4:1695: -1- m4_include([m4/wctype_h.m4]) ++m4trace:aclocal.m4:1696: -1- m4_include([m4/wint_t.m4]) ++m4trace:aclocal.m4:1697: -1- m4_include([m4/xalloc.m4]) ++m4trace:aclocal.m4:1698: -1- m4_include([m4/xsize.m4]) ++m4trace:aclocal.m4:1699: -1- m4_include([m4/xstrndup.m4]) ++m4trace:aclocal.m4:1700: -1- m4_include([m4/xvasprintf.m4]) ++m4trace:aclocal.m4:1701: -1- m4_include([acinclude.m4]) ++m4trace:configure.ac:21: -1- AC_INIT([GNU M4], [1.4.16], [bug-m4@gnu.org]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?A[CHUM]_]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([_AC_]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^AS_FLAGS$]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?m4_]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^dnl$]) ++m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?AS_]) ++m4trace:configure.ac:21: -1- AC_SUBST([SHELL]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([SHELL]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^SHELL$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PATH_SEPARATOR]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PATH_SEPARATOR$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_NAME]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_STRING]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_URL]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.ac:21: -1- AC_SUBST([exec_prefix], [NONE]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([exec_prefix]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^exec_prefix$]) ++m4trace:configure.ac:21: -1- AC_SUBST([prefix], [NONE]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([prefix]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^prefix$]) ++m4trace:configure.ac:21: -1- AC_SUBST([program_transform_name], [s,x,x,]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([program_transform_name]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^program_transform_name$]) ++m4trace:configure.ac:21: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([bindir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^bindir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sbindir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^sbindir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([libexecdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^libexecdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([datarootdir], ['${prefix}/share']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([datarootdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([datadir], ['${datarootdir}']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([datadir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^datadir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sysconfdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^sysconfdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sharedstatedir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^sharedstatedir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([localstatedir], ['${prefix}/var']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([localstatedir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^localstatedir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([includedir], ['${prefix}/include']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([includedir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^includedir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([oldincludedir], ['/usr/include']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([oldincludedir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^oldincludedir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ++ ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ++ ['${datarootdir}/doc/${PACKAGE}'])]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([docdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([infodir], ['${datarootdir}/info']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([infodir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^infodir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([htmldir], ['${docdir}']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([htmldir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([dvidir], ['${docdir}']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([dvidir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([pdfdir], ['${docdir}']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([pdfdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([psdir], ['${docdir}']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([psdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([libdir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^libdir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([localedir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.ac:21: -1- AC_SUBST([mandir], ['${datarootdir}/man']) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([mandir]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^mandir$]) ++m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ ++@%:@undef PACKAGE_NAME]) ++m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ ++@%:@undef PACKAGE_TARNAME]) ++m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ ++@%:@undef PACKAGE_VERSION]) ++m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ ++@%:@undef PACKAGE_STRING]) ++m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ ++@%:@undef PACKAGE_BUGREPORT]) ++m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ ++@%:@undef PACKAGE_URL]) ++m4trace:configure.ac:21: -1- AC_SUBST([DEFS]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([DEFS]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^DEFS$]) ++m4trace:configure.ac:21: -1- AC_SUBST([ECHO_C]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_C]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_C$]) ++m4trace:configure.ac:21: -1- AC_SUBST([ECHO_N]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_N]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_N$]) ++m4trace:configure.ac:21: -1- AC_SUBST([ECHO_T]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_T]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_T$]) ++m4trace:configure.ac:21: -1- AC_SUBST([LIBS]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:21: -1- AC_SUBST([build_alias]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([build_alias]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^build_alias$]) ++m4trace:configure.ac:21: -1- AC_SUBST([host_alias]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([host_alias]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^host_alias$]) ++m4trace:configure.ac:21: -1- AC_SUBST([target_alias]) ++m4trace:configure.ac:21: -1- AC_SUBST_TRACE([target_alias]) ++m4trace:configure.ac:21: -1- m4_pattern_allow([^target_alias$]) ++m4trace:configure.ac:23: -1- AC_CONFIG_AUX_DIR([build-aux]) ++m4trace:configure.ac:25: -1- AM_INIT_AUTOMAKE([1.11.1 dist-bzip2 dist-xz color-tests parallel-tests ++silent-rules gnu]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) ++m4trace:configure.ac:25: -1- AM_AUTOMAKE_VERSION([1.13.2]) ++m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh]) ++m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_PROGRAM]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) ++m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_SCRIPT]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) ++m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_DATA]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_DATA]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_DATA$]) ++m4trace:configure.ac:25: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__isrc]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__isrc$]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([am__isrc]) ++m4trace:configure.ac:25: -1- AC_SUBST([CYGPATH_W]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CYGPATH_W]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^CYGPATH_W$]) ++m4trace:configure.ac:25: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([PACKAGE]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.ac:25: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([VERSION]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$]) ++m4trace:configure.ac:25: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ ++@%:@undef PACKAGE]) ++m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$]) ++m4trace:configure.ac:25: -1- AH_OUTPUT([VERSION], [/* Version number of package */ ++@%:@undef VERSION]) ++m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([missing]) ++m4trace:configure.ac:25: -1- AC_SUBST([ACLOCAL]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([ACLOCAL]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^ACLOCAL$]) ++m4trace:configure.ac:25: -1- AC_SUBST([AUTOCONF]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOCONF]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOCONF$]) ++m4trace:configure.ac:25: -1- AC_SUBST([AUTOMAKE]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOMAKE]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOMAKE$]) ++m4trace:configure.ac:25: -1- AC_SUBST([AUTOHEADER]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOHEADER]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOHEADER$]) ++m4trace:configure.ac:25: -1- AC_SUBST([MAKEINFO]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAKEINFO]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^MAKEINFO$]) ++m4trace:configure.ac:25: -1- AC_SUBST([install_sh]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([install_sh]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^install_sh$]) ++m4trace:configure.ac:25: -1- AC_SUBST([STRIP]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([STRIP]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) ++m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh]) ++m4trace:configure.ac:25: -1- AC_SUBST([MKDIR_P]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MKDIR_P]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$]) ++m4trace:configure.ac:25: -1- AC_SUBST([MKDIR_P]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MKDIR_P]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$]) ++m4trace:configure.ac:25: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)']) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([mkdir_p]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^mkdir_p$]) ++m4trace:configure.ac:25: -1- AC_SUBST([AWK]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AWK]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AWK$]) ++m4trace:configure.ac:25: -1- AC_SUBST([SET_MAKE]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([SET_MAKE]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^SET_MAKE$]) ++m4trace:configure.ac:25: -1- AC_SUBST([am__leading_dot]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__leading_dot]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__leading_dot$]) ++m4trace:configure.ac:25: -1- AC_SUBST([AMTAR], ['$${TAR-tar}']) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AMTAR]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AMTAR$]) ++m4trace:configure.ac:25: -1- AC_SUBST([am__tar]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__tar]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__tar$]) ++m4trace:configure.ac:25: -1- AC_SUBST([am__untar]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__untar]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^am__untar$]) ++m4trace:configure.ac:25: -1- AM_SILENT_RULES ++m4trace:configure.ac:25: -1- AC_SUBST([AM_V]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_V]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_V$]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_V]) ++m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_V]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_V]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_V$]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) ++m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_VERBOSITY]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) ++m4trace:configure.ac:25: -1- AC_SUBST([AM_BACKSLASH]) ++m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_BACKSLASH]) ++m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_BACKSLASH$]) ++m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) ++m4trace:configure.ac:28: -1- m4_pattern_forbid([^M4_[A-Z]]) ++m4trace:configure.ac:31: -1- AC_CONFIG_HEADERS([lib/config.h:lib/config.hin]) ++m4trace:configure.ac:33: -1- AC_SUBST([CC]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- AC_SUBST([CFLAGS]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CFLAGS]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.ac:33: -1- AC_SUBST([LDFLAGS]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([LDFLAGS]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.ac:33: -1- AC_SUBST([LIBS]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:33: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:33: -1- AC_SUBST([CC]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- AC_SUBST([CC]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- AC_SUBST([CC]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- AC_SUBST([CC]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:33: -1- AC_SUBST([ac_ct_CC]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([ac_ct_CC]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.ac:33: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([EXEEXT]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^EXEEXT$]) ++m4trace:configure.ac:33: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([OBJEXT]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^OBJEXT$]) ++m4trace:configure.ac:33: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([DEPDIR]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^DEPDIR$]) ++m4trace:configure.ac:33: -1- AC_SUBST([am__include]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__include]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__include$]) ++m4trace:configure.ac:33: -1- AC_SUBST([am__quote]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__quote]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__quote$]) ++m4trace:configure.ac:33: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ++m4trace:configure.ac:33: -1- AC_SUBST([AMDEP_TRUE]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([AMDEP_TRUE]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_TRUE$]) ++m4trace:configure.ac:33: -1- AC_SUBST([AMDEP_FALSE]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([AMDEP_FALSE]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_FALSE$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) ++m4trace:configure.ac:33: -1- AC_SUBST([AMDEPBACKSLASH]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) ++m4trace:configure.ac:33: -1- AC_SUBST([am__nodep]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__nodep]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__nodep$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__nodep]) ++m4trace:configure.ac:33: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CCDEPMODE]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^CCDEPMODE$]) ++m4trace:configure.ac:33: -1- AM_CONDITIONAL([am__fastdepCC], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) ++m4trace:configure.ac:33: -1- AC_SUBST([am__fastdepCC_TRUE]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) ++m4trace:configure.ac:33: -1- AC_SUBST([am__fastdepCC_FALSE]) ++m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) ++m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) ++m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) ++m4trace:configure.ac:35: -1- m4_pattern_forbid([^gl_[A-Z]]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_ES$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LIBOBJS$]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) ++m4trace:configure.ac:35: -1- AC_SUBST([RANLIB]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([RANLIB]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.ac:35: -1- AM_PROG_CC_C_O ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */ ++@%:@undef NO_MINUS_C_MINUS_O]) ++m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([compile]) ++m4trace:configure.ac:35: -1- AC_CANONICAL_BUILD ++m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([config.sub]) ++m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([config.guess]) ++m4trace:configure.ac:35: -1- AC_SUBST([build], [$ac_cv_build]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build$]) ++m4trace:configure.ac:35: -1- AC_SUBST([build_cpu], [$[1]]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_cpu]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.ac:35: -1- AC_SUBST([build_vendor], [$[2]]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_vendor]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.ac:35: -1- AC_SUBST([build_os]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_os]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.ac:35: -1- AC_CANONICAL_HOST ++m4trace:configure.ac:35: -1- AC_SUBST([host], [$ac_cv_host]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host$]) ++m4trace:configure.ac:35: -1- AC_SUBST([host_cpu], [$[1]]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_cpu]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.ac:35: -1- AC_SUBST([host_vendor], [$[2]]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_vendor]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.ac:35: -1- AC_SUBST([host_os]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_os]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.ac:35: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... ++m4/gnulib-comp.m4:22: M4_EARLY is expanded from... ++configure.ac:35: the top level]) ++m4trace:configure.ac:35: -1- AC_SUBST([CPP]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CPP]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.ac:35: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:35: -1- AC_SUBST([CPP]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CPP]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.ac:35: -1- AC_SUBST([GREP]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:35: -1- AC_SUBST([EGREP]) ++m4trace:configure.ac:35: -1- AC_SUBST_TRACE([EGREP]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^STDC_HEADERS$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ ++@%:@undef STDC_HEADERS]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STAT_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDLIB_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRING_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_MEMORY_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRINGS_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_INTTYPES_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_SOURCE$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */ ++@%:@undef _POSIX_SOURCE]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with ++ this defined. */ ++@%:@undef _POSIX_1_SOURCE]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_MINIX]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_MINIX$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */ ++@%:@undef _MINIX]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_XOPEN_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([_XOPEN_SOURCE], [/* Define to 500 only on HP-UX. */ ++@%:@undef _XOPEN_SOURCE]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([__EXTENSIONS__], [/* Enable extensions on AIX 3, Interix. */ ++#ifndef _ALL_SOURCE ++# undef _ALL_SOURCE ++#endif ++/* Enable GNU extensions on systems that have them. */ ++#ifndef _GNU_SOURCE ++# undef _GNU_SOURCE ++#endif ++/* Enable threading extensions on Solaris. */ ++#ifndef _POSIX_PTHREAD_SEMANTICS ++# undef _POSIX_PTHREAD_SEMANTICS ++#endif ++/* Enable extensions on HP NonStop. */ ++#ifndef _TANDEM_SOURCE ++# undef _TANDEM_SOURCE ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# undef __EXTENSIONS__ ++#endif ++]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^__EXTENSIONS__$]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_GNU_SOURCE$]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_LARGEFILE_SOURCE]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([_LARGEFILE_SOURCE], [/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ ++@%:@undef _LARGEFILE_SOURCE]) ++m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSEEKO]) ++m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ ++@%:@undef HAVE_FSEEKO]) ++m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... ++m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... ++m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... ++m4/gnulib-comp.m4:22: M4_EARLY is expanded from... ++configure.ac:35: the top level]) ++m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... ++m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... ++m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... ++m4/gnulib-comp.m4:22: M4_EARLY is expanded from... ++configure.ac:35: the top level]) ++m4trace:configure.ac:57: -1- AC_SUBST([WERROR_CFLAGS]) ++m4trace:configure.ac:57: -1- AC_SUBST_TRACE([WERROR_CFLAGS]) ++m4trace:configure.ac:57: -1- m4_pattern_allow([^WERROR_CFLAGS$]) ++m4trace:configure.ac:58: -1- AC_SUBST([WERROR_CFLAGS]) ++m4trace:configure.ac:58: -1- AC_SUBST_TRACE([WERROR_CFLAGS]) ++m4trace:configure.ac:58: -1- m4_pattern_allow([^WERROR_CFLAGS$]) ++m4trace:configure.ac:86: -1- AC_SUBST([WARN_CFLAGS]) ++m4trace:configure.ac:86: -1- AC_SUBST_TRACE([WARN_CFLAGS]) ++m4trace:configure.ac:86: -1- m4_pattern_allow([^WARN_CFLAGS$]) ++m4trace:configure.ac:88: -1- AC_DEFINE_TRACE_LITERAL([_FORTIFY_SOURCE]) ++m4trace:configure.ac:88: -1- m4_pattern_allow([^_FORTIFY_SOURCE$]) ++m4trace:configure.ac:88: -1- AH_OUTPUT([_FORTIFY_SOURCE], [/* enable compile-time and run-time bounds-checking, and some warnings */ ++@%:@undef _FORTIFY_SOURCE]) ++m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */ ++@%:@undef HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT]) ++m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */ ++@%:@undef HAVE_LONG_LONG_INT]) ++m4trace:configure.ac:96: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.ac:96: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.ac:96: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */ ++@%:@undef HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT]) ++m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */ ++@%:@undef HAVE_LONG_LONG_INT]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) ++m4trace:configure.ac:104: -1- AC_SUBST([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports ++ the ISO C 99 semantics of \'extern inline\' (unlike the GNU C semantics of ++ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. ++ __APPLE__ && __MACH__ test for MacOS X. ++ __APPLE_CC__ tests for the Apple compiler and its version. ++ __STDC_VERSION__ tests for the C99 mode. */ ++#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ ++# define __GNUC_STDC_INLINE__ 1 ++#endif]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([unused_parameter], [/* Define as a marker that can be attached to declarations that might not ++ be used. This helps to reduce warnings, such as from ++ GCC -Wunused-parameter. */ ++#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) ++# define _GL_UNUSED __attribute__ ((__unused__)) ++#else ++# define _GL_UNUSED ++#endif ++/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name ++ is a misnomer outside of parameter lists. */ ++#define _UNUSED_PARAMETER_ _GL_UNUSED ++]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([size_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ ++@%:@undef size_t]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have and it should be used (not on Ultrix). ++ */ ++@%:@undef HAVE_ALLOCA_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */ ++@%:@undef HAVE_ALLOCA]) ++m4trace:configure.ac:104: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ALLOCA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^C_ALLOCA$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */ ++@%:@undef C_ALLOCA]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP ++ systems. This function is required for `alloca.c\' support on those systems. ++ */ ++@%:@undef CRAY_STACKSEG_END]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the ++ direction of stack growth for your system; otherwise it will be ++ automatically deduced at runtime. ++ STACK_DIRECTION > 0 => grows toward higher addresses ++ STACK_DIRECTION < 0 => grows toward lower addresses ++ STACK_DIRECTION = 0 => direction of growth unknown */ ++@%:@undef STACK_DIRECTION]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STACK_DIRECTION$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have \'alloca\' after including , a header that ++ may be supplied by this distribution. */ ++@%:@undef HAVE_ALLOCA]) ++m4trace:configure.ac:104: -1- AC_SUBST([ALLOCA_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ALLOCA_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NDEBUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NDEBUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NDEBUG], [/* Define to 1 if assertions should be disabled. */ ++@%:@undef NDEBUG]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_BTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_BTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_BTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTOB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTOB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSINIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSINIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSINIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBRTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBRTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBRLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBRLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSRTOWCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSRTOWCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSNRTOWCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSNRTOWCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCRTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCRTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCRTOMB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSRTOMBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSRTOMBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNRTOMBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNRTOMBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCWIDTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCWIDTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCWIDTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMMOVE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMMOVE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMMOVE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMSET]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMSET]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMSET$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCPCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCPNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCPNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCOLL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCOLL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCOLL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSXFRM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSXFRM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSXFRM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSRCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSRCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCSPN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCSPN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCSPN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSSPN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSSPN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSPN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSPBRK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSPBRK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSPBRK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSSTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSSTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSTOK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSTOK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSTOK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSWIDTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSWIDTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSWIDTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_BTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_BTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSINIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSINIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSINIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBRLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBRLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSRTOWCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSRTOWCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSNRTOWCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSNRTOWCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCRTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCRTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCRTOMB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSRTOMBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSRTOMBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNRTOMBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNRTOMBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMMOVE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMMOVE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMMOVE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMSET]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMSET]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMSET$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCPCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCPNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCPNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCOLL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCOLL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCOLL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSXFRM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSXFRM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSXFRM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSRCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSRCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCSPN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCSPN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCSPN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSSPN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSSPN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSPN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSPBRK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSPBRK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSPBRK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSSTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSSTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSTOK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSTOK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSTOK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSWIDTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSWIDTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSWIDTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_WCTOB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_WCTOB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_WCWIDTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_WCWIDTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSTATE_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSTATE_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_BTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_BTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_BTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCTOB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCTOB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSINIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSINIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSINIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBRTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBRLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBRLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSRTOWCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSRTOWCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSNRTOWCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSNRTOWCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCRTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCRTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCRTOMB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCSRTOMBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCSRTOMBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCSNRTOMBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCSNRTOMBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCWIDTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCWIDTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCWIDTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCSWIDTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCSWIDTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSWIDTH$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */ ++@%:@undef HAVE_BTOWC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LANGINFO_CODESET]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LANGINFO_CODESET], [/* Define if you have and nl_langinfo(CODESET). */ ++@%:@undef HAVE_LANGINFO_CODESET]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_BTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_BTOWC], [/* Define to 1 when the gnulib module btowc should be tested. */ ++@%:@undef GNULIB_TEST_BTOWC]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */ ++@%:@undef HAVE_SETRLIMIT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UCONTEXT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UCONTEXT_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FAULT_YIELDS_SIGBUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FAULT_YIELDS_SIGBUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FAULT_YIELDS_SIGBUS], [/* Define to 1 if an invalid memory address access may yield a SIGBUS. */ ++@%:@undef FAULT_YIELDS_SIGBUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STACK_OVERFLOW_HANDLING]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_OVERFLOW_HANDLING$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STACK_OVERFLOW_HANDLING], [/* Define to 1 if extending the stack slightly past the limit causes a SIGSEGV ++ which can be handled on an alternate stack established with sigaltstack. */ ++@%:@undef HAVE_STACK_OVERFLOW_HANDLING]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([SIGALTSTACK_SS_REVERSED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGALTSTACK_SS_REVERSED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([SIGALTSTACK_SS_REVERSED], [/* Define if sigaltstack() interprets the stack_t.ss_sp field incorrectly, as ++ the highest address of the alternate stack range rather than as the lowest ++ address. */ ++@%:@undef SIGALTSTACK_SS_REVERSED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XSI_STACK_OVERFLOW_HEURISTIC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XSI_STACK_OVERFLOW_HEURISTIC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_XSI_STACK_OVERFLOW_HEURISTIC], [/* Define to 1 if extending the stack slightly past the limit causes a ++ SIGSEGV, and an alternate stack can be established with sigaltstack, and ++ the signal handler is passed a context that specifies the run time stack. ++ This behavior is defined by POSIX 1003.1-2001 with the X/Open System ++ Interface (XSI) option and is a standardized way to implement a SEGV-based ++ stack overflow detection heuristic. */ ++@%:@undef HAVE_XSI_STACK_OVERFLOW_HEURISTIC]) ++m4trace:configure.ac:104: -1- AC_REQUIRE_AUX_FILE([config.rpath]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LIBSIGSEGV], [/* Define if you have the libsigsegv library. */ ++@%:@undef HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV_PREFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV_PREFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGALTSTACK], [/* Define to 1 if you have the `sigaltstack\' function. */ ++@%:@undef HAVE_SIGALTSTACK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SIGALTSTACK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SIGALTSTACK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SIGALTSTACK], [/* Define to 1 if you have the declaration of `sigaltstack\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_SIGALTSTACK]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UCONTEXT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UCONTEXT_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STACK_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STACK_T], [/* Define to 1 if the system has the type `stack_t\'. */ ++@%:@undef HAVE_STACK_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBCSTACK], [$LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBCSTACK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBCSTACK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBCSTACK], [$LTLIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBCSTACK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBCSTACK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CANONICALIZE_FILE_NAME], [/* Define to 1 if you have the `canonicalize_file_name\' function. */ ++@%:@undef HAVE_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */ ++@%:@undef HAVE_GETCWD]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */ ++@%:@undef HAVE_READLINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */ ++@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */ ++@%:@undef HAVE_REALPATH]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_REALPATH_WORKS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_REALPATH_WORKS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_REALPATH_WORKS], [/* Define to 1 if realpath() can malloc memory, always gives an absolute path, ++ and handles trailing slash correctly. */ ++@%:@undef FUNC_REALPATH_WORKS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CANONICALIZE_LGPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_LGPL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_CANONICALIZE_LGPL], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module canonicalize-lgpl shall be considered present. */ ++@%:@undef GNULIB_CANONICALIZE_LGPL]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB__EXIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB__EXIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB__EXIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ATOLL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ATOLL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATOLL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CALLOC_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CALLOC_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLOADAVG]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLOADAVG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETSUBOPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETSUBOPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GRANTPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GRANTPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GRANTPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MALLOC_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MALLOC_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKDTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKDTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKOSTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKOSTEMPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKSTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKSTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKSTEMPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKSTEMPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PTSNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PTSNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PTSNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RANDOM_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RANDOM_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RANDOM_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_REALLOC_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_REALLOC_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_REALPATH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_REALPATH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALPATH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RPMATCH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RPMATCH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RPMATCH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOLL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOLL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOLL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOULL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOULL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOULL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SYSTEM_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SYSTEM_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYSTEM_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNLOCKPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNLOCKPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNSETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNSETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOMB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE__EXIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE__EXIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__EXIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ATOLL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ATOLL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATOLL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETLOADAVG]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOADAVG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETSUBOPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETSUBOPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETSUBOPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GRANTPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GRANTPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GRANTPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKDTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKDTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKOSTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKOSTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKOSTEMPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKOSTEMPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKSTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKSTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKSTEMPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKSTEMPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PTSNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PTSNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTSNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RANDOM_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RANDOM_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RANDOM_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RANDOM_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_REALPATH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_REALPATH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_REALPATH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RPMATCH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RPMATCH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RPMATCH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRTOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRTOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRTOLL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRTOLL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRTOULL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRTOULL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOULL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_RANDOM_DATA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_LOADAVG_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_LOADAVG_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNLOCKPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNLOCKPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLOCKPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_UNSETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CALLOC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CALLOC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CALLOC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MALLOC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MALLOC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MALLOC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBTOWC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKSTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKSTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKSTEMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PUTENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PUTENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PUTENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_REALLOC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_REALLOC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALLOC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_REALPATH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_REALPATH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALPATH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRTOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRTOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UNSETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNSETENV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOMB$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE_FILE_NAME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_CANONICALIZE_FILE_NAME], [/* Define to 1 when the gnulib module canonicalize_file_name should be tested. ++ */ ++@%:@undef GNULIB_TEST_CANONICALIZE_FILE_NAME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_REALPATH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_REALPATH$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_REALPATH], [/* Define to 1 when the gnulib module realpath should be tested. */ ++@%:@undef GNULIB_TEST_REALPATH]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([SIGNAL_SAFE_LIST]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGNAL_SAFE_LIST$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([SIGNAL_SAFE_LIST], [/* Define if lists must be signal-safe. */ ++@%:@undef SIGNAL_SAFE_LIST]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CLOEXEC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOEXEC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_CLOEXEC], [/* Define to 1 when the gnulib module cloexec should be tested. */ ++@%:@undef GNULIB_TEST_CLOEXEC]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CHOWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CHOWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CHOWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CLOSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DUP2]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DUP2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP2$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DUP3]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DUP3]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP3$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ENVIRON]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ENVIRON]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ENVIRON$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_EUIDACCESS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_EUIDACCESS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FACCESSAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FACCESSAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FACCESSAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCHDIR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCHDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHDIR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCHOWNAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCHOWNAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSYNC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSYNC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSYNC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FTRUNCATE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FTRUNCATE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETCWD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETCWD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETCWD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETDOMAINNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETDOMAINNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETGROUPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETGROUPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETGROUPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETHOSTNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETHOSTNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLOGIN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLOGIN_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETUSERSHELL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETUSERSHELL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LCHOWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LCHOWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHOWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LSEEK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LSEEK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSEEK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PIPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PIPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PIPE2]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PIPE2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PREAD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PWRITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PWRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PWRITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_READLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_READLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_READLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_READLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RMDIR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RMDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RMDIR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SYMLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SYMLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SYMLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SYMLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TTYNAME_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TTYNAME_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNISTD_H_GETOPT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_GETOPT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_SIGPIPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_USLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_USLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_USLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WRITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WRITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_CHOWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_CHOWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CHOWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DUP2]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DUP2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP2$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DUP3]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DUP3]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP3$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_EUIDACCESS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_EUIDACCESS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EUIDACCESS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FACCESSAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FACCESSAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FACCESSAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCHDIR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCHDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHDIR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCHOWNAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCHOWNAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHOWNAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FSYNC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FSYNC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSYNC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FTRUNCATE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FTRUNCATE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETGROUPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETGROUPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETGROUPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETHOSTNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETHOSTNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETLOGIN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETLOGIN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETLOGIN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LCHOWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LCHOWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHOWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PIPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PIPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PIPE2]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PIPE2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE2$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PREAD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PWRITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PWRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PWRITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_READLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_READLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_READLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_READLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYMLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYMLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYMLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYMLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_USLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_USLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_USLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ENVIRON]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ENVIRON]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FCHDIR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FCHDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETDOMAINNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETDOMAINNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDOMAINNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETLOGIN_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOGIN_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETUSERSHELL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETUSERSHELL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TTYNAME_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TTYNAME_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_OS_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_OS_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CHOWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CHOWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CHOWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CLOSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CLOSE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DUP2]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DUP2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP2$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FCHOWNAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FCHOWNAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETCWD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETCWD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETCWD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETDOMAINNAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETDOMAINNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDOMAINNAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETLOGIN_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETLOGIN_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLOGIN_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETGROUPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETGROUPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETGROUPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LCHOWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LCHOWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LCHOWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LSEEK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LSEEK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSEEK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PREAD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PWRITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PWRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PWRITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_READLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_READLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_READLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_RMDIR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_RMDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RMDIR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SYMLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SYMLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SYMLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TTYNAME_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TTYNAME_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UNLINK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UNLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UNLINKAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UNLINKAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINKAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_USLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_USLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_USLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WRITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WRITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOSE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_CLOSE], [/* Define to 1 when the gnulib module close should be tested. */ ++@%:@undef GNULIB_TEST_CLOSE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CLOSE_STREAM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE_STREAM$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_CLOSE_STREAM], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module close-stream shall be considered present. */ ++@%:@undef GNULIB_CLOSE_STREAM]) ++m4trace:configure.ac:104: -1- AC_SUBST([datarootdir], ['${datadir}']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([datarootdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ++ ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ++ ['${datarootdir}/doc/${PACKAGE}'])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([docdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([htmldir], ['${docdir}']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([htmldir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([dvidir], ['${docdir}']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([dvidir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([pdfdir], ['${docdir}']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([pdfdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([psdir], ['${docdir}']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([psdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([lispdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^lispdir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([localedir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}']) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([pkglibexecdir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^pkglibexecdir$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_DIRNAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DIRNAME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_DIRNAME], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module dirname shall be considered present. */ ++@%:@undef GNULIB_DIRNAME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */ ++@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DUP2], [/* Define to 1 if you have the `dup2\' function. */ ++@%:@undef HAVE_DUP2]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */ ++@%:@undef HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_DUP2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_DUP2$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_DUP2], [/* Define to 1 when the gnulib module dup2 should be tested. */ ++@%:@undef GNULIB_TEST_DUP2]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ENVIRON_DECL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ENVIRON_DECL], [/* Define if you have the declaration of environ. */ ++@%:@undef HAVE_ENVIRON_DECL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_ENVIRON]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_ENVIRON$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_ENVIRON], [/* Define to 1 when the gnulib module environ should be tested. */ ++@%:@undef GNULIB_TEST_ENVIRON]) ++m4trace:configure.ac:104: -1- AC_SUBST([INCLUDE_NEXT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([INCLUDE_NEXT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([PRAGMA_SYSTEM_HEADER]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PRAGMA_SYSTEM_HEADER]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$]) ++m4trace:configure.ac:104: -1- AC_SUBST([PRAGMA_COLUMNS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PRAGMA_COLUMNS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_COLUMNS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_ERRNO_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_ERRNO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_ERRNO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([ERRNO_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ERRNO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ERRNO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([EMULTIHOP_HIDDEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EMULTIHOP_HIDDEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([EMULTIHOP_VALUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EMULTIHOP_VALUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_VALUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([ENOLINK_HIDDEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ENOLINK_HIDDEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_HIDDEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([ENOLINK_VALUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ENOLINK_VALUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_VALUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([EOVERFLOW_HIDDEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EOVERFLOW_HIDDEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([EOVERFLOW_VALUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EOVERFLOW_VALUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_VALUE$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRERROR_R], [/* Define to 1 if you have the declaration of `strerror_r\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRERROR_R]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */ ++@%:@undef HAVE_STRERROR_R]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([STRERROR_R_CHAR_P]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([STRERROR_R_CHAR_P], [/* Define to 1 if strerror_r returns char *. */ ++@%:@undef STRERROR_R_CHAR_P]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler ++ calls it, or to nothing if \'inline\' is not supported under any name. */ ++#ifndef __cplusplus ++#undef inline ++#endif]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([mode_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^mode_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([mode_t], [/* Define to `int\' if does not define. */ ++@%:@undef mode_t]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIG_ATOMIC_T], [/* Define to 1 if the system has the type `sig_atomic_t\'. */ ++@%:@undef HAVE_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^sig_atomic_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([sig_atomic_t], [/* Define as an integer type suitable for memory locations that can be ++ accessed atomically even in the presence of asynchnonous signals. */ ++@%:@undef sig_atomic_t]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCLOSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCLOSE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FFLUSH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FFLUSH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FFLUSH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FOPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPURGE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPURGE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPURGE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPUTC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPUTC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPUTS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPUTS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FREOPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FREOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREOPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSEEK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSEEK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSEEKO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSEEKO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEKO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FTELL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FTELL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FTELLO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FTELLO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELLO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FWRITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FWRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FWRITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETDELIM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETDELIM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDELIM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLINE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLINE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLINE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PERROR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PERROR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTCHAR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTCHAR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTCHAR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_REMOVE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_REMOVE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REMOVE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RENAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RENAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RENAMEAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RENAMEAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAMEAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STDIO_H_SIGPIPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TMPFILE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TMPFILE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TMPFILE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VASPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VASPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VDPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VDPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VDPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VFPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VFPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VSNPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VSNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VSPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VSPRINTF_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FPURGE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FPURGE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FTELLO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FTELLO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETDELIM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETDELIM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETLINE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETLINE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_OBSTACK_PRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_VSNPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_VSNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FSEEKO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FSEEKO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSEEKO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FTELLO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FTELLO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTELLO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RENAMEAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RENAMEAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RENAMEAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_VASPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_VASPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_VDPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_VDPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VDPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FCLOSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FCLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCLOSE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FFLUSH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FFLUSH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FFLUSH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FOPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FOPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FPURGE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FPURGE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPURGE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FREOPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FREOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREOPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSEEK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSEEK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSEEKO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSEEKO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEKO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FTELL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FTELL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FTELLO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FTELLO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELLO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETDELIM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETDELIM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDELIM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETLINE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETLINE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLINE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_OBSTACK_PRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_OBSTACK_PRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PERROR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PERROR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_POPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_POPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_REMOVE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_REMOVE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REMOVE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_RENAME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_RENAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_RENAMEAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_RENAMEAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAMEAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STDIO_WRITE_FUNCS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TMPFILE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TMPFILE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TMPFILE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VASPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VASPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VDPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VDPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VDPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VFPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VFPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VFPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VSNPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VSNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VSPRINTF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VSPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSPRINTF$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCLOSE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FCLOSE], [/* Define to 1 when the gnulib module fclose should be tested. */ ++@%:@undef GNULIB_TEST_FCLOSE]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCNTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCNTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCNTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OPENAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OPENAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPENAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCNTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_OPENAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_OPENAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OPENAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FCNTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FCNTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCNTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_OPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_OPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_OPENAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_OPENAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPENAT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */ ++@%:@undef HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */ ++@%:@undef HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */ ++@%:@undef HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FCNTL_DUPFD_BUGGY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FCNTL_DUPFD_BUGGY$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FCNTL_DUPFD_BUGGY], [/* Define this to 1 if F_DUPFD behavior does not match POSIX */ ++@%:@undef FCNTL_DUPFD_BUGGY]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */ ++@%:@undef HAVE_FCNTL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCNTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCNTL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FCNTL], [/* Define to 1 when the gnulib module fcntl should be tested. */ ++@%:@undef GNULIB_TEST_FCNTL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOATIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WORKING_O_NOATIME], [/* Define to 1 if O_NOATIME works. */ ++@%:@undef HAVE_WORKING_O_NOATIME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOFOLLOW]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WORKING_O_NOFOLLOW], [/* Define to 1 if O_NOFOLLOW works. */ ++@%:@undef HAVE_WORKING_O_NOFOLLOW]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_FCNTL_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_FCNTL_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FCNTL_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FCNTL_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FCNTL_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FD_SAFER_FLAG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FD_SAFER_FLAG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_FD_SAFER_FLAG], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module fd-safer-flag shall be considered present. */ ++@%:@undef GNULIB_FD_SAFER_FLAG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_FFLUSH_STDIN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_FFLUSH_STDIN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_FFLUSH_STDIN], [/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if ++ fflush is known to not work, -1 if unknown. */ ++@%:@undef FUNC_FFLUSH_STDIN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FFLUSH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FFLUSH$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FFLUSH], [/* Define to 1 when the gnulib module fflush should be tested. */ ++@%:@undef GNULIB_TEST_FFLUSH]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */ ++@%:@undef HAVE_MEMPCPY]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FILENAMECAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FILENAMECAT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_FILENAMECAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module filenamecat shall be considered present. */ ++@%:@undef GNULIB_FILENAMECAT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */ ++@%:@undef HAVE_MEMPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_FLOAT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_FLOAT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FLOAT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([FLOAT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([FLOAT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLOAT_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FOPEN_TRAILING_SLASH_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FOPEN_TRAILING_SLASH_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FOPEN_TRAILING_SLASH_BUG], [/* Define to 1 if fopen() fails to recognize a trailing slash. */ ++@%:@undef FOPEN_TRAILING_SLASH_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FOPEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FOPEN], [/* Define to 1 when the gnulib module fopen should be tested. */ ++@%:@undef GNULIB_TEST_FOPEN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FOPEN_SAFER]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN_SAFER$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_FOPEN_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module fopen-safer shall be considered present. */ ++@%:@undef GNULIB_FOPEN_SAFER]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDIO_EXT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDIO_EXT_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___FPENDING], [/* Define to 1 if you have the `__fpending\' function. */ ++@%:@undef HAVE___FPENDING]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL___FPENDING]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL___FPENDING$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL___FPENDING], [/* Define to 1 if you have the declaration of `__fpending\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL___FPENDING]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PENDING_OUTPUT_N_BYTES]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PENDING_OUTPUT_N_BYTES$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PENDING_OUTPUT_N_BYTES], [/* the number of pending output bytes on stream `fp\' */ ++@%:@undef PENDING_OUTPUT_N_BYTES]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FPURGE], [/* Define to 1 if you have the `fpurge\' function. */ ++@%:@undef HAVE_FPURGE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___FPURGE], [/* Define to 1 if you have the `__fpurge\' function. */ ++@%:@undef HAVE___FPURGE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPURGE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FPURGE], [/* Define to 1 if you have the declaration of `fpurge\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_FPURGE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FPURGE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FPURGE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FPURGE], [/* Define to 1 when the gnulib module fpurge should be tested. */ ++@%:@undef GNULIB_TEST_FPURGE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___FREADING], [/* Define to 1 if you have the `__freading\' function. */ ++@%:@undef HAVE___FREADING]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ACOSL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ACOSL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ACOSL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ASINL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ASINL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ASINL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ATANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ATANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CEIL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CEIL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEIL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CEILF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CEILF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CEILL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CEILL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_COSL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_COSL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_COSL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_EXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_EXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FLOOR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FLOOR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOOR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FLOORF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FLOORF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FLOORL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FLOORL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FREXP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FREXP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FREXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FREXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISFINITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISFINITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISFINITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISINF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISINF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISINF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNAN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNAN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNANF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNANF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNAND]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNAND]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAND$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LDEXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LDEXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LDEXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LOGB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LOGB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LOGL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LOGL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ROUND]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ROUND]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUND$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ROUNDF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ROUNDF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ROUNDL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ROUNDL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGNBIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGNBIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNBIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SINL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SINL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SINL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SQRTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SQRTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SQRTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TRUNC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TRUNC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TRUNCF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TRUNCF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TRUNCL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TRUNCL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ACOSL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ACOSL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ACOSL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ASINL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ASINL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ASINL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ATANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ATANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_COSL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_COSL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COSL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_EXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_EXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISNANF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISNANF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISNAND]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISNAND]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISNANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISNANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LOGL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LOGL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LOGL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SINL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SINL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SINL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SQRTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SQRTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SQRTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_TANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_TANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ACOSL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ACOSL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ACOSL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ASINL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ASINL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ASINL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ATANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ATANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ATANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_CEILF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_CEILF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_CEILL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_CEILL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_COSL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_COSL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COSL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_EXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_EXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_EXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FLOORF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FLOORF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FLOORL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FLOORL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FREXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FREXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LDEXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LDEXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LDEXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LOGB]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LOGB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGB$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LOGL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LOGL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ROUND]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ROUND]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUND$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ROUNDF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ROUNDF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ROUNDL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ROUNDL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SINL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SINL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SINL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SQRTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SQRTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SQRTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TANL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TANL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TANL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TRUNC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TRUNCF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNCF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TRUNCL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNCL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CEIL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CEIL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEIL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CEILF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CEILF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CEILL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CEILL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FLOOR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FLOOR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOOR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FLOORF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FLOORF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FLOORL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FLOORL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FREXP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FREXP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FREXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FREXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_HUGE_VAL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_HUGE_VAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_HUGE_VAL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISFINITE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISFINITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISFINITE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISINF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISINF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISINF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISNAN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISNAN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISNAN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LDEXPL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LDEXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LDEXPL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NAN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NAN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NAN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ROUND]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ROUND]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUND$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ROUNDF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ROUNDF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ROUNDL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ROUNDL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SIGNBIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SIGNBIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SIGNBIT_USING_GCC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SIGNBIT_USING_GCC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT_USING_GCC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TRUNC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TRUNC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TRUNCF]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TRUNCF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCF$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TRUNCL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TRUNCL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCL$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXP_IN_LIBC], [/* Define if the frexp() function is available in libc. */ ++@%:@undef HAVE_FREXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREXP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FREXP], [/* Define to 1 when the gnulib module frexp should be tested. */ ++@%:@undef GNULIB_TEST_FREXP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXPL_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXPL_IN_LIBC], [/* Define if the frexpl() function is available in libc. */ ++@%:@undef HAVE_FREXPL_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREXPL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXPL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FREXPL], [/* Define to 1 when the gnulib module frexpl should be tested. */ ++@%:@undef GNULIB_TEST_FREXPL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FSEEKO], [/* Define to 1 if you have the declaration of `fseeko\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FSEEKO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FSEEKO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FSEEKO], [/* Define to 1 when the gnulib module fseeko should be tested. */ ++@%:@undef GNULIB_TEST_FSEEKO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FTELLO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FTELLO], [/* Define to 1 if you have the declaration of `ftello\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_FTELLO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [/* Define to 1 if the system\'s ftello function has the Solaris bug. */ ++@%:@undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FTELLO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELLO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FTELLO], [/* Define to 1 when the gnulib module ftello should be tested. */ ++@%:@undef GNULIB_TEST_FTELLO]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define to 1 if you have the `getdtablesize\' function. */ ++@%:@undef HAVE_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETDTABLESIZE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETDTABLESIZE], [/* Define to 1 when the gnulib module getdtablesize should be tested. */ ++@%:@undef GNULIB_TEST_GETDTABLESIZE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_GETOPT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_GETOPT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_GETOPT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_GETOPT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETOPT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETOPT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_GETOPT_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETOPT_LONG_ONLY], [/* Define to 1 if you have the `getopt_long_only\' function. */ ++@%:@undef HAVE_GETOPT_LONG_ONLY]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_LONG_ONLY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be ++ used. */ ++@%:@undef __GETOPT_PREFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST([GETOPT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GETOPT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_GETENV], [/* Define to 1 if you have the declaration of `getenv\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_GETENV]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETOPT_GNU]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETOPT_GNU], [/* Define to 1 when the gnulib module getopt-gnu should be tested. */ ++@%:@undef GNULIB_TEST_GETOPT_GNU]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be ++ used. */ ++@%:@undef __GETOPT_PREFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST([GETOPT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GETOPT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBINTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBINTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBINTL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBINTL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBINTL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBINTL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([restrict], [/* Define to the equivalent of the C99 \'restrict\' keyword, or to ++ nothing if this is not supported. Do not define if restrict is ++ supported directly. */ ++#undef restrict ++/* Work around a bug in Sun C++: it does not support _Restrict or ++ __restrict__, even though the corresponding Sun C compiler ends up with ++ "#define restrict _Restrict" or "#define restrict __restrict__" in the ++ previous line. Perhaps some future version of Sun C++ will work with ++ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ ++#if defined __SUNPRO_CC && !defined __RESTRICT ++# define _Restrict ++# define __restrict__ ++#endif]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([restrict]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([restrict]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_TIMEVAL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_TIMEVAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SYS_TIME_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ ++@%:@undef HAVE_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIMEB_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */ ++@%:@undef HAVE__FTIME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIMEB_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */ ++@%:@undef HAVE__FTIME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([gmtime]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^gmtime$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([gmtime], [/* Define to rpl_gmtime if the replacement function should be used. */ ++@%:@undef gmtime]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([localtime]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^localtime$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([localtime], [/* Define to rpl_localtime if the replacement function should be used. */ ++@%:@undef localtime]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_CLOBBERS_LOCALTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [/* Define if gettimeofday clobbers the localtime buffer. */ ++@%:@undef GETTIMEOFDAY_CLOBBERS_LOCALTIME]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIMEB_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */ ++@%:@undef HAVE__FTIME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_TIMEZONE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_TIMEZONE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GETTIMEOFDAY_TIMEZONE], [/* Define this to \'void\' or \'struct timezone\' to match the system\'s ++ declaration of the second argument to gettimeofday. */ ++@%:@undef GETTIMEOFDAY_TIMEZONE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETTIMEOFDAY$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETTIMEOFDAY], [/* Define to 1 when the gnulib module gettimeofday should be tested. */ ++@%:@undef GNULIB_TEST_GETTIMEOFDAY]) ++m4trace:configure.ac:104: -1- AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INLINE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INLINE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_INLINE], [/* Define to 1 if the compiler supports one of the keywords \'inline\', ++ \'__inline__\', \'__inline\' and effectively inlines functions marked as such. ++ */ ++@%:@undef HAVE_INLINE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNAND_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISNAND_IN_LIBC], [/* Define if the isnan(double) function is available in libc. */ ++@%:@undef HAVE_ISNAND_IN_LIBC]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most ++ significant byte first (like Motorola and SPARC, unlike Intel). */ ++#if defined AC_APPLE_UNIVERSAL_BUILD ++# if defined __BIG_ENDIAN__ ++# define WORDS_BIGENDIAN 1 ++# endif ++#else ++# ifndef WORDS_BIGENDIAN ++# undef WORDS_BIGENDIAN ++# endif ++#endif]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */ ++@%:@undef AC_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'double\'. */ ++@%:@undef DBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'double\'. */ ++@%:@undef DBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */ ++@%:@undef FLT_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'float\'. */ ++@%:@undef FLT_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANF_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISNANF_IN_LIBC], [/* Define if the isnan(float) function is available in libc. */ ++@%:@undef HAVE_ISNANF_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */ ++@%:@undef FLT_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'float\'. */ ++@%:@undef FLT_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most ++ significant byte first (like Motorola and SPARC, unlike Intel). */ ++#if defined AC_APPLE_UNIVERSAL_BUILD ++# if defined __BIG_ENDIAN__ ++# define WORDS_BIGENDIAN 1 ++# endif ++#else ++# ifndef WORDS_BIGENDIAN ++# undef WORDS_BIGENDIAN ++# endif ++#endif]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WORDS_BIGENDIAN$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */ ++@%:@undef AC_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANL_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISNANL_IN_LIBC], [/* Define if the isnan(long double) function is available in libc. */ ++@%:@undef HAVE_ISNANL_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'long double\'. */ ++@%:@undef LDBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'long double\'. */ ++@%:@undef LDBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LANGINFO_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_LANGINFO_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_LANGINFO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LANGINFO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LANGINFO_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_CODESET]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_CODESET]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_T_FMT_AMPM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_ERA]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_ERA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_YESEXPR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_YESEXPR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LIBSIGSEGV], [/* Define if you have the libsigsegv library. */ ++@%:@undef HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBSIGSEGV]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBSIGSEGV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV_PREFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV_PREFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_GETC_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_SUBST([GLIBC21]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GLIBC21]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GLIBC21$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALCHARSET_TESTS_ENVIRONMENT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PTHREAD_IN_USE_DETECTION_HARD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PTHREAD_IN_USE_DETECTION_HARD], [/* Define if the pthread_in_use() detection is hard. */ ++@%:@undef PTHREAD_IN_USE_DETECTION_HARD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_POSIX_THREADS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_POSIX_THREADS], [/* Define if the POSIX multithreading library can be used. */ ++@%:@undef USE_POSIX_THREADS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_POSIX_THREADS_WEAK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_POSIX_THREADS_WEAK], [/* Define if references to the POSIX multithreading library should be made ++ weak. */ ++@%:@undef USE_POSIX_THREADS_WEAK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_SOLARIS_THREADS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_SOLARIS_THREADS], [/* Define if the old Solaris multithreading library can be used. */ ++@%:@undef USE_SOLARIS_THREADS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_SOLARIS_THREADS_WEAK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_SOLARIS_THREADS_WEAK], [/* Define if references to the old Solaris multithreading library should be ++ made weak. */ ++@%:@undef USE_SOLARIS_THREADS_WEAK]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBPTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBPTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBPTH]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBPTH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBPTH$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBPTH_PREFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBPTH_PREFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH_PREFIX$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_PTH_THREADS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_PTH_THREADS], [/* Define if the GNU Pth multithreading library can be used. */ ++@%:@undef USE_PTH_THREADS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_PTH_THREADS_WEAK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_PTH_THREADS_WEAK], [/* Define if references to the GNU Pth multithreading library should be made ++ weak. */ ++@%:@undef USE_PTH_THREADS_WEAK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_THREADS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_WIN32_THREADS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_WIN32_THREADS], [/* Define if the Win32 multithreading API can be used. */ ++@%:@undef USE_WIN32_THREADS]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBTHREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBTHREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTHREAD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBTHREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBTHREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBTHREAD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBMULTITHREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBMULTITHREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBMULTITHREAD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LTLIBMULTITHREAD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBMULTITHREAD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBMULTITHREAD$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_RWLOCK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PTHREAD_RWLOCK], [/* Define if the POSIX multithreading library has read/write locks. */ ++@%:@undef HAVE_PTHREAD_RWLOCK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_MUTEX_RECURSIVE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PTHREAD_MUTEX_RECURSIVE], [/* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ ++@%:@undef HAVE_PTHREAD_MUTEX_RECURSIVE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LSEEK_PIPE_BROKEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LSEEK_PIPE_BROKEN], [/* Define to 1 if lseek does not detect pipes. */ ++@%:@undef LSEEK_PIPE_BROKEN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LSEEK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSEEK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_LSEEK], [/* Define to 1 when the gnulib module lseek should be tested. */ ++@%:@undef GNULIB_TEST_LSEEK]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCHMODAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCHMODAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHMODAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSTATAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSTATAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSTATAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FUTIMENS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FUTIMENS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FUTIMENS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LCHMOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LCHMOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHMOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LSTAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LSTAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSTAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKDIRAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKDIRAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDIRAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKFIFO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKFIFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKFIFOAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKFIFOAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFOAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKNOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKNOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKNODAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKNODAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNODAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UTIMENSAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UTIMENSAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UTIMENSAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCHMODAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCHMODAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHMODAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FSTATAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FSTATAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSTATAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FUTIMENS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FUTIMENS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FUTIMENS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LCHMOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LCHMOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHMOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LSTAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LSTAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LSTAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKDIRAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKDIRAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDIRAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKFIFO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKFIFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKFIFOAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKFIFOAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFOAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKNOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKNOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKNODAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKNODAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNODAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UTIMENSAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UTIMENSAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UTIMENSAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSTAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSTAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSTATAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSTATAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTATAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FUTIMENS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FUTIMENS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUTIMENS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LSTAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LSTAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSTAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKDIR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKDIR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKFIFO]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKFIFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKFIFO$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKNOD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKNOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKNOD$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UTIMENSAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UTIMENSAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UTIMENSAT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */ ++@%:@undef HAVE_LSTAT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing ++ slash. */ ++@%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LSTAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSTAT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_LSTAT], [/* Define to 1 when the gnulib module lstat should be tested. */ ++@%:@undef GNULIB_TEST_LSTAT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDLIB_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MALLOC_GNU], [/* Define to 1 if your system has a GNU libc compatible \'malloc\' function, and ++ to 0 otherwise. */ ++@%:@undef HAVE_MALLOC_GNU]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_MALLOC_GNU]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_MALLOC_GNU], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module malloc-gnu shall be considered present. */ ++@%:@undef GNULIB_MALLOC_GNU]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MALLOC_POSIX], [/* Define if the \'malloc\' function is POSIX compliant. */ ++@%:@undef HAVE_MALLOC_POSIX]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MALLOC_POSIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MALLOC_POSIX], [/* Define to 1 when the gnulib module malloc-posix should be tested. */ ++@%:@undef GNULIB_TEST_MALLOC_POSIX]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDLIB_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MALLOC_0_IS_NONNULL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MALLOC_0_IS_NONNULL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MALLOC_0_IS_NONNULL], [/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ ++@%:@undef MALLOC_0_IS_NONNULL]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MATH_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_MATH_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_MATH_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_MATH_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_MATH_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_MATH_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_MATH_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_MATH_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MBSTATE_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSTATE_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSTATE_T], [/* Define to 1 if declares mbstate_t. */ ++@%:@undef HAVE_MBSTATE_T]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([mbstate_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^mbstate_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([mbstate_t], [/* Define to a type if does not define. */ ++@%:@undef mbstate_t]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ ++@%:@undef HAVE_MBSINIT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ ++@%:@undef HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ ++@%:@undef HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG1_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_NULL_ARG1_BUG], [/* Define if the mbrtowc function has the NULL pwc argument bug. */ ++@%:@undef MBRTOWC_NULL_ARG1_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG2_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_NULL_ARG2_BUG], [/* Define if the mbrtowc function has the NULL string argument bug. */ ++@%:@undef MBRTOWC_NULL_ARG2_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_RETVAL_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_RETVAL_BUG], [/* Define if the mbrtowc function returns a wrong return value. */ ++@%:@undef MBRTOWC_RETVAL_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NUL_RETVAL_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_NUL_RETVAL_BUG], [/* Define if the mbrtowc function does not return 0 for a NUL character. */ ++@%:@undef MBRTOWC_NUL_RETVAL_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBRTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MBRTOWC], [/* Define to 1 when the gnulib module mbrtowc should be tested. */ ++@%:@undef GNULIB_TEST_MBRTOWC]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ ++@%:@undef HAVE_MBSINIT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ ++@%:@undef HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ ++@%:@undef HAVE_MBSINIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSINIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MBSINIT], [/* Define to 1 when the gnulib module mbsinit should be tested. */ ++@%:@undef GNULIB_TEST_MBSINIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBTOWC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBTOWC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MBTOWC], [/* Define to 1 when the gnulib module mbtowc should be tested. */ ++@%:@undef GNULIB_TEST_MBTOWC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMMEM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMMEM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMMEM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMPCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMPCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMRCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMRCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMRCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STPCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STPNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STPNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRCHRNUL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRCHRNUL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRNCAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRNCAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNCAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRNDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRNDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRNLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRPBRK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRPBRK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPBRK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRSEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRSEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRSTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRSTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRCASESTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRCASESTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCASESTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOK_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOK_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOK_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSNLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSRCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSRCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSSTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSSTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSNCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSNCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSPCASECMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSPCASECMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCASESTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCASESTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCSPN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCSPN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCSPN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSPBRK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSPBRK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPBRK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSSPN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSSPN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSPN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSSEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSSEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSTOK_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSTOK_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRERROR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRERROR_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRERROR_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRSIGNAL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRSIGNAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRVERSCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRVERSCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_MEMMEM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_MEMMEM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MEMPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MEMPCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_MEMRCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_MEMRCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STPCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STPCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STPNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STPNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRCHRNUL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRCHRNUL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRNDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRNDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRNLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRPBRK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRPBRK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPBRK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRSEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRSEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRCASESTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRCASESTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCASESTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRTOK_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOK_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRERROR_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRERROR_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRSIGNAL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRSIGNAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRVERSCMP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRVERSCMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRVERSCMP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MEMCHR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMCHR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MEMMEM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MEMMEM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMMEM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STPNCPY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STPNCPY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STPNCPY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRSTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRSTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRCASESTR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRCASESTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRCASESTR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRERROR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRERROR_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRERROR_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRNCAT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRNCAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNCAT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRNDUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRNDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNDUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRNLEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNLEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRSIGNAL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRSIGNAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRTOK_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRTOK_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOK_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([UNDEFINE_STRTOK_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([UNDEFINE_STRTOK_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MEMCHR], [/* Define to 1 if you have the `memchr\' function. */ ++@%:@undef HAVE_MEMCHR]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_BP_SYM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_BP_SYM_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BP_SYM_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MEMCHR], [/* Define to 1 when the gnulib module memchr should be tested. */ ++@%:@undef GNULIB_TEST_MEMCHR]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MKDTEMP], [/* Define to 1 if you have the `mkdtemp\' function. */ ++@%:@undef HAVE_MKDTEMP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKDTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MKDTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKDTEMP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MKDTEMP], [/* Define to 1 when the gnulib module mkdtemp should be tested. */ ++@%:@undef GNULIB_TEST_MKDTEMP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ ++@%:@undef _FILE_OFFSET_BITS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ ++@%:@undef _LARGE_FILES]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([_DARWIN_USE_64_BIT_INODE], [/* Enable large inode numbers on Mac OS X 10.5. */ ++#ifndef _DARWIN_USE_64_BIT_INODE ++# define _DARWIN_USE_64_BIT_INODE 1 ++#endif]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define to 1 if you have the `mkstemp\' function. */ ++@%:@undef HAVE_MKSTEMP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MKSTEMP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKSTEMP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MKSTEMP], [/* Define to 1 when the gnulib module mkstemp should be tested. */ ++@%:@undef GNULIB_TEST_MKSTEMP]) ++m4trace:configure.ac:104: -1- AC_SUBST([APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */ ++@%:@undef HAVE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_NL_LANGINFO_YESEXPR_WORKS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_NL_LANGINFO_YESEXPR_WORKS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_NL_LANGINFO_YESEXPR_WORKS], [/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */ ++@%:@undef FUNC_NL_LANGINFO_YESEXPR_WORKS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_NL_LANGINFO], [/* Define if nl_langinfo exists but is overridden by gnulib. */ ++@%:@undef REPLACE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_NL_LANGINFO], [/* Define to 1 when the gnulib module nl_langinfo should be tested. */ ++@%:@undef GNULIB_TEST_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OBSTACK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OBSTACK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_OBSTACK], [/* Define to 1 if libc includes obstacks. */ ++@%:@undef HAVE_OBSTACK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PROMOTED_MODE_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PROMOTED_MODE_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PROMOTED_MODE_T], [/* Define to the type that is the result of default argument promotions of ++ type mode_t. */ ++@%:@undef PROMOTED_MODE_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */ ++@%:@undef HAVE_LSTAT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([OPEN_TRAILING_SLASH_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^OPEN_TRAILING_SLASH_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([OPEN_TRAILING_SLASH_BUG], [/* Define to 1 if open() fails to recognize a trailing slash. */ ++@%:@undef OPEN_TRAILING_SLASH_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_OPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_OPEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_OPEN], [/* Define to 1 when the gnulib module open should be tested. */ ++@%:@undef GNULIB_TEST_OPEN]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PATHCONF], [/* Define to 1 if you have the `pathconf\' function. */ ++@%:@undef HAVE_PATHCONF]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PIPE2], [/* Define to 1 if you have the `pipe2\' function. */ ++@%:@undef HAVE_PIPE2]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PIPE2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PIPE2$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_PIPE2], [/* Define to 1 when the gnulib module pipe2 should be tested. */ ++@%:@undef GNULIB_TEST_PIPE2]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_PIPE2_SAFER]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2_SAFER$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_PIPE2_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module pipe2-safer shall be considered present. */ ++@%:@undef GNULIB_PIPE2_SAFER]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_INIT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_INIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_INIT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETFLAGS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETFLAGS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETFLAGS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETFLAGS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETFLAGS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETFLAGS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETPGROUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETPGROUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETPGROUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETPGROUP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETPGROUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETPGROUP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGMASK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSIGMASK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGMASK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGMASK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSIGMASK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGMASK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_DESTROY]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_DESTROY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_DESTROY$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SPAWNATTR_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SPAWNATTR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SPAWN_FILE_ACTIONS_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SPAWN_FILE_ACTIONS_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POSIX_SPAWN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_POSIX_SPAWN], [/* Define to 1 if you have the `posix_spawn\' function. */ ++@%:@undef HAVE_POSIX_SPAWN]) ++m4trace:configure.ac:104: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... ++../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ++../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ++../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... ++m4/posix_spawn.m4:84: gl_POSIX_SPAWN_WORKS is expanded from... ++m4/posix_spawn.m4:13: gl_POSIX_SPAWN_BODY is expanded from... ++m4/posix_spawn.m4:8: gl_POSIX_SPAWN is expanded from... ++m4/gnulib-comp.m4:377: M4_INIT is expanded from... ++configure.ac:104: the top level]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE], [/* Define to 1 when the gnulib module posix_spawn_file_actions_addclose should ++ be tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2], [/* Define to 1 when the gnulib module posix_spawn_file_actions_adddup2 should ++ be tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN], [/* Define to 1 when the gnulib module posix_spawn_file_actions_addopen should ++ be tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY], [/* Define to 1 when the gnulib module posix_spawn_file_actions_destroy should ++ be tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT], [/* Define to 1 when the gnulib module posix_spawn_file_actions_init should be ++ tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_DESTROY]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_DESTROY$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_DESTROY], [/* Define to 1 when the gnulib module posix_spawnattr_destroy should be ++ tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_DESTROY]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_INIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_INIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_INIT], [/* Define to 1 when the gnulib module posix_spawnattr_init should be tested. ++ */ ++@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_INIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS], [/* Define to 1 when the gnulib module posix_spawnattr_setflags should be ++ tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK], [/* Define to 1 when the gnulib module posix_spawnattr_setsigmask should be ++ tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PATHS_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PATHS_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PATHS_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CONFSTR], [/* Define to 1 if you have the `confstr\' function. */ ++@%:@undef HAVE_CONFSTR]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SCHED_SETPARAM], [/* Define to 1 if you have the `sched_setparam\' function. */ ++@%:@undef HAVE_SCHED_SETPARAM]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SCHED_SETSCHEDULER], [/* Define to 1 if you have the `sched_setscheduler\' function. */ ++@%:@undef HAVE_SCHED_SETSCHEDULER]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the `setegid\' function. */ ++@%:@undef HAVE_SETEGID]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the `seteuid\' function. */ ++@%:@undef HAVE_SETEUID]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */ ++@%:@undef HAVE_VFORK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNP], [/* Define to 1 when the gnulib module posix_spawnp should be tested. */ ++@%:@undef GNULIB_TEST_POSIX_SPAWNP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXP_IN_LIBC], [/* Define if the frexp function is available in libc. */ ++@%:@undef HAVE_FREXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LDEXP_IN_LIBC], [/* Define if the ldexp function is available in libc. */ ++@%:@undef HAVE_LDEXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXPL_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXPL_IN_LIBC], [/* Define if the frexpl function is available in libc. */ ++@%:@undef HAVE_FREXPL_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXPL_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXPL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LDEXPL_IN_LIBC], [/* Define if the ldexpl function is available in libc. */ ++@%:@undef HAVE_LDEXPL_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_NAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_NAME], [/* Define to 1 if you have the declaration of `program_invocation_name\', and ++ to 0 if you don\'t. */ ++@%:@undef HAVE_DECL_PROGRAM_INVOCATION_NAME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME], [/* Define to 1 if you have the declaration of `program_invocation_short_name\', ++ and to 0 if you don\'t. */ ++@%:@undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_RAWMEMCHR], [/* Define to 1 if you have the `rawmemchr\' function. */ ++@%:@undef HAVE_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RAWMEMCHR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_RAWMEMCHR], [/* Define to 1 when the gnulib module rawmemchr should be tested. */ ++@%:@undef GNULIB_TEST_RAWMEMCHR]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */ ++@%:@undef HAVE_READLINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([READLINK_TRAILING_SLASH_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^READLINK_TRAILING_SLASH_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([READLINK_TRAILING_SLASH_BUG], [/* Define to 1 if readlink fails to recognize a trailing slash. */ ++@%:@undef READLINK_TRAILING_SLASH_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_READLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_READLINK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_READLINK], [/* Define to 1 when the gnulib module readlink should be tested. */ ++@%:@undef GNULIB_TEST_READLINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([_REGEX_LARGE_OFFSETS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([_REGEX_LARGE_OFFSETS], [/* Define if you want regoff_t to be at least as wide POSIX requires. */ ++@%:@undef _REGEX_LARGE_OFFSETS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_syntax_options]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_syntax_options$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_syntax_options], [/* Define to rpl_re_syntax_options if the replacement should be used. */ ++@%:@undef re_syntax_options]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_set_syntax]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_syntax$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_set_syntax], [/* Define to rpl_re_set_syntax if the replacement should be used. */ ++@%:@undef re_set_syntax]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_compile_pattern]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_pattern$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_compile_pattern], [/* Define to rpl_re_compile_pattern if the replacement should be used. */ ++@%:@undef re_compile_pattern]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_compile_fastmap]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_fastmap$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_compile_fastmap], [/* Define to rpl_re_compile_fastmap if the replacement should be used. */ ++@%:@undef re_compile_fastmap]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_search]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_search], [/* Define to rpl_re_search if the replacement should be used. */ ++@%:@undef re_search]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_search_2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search_2$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_search_2], [/* Define to rpl_re_search_2 if the replacement should be used. */ ++@%:@undef re_search_2]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_match]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_match], [/* Define to rpl_re_match if the replacement should be used. */ ++@%:@undef re_match]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_match_2]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match_2$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_match_2], [/* Define to rpl_re_match_2 if the replacement should be used. */ ++@%:@undef re_match_2]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_set_registers]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_registers$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_set_registers], [/* Define to rpl_re_set_registers if the replacement should be used. */ ++@%:@undef re_set_registers]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_comp]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_comp$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_comp], [/* Define to rpl_re_comp if the replacement should be used. */ ++@%:@undef re_comp]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_exec]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^re_exec$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([re_exec], [/* Define to rpl_re_exec if the replacement should be used. */ ++@%:@undef re_exec]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regcomp]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regcomp$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([regcomp], [/* Define to rpl_regcomp if the replacement should be used. */ ++@%:@undef regcomp]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regexec]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regexec$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([regexec], [/* Define to rpl_regexec if the replacement should be used. */ ++@%:@undef regexec]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regerror]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regerror$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([regerror], [/* Define to rpl_regerror if the replacement should be used. */ ++@%:@undef regerror]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regfree]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^regfree$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([regfree], [/* Define to rpl_regfree if the replacement should be used. */ ++@%:@undef regfree]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBINTL_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBINTL_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBINTL_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */ ++@%:@undef HAVE_ISBLANK]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */ ++@%:@undef HAVE_ISWCTYPE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCSCOLL], [/* Define to 1 if you have the `wcscoll\' function. */ ++@%:@undef HAVE_WCSCOLL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_ISBLANK]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */ ++@%:@undef HAVE_LSTAT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_TRAILING_SLASH_DEST_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_DEST_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_TRAILING_SLASH_DEST_BUG], [/* Define if rename does not correctly handle slashes on the destination ++ argument, such as on Solaris 10 or NetBSD 1.6. */ ++@%:@undef RENAME_TRAILING_SLASH_DEST_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_TRAILING_SLASH_SOURCE_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_SOURCE_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_TRAILING_SLASH_SOURCE_BUG], [/* Define if rename does not correctly handle slashes on the source argument, ++ such as on Solaris 9 or cygwin 1.5. */ ++@%:@undef RENAME_TRAILING_SLASH_SOURCE_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_HARD_LINK_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_HARD_LINK_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_HARD_LINK_BUG], [/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or ++ Cygwin 1.5. */ ++@%:@undef RENAME_HARD_LINK_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_DEST_EXISTS_BUG]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_DEST_EXISTS_BUG$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_DEST_EXISTS_BUG], [/* Define if rename does not work when the destination file exists, as on ++ Cygwin 1.5 or Windows. */ ++@%:@undef RENAME_DEST_EXISTS_BUG]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RENAME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RENAME$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_RENAME], [/* Define to 1 when the gnulib module rename should be tested. */ ++@%:@undef GNULIB_TEST_RENAME]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RMDIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RMDIR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_RMDIR], [/* Define to 1 when the gnulib module rmdir should be tested. */ ++@%:@undef GNULIB_TEST_RMDIR]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SCHED_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SCHED_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SCHED_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SCHED_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SCHED_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SCHED_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SCHED_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SCHED_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SCHED_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SCHED_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SCHED_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_SCHED_PARAM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_SCHED_PARAM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SCHED_PARAM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([SCHED_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SCHED_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SCHED_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGNAL_H_SIGPIPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNAL_H_SIGPIPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGPROCMASK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGPROCMASK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGPROCMASK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGACTION]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGACTION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGACTION$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SIGNALBLOCKING]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SIGNALBLOCKING$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGSET_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGSET_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGINFO_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGINFO_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGACTION]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGACTION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGACTION$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */ ++@%:@undef HAVE_SIGACTION]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRUCT_SIGACTION_SA_SIGACTION], [/* Define to 1 if `sa_sigaction\' is a member of `struct sigaction\'. */ ++@%:@undef HAVE_STRUCT_SIGACTION_SA_SIGACTION]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([uid_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^uid_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if doesn\'t define. */ ++@%:@undef uid_t]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([gid_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^gid_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if doesn\'t define. */ ++@%:@undef gid_t]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGALTSTACK], [/* Define to 1 if you have the `sigaltstack\' function. */ ++@%:@undef HAVE_SIGALTSTACK]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the `siginterrupt\' function. */ ++@%:@undef HAVE_SIGINTERRUPT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINFO_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGINFO_T], [/* Define to 1 if the system has the type `siginfo_t\'. */ ++@%:@undef HAVE_SIGINFO_T]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGACTION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGACTION$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SIGACTION], [/* Define to 1 when the gnulib module sigaction should be tested. */ ++@%:@undef GNULIB_TEST_SIGACTION]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SIGNAL_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SIGNAL_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SIGNAL_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_SIGNBIT_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'float\'. */ ++@%:@undef FLT_SIGNBIT_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_SIGNBIT_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'float\'. */ ++@%:@undef FLT_SIGNBIT_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_SIGNBIT_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'double\'. */ ++@%:@undef DBL_SIGNBIT_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_SIGNBIT_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'double\'. */ ++@%:@undef DBL_SIGNBIT_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_SIGNBIT_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'long double\'. */ ++@%:@undef LDBL_SIGNBIT_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_SIGNBIT_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'long ++ double\'. */ ++@%:@undef LDBL_SIGNBIT_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGNF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_COPYSIGNF], [/* Define to 1 if you have the declaration of `copysignf\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_COPYSIGNF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGNF_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNF_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_COPYSIGNF_IN_LIBC], [/* Define if the copysignf function is declared in and available in ++ libc. */ ++@%:@undef HAVE_COPYSIGNF_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_COPYSIGN], [/* Define to 1 if you have the declaration of `copysign\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_COPYSIGN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGN_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGN_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_COPYSIGN_IN_LIBC], [/* Define if the copysign function is declared in and available in ++ libc. */ ++@%:@undef HAVE_COPYSIGN_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGNL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_COPYSIGNL], [/* Define to 1 if you have the declaration of `copysignl\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_COPYSIGNL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGNL_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNL_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_COPYSIGNL_IN_LIBC], [/* Define if the copysignl function is declared in and available in ++ libc. */ ++@%:@undef HAVE_COPYSIGNL_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGNBIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGNBIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SIGNBIT], [/* Define to 1 when the gnulib module signbit should be tested. */ ++@%:@undef GNULIB_TEST_SIGNBIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSET_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGSET_T], [/* Define to 1 if the system has the type `sigset_t\'. */ ++@%:@undef HAVE_SIGSET_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGSET_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGSET_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGPROCMASK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGPROCMASK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SIGPROCMASK], [/* Define to 1 when the gnulib module sigprocmask should be tested. */ ++@%:@undef GNULIB_TEST_SIGPROCMASK]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([SIZE_MAX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_MAX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define ++ it. */ ++@%:@undef SIZE_MAX]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define ++ it. */ ++#ifndef SIZE_MAX ++# undef SIZE_MAX ++#endif]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ ++@%:@undef HAVE_SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SNPRINTF], [/* Define to 1 if you have the declaration of `snprintf\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SNPRINTF], [/* Define to 1 when the gnulib module snprintf should be tested. */ ++@%:@undef GNULIB_TEST_SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_SNPRINTF], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module snprintf shall be considered present. */ ++@%:@undef GNULIB_SNPRINTF]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SPAWN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SPAWN_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SPAWN_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SPAWN_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SPAWN_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SPAWN_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SPAWN_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SPAWN_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_SPAWNATTR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_POSIX_SPAWNATTR_T], [/* Define to 1 if the system has the type `posix_spawnattr_t\'. */ ++@%:@undef HAVE_POSIX_SPAWNATTR_T]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_SPAWN_FILE_ACTIONS_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_POSIX_SPAWN_FILE_ACTIONS_T], [/* Define to 1 if the system has the type `posix_spawn_file_actions_t\'. */ ++@%:@undef HAVE_POSIX_SPAWN_FILE_ACTIONS_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SPAWN_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SPAWN_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SPAWN_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([ssize_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ssize_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([ssize_t], [/* Define as a signed type of the same size as size_t. */ ++@%:@undef ssize_t]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */ ++@%:@undef HAVE_LSTAT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FUNC_STAT_DIR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_DIR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_FUNC_STAT_DIR], [/* Define to 1 if stat needs help when passed a directory name with a trailing ++ slash */ ++@%:@undef REPLACE_FUNC_STAT_DIR]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FUNC_STAT_FILE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_FILE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_FUNC_STAT_FILE], [/* Define to 1 if stat needs help when passed a file name with a trailing ++ slash */ ++@%:@undef REPLACE_FUNC_STAT_FILE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STAT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STAT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STAT], [/* Define to 1 when the gnulib module stat should be tested. */ ++@%:@undef GNULIB_TEST_STAT]) ++m4trace:configure.ac:104: -1- AC_SUBST([STDARG_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDARG_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDARG_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDARG_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDARG_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDARG_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDARG_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDARG_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDARG_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDARG_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([va_copy]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([va_copy], [/* Define as a macro for copying va_list variables. */ ++@%:@undef va_copy]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([gl_VA_COPY], [/* A replacement for va_copy, if needed. */ ++#define gl_va_copy(a,b) ((a) = (b))]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([va_copy]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([va_copy], [/* Define as a macro for copying va_list variables. */ ++@%:@undef va_copy]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */ ++@%:@undef HAVE__BOOL]) ++m4trace:configure.ac:104: -1- AC_SUBST([STDBOOL_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDBOOL_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDBOOL_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE__BOOL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE__BOOL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NULL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NULL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NULL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCHAR_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCHAR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([STDDEF_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDDEF_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDDEF_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */ ++@%:@undef HAVE_WCHAR_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDDEF_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDDEF_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDDEF_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LONG_LONG_INT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LONG_LONG_INT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNSIGNED_LONG_LONG_INT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_INTTYPES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_INTTYPES_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDINT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDINT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDINT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDINT_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDINT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_INTTYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_INTTYPES_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_BITYPES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_INTTYPES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_INTTYPES_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_BITYPES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_BITYPES_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_PTRDIFF_T], [/* Define to the number of bits in type \'ptrdiff_t\'. */ ++@%:@undef BITSIZEOF_PTRDIFF_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_SIZE_T], [/* Define to the number of bits in type \'size_t\'. */ ++@%:@undef BITSIZEOF_SIZE_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_PTRDIFF_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_PTRDIFF_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_SIZE_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_SIZE_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_SIG_ATOMIC_T], [/* Define to the number of bits in type \'sig_atomic_t\'. */ ++@%:@undef BITSIZEOF_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_WCHAR_T], [/* Define to the number of bits in type \'wchar_t\'. */ ++@%:@undef BITSIZEOF_WCHAR_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_WINT_T], [/* Define to the number of bits in type \'wint_t\'. */ ++@%:@undef BITSIZEOF_WINT_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_WCHAR_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_WCHAR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_WINT_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_WINT_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGNED_SIG_ATOMIC_T], [/* Define to 1 if \'sig_atomic_t\' is a signed integer type. */ ++@%:@undef HAVE_SIGNED_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGNED_WCHAR_T], [/* Define to 1 if \'wchar_t\' is a signed integer type. */ ++@%:@undef HAVE_SIGNED_WCHAR_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGNED_WINT_T], [/* Define to 1 if \'wint_t\' is a signed integer type. */ ++@%:@undef HAVE_SIGNED_WINT_T]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGNED_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGNED_SIG_ATOMIC_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGNED_WCHAR_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGNED_WCHAR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGNED_WINT_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGNED_WINT_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PTRDIFF_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'ptrdiff_t\'. */ ++@%:@undef PTRDIFF_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([SIZE_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'size_t\'. */ ++@%:@undef SIZE_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST([PTRDIFF_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PTRDIFF_T_SUFFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([SIZE_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SIZE_T_SUFFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([SIG_ATOMIC_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'sig_atomic_t\'. */ ++@%:@undef SIG_ATOMIC_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([WCHAR_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'wchar_t\'. */ ++@%:@undef WCHAR_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([WINT_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ \'wint_t\'. */ ++@%:@undef WINT_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST([SIG_ATOMIC_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SIG_ATOMIC_T_SUFFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([WCHAR_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([WCHAR_T_SUFFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([WINT_T_SUFFIX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([WINT_T_SUFFIX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WINT_T_SUFFIX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([STDINT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDINT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STDINT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDIO_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDIO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDIO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDIO_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDIO_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDLIB_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDLIB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDLIB_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRCHRNUL], [/* Define to 1 if you have the `strchrnul\' function. */ ++@%:@undef HAVE_STRCHRNUL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCHRNUL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRCHRNUL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRCHRNUL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRCHRNUL], [/* Define to 1 when the gnulib module strchrnul should be tested. */ ++@%:@undef GNULIB_TEST_STRCHRNUL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRERROR], [/* Define to 1 if you have the declaration of `strerror\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRERROR]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_STRERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_STRERROR], [/* Define this to 1 if strerror is broken. */ ++@%:@undef REPLACE_STRERROR]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRERROR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRERROR], [/* Define to 1 when the gnulib module strerror should be tested. */ ++@%:@undef GNULIB_TEST_STRERROR]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STRING_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STRING_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STRING_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STRING_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STRING_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRNDUP], [/* Define to 1 if you have the declaration of `strndup\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRNDUP]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */ ++@%:@undef HAVE_STRNDUP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRNDUP], [/* Define to 1 when the gnulib module strndup should be tested. */ ++@%:@undef GNULIB_TEST_STRNDUP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRNLEN], [/* Define to 1 if you have the declaration of `strnlen\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRNLEN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNLEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRNLEN], [/* Define to 1 when the gnulib module strnlen should be tested. */ ++@%:@undef GNULIB_TEST_STRNLEN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRSIGNAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRSIGNAL], [/* Define to 1 if you have the declaration of `strsignal\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_STRSIGNAL]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRSIGNAL], [/* Define to 1 if you have the `strsignal\' function. */ ++@%:@undef HAVE_STRSIGNAL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSIGNAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- _m4_warn([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete. ++You should run autoupdate.], [../../lib/autoconf/specific.m4:39: AC_DECL_SYS_SIGLIST is expanded from... ++m4/strsignal.m4:59: gl_PREREQ_STRSIGNAL is expanded from... ++m4/strsignal.m4:7: gl_FUNC_STRSIGNAL is expanded from... ++m4/gnulib-comp.m4:377: M4_INIT is expanded from... ++configure.ac:104: the top level]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SYS_SIGLIST]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SYS_SIGLIST], [/* Define to 1 if you have the declaration of `sys_siglist\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_SYS_SIGLIST]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SYS_SIGLIST]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL__SYS_SIGLIST], [/* Define to 1 if you have the declaration of `_sys_siglist\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL__SYS_SIGLIST]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRSIGNAL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSIGNAL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRSIGNAL], [/* Define to 1 when the gnulib module strsignal should be tested. */ ++@%:@undef GNULIB_TEST_STRSIGNAL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRSTR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSTR$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRSTR], [/* Define to 1 when the gnulib module strstr should be tested. */ ++@%:@undef GNULIB_TEST_STRSTR]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRTOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRTOD], [/* Define to 1 if you have the declaration of `strtod\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_STRTOD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LDEXP_IN_LIBC], [/* Define if the ldexp function is available in libc. */ ++@%:@undef HAVE_LDEXP_IN_LIBC]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRTOD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRTOD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRTOD], [/* Define to 1 when the gnulib module strtod should be tested. */ ++@%:@undef GNULIB_TEST_STRTOD]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */ ++@%:@undef HAVE_STRTOL]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOL$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([STAT_MACROS_BROKEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([STAT_MACROS_BROKEN], [/* Define to 1 if the `S_IS*\' macros in do not work properly. */ ++@%:@undef STAT_MACROS_BROKEN]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STAT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SYS_STAT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SYS_STAT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([nlink_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^nlink_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([nlink_t], [/* Define to the type of st_nlink in struct stat, or a supertype. */ ++@%:@undef nlink_t]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WAITPID]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WAITPID]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WAITPID$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SYS_WAIT_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SYS_WAIT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKTIME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKTIME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_NANOSLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_NANOSLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NANOSLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRPTIME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRPTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPTIME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TIMEGM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TIMEGM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIMEGM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TIME_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TIME_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIME_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LOCALTIME_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LOCALTIME_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_NANOSLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_NANOSLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NANOSLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRPTIME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRPTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPTIME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_TIMEGM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_TIMEGM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TIMEGM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LOCALTIME_R]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LOCALTIME_R]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKTIME]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKTIME]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKTIME$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NANOSLEEP]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NANOSLEEP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TIMEGM]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TIMEGM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TIMEGM$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_TIME_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_TIME_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_TIME_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_TIME_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_TIME_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIME_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:104: -1- AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_H_DEFINES_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___SECURE_GETENV], [/* Define to 1 if you have the `__secure_getenv\' function. */ ++@%:@undef HAVE___SECURE_GETENV]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE___SECURE_GETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE___SECURE_GETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_UNISTD_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_UNISTD_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_UNISTD_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */ ++@%:@undef HAVE_PIPE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_UNLOCKED_IO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_UNLOCKED_IO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([USE_UNLOCKED_IO], [/* Define to 1 if you want getc etc. to use unlocked I/O if available. ++ Unlocked I/O can improve performance in unithreaded apps, but it is not ++ safe for multithreaded apps. */ ++@%:@undef USE_UNLOCKED_IO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_CLEARERR_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_CLEARERR_UNLOCKED], [/* Define to 1 if you have the declaration of `clearerr_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_CLEARERR_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FEOF_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FEOF_UNLOCKED], [/* Define to 1 if you have the declaration of `feof_unlocked\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_FEOF_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FERROR_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FERROR_UNLOCKED], [/* Define to 1 if you have the declaration of `ferror_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FERROR_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FFLUSH_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FFLUSH_UNLOCKED], [/* Define to 1 if you have the declaration of `fflush_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FFLUSH_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FGETS_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FGETS_UNLOCKED], [/* Define to 1 if you have the declaration of `fgets_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FGETS_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTC_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FPUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `fputc_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FPUTC_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTS_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FPUTS_UNLOCKED], [/* Define to 1 if you have the declaration of `fputs_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FPUTS_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREAD_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FREAD_UNLOCKED], [/* Define to 1 if you have the declaration of `fread_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FREAD_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FWRITE_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FWRITE_UNLOCKED], [/* Define to 1 if you have the declaration of `fwrite_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_FWRITE_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETCHAR_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_GETCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `getchar_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_GETCHAR_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTC_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `putc_unlocked\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_PUTC_UNLOCKED]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTCHAR_UNLOCKED]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PUTCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `putchar_unlocked\', and to 0 if ++ you don\'t. */ ++@%:@undef HAVE_DECL_PUTCHAR_UNLOCKED]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */ ++@%:@undef HAVE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */ ++@%:@undef HAVE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */ ++@%:@undef REPLACE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */ ++@%:@undef HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FEATURES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_FEATURES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FEATURES_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FEATURES_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FEATURES_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system ++ doesn\'t define it. */ ++@%:@undef ptrdiff_t]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H_WITH_UINTMAX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_INTTYPES_H_WITH_UINTMAX], [/* Define if exists, doesn\'t clash with , and ++ declares uintmax_t. */ ++@%:@undef HAVE_INTTYPES_H_WITH_UINTMAX]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H_WITH_UINTMAX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H_WITH_UINTMAX], [/* Define if exists, doesn\'t clash with , and declares ++ uintmax_t. */ ++@%:@undef HAVE_STDINT_H_WITH_UINTMAX]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTMAX_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_INTMAX_T], [/* Define if you have the \'intmax_t\' type in or . */ ++@%:@undef HAVE_INTMAX_T]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([intmax_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^intmax_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([intmax_t], [/* Define to long or long long if and don\'t define. */ ++@%:@undef intmax_t]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ ++@%:@undef HAVE_SNPRINTF]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the `strnlen\' function. */ ++@%:@undef HAVE_STRNLEN]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCSLEN], [/* Define to 1 if you have the `wcslen\' function. */ ++@%:@undef HAVE_WCSLEN]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCSNLEN], [/* Define to 1 if you have the `wcsnlen\' function. */ ++@%:@undef HAVE_WCSNLEN]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ ++@%:@undef HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */ ++@%:@undef HAVE_WCRTOMB]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL__SNPRINTF], [/* Define to 1 if you have the declaration of `_snprintf\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL__SNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF_RETVAL_C99]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SNPRINTF_RETVAL_C99], [/* Define if the return value of the snprintf function is the number of of ++ bytes (excluding the terminating NUL) that would have been produced if the ++ buffer had been large enough. */ ++@%:@undef HAVE_SNPRINTF_RETVAL_C99]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */ ++@%:@undef HAVE_VASPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_VASPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_VASPRINTF], [/* Define to 1 when the gnulib module vasprintf should be tested. */ ++@%:@undef GNULIB_TEST_VASPRINTF]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([CHECK_PRINTF_SAFE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CHECK_PRINTF_SAFE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([CHECK_PRINTF_SAFE], [/* Define if you wish *printf() functions that have a safe handling of ++ non-IEEE-754 \'long double\' values. */ ++@%:@undef CHECK_PRINTF_SAFE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */ ++@%:@undef HAVE_VASPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long ++ double\' arguments. */ ++@%:@undef NEED_PRINTF_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite ++ \'double\' arguments. */ ++@%:@undef NEED_PRINTF_INFINITE_DOUBLE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite ++ \'long double\' arguments. */ ++@%:@undef NEED_PRINTF_INFINITE_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_A]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_A], [/* Define if the vasnprintf implementation needs special code for the \'a\' and ++ \'A\' directives. */ ++@%:@undef NEED_PRINTF_DIRECTIVE_A]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */ ++@%:@undef HAVE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NL_LANGINFO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_F]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_F], [/* Define if the vasnprintf implementation needs special code for the \'F\' ++ directive. */ ++@%:@undef NEED_PRINTF_DIRECTIVE_F]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_LS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_LS], [/* Define if the vasnprintf implementation needs special code for the \'ls\' ++ directive. */ ++@%:@undef NEED_PRINTF_DIRECTIVE_LS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_GROUPING]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_FLAG_GROUPING], [/* Define if the vasnprintf implementation needs special code for the \' flag. ++ */ ++@%:@undef NEED_PRINTF_FLAG_GROUPING]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_LEFTADJUST]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_FLAG_LEFTADJUST], [/* Define if the vasnprintf implementation needs special code for the \'-\' ++ flag. */ ++@%:@undef NEED_PRINTF_FLAG_LEFTADJUST]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_ZERO]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_FLAG_ZERO], [/* Define if the vasnprintf implementation needs special code for the 0 flag. ++ */ ++@%:@undef NEED_PRINTF_FLAG_ZERO]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_UNBOUNDED_PRECISION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_UNBOUNDED_PRECISION], [/* Define if the vasnprintf implementation needs special code for supporting ++ large precisions without arbitrary bounds. */ ++@%:@undef NEED_PRINTF_UNBOUNDED_PRECISION]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\' ++ arguments. */ ++@%:@undef NEED_PRINTF_DOUBLE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long ++ double\' arguments. */ ++@%:@undef NEED_PRINTF_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_ENOMEM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_ENOMEM], [/* Define if the vasnprintf implementation needs special code for surviving ++ out-of-memory conditions. */ ++@%:@undef NEED_PRINTF_ENOMEM]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\' ++ arguments. */ ++@%:@undef NEED_PRINTF_DOUBLE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long ++ double\' arguments. */ ++@%:@undef NEED_PRINTF_LONG_DOUBLE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */ ++@%:@undef HAVE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */ ++@%:@undef REPLACE_VASNPRINTF]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system ++ doesn\'t define it. */ ++@%:@undef ptrdiff_t]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror:3:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PACKAGE_PACKAGER], [/* String identifying the packager of this software */ ++@%:@undef PACKAGE_PACKAGER]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER_VERSION]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_VERSION$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PACKAGE_PACKAGER_VERSION], [/* Packager-specific version information */ ++@%:@undef PACKAGE_PACKAGER_VERSION]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER_BUG_REPORTS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_BUG_REPORTS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([PACKAGE_PACKAGER_BUG_REPORTS], [/* Packager info for bug reports (URL/e-mail/...) */ ++@%:@undef PACKAGE_PACKAGER_BUG_REPORTS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WAITID], [/* Define to 1 if you have the `waitid\' function. */ ++@%:@undef HAVE_WAITID]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WAITID]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WAITID$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WAITPID]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WAITPID$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WAITPID], [/* Define to 1 when the gnulib module waitpid should be tested. */ ++@%:@undef GNULIB_TEST_WAITPID]) ++m4trace:configure.ac:104: -1- AC_SUBST([WARN_CFLAGS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([WARN_CFLAGS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^WARN_CFLAGS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_WCHAR_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_WCHAR_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCHAR_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCHAR_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ ++@%:@undef HAVE_MBSINIT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ ++@%:@undef HAVE_MBRTOWC]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */ ++@%:@undef HAVE_WCRTOMB]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCRTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WCRTOMB], [/* Define to 1 when the gnulib module wcrtomb should be tested. */ ++@%:@undef GNULIB_TEST_WCRTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISWBLANK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISWBLANK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWBLANK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTYPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTYPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTYPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISWCTYPE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISWCTYPE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWCTYPE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTRANS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTRANS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTRANS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TOWCTRANS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TOWCTRANS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TOWCTRANS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISWBLANK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISWBLANK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWBLANK$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCTYPE_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCTYPE_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCTRANS_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCTRANS_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTRANS_T$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISWBLANK]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISWBLANK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWBLANK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISWCNTRL], [/* Define to 1 if you have the `iswcntrl\' function. */ ++@%:@undef HAVE_ISWCNTRL]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISWCNTRL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISWCNTRL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWCNTRL$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WCTYPE_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_WCTYPE_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_WCTYPE_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCTYPE_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCTYPE_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCTYPE_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISWCNTRL]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISWCNTRL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format]) ++m4trace:configure.ac:104: -1- AC_SUBST([M4tests_WITNESS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([M4tests_WITNESS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^M4tests_WITNESS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([CXX_CHOICE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX_CHOICE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX_CHOICE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([CXX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([ac_ct_CXX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ac_ct_CXX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ac_ct_CXX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([CXX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:104: -1- AC_SUBST([CXXFLAGS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXXFLAGS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXFLAGS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([CXX]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([ANSICXX], [test "$CXX" != ":"]) ++m4trace:configure.ac:104: -1- AC_SUBST([ANSICXX_TRUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ANSICXX_TRUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_TRUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([ANSICXX_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ANSICXX_FALSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXXDEPMODE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXDEPMODE$]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [ ++ test "x$enable_dependency_tracking" != xno \ ++ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) ++m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [false]) ++m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_TR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_TR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_TR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_UNGETC_BROKEN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_UNGETC_BROKEN], [/* Define to 1 if ungetc is broken when used on arbitrary bytes. */ ++@%:@undef FUNC_UNGETC_BROKEN]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FTELL]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELL$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FTELL], [/* Define to 1 when the gnulib module ftell should be tested. */ ++@%:@undef GNULIB_TEST_FTELL]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */ ++@%:@undef HAVE_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_OS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_OS_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OS_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETPAGESIZE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETPAGESIZE], [/* Define to 1 when the gnulib module getpagesize should be tested. */ ++@%:@undef GNULIB_TEST_GETPAGESIZE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most ++ significant byte first (like Motorola and SPARC, unlike Intel). */ ++#if defined AC_APPLE_UNIVERSAL_BUILD ++# if defined __BIG_ENDIAN__ ++# define WORDS_BIGENDIAN 1 ++# endif ++#else ++# ifndef WORDS_BIGENDIAN ++# undef WORDS_BIGENDIAN ++# endif ++#endif]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */ ++@%:@undef AC_APPLE_UNIVERSAL_BUILD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'double\'. */ ++@%:@undef DBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'double\'. */ ++@%:@undef DBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */ ++@%:@undef FLT_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'float\'. */ ++@%:@undef FLT_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'long double\'. */ ++@%:@undef LDBL_EXPBIT0_WORD]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of ++ \'long double\'. */ ++@%:@undef LDBL_EXPBIT0_BIT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LINK], [/* Define to 1 if you have the `link\' function. */ ++@%:@undef HAVE_LINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LINK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_LINK], [/* Define to 1 when the gnulib module link should be tested. */ ++@%:@undef GNULIB_TEST_LINK]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SETLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SETLOCALE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETLOCALE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DUPLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DUPLOCALE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUPLOCALE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DUPLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DUPLOCALE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUPLOCALE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SETLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SETLOCALE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETLOCALE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DUPLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DUPLOCALE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUPLOCALE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_XLOCALE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_XLOCALE_H]) ++m4trace:configure.ac:104: -1- AC_SUBST([HAVE_XLOCALE_H]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_XLOCALE_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XLOCALE_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_LOCALE_H], [AS_VAR_GET([gl_next_header])]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_LOCALE_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LOCALE_H$]) ++m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LOCALE_H], [$gl_next_as_first_directive]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LOCALE_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LOCALE_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NEWLOCALE], [/* Define to 1 if you have the `newlocale\' function. */ ++@%:@undef HAVE_NEWLOCALE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LC_MESSAGES], [/* Define if your file defines LC_MESSAGES. */ ++@%:@undef HAVE_LC_MESSAGES]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFPREFERENCESCOPYAPPVALUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CFPREFERENCESCOPYAPPVALUE], [/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in ++ the CoreFoundation framework. */ ++@%:@undef HAVE_CFPREFERENCESCOPYAPPVALUE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFLOCALECOPYCURRENT]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CFLOCALECOPYCURRENT], [/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the ++ CoreFoundation framework. */ ++@%:@undef HAVE_CFLOCALECOPYCURRENT]) ++m4trace:configure.ac:104: -1- AC_SUBST([INTL_MACOSX_LIBS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([INTL_MACOSX_LIBS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */ ++@%:@undef HAVE_SETLOCALE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_USELOCALE], [/* Define to 1 if you have the `uselocale\' function. */ ++@%:@undef HAVE_USELOCALE]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NEWLOCALE], [/* Define to 1 if you have the `newlocale\' function. */ ++@%:@undef HAVE_NEWLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes]) ++m4trace:configure.ac:104: -1- AC_SUBST([POSIX_SPAWN_PORTED_TRUE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([POSIX_SPAWN_PORTED_TRUE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_TRUE$]) ++m4trace:configure.ac:104: -1- AC_SUBST([POSIX_SPAWN_PORTED_FALSE]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([POSIX_SPAWN_PORTED_FALSE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_FALSE$]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_TRUE]) ++m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_FALSE]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PUTENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PUTENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_PUTENV], [/* Define to 1 when the gnulib module putenv should be tested. */ ++@%:@undef GNULIB_TEST_PUTENV]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SETENV], [/* Define to 1 if you have the declaration of `setenv\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_SETENV]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */ ++@%:@undef HAVE_SETENV]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SEARCH_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SEARCH_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEARCH_H]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SEARCH_H$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_TSEARCH], [/* Define to 1 if you have the `tsearch\' function. */ ++@%:@undef HAVE_TSEARCH]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TSEARCH]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TSEARCH$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SETENV], [/* Define to 1 when the gnulib module setenv should be tested. */ ++@%:@undef GNULIB_TEST_SETENV]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETLOCALE]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETLOCALE$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SETLOCALE], [/* Define to 1 when the gnulib module setlocale should be tested. */ ++@%:@undef GNULIB_TEST_SETLOCALE]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */ ++@%:@undef HAVE_WCHAR_T]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */ ++@%:@undef HAVE_WINT_T]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */ ++@%:@undef HAVE_STRDUP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRDUP], [/* Define to 1 if you have the declaration of `strdup\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_STRDUP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRDUP]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRDUP$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRDUP], [/* Define to 1 when the gnulib module strdup should be tested. */ ++@%:@undef GNULIB_TEST_STRDUP]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ALARM]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ALARM$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_ALARM], [/* Define to 1 if you have the declaration of `alarm\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_ALARM]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ ++@%:@undef MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++@%:@undef HAVE_MAP_ANONYMOUS]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ ++@%:@undef HAVE_MPROTECT]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYMLINK], [/* Define to 1 if you have the `symlink\' function. */ ++@%:@undef HAVE_SYMLINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SYMLINK]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINK$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SYMLINK], [/* Define to 1 when the gnulib module symlink should be tested. */ ++@%:@undef GNULIB_TEST_SYMLINK]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_UNSETENV], [/* Define to 1 if you have the declaration of `unsetenv\', and to 0 if you ++ don\'t. */ ++@%:@undef HAVE_DECL_UNSETENV]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the `unsetenv\' function. */ ++@%:@undef HAVE_UNSETENV]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([VOID_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^VOID_UNSETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([VOID_UNSETENV], [/* Define to 1 if unsetenv returns void instead of int. */ ++@%:@undef VOID_UNSETENV]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_UNSETENV]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_UNSETENV$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_UNSETENV], [/* Define to 1 when the gnulib module unsetenv should be tested. */ ++@%:@undef GNULIB_TEST_UNSETENV]) ++m4trace:configure.ac:104: -1- AC_SUBST([abs_aux_dir]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([abs_aux_dir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([abs_aux_dir]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([abs_aux_dir]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCTOB], [/* Define to 1 if you have the `wctob\' function. */ ++@%:@undef HAVE_WCTOB]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_WCTOB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_WCTOB], [/* Define to 1 if you have the declaration of `wctob\', and to 0 if you don\'t. ++ */ ++@%:@undef HAVE_DECL_WCTOB]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCTOB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOB$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WCTOB], [/* Define to 1 when the gnulib module wctob should be tested. */ ++@%:@undef GNULIB_TEST_WCTOB]) ++m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCTOMB]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOMB$]) ++m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WCTOMB], [/* Define to 1 when the gnulib module wctomb should be tested. */ ++@%:@undef GNULIB_TEST_WCTOMB]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBM4_LIBDEPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBM4_LIBDEPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LIBDEPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBM4_LTLIBDEPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBM4_LTLIBDEPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LTLIBDEPS$]) ++m4trace:configure.ac:104: -1- AC_SUBST([LIBTESTS_LIBDEPS]) ++m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBTESTS_LIBDEPS]) ++m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$]) ++m4trace:configure.ac:121: -1- AC_DEFINE_TRACE_LITERAL([RENAME_OPEN_FILE_WORKS]) ++m4trace:configure.ac:121: -1- m4_pattern_allow([^RENAME_OPEN_FILE_WORKS$]) ++m4trace:configure.ac:121: -1- AH_OUTPUT([RENAME_OPEN_FILE_WORKS], [/* Define to 1 if a file can be renamed while open, or to 0 if not. */ ++@%:@undef RENAME_OPEN_FILE_WORKS]) ++m4trace:configure.ac:129: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_CHANGEWORD]) ++m4trace:configure.ac:129: -1- m4_pattern_allow([^ENABLE_CHANGEWORD$]) ++m4trace:configure.ac:129: -1- AH_OUTPUT([ENABLE_CHANGEWORD], [/* Define to 1 if the changeword(REGEXP) functionality is wanted */ ++@%:@undef ENABLE_CHANGEWORD]) ++m4trace:configure.ac:169: -1- AC_DEFINE_TRACE_LITERAL([SYSCMD_SHELL]) ++m4trace:configure.ac:169: -1- m4_pattern_allow([^SYSCMD_SHELL$]) ++m4trace:configure.ac:169: -1- AH_OUTPUT([SYSCMD_SHELL], [/* Shell used by syscmd and esyscmd, must accept -c argument. */ ++@%:@undef SYSCMD_SHELL]) ++m4trace:configure.ac:172: -1- AC_DEFINE_TRACE_LITERAL([WITH_DMALLOC]) ++m4trace:configure.ac:172: -1- m4_pattern_allow([^WITH_DMALLOC$]) ++m4trace:configure.ac:172: -1- AH_OUTPUT([WITH_DMALLOC], [/* Define to 1 if malloc debugging is enabled */ ++@%:@undef WITH_DMALLOC]) ++m4trace:configure.ac:176: -1- AC_CONFIG_FILES([Makefile ++ doc/Makefile ++ lib/Makefile ++ src/Makefile ++ tests/Makefile ++ checks/Makefile ++ examples/Makefile ++]) ++m4trace:configure.ac:185: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:185: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([LTLIBOBJS]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:185: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) ++m4trace:configure.ac:185: -1- AC_SUBST([am__EXEEXT_TRUE]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) ++m4trace:configure.ac:185: -1- AC_SUBST([am__EXEEXT_FALSE]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) ++m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:185: -1- AC_SUBST([CONFIG_INCLUDE], [lib/config.h]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([CONFIG_INCLUDE]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^CONFIG_INCLUDE$]) ++m4trace:configure.ac:185: -1- AC_SUBST([M4_LIBOBJS], [$M4_libobjs]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4_LIBOBJS]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LIBOBJS$]) ++m4trace:configure.ac:185: -1- AC_SUBST([M4_LTLIBOBJS], [$M4_ltlibobjs]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4_LTLIBOBJS]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LTLIBOBJS$]) ++m4trace:configure.ac:185: -1- AC_SUBST([M4tests_LIBOBJS], [$M4tests_libobjs]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4tests_LIBOBJS]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LIBOBJS$]) ++m4trace:configure.ac:185: -1- AC_SUBST([M4tests_LTLIBOBJS], [$M4tests_ltlibobjs]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4tests_LTLIBOBJS]) ++m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LTLIBOBJS$]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([top_builddir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([top_build_prefix]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([srcdir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_srcdir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([top_srcdir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_top_srcdir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([builddir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_builddir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_top_builddir]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([INSTALL]) ++m4trace:configure.ac:185: -1- AC_SUBST_TRACE([MKDIR_P]) +diff -Nur m4-1.4.16.orig/build-aux/test-driver m4-1.4.16/build-aux/test-driver +--- m4-1.4.16.orig/build-aux/test-driver 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/build-aux/test-driver 2013-09-04 14:47:47.000000000 +0200 +@@ -0,0 +1,127 @@ ++#! /bin/sh ++# test-driver - basic testsuite driver script. ++ ++scriptversion=2012-06-27.10; # UTC ++ ++# Copyright (C) 2011-2013 Free Software Foundation, Inc. ++# ++# This program is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program. If not, see . ++ ++# As a special exception to the GNU General Public License, if you ++# distribute this file as part of a program that contains a ++# configuration script generated by Autoconf, you may include it under ++# the same distribution terms that you use for the rest of that program. ++ ++# This file is maintained in Automake, please report ++# bugs to or send patches to ++# . ++ ++# Make unconditional expansion of undefined variables an error. This ++# helps a lot in preventing typo-related bugs. ++set -u ++ ++usage_error () ++{ ++ echo "$0: $*" >&2 ++ print_usage >&2 ++ exit 2 ++} ++ ++print_usage () ++{ ++ cat <$log_file 2>&1 ++estatus=$? ++if test $enable_hard_errors = no && test $estatus -eq 99; then ++ estatus=1 ++fi ++ ++case $estatus:$expect_failure in ++ 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; ++ 0:*) col=$grn res=PASS recheck=no gcopy=no;; ++ 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; ++ 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; ++ *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; ++ *:*) col=$red res=FAIL recheck=yes gcopy=yes;; ++esac ++ ++# Report outcome to console. ++echo "${col}${res}${std}: $test_name" ++ ++# Register the test result, and other relevant metadata. ++echo ":test-result: $res" > $trs_file ++echo ":global-test-result: $res" >> $trs_file ++echo ":recheck: $recheck" >> $trs_file ++echo ":copy-in-global-log: $gcopy" >> $trs_file ++ ++# Local Variables: ++# mode: shell-script ++# sh-indentation: 2 ++# eval: (add-hook 'write-file-hooks 'time-stamp) ++# time-stamp-start: "scriptversion=" ++# time-stamp-format: "%:y-%02m-%02d.%02H" ++# time-stamp-time-zone: "UTC" ++# time-stamp-end: "; # UTC" ++# End: +diff -Nur m4-1.4.16.orig/configure m4-1.4.16/configure +--- m4-1.4.16.orig/configure 2011-03-01 18:36:39.000000000 +0100 ++++ m4-1.4.16/configure 2013-09-04 14:47:44.000000000 +0200 +@@ -1,13 +1,11 @@ + #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.66 for GNU M4 1.4.16. ++# Generated by GNU Autoconf 2.69 for GNU M4 1.4.16. + # + # Report bugs to . + # + # +-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +-# Foundation, Inc. ++# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. + # + # + # This configure script is free software; the Free Software Foundation +@@ -91,6 +89,7 @@ + IFS=" "" $as_nl" + + # Find who we are. Look in the path if we contain no directory separator. ++as_myself= + case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -135,6 +134,31 @@ + # CDPATH. + (unset CDPATH) >/dev/null 2>&1 && unset CDPATH + ++# Use a proper internal environment variable to ensure we don't fall ++ # into an infinite loop, continuously re-executing ourselves. ++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then ++ _as_can_reexec=no; export _as_can_reexec; ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in # (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++as_fn_exit 255 ++ fi ++ # We don't want this to propagate to other subprocesses. ++ { _as_can_reexec=; unset _as_can_reexec;} + if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh +@@ -168,7 +192,8 @@ + else + exitcode=1; echo positional parameters were not saved. + fi +-test x\$exitcode = x0 || exit 1" ++test x\$exitcode = x0 || exit 1 ++test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && +@@ -213,14 +238,25 @@ + + + if test "x$CONFIG_SHELL" != x; then : +- # We cannot yet assume a decent shell, so we have to provide a +- # neutralization value for shells without unset; and this also +- # works around shells that cannot unset nonexistent variables. +- BASH_ENV=/dev/null +- ENV=/dev/null +- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +- export CONFIG_SHELL +- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} ++ export CONFIG_SHELL ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in # (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 + fi + + if test x$as_have_required = xno; then : +@@ -323,6 +359,14 @@ + + + } # as_fn_mkdir_p ++ ++# as_fn_executable_p FILE ++# ----------------------- ++# Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} # as_fn_executable_p + # as_fn_append VAR VALUE + # ---------------------- + # Append the text in VALUE to the end of the definition contained in VAR. Take +@@ -444,6 +488,10 @@ + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + ++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have ++ # already done that, so ensure we don't try to do so again and fall ++ # in an infinite loop. This has already happened in practice. ++ _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). +@@ -478,16 +526,16 @@ + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. +- # In both cases, we have to default to `cp -p'. ++ # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || +- as_ln_s='cp -p' ++ as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else +- as_ln_s='cp -p' ++ as_ln_s='cp -pR' + fi + else +- as_ln_s='cp -p' ++ as_ln_s='cp -pR' + fi + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file + rmdir conf$$.dir 2>/dev/null +@@ -499,28 +547,8 @@ + as_mkdir_p=false + fi + +-if test -x / >/dev/null 2>&1; then +- as_test_x='test -x' +-else +- if ls -dL / >/dev/null 2>&1; then +- as_ls_L_option=L +- else +- as_ls_L_option= +- fi +- as_test_x=' +- eval sh -c '\'' +- if test -d "$1"; then +- test -d "$1/."; +- else +- case $1 in #( +- -*)set "./$1";; +- esac; +- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( +- ???[sx]*):;;*)false;;esac;fi +- '\'' sh +- ' +-fi +-as_executable_p=$as_test_x ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p + + # Sed expression to map a string onto a valid CPP name. + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +@@ -1390,6 +1418,7 @@ + am__fastdepCC_FALSE + am__fastdepCC_TRUE + CCDEPMODE ++am__nodep + AMDEPBACKSLASH + AMDEP_FALSE + AMDEP_TRUE +@@ -1405,6 +1434,8 @@ + CC + AM_BACKSLASH + AM_DEFAULT_VERBOSITY ++AM_DEFAULT_V ++AM_V + am__untar + am__tar + AMTAR +@@ -1561,8 +1592,9 @@ + fi + + case $ac_option in +- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; +- *) ac_optarg=yes ;; ++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *=) ac_optarg= ;; ++ *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. +@@ -1902,7 +1934,7 @@ + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 +- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +@@ -1953,8 +1985,6 @@ + if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe +- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. +- If a cross compiler is detected then cross compile mode will be used" >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +@@ -2118,10 +2148,12 @@ + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] +- --enable-silent-rules less verbose build output (undo: `make V=1') +- --disable-silent-rules verbose build output (undo: `make V=0') +- --disable-dependency-tracking speeds up one-time build +- --enable-dependency-tracking do not reject slow dependency extractors ++ --enable-silent-rules less verbose build output (undo: "make V=1") ++ --disable-silent-rules verbose build output (undo: "make V=0") ++ --enable-dependency-tracking ++ do not reject slow dependency extractors ++ --disable-dependency-tracking ++ speeds up one-time build + --enable-threads={posix|solaris|pth|win32} + specify multithreading API + --disable-threads build without multithread safety +@@ -2233,9 +2265,9 @@ + if $ac_init_version; then + cat <<\_ACEOF + GNU M4 configure 1.4.16 +-generated by GNU Autoconf 2.66 ++generated by GNU Autoconf 2.69 + +-Copyright (C) 2010 Free Software Foundation, Inc. ++Copyright (C) 2012 Free Software Foundation, Inc. + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + _ACEOF +@@ -2279,7 +2311,7 @@ + + ac_retval=1 + fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + + } # ac_fn_c_try_compile +@@ -2305,7 +2337,7 @@ + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } >/dev/null && { ++ test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : +@@ -2316,7 +2348,7 @@ + + ac_retval=1 + fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + + } # ac_fn_c_try_cpp +@@ -2329,10 +2361,10 @@ + ac_fn_c_check_header_mongrel () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if eval "test \"\${$3+set}\"" = set; then : ++ if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + $as_echo_n "checking for $2... " >&6; } +-if eval "test \"\${$3+set}\"" = set; then : ++if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 + fi + eval ac_res=\$$3 +@@ -2368,7 +2400,7 @@ + else + ac_header_preproc=no + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 + $as_echo "$ac_header_preproc" >&6; } + +@@ -2399,7 +2431,7 @@ + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + $as_echo_n "checking for $2... " >&6; } +-if eval "test \"\${$3+set}\"" = set; then : ++if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 + else + eval "$3=\$ac_header_compiler" +@@ -2408,7 +2440,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + + } # ac_fn_c_check_header_mongrel + +@@ -2449,7 +2481,7 @@ + ac_retval=$ac_status + fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + + } # ac_fn_c_try_run +@@ -2463,7 +2495,7 @@ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + $as_echo_n "checking for $2... " >&6; } +-if eval "test \"\${$3+set}\"" = set; then : ++if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -2481,7 +2513,7 @@ + eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + + } # ac_fn_c_check_header_compile + +@@ -2512,7 +2544,7 @@ + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext ++ test -x conftest$ac_exeext + }; then : + ac_retval=0 + else +@@ -2526,11 +2558,65 @@ + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + + } # ac_fn_c_try_link + ++# ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++# ------------------------------------------- ++# Tests whether TYPE exists after having included INCLUDES, setting cache ++# variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} # ac_fn_c_check_type ++ + # ac_fn_c_check_func LINENO FUNC VAR + # ---------------------------------- + # Tests whether FUNC exists, setting the cache variable VAR accordingly +@@ -2539,7 +2625,7 @@ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + $as_echo_n "checking for $2... " >&6; } +-if eval "test \"\${$3+set}\"" = set; then : ++if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -2594,7 +2680,7 @@ + eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + + } # ac_fn_c_check_func + +@@ -2609,7 +2695,7 @@ + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 + $as_echo_n "checking whether $as_decl_name is declared... " >&6; } +-if eval "test \"\${$3+set}\"" = set; then : ++if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -2640,64 +2726,10 @@ + eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + + } # ac_fn_c_check_decl + +-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +-# ------------------------------------------- +-# Tests whether TYPE exists after having included INCLUDES, setting cache +-# variable VAR accordingly. +-ac_fn_c_check_type () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval "test \"\${$3+set}\"" = set; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$3=no" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-if (sizeof ($2)) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-if (sizeof (($2))) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- +-else +- eval "$3=yes" +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- +-} # ac_fn_c_check_type +- + # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES + # -------------------------------------------- + # Tries to find the compile-time value of EXPR in a program that includes +@@ -2715,7 +2747,8 @@ + main () + { + static int test_array [1 - 2 * !(($2) >= 0)]; +-test_array [0] = 0 ++test_array [0] = 0; ++return test_array [0]; + + ; + return 0; +@@ -2731,7 +2764,8 @@ + main () + { + static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +-test_array [0] = 0 ++test_array [0] = 0; ++return test_array [0]; + + ; + return 0; +@@ -2757,7 +2791,8 @@ + main () + { + static int test_array [1 - 2 * !(($2) < 0)]; +-test_array [0] = 0 ++test_array [0] = 0; ++return test_array [0]; + + ; + return 0; +@@ -2773,7 +2808,8 @@ + main () + { + static int test_array [1 - 2 * !(($2) >= $ac_mid)]; +-test_array [0] = 0 ++test_array [0] = 0; ++return test_array [0]; + + ; + return 0; +@@ -2807,7 +2843,8 @@ + main () + { + static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +-test_array [0] = 0 ++test_array [0] = 0; ++return test_array [0]; + + ; + return 0; +@@ -2871,7 +2908,7 @@ + rm -f conftest.val + + fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + + } # ac_fn_c_compute_int +@@ -2885,7 +2922,7 @@ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 + $as_echo_n "checking for $2.$3... " >&6; } +-if eval "test \"\${$4+set}\"" = set; then : ++if eval \${$4+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -2929,7 +2966,7 @@ + eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + + } # ac_fn_c_check_member + cat >config.log <<_ACEOF +@@ -2937,7 +2974,7 @@ + running configure, to aid debugging if configure makes a mistake. + + It was created by GNU M4 $as_me 1.4.16, which was +-generated by GNU Autoconf 2.66. Invocation command line was ++generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +@@ -3378,7 +3415,7 @@ + + + +-am__api_version='1.11' ++am__api_version='1.13' + + # Find a good install program. We prefer a C program (faster), + # so one script is as good as another. But avoid the broken or +@@ -3397,7 +3434,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 + $as_echo_n "checking for a BSD-compatible install... " >&6; } + if test -z "$INSTALL"; then +-if test "${ac_cv_path_install+set}" = set; then : ++if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 + else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -3417,7 +3454,7 @@ + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. +@@ -3475,9 +3512,6 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 + $as_echo_n "checking whether build environment is sane... " >&6; } +-# Just in case +-sleep 1 +-echo timestamp > conftest.file + # Reject unsafe characters in $srcdir or the absolute working directory + # name. Accept space and tab only in the latter. + am_lf=' +@@ -3488,32 +3522,40 @@ + esac + case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) +- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; ++ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; + esac + +-# Do `set' in a subshell so we don't clobber the current shell's ++# Do 'set' in a subshell so we don't clobber the current shell's + # arguments. Must try -L first in case configure is actually a + # symlink; some systems play weird games with the mod time of symlinks + # (eg FreeBSD returns the mod time of the symlink's containing + # directory). + if ( +- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` +- if test "$*" = "X"; then +- # -L didn't work. +- set X `ls -t "$srcdir/configure" conftest.file` +- fi +- rm -f conftest.file +- if test "$*" != "X $srcdir/configure conftest.file" \ +- && test "$*" != "X conftest.file $srcdir/configure"; then +- +- # If neither matched, then we have a broken ls. This can happen +- # if, for instance, CONFIG_SHELL is bash and it inherits a +- # broken ls alias from the environment. This has actually +- # happened. Such a system could not be considered "sane". +- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +-alias in your environment" "$LINENO" 5 +- fi ++ am_has_slept=no ++ for am_try in 1 2; do ++ echo "timestamp, slept: $am_has_slept" > conftest.file ++ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` ++ if test "$*" = "X"; then ++ # -L didn't work. ++ set X `ls -t "$srcdir/configure" conftest.file` ++ fi ++ if test "$*" != "X $srcdir/configure conftest.file" \ ++ && test "$*" != "X conftest.file $srcdir/configure"; then + ++ # If neither matched, then we have a broken ls. This can happen ++ # if, for instance, CONFIG_SHELL is bash and it inherits a ++ # broken ls alias from the environment. This has actually ++ # happened. Such a system could not be considered "sane". ++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken ++ alias in your environment" "$LINENO" 5 ++ fi ++ if test "$2" = conftest.file || test $am_try -eq 2; then ++ break ++ fi ++ # Just in case. ++ sleep 1 ++ am_has_slept=yes ++ done + test "$2" = conftest.file + ) + then +@@ -3525,6 +3567,16 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } ++# If we didn't sleep, we still need to ensure time stamps of config.status and ++# generated files are strictly newer. ++am_sleep_pid= ++if grep 'slept: no' conftest.file >/dev/null 2>&1; then ++ ( sleep 1 ) & ++ am_sleep_pid=$! ++fi ++ ++rm -f conftest.file ++ + test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" + # Use a double $ so make ignores it. +@@ -3547,12 +3599,12 @@ + esac + fi + # Use eval to expand $SHELL +-if eval "$MISSING --run true"; then +- am_missing_run="$MISSING --run " ++if eval "$MISSING --is-lightweight"; then ++ am_missing_run="$MISSING " + else + am_missing_run= +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 ++$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} + fi + + if test x"${install_sh}" != xset; then +@@ -3564,17 +3616,17 @@ + esac + fi + +-# Installed binaries are usually stripped using `strip' when the user +-# run `make install-strip'. However `strip' might not be the right ++# Installed binaries are usually stripped using 'strip' when the user ++# run "make install-strip". However 'strip' might not be the right + # tool to use in cross-compilation environments, therefore Automake +-# will honor the `STRIP' environment variable to overrule this program. ++# will honor the 'STRIP' environment variable to overrule this program. + if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. + set dummy ${ac_tool_prefix}strip; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_STRIP+set}" = set; then : ++if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$STRIP"; then +@@ -3586,7 +3638,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -3614,7 +3666,7 @@ + set dummy strip; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : ++if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_STRIP"; then +@@ -3626,7 +3678,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -3667,7 +3719,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 + $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } + if test -z "$MKDIR_P"; then +- if test "${ac_cv_path_mkdir+set}" = set; then : ++ if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 + else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -3677,7 +3729,7 @@ + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do +- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue ++ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ +@@ -3707,19 +3759,13 @@ + $as_echo "$MKDIR_P" >&6; } + + +-mkdir_p="$MKDIR_P" +-case $mkdir_p in +- [\\/$]* | ?:[\\/]*) ;; +- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +-esac +- + for ac_prog in gawk mawk nawk awk + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AWK+set}" = set; then : ++if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$AWK"; then +@@ -3731,7 +3777,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -3759,7 +3805,7 @@ + $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } + set x ${MAKE-make} + ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : ++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat >conftest.make <<\_ACEOF +@@ -3800,11 +3846,38 @@ + enableval=$enable_silent_rules; + fi + +-case $enable_silent_rules in +-yes) AM_DEFAULT_VERBOSITY=0;; +-no) AM_DEFAULT_VERBOSITY=1;; +-*) AM_DEFAULT_VERBOSITY=1;; ++case $enable_silent_rules in # ((( ++ yes) AM_DEFAULT_VERBOSITY=0;; ++ no) AM_DEFAULT_VERBOSITY=1;; ++ *) AM_DEFAULT_VERBOSITY=1;; + esac ++am_make=${MAKE-make} ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 ++$as_echo_n "checking whether $am_make supports nested variables... " >&6; } ++if ${am_cv_make_support_nested_variables+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if $as_echo 'TRUE=$(BAR$(V)) ++BAR0=false ++BAR1=true ++V=1 ++am__doit: ++ @$(TRUE) ++.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then ++ am_cv_make_support_nested_variables=yes ++else ++ am_cv_make_support_nested_variables=no ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 ++$as_echo "$am_cv_make_support_nested_variables" >&6; } ++if test $am_cv_make_support_nested_variables = yes; then ++ AM_V='$(V)' ++ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ++else ++ AM_V=$AM_DEFAULT_VERBOSITY ++ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY ++fi + AM_BACKSLASH='\' + + if test "`cd $srcdir && pwd`" != "`pwd`"; then +@@ -3857,13 +3930,24 @@ + + MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + ++# For better backward compatibility. To be removed once Automake 1.9.x ++# dies out for good. For more background, see: ++# ++# ++mkdir_p='$(MKDIR_P)' ++ + # We need awk for the "check" target. The system "awk" is bad on + # some platforms. +-# Always define AMTAR for backward compatibility. ++# Always define AMTAR for backward compatibility. Yes, it's still used ++# in the wild :-( We should find a proper way to deprecate it ... ++AMTAR='$${TAR-tar}' ++ + +-AMTAR=${AMTAR-"${am_missing_run}tar"} ++# We'll loop over all known methods to create a tar archive until one works. ++_am_tools='gnutar pax cpio none' ++ ++am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + +-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + +@@ -3886,7 +3970,7 @@ + set dummy ${ac_tool_prefix}gcc; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -3898,7 +3982,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -3926,7 +4010,7 @@ + set dummy gcc; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : ++if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -3938,7 +4022,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -3979,7 +4063,7 @@ + set dummy ${ac_tool_prefix}cc; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -3991,7 +4075,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -4019,7 +4103,7 @@ + set dummy cc; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -4032,7 +4116,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue +@@ -4078,7 +4162,7 @@ + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -4090,7 +4174,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -4122,7 +4206,7 @@ + set dummy $ac_prog; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : ++if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -4134,7 +4218,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -4405,7 +4489,7 @@ + ac_clean_files=$ac_clean_files_save + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 + $as_echo_n "checking for suffix of object files... " >&6; } +-if test "${ac_cv_objext+set}" = set; then : ++if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -4456,7 +4540,7 @@ + ac_objext=$OBJEXT + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +-if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -4493,7 +4577,7 @@ + ac_save_CFLAGS=$CFLAGS + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 + $as_echo_n "checking whether $CC accepts -g... " >&6; } +-if test "${ac_cv_prog_cc_g+set}" = set; then : ++if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_save_c_werror_flag=$ac_c_werror_flag +@@ -4571,7 +4655,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if test "${ac_cv_prog_cc_c89+set}" = set; then : ++if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c89=no +@@ -4580,8 +4664,7 @@ + /* end confdefs.h. */ + #include + #include +-#include +-#include ++struct stat; + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ + struct buf { int x; }; + FILE * (*rcsopen) (struct buf *, struct stat *, int); +@@ -4684,7 +4767,7 @@ + _am_result=none + # First try GNU make style include. + echo "include confinc" > confmf +-# Ignore all kinds of additional output from `make'. ++# Ignore all kinds of additional output from 'make'. + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=include +@@ -4717,6 +4800,7 @@ + if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' ++ am__nodep='_no' + fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= +@@ -4732,15 +4816,16 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up +- # making a dummy file named `D' -- because `-MD' means `put the output +- # in D'. ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. +@@ -4774,16 +4859,16 @@ + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c +- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with +- # Solaris 8's {/usr,}/bin/sh. +- touch sub/conftst$i.h ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + +- # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly +- # handle `-M -o', and we need to detect this. Also, some Intel +- # versions had trouble with output in subdirs ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in +@@ -4792,16 +4877,16 @@ + test "$am__universal" = false || continue + ;; + nosideeffect) +- # after this tag, mechanisms are not by side-effect, so they'll +- # only be used when explicitly requested ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; +- msvisualcpp | msvcmsys) +- # This compiler won't grok `-c -o', but also, the minuso test has ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} +@@ -4861,7 +4946,7 @@ + set dummy ${ac_tool_prefix}ranlib; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_RANLIB+set}" = set; then : ++if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$RANLIB"; then +@@ -4873,7 +4958,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -4901,7 +4986,7 @@ + set dummy ranlib; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : ++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_RANLIB"; then +@@ -4913,7 +4998,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -4957,7 +5042,7 @@ + fi + set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +-if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : ++if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -5080,7 +5165,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 + $as_echo_n "checking build system type... " >&6; } +-if test "${ac_cv_build+set}" = set; then : ++if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_build_alias=$build_alias +@@ -5114,7 +5199,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 + $as_echo_n "checking host system type... " >&6; } +-if test "${ac_cv_host+set}" = set; then : ++if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "x$host_alias" = x; then +@@ -5158,7 +5243,7 @@ + CPP= + fi + if test -z "$CPP"; then +- if test "${ac_cv_prog_CPP+set}" = set; then : ++ if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 + else + # Double quotes because CPP needs to be expanded +@@ -5188,7 +5273,7 @@ + # Broken: fails on valid input. + continue + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +@@ -5204,11 +5289,11 @@ + ac_preproc_ok=: + break + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.i conftest.err conftest.$ac_ext + if $ac_preproc_ok; then : + break + fi +@@ -5247,7 +5332,7 @@ + # Broken: fails on valid input. + continue + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +@@ -5263,11 +5348,11 @@ + ac_preproc_ok=: + break + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.i conftest.err conftest.$ac_ext + if $ac_preproc_ok; then : + + else +@@ -5286,7 +5371,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 + $as_echo_n "checking for grep that handles long lines and -e... " >&6; } +-if test "${ac_cv_path_GREP+set}" = set; then : ++if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$GREP"; then +@@ -5300,7 +5385,7 @@ + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" +- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue ++ as_fn_executable_p "$ac_path_GREP" || continue + # Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP + case `"$ac_path_GREP" --version 2>&1` in +@@ -5349,7 +5434,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 + $as_echo_n "checking for egrep... " >&6; } +-if test "${ac_cv_path_EGREP+set}" = set; then : ++if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 + else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 +@@ -5366,7 +5451,7 @@ + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" +- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue ++ as_fn_executable_p "$ac_path_EGREP" || continue + # Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP + case `"$ac_path_EGREP" --version 2>&1` in +@@ -5416,7 +5501,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 + $as_echo_n "checking for ANSI C header files... " >&6; } +-if test "${ac_cv_header_stdc+set}" = set; then : ++if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -5547,7 +5632,7 @@ + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +-if test "x$ac_cv_header_minix_config_h" = x""yes; then : ++if test "x$ac_cv_header_minix_config_h" = xyes; then : + MINIX=yes + else + MINIX= +@@ -5577,7 +5662,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 + $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +-if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : ++if ${ac_cv_safe_to_define___extensions__+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -5622,7 +5707,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } +-if test "${ac_cv_sys_largefile_source+set}" = set; then : ++if ${ac_cv_sys_largefile_source+:} false; then : + $as_echo_n "(cached) " >&6 + else + while :; do +@@ -5721,7 +5806,7 @@ + *) : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } +-if test "${ac_cv_prog_cc_c99+set}" = set; then : ++if ${ac_cv_prog_cc_c99+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c99=no +@@ -5865,7 +5950,7 @@ + return 0; + } + _ACEOF +-for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 ++for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 + do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : +@@ -5896,7 +5981,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if test "${ac_cv_prog_cc_c89+set}" = set; then : ++if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c89=no +@@ -5905,8 +5990,7 @@ + /* end confdefs.h. */ + #include + #include +-#include +-#include ++struct stat; + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ + struct buf { int x; }; + FILE * (*rcsopen) (struct buf *, struct stat *, int); +@@ -5992,7 +6076,7 @@ + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 + $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } +- if test "${ac_cv_prog_cc_stdc+set}" = set; then : ++ if ${ac_cv_prog_cc_stdc+:} false; then : + $as_echo_n "(cached) " >&6 + fi + +@@ -6462,7 +6546,7 @@ + if test "$gl_gcc_warnings" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5 + $as_echo_n "checking whether compiler handles -Werror... " >&6; } +-if test "${gl_cv_warn__Werror+set}" = set; then : ++if ${gl_cv_warn__Werror+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -6484,13 +6568,13 @@ + else + gl_cv_warn__Werror=no + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5 + $as_echo "$gl_cv_warn__Werror" >&6; } +-if test "x$gl_cv_warn__Werror" = x""yes; then : ++if test "x$gl_cv_warn__Werror" = xyes; then : + as_fn_append WERROR_CFLAGS " -Werror" + fi + +@@ -6604,7 +6688,7 @@ + as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5 + $as_echo_n "checking whether compiler handles $w... " >&6; } +-if eval "test \"\${$as_gl_Warn+set}\"" = set; then : ++if eval \${$as_gl_Warn+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -6626,7 +6710,7 @@ + else + eval "$as_gl_Warn=no" + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + + fi +@@ -6641,7 +6725,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5 + $as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; } +-if test "${gl_cv_warn__fdiagnostics_show_option+set}" = set; then : ++if ${gl_cv_warn__fdiagnostics_show_option+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -6663,19 +6747,19 @@ + else + gl_cv_warn__fdiagnostics_show_option=no + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5 + $as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; } +-if test "x$gl_cv_warn__fdiagnostics_show_option" = x""yes; then : ++if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then : + as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5 + $as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; } +-if test "${gl_cv_warn__funit_at_a_time+set}" = set; then : ++if ${gl_cv_warn__funit_at_a_time+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -6697,13 +6781,13 @@ + else + gl_cv_warn__funit_at_a_time=no + fi +-rm -f conftest.err conftest.$ac_ext ++rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5 + $as_echo "$gl_cv_warn__funit_at_a_time" >&6; } +-if test "x$gl_cv_warn__funit_at_a_time" = x""yes; then : ++if test "x$gl_cv_warn__funit_at_a_time" = xyes; then : + as_fn_append WARN_CFLAGS " -funit-at-a-time" + fi + +@@ -6721,7 +6805,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 + $as_echo_n "checking for unsigned long long int... " >&6; } +-if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : ++if ${ac_cv_type_unsigned_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_type_unsigned_long_long_int=yes +@@ -6779,7 +6863,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 + $as_echo_n "checking for long long int... " >&6; } +-if test "${ac_cv_type_long_long_int+set}" = set; then : ++if ${ac_cv_type_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_type_long_long_int=yes +@@ -6838,7 +6922,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 + $as_echo_n "checking for unsigned long long int... " >&6; } +-if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : ++if ${ac_cv_type_unsigned_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_type_unsigned_long_long_int=yes +@@ -6907,11 +6991,22 @@ + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ + ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define size_t unsigned int ++_ACEOF ++ ++fi ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 + $as_echo_n "checking for working alloca.h... " >&6; } +-if test "${ac_cv_working_alloca_h+set}" = set; then : ++if ${ac_cv_working_alloca_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -6944,7 +7039,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 + $as_echo_n "checking for alloca... " >&6; } +-if test "${ac_cv_func_alloca_works+set}" = set; then : ++if ${ac_cv_func_alloca_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -6963,7 +7058,7 @@ + #pragma alloca + # else + # ifndef alloca /* predefined by HP cc +Olibcalls */ +-char *alloca (); ++void *alloca (size_t); + # endif + # endif + # endif +@@ -7011,7 +7106,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 + $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +-if test "${ac_cv_os_cray+set}" = set; then : ++if ${ac_cv_os_cray+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -7052,7 +7147,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 + $as_echo_n "checking stack direction for C alloca... " >&6; } +-if test "${ac_cv_c_stack_direction+set}" = set; then : ++if ${ac_cv_c_stack_direction+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -7062,23 +7157,20 @@ + /* end confdefs.h. */ + $ac_includes_default + int +-find_stack_direction () ++find_stack_direction (int *addr, int depth) + { +- static char *addr = 0; +- auto char dummy; +- if (addr == 0) +- { +- addr = &dummy; +- return find_stack_direction (); +- } +- else +- return (&dummy > addr) ? 1 : -1; ++ int dir, dummy = 0; ++ if (! addr) ++ addr = &dummy; ++ *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; ++ dir = depth ? find_stack_direction (addr, depth - 1) : 0; ++ return dir + dummy; + } + + int +-main () ++main (int argc, char **argv) + { +- return find_stack_direction () < 0; ++ return find_stack_direction (0, argc + !argv + 20) < 0; + } + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : +@@ -7196,7 +7288,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 + $as_echo_n "checking whether uses 'inline' correctly... " >&6; } +-if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then : ++if ${gl_cv_header_wchar_h_correct_inline+:} false; then : + $as_echo_n "(cached) " >&6 + else + gl_cv_header_wchar_h_correct_inline=yes +@@ -7287,7 +7379,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 + $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } +-if test "${am_cv_langinfo_codeset+set}" = set; then : ++if ${am_cv_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -7323,7 +7415,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -7498,7 +7590,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C stack overflow detection" >&5 + $as_echo_n "checking for working C stack overflow detection... " >&6; } +-if test "${ac_cv_sys_stack_overflow_works+set}" = set; then : ++if ${ac_cv_sys_stack_overflow_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -7612,7 +7704,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct stack_t interpretation" >&5 + $as_echo_n "checking for correct stack_t interpretation... " >&6; } +-if test "${gl_cv_sigaltstack_low_base+set}" = set; then : ++if ${gl_cv_sigaltstack_low_base+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -7689,7 +7781,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for precise C stack overflow detection" >&5 + $as_echo_n "checking for precise C stack overflow detection... " >&6; } +-if test "${ac_cv_sys_xsi_stack_overflow_heuristic+set}" = set; then : ++if ${ac_cv_sys_xsi_stack_overflow_heuristic+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -7909,7 +8001,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 + $as_echo_n "checking for non-GNU ld... " >&6; } + fi +-if test "${acl_cv_path_LD+set}" = set; then : ++if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$LD"; then +@@ -7946,7 +8038,7 @@ + test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 + $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +-if test "${acl_cv_prog_gnu_ld+set}" = set; then : ++if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 + else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +@@ -7966,7 +8058,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 + $as_echo_n "checking for shared library run path origin... " >&6; } +-if test "${acl_cv_rpath+set}" = set; then : ++if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -8004,7 +8096,7 @@ + solaris*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 + $as_echo_n "checking for 64-bit host... " >&6; } +-if test "${gl_cv_solaris_64bit+set}" = set; then : ++if ${gl_cv_solaris_64bit+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -8555,7 +8647,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 + $as_echo_n "checking for libsigsegv... " >&6; } +-if test "${ac_cv_libsigsegv+set}" = set; then : ++if ${ac_cv_libsigsegv+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -8626,7 +8718,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 + $as_echo_n "checking whether // is distinct from /... " >&6; } +-if test "${gl_cv_double_slash_root+set}" = set; then : ++if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test x"$cross_compiling" = xyes ; then +@@ -8667,7 +8759,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5 + $as_echo_n "checking whether realpath works... " >&6; } +-if test "${gl_cv_func_realpath_works+set}" = set; then : ++if ${gl_cv_func_realpath_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -8957,7 +9049,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 + $as_echo_n "checking if environ is properly declared... " >&6; } +- if test "${gt_cv_var_environ_declaration+set}" = set; then : ++ if ${gt_cv_var_environ_declaration+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -8998,7 +9090,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 + $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } +-if test "${gl_cv_have_include_next+set}" = set; then : ++if ${gl_cv_have_include_next+:} false; then : + $as_echo_n "(cached) " >&6 + else + rm -rf conftestd1a conftestd1b conftestd2 +@@ -9078,7 +9170,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 + $as_echo_n "checking whether system header files limit the line length... " >&6; } +-if test "${gl_cv_pragma_columns+set}" = set; then : ++if ${gl_cv_pragma_columns+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -9112,7 +9204,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 + $as_echo_n "checking for complete errno.h... " >&6; } +-if test "${gl_cv_header_errno_h_complete+set}" = set; then : ++if ${gl_cv_header_errno_h_complete+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9183,7 +9275,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_errno_h+set}" = set; then : ++if ${gl_cv_next_errno_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9230,7 +9322,7 @@ + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 + $as_echo_n "checking for EMULTIHOP value... " >&6; } +-if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then : ++if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9301,7 +9393,7 @@ + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 + $as_echo_n "checking for ENOLINK value... " >&6; } +-if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then : ++if ${gl_cv_header_errno_h_ENOLINK+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9372,7 +9464,7 @@ + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 + $as_echo_n "checking for EOVERFLOW value... " >&6; } +-if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then : ++if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9441,7 +9533,7 @@ + + + ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : ++if test "x$ac_cv_have_decl_strerror_r" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -9454,7 +9546,7 @@ + for ac_func in strerror_r + do : + ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" +-if test "x$ac_cv_func_strerror_r" = x""yes; then : ++if test "x$ac_cv_func_strerror_r" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STRERROR_R 1 + _ACEOF +@@ -9464,7 +9556,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 + $as_echo_n "checking whether strerror_r returns char *... " >&6; } +-if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : ++if ${ac_cv_func_strerror_r_char_p+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9534,7 +9626,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 + $as_echo_n "checking for inline... " >&6; } +-if test "${ac_cv_c_inline+set}" = set; then : ++if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_inline=no +@@ -9578,7 +9670,7 @@ + XGETTEXT_EXTRA_OPTIONS= + + ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" +-if test "x$ac_cv_type_mode_t" = x""yes; then : ++if test "x$ac_cv_type_mode_t" = xyes; then : + + else + +@@ -9591,7 +9683,7 @@ + + ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include + " +-if test "x$ac_cv_type_sig_atomic_t" = x""yes; then : ++if test "x$ac_cv_type_sig_atomic_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_SIG_ATOMIC_T 1 +@@ -9706,7 +9798,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 + $as_echo_n "checking for working fcntl.h... " >&6; } +-if test "${gl_cv_header_working_fcntl_h+set}" = set; then : ++if ${gl_cv_header_working_fcntl_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -9833,7 +9925,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 + $as_echo_n "checking for fseeko... " >&6; } +-if test "${gl_cv_func_fseeko+set}" = set; then : ++if ${gl_cv_func_fseeko+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -9980,7 +10072,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5 + $as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_frexp_no_libm+set}" = set; then : ++if ${gl_cv_func_frexp_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -10011,7 +10103,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 + $as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } +-if test "${gl_cv_var_stdin_large_offset+set}" = set; then : ++if ${gl_cv_var_stdin_large_offset+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -10045,7 +10137,7 @@ + $as_echo "$gl_cv_var_stdin_large_offset" >&6; } + + ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fseeko" = x""yes; then : ++if test "x$ac_cv_have_decl_fseeko" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -10056,7 +10148,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default" +-if test "x$ac_cv_have_decl_ftello" = x""yes; then : ++if test "x$ac_cv_have_decl_ftello" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -10088,7 +10180,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_getopt_h+set}" = set; then : ++if ${gl_cv_next_getopt_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -10147,7 +10239,7 @@ + for ac_header in getopt.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" +-if test "x$ac_cv_header_getopt_h" = x""yes; then : ++if test "x$ac_cv_header_getopt_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_GETOPT_H 1 + _ACEOF +@@ -10164,7 +10256,7 @@ + for ac_func in getopt_long_only + do : + ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" +-if test "x$ac_cv_func_getopt_long_only" = x""yes; then : ++if test "x$ac_cv_func_getopt_long_only" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_GETOPT_LONG_ONLY 1 + _ACEOF +@@ -10179,7 +10271,7 @@ + if test -z "$gl_replace_getopt"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 + $as_echo_n "checking whether getopt is POSIX compatible... " >&6; } +-if test "${gl_cv_func_getopt_posix+set}" = set; then : ++if ${gl_cv_func_getopt_posix+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -10337,7 +10429,7 @@ + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 + $as_echo_n "checking for working GNU getopt function... " >&6; } +-if test "${gl_cv_func_getopt_gnu+set}" = set; then : ++if ${gl_cv_func_getopt_gnu+:} false; then : + $as_echo_n "(cached) " >&6 + else + # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the +@@ -10449,7 +10541,7 @@ + fi + + ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" +-if test "x$ac_cv_have_decl_getenv" = x""yes; then : ++if test "x$ac_cv_have_decl_getenv" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -10505,7 +10597,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 + $as_echo_n "checking for C/C++ restrict keyword... " >&6; } +-if test "${ac_cv_c_restrict+set}" = set; then : ++if ${ac_cv_c_restrict+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_restrict=no +@@ -10576,7 +10668,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_time_h+set}" = set; then : ++if ${gl_cv_next_sys_time_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -10629,7 +10721,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 + $as_echo_n "checking for struct timeval... " >&6; } +-if test "${gl_cv_sys_struct_timeval+set}" = set; then : ++if ${gl_cv_sys_struct_timeval+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -10670,7 +10762,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 + $as_echo_n "checking where to find the exponent in a 'float'... " >&6; } +-if test "${gl_cv_cc_float_expbit0+set}" = set; then : ++if ${gl_cv_cc_float_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -10779,7 +10871,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 + $as_echo_n "checking whether byte ordering is bigendian... " >&6; } +-if test "${ac_cv_c_bigendian+set}" = set; then : ++if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_bigendian=unknown +@@ -11010,7 +11102,7 @@ + + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -11023,7 +11115,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 + $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } +-if test "${ac_cv_gnu_library_2_1+set}" = set; then : ++if ${ac_cv_gnu_library_2_1+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11067,7 +11159,7 @@ + if test "$gl_use_threads" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 + $as_echo_n "checking whether imported symbols can be declared weak... " >&6; } +-if test "${gl_cv_have_weak+set}" = set; then : ++if ${gl_cv_have_weak+:} false; then : + $as_echo_n "(cached) " >&6 + else + gl_cv_have_weak=no +@@ -11135,7 +11227,7 @@ + # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that + # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. + ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +-if test "x$ac_cv_header_pthread_h" = x""yes; then : ++if test "x$ac_cv_header_pthread_h" = xyes; then : + gl_have_pthread_h=yes + else + gl_have_pthread_h=no +@@ -11174,7 +11266,7 @@ + # need to link with libpthread in order to create multiple threads. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 + $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } +-if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then : ++if ${ac_cv_lib_pthread_pthread_kill+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -11208,7 +11300,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 + $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } +-if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then : ++if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread + # On Solaris and HP-UX, most pthread functions exist also in libc. + # Therefore pthread_in_use() needs to actually try to create a +@@ -11227,7 +11319,7 @@ + # Some library is needed. Try libpthread and libc_r. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 + $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } +-if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then : ++if ${ac_cv_lib_pthread_pthread_kill+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -11261,7 +11353,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 + $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } +-if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then : ++if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : + gl_have_pthread=yes + LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread +@@ -11271,7 +11363,7 @@ + # For FreeBSD 4. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 + $as_echo_n "checking for pthread_kill in -lc_r... " >&6; } +-if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then : ++if ${ac_cv_lib_c_r_pthread_kill+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -11305,7 +11397,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 + $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } +-if test "x$ac_cv_lib_c_r_pthread_kill" = x""yes; then : ++if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : + gl_have_pthread=yes + LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r + LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r +@@ -11383,7 +11475,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 + $as_echo_n "checking how to link with libpth... " >&6; } +-if test "${ac_cv_libpth_libs+set}" = set; then : ++if ${ac_cv_libpth_libs+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -11999,7 +12091,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 + $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } +-if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : ++if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : + $as_echo_n "(cached) " >&6 + else + rm -f conftest.sym conftest.file +@@ -12069,7 +12161,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 + $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } +-if test "${gl_cv_func_malloc_posix+set}" = set; then : ++if ${gl_cv_func_malloc_posix+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -12102,7 +12194,7 @@ + for ac_header in stdlib.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +-if test "x$ac_cv_header_stdlib_h" = x""yes; then : ++if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STDLIB_H 1 + _ACEOF +@@ -12113,7 +12205,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 + $as_echo_n "checking for GNU libc compatible malloc... " >&6; } +-if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : ++if ${ac_cv_func_malloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -12165,7 +12257,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 + $as_echo_n "checking for mbstate_t... " >&6; } +-if test "${ac_cv_type_mbstate_t+set}" = set; then : ++if ${ac_cv_type_mbstate_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -12215,7 +12307,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 + $as_echo_n "checking for a traditional japanese locale... " >&6; } +-if test "${gt_cv_locale_ja+set}" = set; then : ++if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -12353,7 +12445,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 + $as_echo_n "checking for a transitional chinese locale... " >&6; } +-if test "${gt_cv_locale_zh_CN+set}" = set; then : ++if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -12479,7 +12571,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -12685,7 +12777,7 @@ + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +-if test "x$ac_cv_func_mmap" = x""yes; then : ++if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes + else + gl_have_mmap=no +@@ -12756,7 +12848,7 @@ + # Assume that memchr works on platforms that lack mprotect. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 + $as_echo_n "checking whether memchr works... " >&6; } +-if test "${gl_cv_func_memchr_works+set}" = set; then : ++if ${gl_cv_func_memchr_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -12850,7 +12942,7 @@ + for ac_header in bp-sym.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" +-if test "x$ac_cv_header_bp_sym_h" = x""yes; then : ++if test "x$ac_cv_header_bp_sym_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_BP_SYM_H 1 + _ACEOF +@@ -12871,7 +12963,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 + $as_echo_n "checking for special C compiler options needed for large files... " >&6; } +-if test "${ac_cv_sys_largefile_CC+set}" = set; then : ++if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_sys_largefile_CC=no +@@ -12922,7 +13014,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +-if test "${ac_cv_sys_file_offset_bits+set}" = set; then : ++if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 + else + while :; do +@@ -12991,7 +13083,7 @@ + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 + $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +-if test "${ac_cv_sys_large_files+set}" = set; then : ++if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 + else + while :; do +@@ -13058,6 +13150,8 @@ + esac + rm -rf conftest* + fi ++ ++ + fi + + +@@ -13110,7 +13204,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 + $as_echo_n "checking for promoted mode_t type... " >&6; } +-if test "${gl_cv_promoted_mode_t+set}" = set; then : ++if ${gl_cv_promoted_mode_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -13191,7 +13285,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5 + $as_echo_n "checking whether posix_spawn works... " >&6; } +-if test "${gl_cv_func_posix_spawn_works+set}" = set; then : ++if ${gl_cv_func_posix_spawn_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test $cross_compiling = no; then +@@ -13529,7 +13623,7 @@ + *yes) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedpolicy is supported" >&5 + $as_echo_n "checking whether posix_spawnattr_setschedpolicy is supported... " >&6; } +-if test "${gl_cv_func_spawnattr_setschedpolicy+set}" = set; then : ++if ${gl_cv_func_spawnattr_setschedpolicy+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -13555,7 +13649,7 @@ + $as_echo "$gl_cv_func_spawnattr_setschedpolicy" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedparam is supported" >&5 + $as_echo_n "checking whether posix_spawnattr_setschedparam is supported... " >&6; } +-if test "${gl_cv_func_spawnattr_setschedparam+set}" = set; then : ++if ${gl_cv_func_spawnattr_setschedparam+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -13609,7 +13703,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 + $as_echo_n "checking for uid_t in sys/types.h... " >&6; } +-if test "${ac_cv_type_uid_t+set}" = set; then : ++if ${ac_cv_type_uid_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -13643,7 +13737,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 + $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } +-if test "${gl_cv_func_snprintf_retval_c99+set}" = set; then : ++if ${gl_cv_func_snprintf_retval_c99+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -13712,7 +13806,7 @@ + $as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } + + ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" +-if test "x$ac_cv_have_decl_snprintf" = x""yes; then : ++if test "x$ac_cv_have_decl_snprintf" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -13726,7 +13820,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 + $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +-if test "${ac_cv_header_stdbool_h+set}" = set; then : ++if ${ac_cv_header_stdbool_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -13801,7 +13895,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 + $as_echo "$ac_cv_header_stdbool_h" >&6; } + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +-if test "x$ac_cv_type__Bool" = x""yes; then : ++if test "x$ac_cv_type__Bool" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE__BOOL 1 +@@ -13819,7 +13913,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 + $as_echo_n "checking for wchar_t... " >&6; } +-if test "${gt_cv_c_wchar_t+set}" = set; then : ++if ${gt_cv_c_wchar_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -13861,7 +13955,7 @@ + if test -z "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 + $as_echo_n "checking for working strerror function... " >&6; } +-if test "${gl_cv_func_working_strerror+set}" = set; then : ++if ${gl_cv_func_working_strerror+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -13919,7 +14013,7 @@ + if test $REPLACE_STRERROR = 1; then + + ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strerror" = x""yes; then : ++if test "x$ac_cv_have_decl_strerror" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -13934,7 +14028,7 @@ + for ac_header in winsock2.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +-if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++if test "x$ac_cv_header_winsock2_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_WINSOCK2_H 1 + _ACEOF +@@ -13963,7 +14057,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_string_h+set}" = set; then : ++if ${gl_cv_next_string_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -14007,7 +14101,7 @@ + + + ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strndup" = x""yes; then : ++if test "x$ac_cv_have_decl_strndup" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14020,7 +14114,7 @@ + + + ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strnlen" = x""yes; then : ++if test "x$ac_cv_have_decl_strnlen" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14031,7 +14125,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strsignal" = x""yes; then : ++if test "x$ac_cv_have_decl_strsignal" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14048,7 +14142,7 @@ + #endif + + " +-if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : ++if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14077,7 +14171,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 + $as_echo_n "checking whether strstr works... " >&6; } +-if test "${gl_cv_func_strstr_works_always+set}" = set; then : ++if ${gl_cv_func_strstr_works_always+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -14156,7 +14250,7 @@ + fi + + ac_fn_c_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strtod" = x""yes; then : ++if test "x$ac_cv_have_decl_strtod" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14169,7 +14263,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5 + $as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_ldexp_no_libm+set}" = set; then : ++if ${gl_cv_func_ldexp_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -14203,7 +14297,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 + $as_echo_n "checking whether stat file-mode macros are broken... " >&6; } +-if test "${ac_cv_header_stat_broken+set}" = set; then : ++if ${ac_cv_header_stat_broken+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14269,7 +14363,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 + $as_echo_n "checking for struct timespec in ... " >&6; } +-if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : ++if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14302,7 +14396,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 + $as_echo_n "checking for struct timespec in ... " >&6; } +-if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : ++if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14331,7 +14425,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 + $as_echo_n "checking for struct timespec in ... " >&6; } +-if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then : ++if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14380,7 +14474,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_time_h+set}" = set; then : ++if ${gl_cv_next_time_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -14425,7 +14519,7 @@ + + + ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_clearerr_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14436,7 +14530,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_feof_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14447,7 +14541,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_ferror_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14458,7 +14552,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14469,7 +14563,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fgets_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14480,7 +14574,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fputc_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14491,7 +14585,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14502,7 +14596,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fread_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14513,7 +14607,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_fwrite_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14524,7 +14618,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_getchar_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14535,7 +14629,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14546,7 +14640,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" +-if test "x$ac_cv_have_decl_putchar_unlocked" = x""yes; then : ++if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14561,7 +14655,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 + $as_echo_n "checking for wint_t... " >&6; } +-if test "${gt_cv_c_wint_t+set}" = set; then : ++if ${gt_cv_c_wint_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14610,21 +14704,10 @@ + fi + + +-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +-if test "x$ac_cv_type_size_t" = x""yes; then : +- +-else +- +-cat >>confdefs.h <<_ACEOF +-#define size_t unsigned int +-_ACEOF +- +-fi +- + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 + $as_echo_n "checking for inttypes.h... " >&6; } +-if test "${gl_cv_header_inttypes_h+set}" = set; then : ++if ${gl_cv_header_inttypes_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14661,7 +14744,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 + $as_echo_n "checking for stdint.h... " >&6; } +-if test "${gl_cv_header_stdint_h+set}" = set; then : ++if ${gl_cv_header_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14698,7 +14781,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 + $as_echo_n "checking for intmax_t... " >&6; } +-if test "${gt_cv_c_intmax_t+set}" = set; then : ++if ${gt_cv_c_intmax_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14766,7 +14849,7 @@ + + ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include + " +-if test "x$ac_cv_have_decl__snprintf" = x""yes; then : ++if test "x$ac_cv_have_decl__snprintf" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -14791,7 +14874,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5 + $as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; } +-if test "${gl_cv_func_printf_sizes_c99+set}" = set; then : ++if ${gl_cv_func_printf_sizes_c99+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -14878,7 +14961,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5 + $as_echo_n "checking whether printf supports 'long double' arguments... " >&6; } +-if test "${gl_cv_func_printf_long_double+set}" = set; then : ++if ${gl_cv_func_printf_long_double+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -14933,7 +15016,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5 + $as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; } +-if test "${gl_cv_func_printf_infinite+set}" = set; then : ++if ${gl_cv_func_printf_infinite+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15059,7 +15142,7 @@ + *yes) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5 + $as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; } +-if test "${gl_cv_func_printf_infinite_long_double+set}" = set; then : ++if ${gl_cv_func_printf_infinite_long_double+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15359,7 +15442,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5 + $as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; } +-if test "${gl_cv_func_printf_directive_a+set}" = set; then : ++if ${gl_cv_func_printf_directive_a+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15462,7 +15545,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5 + $as_echo_n "checking whether printf supports the 'F' directive... " >&6; } +-if test "${gl_cv_func_printf_directive_f+set}" = set; then : ++if ${gl_cv_func_printf_directive_f+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15525,7 +15608,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5 + $as_echo_n "checking whether printf supports the 'n' directive... " >&6; } +-if test "${gl_cv_func_printf_directive_n+set}" = set; then : ++if ${gl_cv_func_printf_directive_n+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15575,7 +15658,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5 + $as_echo_n "checking whether printf supports the 'ls' directive... " >&6; } +-if test "${gl_cv_func_printf_directive_ls+set}" = set; then : ++if ${gl_cv_func_printf_directive_ls+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15662,7 +15745,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 + $as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } +-if test "${gl_cv_func_printf_positions+set}" = set; then : ++if ${gl_cv_func_printf_positions+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15710,7 +15793,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5 + $as_echo_n "checking whether printf supports the grouping flag... " >&6; } +-if test "${gl_cv_func_printf_flag_grouping+set}" = set; then : ++if ${gl_cv_func_printf_flag_grouping+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15756,7 +15839,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5 + $as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; } +-if test "${gl_cv_func_printf_flag_leftadjust+set}" = set; then : ++if ${gl_cv_func_printf_flag_leftadjust+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15805,7 +15888,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5 + $as_echo_n "checking whether printf supports the zero flag correctly... " >&6; } +-if test "${gl_cv_func_printf_flag_zero+set}" = set; then : ++if ${gl_cv_func_printf_flag_zero+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15854,7 +15937,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5 + $as_echo_n "checking whether printf supports large precisions... " >&6; } +-if test "${gl_cv_func_printf_precision+set}" = set; then : ++if ${gl_cv_func_printf_precision+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -15911,7 +15994,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5 + $as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; } +-if test "${gl_cv_func_printf_enomem+set}" = set; then : ++if ${gl_cv_func_printf_enomem+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -16154,7 +16237,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 + $as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } +-if test "${gl_cv_func_ungetc_works+set}" = set; then : ++if ${gl_cv_func_ungetc_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -16221,7 +16304,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 + $as_echo_n "checking for LC_MESSAGES... " >&6; } +-if test "${gt_cv_val_LC_MESSAGES+set}" = set; then : ++if ${gt_cv_val_LC_MESSAGES+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16254,7 +16337,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 + $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +-if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then : ++if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 + else + gt_save_LIBS="$LIBS" +@@ -16288,7 +16371,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 + $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +-if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then : ++if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 + else + gt_save_LIBS="$LIBS" +@@ -16327,7 +16410,7 @@ + + + ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" +-if test "x$ac_cv_have_decl_setenv" = x""yes; then : ++if test "x$ac_cv_have_decl_setenv" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -16351,7 +16434,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5 + $as_echo_n "checking whether setenv validates arguments... " >&6; } +-if test "${gl_cv_func_setenv_works+set}" = set; then : ++if ${gl_cv_func_setenv_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -16420,7 +16503,7 @@ + for ac_header in search.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" +-if test "x$ac_cv_header_search_h" = x""yes; then : ++if test "x$ac_cv_header_search_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_SEARCH_H 1 + _ACEOF +@@ -16432,7 +16515,7 @@ + for ac_func in tsearch + do : + ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" +-if test "x$ac_cv_func_tsearch" = x""yes; then : ++if test "x$ac_cv_func_tsearch" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_TSEARCH 1 + _ACEOF +@@ -16445,7 +16528,7 @@ + + + ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" +-if test "x$ac_cv_have_decl_strdup" = x""yes; then : ++if test "x$ac_cv_have_decl_strdup" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -16456,7 +16539,7 @@ + _ACEOF + + ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" +-if test "x$ac_cv_have_decl_alarm" = x""yes; then : ++if test "x$ac_cv_have_decl_alarm" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -16469,7 +16552,7 @@ + + + ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" +-if test "x$ac_cv_have_decl_unsetenv" = x""yes; then : ++if test "x$ac_cv_have_decl_unsetenv" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -16515,7 +16598,7 @@ + if test $ac_cv_working_alloca_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 + $as_echo_n "checking for alloca as a compiler built-in... " >&6; } +-if test "${gl_cv_rpl_alloca+set}" = set; then : ++if ${gl_cv_rpl_alloca+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -16595,7 +16678,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 + $as_echo_n "checking whether btowc(0) is correct... " >&6; } +-if test "${gl_cv_func_btowc_nul+set}" = set; then : ++if ${gl_cv_func_btowc_nul+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -16644,7 +16727,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 + $as_echo_n "checking whether btowc(EOF) is correct... " >&6; } +-if test "${gl_cv_func_btowc_eof+set}" = set; then : ++if ${gl_cv_func_btowc_eof+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -16748,7 +16831,7 @@ + + ac_fn_c_check_decl "$LINENO" "sigaltstack" "ac_cv_have_decl_sigaltstack" "#include + " +-if test "x$ac_cv_have_decl_sigaltstack" = x""yes; then : ++if test "x$ac_cv_have_decl_sigaltstack" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -16763,7 +16846,7 @@ + + ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include + " +-if test "x$ac_cv_type_stack_t" = x""yes; then : ++if test "x$ac_cv_type_stack_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_STACK_T 1 +@@ -17049,7 +17132,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 + $as_echo_n "checking whether // is distinct from /... " >&6; } +-if test "${gl_cv_double_slash_root+set}" = set; then : ++if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test x"$cross_compiling" = xyes ; then +@@ -17104,7 +17187,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 + $as_echo_n "checking whether dup2 works... " >&6; } +-if test "${gl_cv_func_dup2_works+set}" = set; then : ++if ${gl_cv_func_dup2_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -17232,7 +17315,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 + $as_echo_n "checking for error_at_line... " >&6; } +-if test "${ac_cv_lib_error_at_line+set}" = set; then : ++if ${ac_cv_lib_error_at_line+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -17342,7 +17425,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 + $as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; } +-if test "${gl_cv_func_fcntl_f_dupfd_works+set}" = set; then : ++if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -17410,7 +17493,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 + $as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } +-if test "${gl_cv_func_fcntl_f_dupfd_cloexec+set}" = set; then : ++if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -17511,7 +17594,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_fcntl_h+set}" = set; then : ++if ${gl_cv_next_fcntl_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -17567,12 +17650,12 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 + $as_echo_n "checking whether fflush works on input streams... " >&6; } +-if test "${gl_cv_func_fflush_stdin+set}" = set; then : ++if ${gl_cv_func_fflush_stdin+:} false; then : + $as_echo_n "(cached) " >&6 + else + echo hello world > conftest.txt + if test "$cross_compiling" = yes; then : +- gl_cv_func_fflush_stdin=no ++ gl_cv_func_fflush_stdin=cross + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -17637,7 +17720,17 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 + $as_echo "$gl_cv_func_fflush_stdin" >&6; } +- if test $gl_cv_func_fflush_stdin = no; then ++ case $gl_cv_func_fflush_stdin in ++ yes) gl_func_fflush_stdin=1 ;; ++ no) gl_func_fflush_stdin=0 ;; ++ *) gl_func_fflush_stdin='(-1)' ;; ++ esac ++ ++cat >>confdefs.h <<_ACEOF ++#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin ++_ACEOF ++ ++ if test $gl_cv_func_fflush_stdin != yes; then + + + +@@ -17744,7 +17837,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_float_h+set}" = set; then : ++if ${gl_cv_next_float_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -17800,7 +17893,7 @@ + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5 + $as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; } +-if test "${gl_cv_func_fopen_slash+set}" = set; then : ++if ${gl_cv_func_fopen_slash+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -17907,7 +18000,7 @@ + ' + ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers + " +-if test "x$ac_cv_have_decl___fpending" = x""yes; then : ++if test "x$ac_cv_have_decl___fpending" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -17920,7 +18013,7 @@ + if test $ac_cv_func___fpending = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5 + $as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; } +-if test "${ac_cv_sys_pending_output_n_bytes+set}" = set; then : ++if ${ac_cv_sys_pending_output_n_bytes+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -18011,7 +18104,7 @@ + + ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include + " +-if test "x$ac_cv_have_decl_fpurge" = x""yes; then : ++if test "x$ac_cv_have_decl_fpurge" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -18025,7 +18118,7 @@ + # Detect BSD bug. Only cygwin 1.7 is known to be immune. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5 + $as_echo_n "checking whether fpurge works... " >&6; } +-if test "${gl_cv_func_fpurge_works+set}" = set; then : ++if ${gl_cv_func_fpurge_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -18124,7 +18217,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 + $as_echo_n "checking whether frexp works... " >&6; } +-if test "${gl_cv_func_frexp_works+set}" = set; then : ++if ${gl_cv_func_frexp_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -18247,7 +18340,7 @@ + + ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include + " +-if test "x$ac_cv_have_decl_frexpl" = x""yes; then : ++if test "x$ac_cv_have_decl_frexpl" = xyes; then : + + else + HAVE_DECL_FREXPL=0 +@@ -18257,7 +18350,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 + $as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_frexpl_no_libm+set}" = set; then : ++if ${gl_cv_func_frexpl_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -18290,7 +18383,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 + $as_echo_n "checking whether frexpl works... " >&6; } +-if test "${gl_cv_func_frexpl_works+set}" = set; then : ++if ${gl_cv_func_frexpl_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -18513,7 +18606,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 + $as_echo_n "checking for ftello... " >&6; } +-if test "${gl_cv_func_ftello+set}" = set; then : ++if ${gl_cv_func_ftello+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -18548,7 +18641,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 + $as_echo_n "checking whether ftello works... " >&6; } +-if test "${gl_cv_func_ftello_works+set}" = set; then : ++if ${gl_cv_func_ftello_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -18785,7 +18878,7 @@ + for ac_header in sys/timeb.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_SYS_TIMEB_H 1 + _ACEOF +@@ -18797,7 +18890,7 @@ + for ac_func in _ftime + do : + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" +-if test "x$ac_cv_func__ftime" = x""yes; then : ++if test "x$ac_cv_func__ftime" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE__FTIME 1 + _ACEOF +@@ -18812,7 +18905,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 + $as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } +-if test "${gl_cv_func_gettimeofday_clobber+set}" = set; then : ++if ${gl_cv_func_gettimeofday_clobber+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -18872,7 +18965,7 @@ + for ac_header in sys/timeb.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_SYS_TIMEB_H 1 + _ACEOF +@@ -18884,7 +18977,7 @@ + for ac_func in _ftime + do : + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" +-if test "x$ac_cv_func__ftime" = x""yes; then : ++if test "x$ac_cv_func__ftime" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE__FTIME 1 + _ACEOF +@@ -18907,7 +19000,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 + $as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } +-if test "${gl_cv_func_gettimeofday_posix_signature+set}" = set; then : ++if ${gl_cv_func_gettimeofday_posix_signature+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -18978,7 +19071,7 @@ + for ac_header in sys/timeb.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : ++if test "x$ac_cv_header_sys_timeb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_SYS_TIMEB_H 1 + _ACEOF +@@ -18990,7 +19083,7 @@ + for ac_func in _ftime + do : + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime" +-if test "x$ac_cv_func__ftime" = x""yes; then : ++if test "x$ac_cv_func__ftime" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE__FTIME 1 + _ACEOF +@@ -19040,7 +19133,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5 + $as_echo_n "checking whether the compiler generally respects inline... " >&6; } +-if test "${gl_cv_c_inline_effective+set}" = set; then : ++if ${gl_cv_c_inline_effective+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test $ac_cv_c_inline = no; then +@@ -19082,7 +19175,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5 + $as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_isnand_no_libm+set}" = set; then : ++if ${gl_cv_func_isnand_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19136,7 +19229,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 + $as_echo_n "checking where to find the exponent in a 'double'... " >&6; } +-if test "${gl_cv_cc_double_expbit0+set}" = set; then : ++if ${gl_cv_cc_double_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19156,7 +19249,7 @@ + else + + : +-if test "${ac_cv_c_bigendian+set}" = set; then : ++if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_bigendian=unknown +@@ -19487,7 +19580,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5 + $as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_isnanf_no_libm+set}" = set; then : ++if ${gl_cv_func_isnanf_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19528,7 +19621,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5 + $as_echo_n "checking whether isnan(float) works... " >&6; } +-if test "${gl_cv_func_isnanf_works+set}" = set; then : ++if ${gl_cv_func_isnanf_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19633,7 +19726,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 + $as_echo_n "checking where to find the exponent in a 'float'... " >&6; } +-if test "${gl_cv_cc_float_expbit0+set}" = set; then : ++if ${gl_cv_cc_float_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19747,7 +19840,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5 + $as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_isnanl_no_libm+set}" = set; then : ++if ${gl_cv_func_isnanl_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19789,7 +19882,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5 + $as_echo_n "checking whether isnanl works... " >&6; } +-if test "${gl_cv_func_isnanl_works+set}" = set; then : ++if ${gl_cv_func_isnanl_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -19964,7 +20057,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 + $as_echo_n "checking where to find the exponent in a 'long double'... " >&6; } +-if test "${gl_cv_cc_long_double_expbit0+set}" = set; then : ++if ${gl_cv_cc_long_double_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -20096,7 +20189,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_langinfo_h+set}" = set; then : ++if ${gl_cv_next_langinfo_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -20152,7 +20245,7 @@ + HAVE_LANGINFO_H=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 + $as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } +-if test "${gl_cv_header_langinfo_codeset+set}" = set; then : ++if ${gl_cv_header_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -20183,7 +20276,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 + $as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } +-if test "${gl_cv_header_langinfo_t_fmt_ampm+set}" = set; then : ++if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -20214,7 +20307,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 + $as_echo_n "checking whether langinfo.h defines ERA... " >&6; } +-if test "${gl_cv_header_langinfo_era+set}" = set; then : ++if ${gl_cv_header_langinfo_era+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -20245,7 +20338,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 + $as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } +-if test "${gl_cv_header_langinfo_yesexpr+set}" = set; then : ++if ${gl_cv_header_langinfo_yesexpr+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -20782,7 +20875,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 + $as_echo_n "checking for libsigsegv... " >&6; } +-if test "${ac_cv_libsigsegv+set}" = set; then : ++if ${ac_cv_libsigsegv+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -20863,7 +20956,7 @@ + # pthread_rwlock_* functions. + ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include + " +-if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then : ++if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : + + $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h + +@@ -20906,7 +20999,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 + $as_echo_n "checking whether lseek detects pipes... " >&6; } +-if test "${gl_cv_func_lseek_pipe+set}" = set; then : ++if ${gl_cv_func_lseek_pipe+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test $cross_compiling = no; then +@@ -21025,7 +21118,7 @@ + for ac_header in stdlib.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +-if test "x$ac_cv_header_stdlib_h" = x""yes; then : ++if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STDLIB_H 1 + _ACEOF +@@ -21036,7 +21129,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 + $as_echo_n "checking for GNU libc compatible malloc... " >&6; } +-if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : ++if ${ac_cv_func_malloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -21159,7 +21252,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_math_h+set}" = set; then : ++if ${gl_cv_next_math_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21209,7 +21302,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5 + $as_echo_n "checking whether NAN macro works... " >&6; } +-if test "${gl_cv_header_math_nan_works+set}" = set; then : ++if ${gl_cv_header_math_nan_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -21244,7 +21337,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5 + $as_echo_n "checking whether HUGE_VAL works... " >&6; } +-if test "${gl_cv_header_math_huge_val_works+set}" = set; then : ++if ${gl_cv_header_math_huge_val_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -21292,7 +21385,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 + $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +-if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then : ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21355,7 +21448,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 + $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +-if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then : ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21448,7 +21541,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 + $as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; } +-if test "${gl_cv_func_mbrtowc_null_arg1+set}" = set; then : ++if ${gl_cv_func_mbrtowc_null_arg1+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21525,7 +21618,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 + $as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } +-if test "${gl_cv_func_mbrtowc_null_arg2+set}" = set; then : ++if ${gl_cv_func_mbrtowc_null_arg2+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21592,7 +21685,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 + $as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } +-if test "${gl_cv_func_mbrtowc_retval+set}" = set; then : ++if ${gl_cv_func_mbrtowc_retval+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21728,7 +21821,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 + $as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } +-if test "${gl_cv_func_mbrtowc_nul_retval+set}" = set; then : ++if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21867,7 +21960,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 + $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +-if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then : ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -21930,7 +22023,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 + $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +-if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then : ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -22115,7 +22208,7 @@ + for ac_func in mkdtemp + do : + ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp" +-if test "x$ac_cv_func_mkdtemp" = x""yes; then : ++if test "x$ac_cv_func_mkdtemp" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_MKDTEMP 1 + _ACEOF +@@ -22154,7 +22247,7 @@ + if test $ac_cv_func_mkstemp = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5 + $as_echo_n "checking for working mkstemp... " >&6; } +-if test "${gl_cv_func_working_mkstemp+set}" = set; then : ++if ${gl_cv_func_working_mkstemp+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -22259,7 +22352,7 @@ + # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5 + $as_echo_n "checking whether YESEXPR works... " >&6; } +-if test "${gl_cv_func_nl_langinfo_yesexpr_works+set}" = set; then : ++if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -22367,7 +22460,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5 + $as_echo_n "checking for obstacks... " >&6; } +-if test "${ac_cv_func_obstack+set}" = set; then : ++if ${ac_cv_func_obstack+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -22442,7 +22535,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5 + $as_echo_n "checking whether open recognizes a trailing slash... " >&6; } +-if test "${gl_cv_func_open_slash+set}" = set; then : ++if ${gl_cv_func_open_slash+:} false; then : + $as_echo_n "(cached) " >&6 + else + # Assume that if we have lstat, we can also check symlinks. +@@ -22875,7 +22968,7 @@ + for ac_header in paths.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" +-if test "x$ac_cv_header_paths_h" = x""yes; then : ++if test "x$ac_cv_header_paths_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_PATHS_H 1 + _ACEOF +@@ -22917,7 +23010,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 + $as_echo_n "checking whether frexp works... " >&6; } +-if test "${gl_cv_func_frexp_works+set}" = set; then : ++if ${gl_cv_func_frexp_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -23010,7 +23103,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5 + $as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_ldexp_no_libm+set}" = set; then : ++if ${gl_cv_func_ldexp_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -23050,7 +23143,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 + $as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_frexpl_no_libm+set}" = set; then : ++if ${gl_cv_func_frexpl_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -23083,7 +23176,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 + $as_echo_n "checking whether frexpl works... " >&6; } +-if test "${gl_cv_func_frexpl_works+set}" = set; then : ++if ${gl_cv_func_frexpl_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -23202,7 +23295,7 @@ + + ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include + " +-if test "x$ac_cv_have_decl_frexpl" = x""yes; then : ++if test "x$ac_cv_have_decl_frexpl" = xyes; then : + + else + HAVE_DECL_FREXPL=0 +@@ -23213,7 +23306,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5 + $as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_ldexpl_no_libm+set}" = set; then : ++if ${gl_cv_func_ldexpl_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -23246,7 +23339,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5 + $as_echo_n "checking whether ldexpl works... " >&6; } +-if test "${gl_cv_func_ldexpl_works+set}" = set; then : ++if ${gl_cv_func_ldexpl_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -23302,7 +23395,7 @@ + + ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include + " +-if test "x$ac_cv_have_decl_ldexpl" = x""yes; then : ++if test "x$ac_cv_have_decl_ldexpl" = xyes; then : + + else + HAVE_DECL_LDEXPL=0 +@@ -23317,7 +23410,7 @@ + # Code from module progname: + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include + " +-if test "x$ac_cv_have_decl_program_invocation_name" = x""yes; then : ++if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -23329,7 +23422,7 @@ + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include + " +-if test "x$ac_cv_have_decl_program_invocation_short_name" = x""yes; then : ++if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -23369,7 +23462,7 @@ + for ac_func in rawmemchr + do : + ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr" +-if test "x$ac_cv_func_rawmemchr" = x""yes; then : ++if test "x$ac_cv_func_rawmemchr" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_RAWMEMCHR 1 + _ACEOF +@@ -23420,7 +23513,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5 + $as_echo_n "checking whether readlink signature is correct... " >&6; } +-if test "${gl_cv_decl_readlink_works+set}" = set; then : ++if ${gl_cv_decl_readlink_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -23447,7 +23540,7 @@ + $as_echo "$gl_cv_decl_readlink_works" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5 + $as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; } +-if test "${gl_cv_func_readlink_works+set}" = set; then : ++if ${gl_cv_func_readlink_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + # We have readlink, so assume ln -s works. +@@ -23542,7 +23635,7 @@ + # regex.c. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 + $as_echo_n "checking for working re_compile_pattern... " >&6; } +-if test "${gl_cv_func_re_compile_pattern_working+set}" = set; then : ++if ${gl_cv_func_re_compile_pattern_working+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -23775,7 +23868,7 @@ + for ac_header in libintl.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +-if test "x$ac_cv_header_libintl_h" = x""yes; then : ++if test "x$ac_cv_header_libintl_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBINTL_H 1 + _ACEOF +@@ -23787,7 +23880,7 @@ + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include + " +-if test "x$ac_cv_have_decl_isblank" = x""yes; then : ++if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -23808,7 +23901,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5 + $as_echo_n "checking whether rename honors trailing slash on destination... " >&6; } +-if test "${gl_cv_func_rename_slash_dst_works+set}" = set; then : ++if ${gl_cv_func_rename_slash_dst_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk +@@ -23878,7 +23971,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5 + $as_echo_n "checking whether rename honors trailing slash on source... " >&6; } +-if test "${gl_cv_func_rename_slash_src_works+set}" = set; then : ++if ${gl_cv_func_rename_slash_src_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk +@@ -23948,7 +24041,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5 + $as_echo_n "checking whether rename manages hard links correctly... " >&6; } +-if test "${gl_cv_func_rename_link_works+set}" = set; then : ++if ${gl_cv_func_rename_link_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + rm -rf conftest.f conftest.f1 +@@ -24018,7 +24111,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5 + $as_echo_n "checking whether rename manages existing destinations correctly... " >&6; } +-if test "${gl_cv_func_rename_dest_works+set}" = set; then : ++if ${gl_cv_func_rename_dest_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + rm -rf conftest.f conftest.d1 conftest.d2 +@@ -24094,7 +24187,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5 + $as_echo_n "checking whether rmdir works... " >&6; } +-if test "${gl_cv_func_rmdir_works+set}" = set; then : ++if ${gl_cv_func_rmdir_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + mkdir conftest.dir +@@ -24199,7 +24292,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sched_h+set}" = set; then : ++if ${gl_cv_next_sched_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24255,7 +24348,7 @@ + + ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include + " +-if test "x$ac_cv_type_struct_sched_param" = x""yes; then : ++if test "x$ac_cv_type_struct_sched_param" = xyes; then : + HAVE_STRUCT_SCHED_PARAM=1 + else + HAVE_STRUCT_SCHED_PARAM=0 +@@ -24274,7 +24367,7 @@ + if test $ac_cv_func_sigaction = yes; then + ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include + " +-if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = x""yes; then : ++if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1 +@@ -24308,7 +24401,7 @@ + #include + + " +-if test "x$ac_cv_type_siginfo_t" = x""yes; then : ++if test "x$ac_cv_type_siginfo_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_SIGINFO_T 1 +@@ -24350,7 +24443,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_signal_h+set}" = set; then : ++if ${gl_cv_next_signal_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24396,7 +24489,7 @@ + #include + + " +-if test "x$ac_cv_type_volatile_sig_atomic_t" = x""yes; then : ++if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then : + + else + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 +@@ -24411,7 +24504,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5 + $as_echo_n "checking for signbit macro... " >&6; } +-if test "${gl_cv_func_signbit+set}" = set; then : ++if ${gl_cv_func_signbit+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24523,7 +24616,7 @@ + $as_echo "$gl_cv_func_signbit" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5 + $as_echo_n "checking for signbit compiler built-ins... " >&6; } +-if test "${gl_cv_func_signbit_gcc+set}" = set; then : ++if ${gl_cv_func_signbit_gcc+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24669,7 +24762,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5 + $as_echo_n "checking where to find the sign bit in a 'float'... " >&6; } +-if test "${gl_cv_cc_float_signbit+set}" = set; then : ++if ${gl_cv_cc_float_signbit+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24773,7 +24866,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5 + $as_echo_n "checking where to find the sign bit in a 'double'... " >&6; } +-if test "${gl_cv_cc_double_signbit+set}" = set; then : ++if ${gl_cv_cc_double_signbit+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24877,7 +24970,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5 + $as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; } +-if test "${gl_cv_cc_long_double_signbit+set}" = set; then : ++if ${gl_cv_cc_long_double_signbit+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -24980,7 +25073,7 @@ + if test "$gl_cv_cc_float_signbit" = unknown; then + ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include + " +-if test "x$ac_cv_have_decl_copysignf" = x""yes; then : ++if test "x$ac_cv_have_decl_copysignf" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -24993,7 +25086,7 @@ + if test "$ac_cv_have_decl_copysignf" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5 + $as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_copysignf_no_libm+set}" = set; then : ++if ${gl_cv_func_copysignf_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25030,7 +25123,7 @@ + if test "$gl_cv_cc_double_signbit" = unknown; then + ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include + " +-if test "x$ac_cv_have_decl_copysign" = x""yes; then : ++if test "x$ac_cv_have_decl_copysign" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -25043,7 +25136,7 @@ + if test "$ac_cv_have_decl_copysign" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5 + $as_echo_n "checking whether copysign can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_copysign_no_libm+set}" = set; then : ++if ${gl_cv_func_copysign_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25080,7 +25173,7 @@ + if test "$gl_cv_cc_long_double_signbit" = unknown; then + ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include + " +-if test "x$ac_cv_have_decl_copysignl" = x""yes; then : ++if test "x$ac_cv_have_decl_copysignl" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -25093,7 +25186,7 @@ + if test "$ac_cv_have_decl_copysignl" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5 + $as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; } +-if test "${gl_cv_func_copysignl_no_libm+set}" = set; then : ++if ${gl_cv_func_copysignl_no_libm+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25160,7 +25253,7 @@ + + if test -z "$signals_not_posix"; then + ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" +-if test "x$ac_cv_func_sigprocmask" = x""yes; then : ++if test "x$ac_cv_func_sigprocmask" = xyes; then : + gl_cv_func_sigprocmask=1 + fi + +@@ -25183,7 +25276,7 @@ + /* Mingw defines sigset_t not in , but in . */ + #include + " +-if test "x$ac_cv_type_sigset_t" = x""yes; then : ++if test "x$ac_cv_type_sigset_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_SIGSET_T 1 +@@ -25217,7 +25310,7 @@ + for ac_header in stdint.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +-if test "x$ac_cv_header_stdint_h" = x""yes; then : ++if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STDINT_H 1 + _ACEOF +@@ -25228,7 +25321,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 + $as_echo_n "checking for SIZE_MAX... " >&6; } +-if test "${gl_cv_size_max+set}" = set; then : ++if ${gl_cv_size_max+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25315,7 +25408,7 @@ + for ac_func in snprintf + do : + ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" +-if test "x$ac_cv_func_snprintf" = x""yes; then : ++if test "x$ac_cv_func_snprintf" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_SNPRINTF 1 + _ACEOF +@@ -25328,7 +25421,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 + $as_echo_n "checking whether snprintf respects a size of 1... " >&6; } +-if test "${gl_cv_func_snprintf_size1+set}" = set; then : ++if ${gl_cv_func_snprintf_size1+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25431,7 +25524,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_spawn_h+set}" = set; then : ++if ${gl_cv_next_spawn_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25484,7 +25577,7 @@ + #include + + " +-if test "x$ac_cv_type_posix_spawnattr_t" = x""yes; then : ++if test "x$ac_cv_type_posix_spawnattr_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_POSIX_SPAWNATTR_T 1 +@@ -25499,7 +25592,7 @@ + #include + + " +-if test "x$ac_cv_type_posix_spawn_file_actions_t" = x""yes; then : ++if test "x$ac_cv_type_posix_spawn_file_actions_t" = xyes; then : + + cat >>confdefs.h <<_ACEOF + #define HAVE_POSIX_SPAWN_FILE_ACTIONS_T 1 +@@ -25535,7 +25628,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 + $as_echo_n "checking for ssize_t... " >&6; } +-if test "${gt_cv_ssize_t+set}" = set; then : ++if ${gt_cv_ssize_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -25571,7 +25664,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 + $as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; } +-if test "${gl_cv_func_stat_dir_slash+set}" = set; then : ++if ${gl_cv_func_stat_dir_slash+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -25606,7 +25699,7 @@ + $as_echo "$gl_cv_func_stat_dir_slash" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 + $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } +-if test "${gl_cv_func_stat_file_slash+set}" = set; then : ++if ${gl_cv_func_stat_file_slash+:} false; then : + $as_echo_n "(cached) " >&6 + else + touch conftest.tmp +@@ -25694,7 +25787,7 @@ + NEXT_STDARG_H=''; + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 + $as_echo_n "checking for va_copy... " >&6; } +- if test "${gl_cv_func_va_copy+set}" = set; then : ++ if ${gl_cv_func_va_copy+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25754,7 +25847,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdarg_h+set}" = set; then : ++if ${gl_cv_next_stdarg_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25802,7 +25895,7 @@ + + saved_as_echo_n="$as_echo_n" + as_echo_n=':' +- if test "${gl_cv_func___va_copy+set}" = set; then : ++ if ${gl_cv_func___va_copy+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -25874,7 +25967,7 @@ + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 + $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } +-if test "${gl_cv_decl_null_works+set}" = set; then : ++if ${gl_cv_decl_null_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -25917,7 +26010,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stddef_h+set}" = set; then : ++if ${gl_cv_next_stddef_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -26013,7 +26106,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdint_h+set}" = set; then : ++if ${gl_cv_next_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -26069,7 +26162,7 @@ + if test $ac_cv_header_stdint_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 + $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } +-if test "${gl_cv_header_working_stdint_h+set}" = set; then : ++if ${gl_cv_header_working_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + gl_cv_header_working_stdint_h=no +@@ -26372,7 +26465,7 @@ + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 + $as_echo_n "checking for bit size of $gltype... " >&6; } +-if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then : ++if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 + else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " +@@ -26417,7 +26510,7 @@ + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 + $as_echo_n "checking for bit size of $gltype... " >&6; } +-if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then : ++if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 + else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " +@@ -26461,7 +26554,7 @@ + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 + $as_echo_n "checking whether $gltype is signed... " >&6; } +-if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then : ++if eval \${gl_cv_type_${gltype}_signed+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -26520,7 +26613,7 @@ + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 + $as_echo_n "checking for $gltype integer literal suffix... " >&6; } +-if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then : ++if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 + else + eval gl_cv_type_${gltype}_suffix=no +@@ -26592,7 +26685,7 @@ + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 + $as_echo_n "checking for $gltype integer literal suffix... " >&6; } +-if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then : ++if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 + else + eval gl_cv_type_${gltype}_suffix=no +@@ -26680,7 +26773,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdio_h+set}" = set; then : ++if ${gl_cv_next_stdio_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -26750,7 +26843,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_stdlib_h+set}" = set; then : ++if ${gl_cv_next_stdlib_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -26822,7 +26915,7 @@ + for ac_func in strchrnul + do : + ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" +-if test "x$ac_cv_func_strchrnul" = x""yes; then : ++if test "x$ac_cv_func_strchrnul" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STRCHRNUL 1 + _ACEOF +@@ -26903,7 +26996,7 @@ + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 + $as_echo_n "checking for working strndup... " >&6; } +-if test "${gl_cv_func_strndup_works+set}" = set; then : ++if ${gl_cv_func_strndup_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -26996,13 +27089,17 @@ + if test $ac_cv_have_decl_strnlen = no; then + HAVE_DECL_STRNLEN=0 + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 + $as_echo_n "checking for working strnlen... " >&6; } +-if test "${ac_cv_func_strnlen_working+set}" = set; then : ++if ${ac_cv_func_strnlen_working+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +- ac_cv_func_strnlen_working=no ++ # Guess no on AIX systems, yes otherwise. ++ case "$host_os" in ++ aix*) ac_cv_func_strnlen_working=no;; ++ *) ac_cv_func_strnlen_working=yes;; ++ esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -27096,7 +27193,7 @@ + for ac_func in strsignal + do : + ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal" +-if test "x$ac_cv_func_strsignal" = x""yes; then : ++if test "x$ac_cv_func_strsignal" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STRSIGNAL 1 + _ACEOF +@@ -27107,7 +27204,7 @@ + if test $ac_cv_func_strsignal = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5 + $as_echo_n "checking whether strsignal always returns a string... " >&6; } +-if test "${gl_cv_func_working_strsignal+set}" = set; then : ++if ${gl_cv_func_working_strsignal+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -27170,7 +27267,7 @@ + + ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include + " +-if test "x$ac_cv_have_decl__sys_siglist" = x""yes; then : ++if test "x$ac_cv_have_decl__sys_siglist" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -27200,7 +27297,7 @@ + if test $REPLACE_STRSTR = 0; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5 + $as_echo_n "checking whether strstr works in linear time... " >&6; } +-if test "${gl_cv_func_strstr_linear+set}" = set; then : ++if ${gl_cv_func_strstr_linear+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -27320,7 +27417,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 + $as_echo_n "checking whether strstr works... " >&6; } +-if test "${gl_cv_func_strstr_works_always+set}" = set; then : ++if ${gl_cv_func_strstr_works_always+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -27418,7 +27515,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5 + $as_echo_n "checking whether strtod obeys C99... " >&6; } +-if test "${gl_cv_func_strtod_works+set}" = set; then : ++if ${gl_cv_func_strtod_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -27592,7 +27689,7 @@ + for ac_func in strtol + do : + ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" +-if test "x$ac_cv_func_strtol" = x""yes; then : ++if test "x$ac_cv_func_strtol" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STRTOL 1 + _ACEOF +@@ -27628,7 +27725,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_stat_h+set}" = set; then : ++if ${gl_cv_next_sys_stat_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -27678,7 +27775,7 @@ + ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include + #include + " +-if test "x$ac_cv_type_nlink_t" = x""yes; then : ++if test "x$ac_cv_type_nlink_t" = xyes; then : + + else + +@@ -27713,7 +27810,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_sys_wait_h+set}" = set; then : ++if ${gl_cv_next_sys_wait_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -27799,7 +27896,7 @@ + for ac_func in __secure_getenv + do : + ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv" +-if test "x$ac_cv_func___secure_getenv" = x""yes; then : ++if test "x$ac_cv_func___secure_getenv" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE___SECURE_GETENV 1 + _ACEOF +@@ -27827,7 +27924,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_unistd_h+set}" = set; then : ++if ${gl_cv_next_unistd_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -28003,7 +28100,7 @@ + + + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" +-if test "x$ac_cv_type_ptrdiff_t" = x""yes; then : ++if test "x$ac_cv_type_ptrdiff_t" = xyes; then : + + else + +@@ -28025,7 +28122,7 @@ + for ac_func in vasprintf + do : + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" +-if test "x$ac_cv_func_vasprintf" = x""yes; then : ++if test "x$ac_cv_func_vasprintf" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_VASPRINTF 1 + _ACEOF +@@ -28110,7 +28207,7 @@ + for ac_func in vasprintf + do : + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" +-if test "x$ac_cv_func_vasprintf" = x""yes; then : ++if test "x$ac_cv_func_vasprintf" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_VASPRINTF 1 + _ACEOF +@@ -28222,7 +28319,7 @@ + for ac_func in nl_langinfo + do : + ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" +-if test "x$ac_cv_func_nl_langinfo" = x""yes; then : ++if test "x$ac_cv_func_nl_langinfo" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_NL_LANGINFO 1 + _ACEOF +@@ -28388,7 +28485,7 @@ + + + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" +-if test "x$ac_cv_type_ptrdiff_t" = x""yes; then : ++if test "x$ac_cv_type_ptrdiff_t" = xyes; then : + + else + +@@ -28511,7 +28608,7 @@ + for ac_func in waitid + do : + ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid" +-if test "x$ac_cv_func_waitid" = x""yes; then : ++if test "x$ac_cv_func_waitid" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_WAITID 1 + _ACEOF +@@ -28570,7 +28667,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_wchar_h+set}" = set; then : ++if ${gl_cv_next_wchar_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -28652,7 +28749,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 + $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +-if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then : ++if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -28715,7 +28812,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 + $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +-if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then : ++if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -28810,7 +28907,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 + $as_echo_n "checking whether wcrtomb return value is correct... " >&6; } +-if test "${gl_cv_func_wcrtomb_retval+set}" = set; then : ++if ${gl_cv_func_wcrtomb_retval+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -28950,7 +29047,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_wctype_h+set}" = set; then : ++if ${gl_cv_next_wctype_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -29000,7 +29097,7 @@ + if test $ac_cv_func_iswcntrl = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 + $as_echo_n "checking whether iswcntrl works... " >&6; } +-if test "${gl_cv_func_iswcntrl_works+set}" = set; then : ++if ${gl_cv_func_iswcntrl_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -29075,7 +29172,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 + $as_echo_n "checking for wctype_t... " >&6; } +-if test "${gl_cv_type_wctype_t+set}" = set; then : ++if ${gl_cv_type_wctype_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -29117,7 +29214,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 + $as_echo_n "checking for wctrans_t... " >&6; } +-if test "${gl_cv_type_wctrans_t+set}" = set; then : ++if ${gl_cv_type_wctrans_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -29212,7 +29309,7 @@ + for ac_header in stdint.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +-if test "x$ac_cv_header_stdint_h" = x""yes; then : ++if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_STDINT_H 1 + _ACEOF +@@ -29280,7 +29377,7 @@ + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CXX+set}" = set; then : ++if ${ac_cv_prog_CXX+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$CXX"; then +@@ -29292,7 +29389,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -29324,7 +29421,7 @@ + set dummy $ac_prog; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : ++if ${ac_cv_prog_ac_ct_CXX+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CXX"; then +@@ -29336,7 +29433,7 @@ + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 +@@ -29468,15 +29565,16 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : ++if ${am_cv_CXX_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up +- # making a dummy file named `D' -- because `-MD' means `put the output +- # in D'. ++ # making a dummy file named 'D' -- because '-MD' means "put the output ++ # in D". ++ rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. +@@ -29510,16 +29608,16 @@ + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c +- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with +- # Solaris 8's {/usr,}/bin/sh. +- touch sub/conftst$i.h ++ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with ++ # Solaris 10 /bin/sh. ++ echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + +- # We check with `-c' and `-o' for the sake of the "dashmstdout" ++ # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly +- # handle `-M -o', and we need to detect this. Also, some Intel +- # versions had trouble with output in subdirs ++ # handle '-M -o', and we need to detect this. Also, some Intel ++ # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in +@@ -29528,16 +29626,16 @@ + test "$am__universal" = false || continue + ;; + nosideeffect) +- # after this tag, mechanisms are not by side-effect, so they'll +- # only be used when explicitly requested ++ # After this tag, mechanisms are not by side-effect, so they'll ++ # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; +- msvisualcpp | msvcmsys) +- # This compiler won't grok `-c -o', but also, the minuso test has ++ msvc7 | msvc7msys | msvisualcpp | msvcmsys) ++ # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} +@@ -29607,7 +29705,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -29739,7 +29837,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -29866,7 +29964,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -29999,7 +30097,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5 + $as_echo_n "checking for a turkish Unicode locale... " >&6; } +-if test "${gt_cv_locale_tr_utf8+set}" = set; then : ++if ${gt_cv_locale_tr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -30161,7 +30259,7 @@ + for ac_func in getpagesize + do : + ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" +-if test "x$ac_cv_func_getpagesize" = x""yes; then : ++if test "x$ac_cv_func_getpagesize" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_GETPAGESIZE 1 + _ACEOF +@@ -30174,7 +30272,7 @@ + for ac_header in OS.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" +-if test "x$ac_cv_header_OS_h" = x""yes; then : ++if test "x$ac_cv_header_OS_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_OS_H 1 + _ACEOF +@@ -30189,7 +30287,7 @@ + for ac_header in sys/param.h + do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_param_h" = x""yes; then : ++if test "x$ac_cv_header_sys_param_h" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_SYS_PARAM_H 1 + _ACEOF +@@ -30218,7 +30316,7 @@ + ;; + esac + ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default" +-if test "x$ac_cv_have_decl_getpagesize" = x""yes; then : ++if test "x$ac_cv_have_decl_getpagesize" = xyes; then : + + else + HAVE_DECL_GETPAGESIZE=0 +@@ -30239,7 +30337,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 + $as_echo_n "checking where to find the exponent in a 'double'... " >&6; } +-if test "${gl_cv_cc_double_expbit0+set}" = set; then : ++if ${gl_cv_cc_double_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -30259,7 +30357,7 @@ + else + + : +-if test "${ac_cv_c_bigendian+set}" = set; then : ++if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_cv_c_bigendian=unknown +@@ -30585,7 +30683,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 + $as_echo_n "checking where to find the exponent in a 'float'... " >&6; } +-if test "${gl_cv_cc_float_expbit0+set}" = set; then : ++if ${gl_cv_cc_float_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -30695,7 +30793,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 + $as_echo_n "checking where to find the exponent in a 'long double'... " >&6; } +-if test "${gl_cv_cc_long_double_expbit0+set}" = set; then : ++if ${gl_cv_cc_long_double_expbit0+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -30822,7 +30920,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5 + $as_echo_n "checking whether link handles trailing slash correctly... " >&6; } +-if test "${gl_cv_func_link_works+set}" = set; then : ++if ${gl_cv_func_link_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + touch conftest.a +@@ -30901,7 +30999,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 + $as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; } +-if test "${gl_cv_header_locale_h_posix2001+set}" = set; then : ++if ${gl_cv_header_locale_h_posix2001+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -30931,7 +31029,7 @@ + HAVE_XLOCALE_H=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 + $as_echo_n "checking whether locale.h defines locale_t... " >&6; } +-if test "${gl_cv_header_locale_has_locale_t+set}" = set; then : ++if ${gl_cv_header_locale_has_locale_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -30980,7 +31078,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 + $as_echo_n "checking absolute name of ... " >&6; } +-if test "${gl_cv_next_locale_h+set}" = set; then : ++if ${gl_cv_next_locale_h+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31054,7 +31152,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31186,7 +31284,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31313,7 +31411,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 + $as_echo_n "checking for a traditional japanese locale... " >&6; } +-if test "${gt_cv_locale_ja+set}" = set; then : ++if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31451,7 +31549,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 + $as_echo_n "checking for a transitional chinese locale... " >&6; } +-if test "${gt_cv_locale_zh_CN+set}" = set; then : ++if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31577,7 +31675,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31706,7 +31804,7 @@ + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +-if test "x$ac_cv_func_mmap" = x""yes; then : ++if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes + else + gl_have_mmap=no +@@ -31771,7 +31869,7 @@ + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +-if test "x$ac_cv_func_mmap" = x""yes; then : ++if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes + else + gl_have_mmap=no +@@ -31834,7 +31932,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -31966,7 +32064,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -32116,7 +32214,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5 + $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; } +-if test "${gl_cv_func_svid_putenv+set}" = set; then : ++if ${gl_cv_func_svid_putenv+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -32192,7 +32290,7 @@ + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +-if test "x$ac_cv_func_mmap" = x""yes; then : ++if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes + else + gl_have_mmap=no +@@ -32317,7 +32415,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -32449,7 +32547,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -32576,7 +32674,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 + $as_echo_n "checking for a traditional japanese locale... " >&6; } +-if test "${gt_cv_locale_ja+set}" = set; then : ++if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -32714,7 +32812,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 + $as_echo_n "checking for a transitional chinese locale... " >&6; } +-if test "${gt_cv_locale_zh_CN+set}" = set; then : ++if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -32842,7 +32940,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 + $as_echo_n "checking for wchar_t... " >&6; } +-if test "${gt_cv_c_wchar_t+set}" = set; then : ++if ${gt_cv_c_wchar_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -32875,7 +32973,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 + $as_echo_n "checking for wint_t... " >&6; } +-if test "${gt_cv_c_wint_t+set}" = set; then : ++if ${gt_cv_c_wint_t+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -32968,7 +33066,7 @@ + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +-if test "x$ac_cv_func_mmap" = x""yes; then : ++if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes + else + gl_have_mmap=no +@@ -33034,7 +33132,7 @@ + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +-if test "x$ac_cv_func_mmap" = x""yes; then : ++if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes + else + gl_have_mmap=no +@@ -33110,7 +33208,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 + $as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } +-if test "${gl_cv_func_symlink_works+set}" = set; then : ++if ${gl_cv_func_symlink_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -33184,7 +33282,7 @@ + for ac_func in unsetenv + do : + ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" +-if test "x$ac_cv_func_unsetenv" = x""yes; then : ++if test "x$ac_cv_func_unsetenv" = xyes; then : + cat >>confdefs.h <<_ACEOF + #define HAVE_UNSETENV 1 + _ACEOF +@@ -33210,7 +33308,7 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 + $as_echo_n "checking for unsetenv() return type... " >&6; } +-if test "${gt_cv_func_unsetenv_ret+set}" = set; then : ++if ${gt_cv_func_unsetenv_ret+:} false; then : + $as_echo_n "(cached) " >&6 + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -33265,7 +33363,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 + $as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } +-if test "${gl_cv_func_unsetenv_works+set}" = set; then : ++if ${gl_cv_func_unsetenv_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -33349,7 +33447,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 + $as_echo_n "checking for a traditional french locale... " >&6; } +-if test "${gt_cv_locale_fr+set}" = set; then : ++if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -33481,7 +33579,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 + $as_echo_n "checking for a french Unicode locale... " >&6; } +-if test "${gt_cv_locale_fr_utf8+set}" = set; then : ++if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -33608,7 +33706,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 + $as_echo_n "checking for a traditional japanese locale... " >&6; } +-if test "${gt_cv_locale_ja+set}" = set; then : ++if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -33746,7 +33844,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 + $as_echo_n "checking for a transitional chinese locale... " >&6; } +-if test "${gt_cv_locale_zh_CN+set}" = set; then : ++if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -33896,7 +33994,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5 + $as_echo_n "checking whether wctob works... " >&6; } +-if test "${gl_cv_func_wctob_works+set}" = set; then : ++if ${gl_cv_func_wctob_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + +@@ -34028,7 +34126,7 @@ + #include + + " +-if test "x$ac_cv_have_decl_wctob" = x""yes; then : ++if test "x$ac_cv_have_decl_wctob" = xyes; then : + ac_have_decl=1 + else + ac_have_decl=0 +@@ -34111,7 +34209,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether an open file can be renamed" >&5 + $as_echo_n "checking whether an open file can be renamed... " >&6; } +-if test "${M4_cv_func_rename_open_file_works+set}" = set; then : ++if ${M4_cv_func_rename_open_file_works+:} false; then : + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -34190,7 +34288,7 @@ + if test "$with_syscmd_shell" = no ; then + with_syscmd_shell=/bin/sh + if test "$cross_compiling" != yes ; then +- if { test -f /bin/sh && $as_test_x /bin/sh; }; then : ++ if as_fn_executable_p /bin/sh; then : + + else + if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi +@@ -34204,7 +34302,7 @@ + do + IFS=$M4_save_IFS + test -z "$M4_dir" && continue +- { test -f "$M4_dir/sh" && $as_test_x "$M4_dir/sh"; } \ ++ as_fn_executable_p "$M4_dir/sh" \ + && { with_syscmd_shell=$M4_dir/sh; break; } + done + IFS=$M4_save_IFS +@@ -34311,10 +34409,21 @@ + :end' >>confcache + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then +- test "x$cache_file" != "x/dev/null" && ++ if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 + $as_echo "$as_me: updating cache $cache_file" >&6;} +- cat confcache >$cache_file ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 + $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} +@@ -34345,6 +34454,14 @@ + LTLIBOBJS=$ac_ltlibobjs + + ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 ++$as_echo_n "checking that generated files are newer than configure... " >&6; } ++ if test -n "$am_sleep_pid"; then ++ # Hide warnings about reused PIDs. ++ wait $am_sleep_pid 2>/dev/null ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 ++$as_echo "done" >&6; } + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +@@ -34420,7 +34537,7 @@ + + + +-: ${CONFIG_STATUS=./config.status} ++: "${CONFIG_STATUS=./config.status}" + ac_write_fail=0 + ac_clean_files_save=$ac_clean_files + ac_clean_files="$ac_clean_files $CONFIG_STATUS" +@@ -34521,6 +34638,7 @@ + IFS=" "" $as_nl" + + # Find who we are. Look in the path if we contain no directory separator. ++as_myself= + case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -34716,16 +34834,16 @@ + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. +- # In both cases, we have to default to `cp -p'. ++ # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || +- as_ln_s='cp -p' ++ as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else +- as_ln_s='cp -p' ++ as_ln_s='cp -pR' + fi + else +- as_ln_s='cp -p' ++ as_ln_s='cp -pR' + fi + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file + rmdir conf$$.dir 2>/dev/null +@@ -34785,28 +34903,16 @@ + as_mkdir_p=false + fi + +-if test -x / >/dev/null 2>&1; then +- as_test_x='test -x' +-else +- if ls -dL / >/dev/null 2>&1; then +- as_ls_L_option=L +- else +- as_ls_L_option= +- fi +- as_test_x=' +- eval sh -c '\'' +- if test -d "$1"; then +- test -d "$1/."; +- else +- case $1 in #( +- -*)set "./$1";; +- esac; +- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( +- ???[sx]*):;;*)false;;esac;fi +- '\'' sh +- ' +-fi +-as_executable_p=$as_test_x ++ ++# as_fn_executable_p FILE ++# ----------------------- ++# Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} # as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p + + # Sed expression to map a string onto a valid CPP name. + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +@@ -34828,7 +34934,7 @@ + # values after options handling. + ac_log=" + This file was extended by GNU M4 $as_me 1.4.16, which was +-generated by GNU Autoconf 2.66. Invocation command line was ++generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS +@@ -34900,10 +35006,10 @@ + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" + ac_cs_version="\\ + GNU M4 config.status 1.4.16 +-configured by $0, generated by GNU Autoconf 2.66, ++configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +-Copyright (C) 2010 Free Software Foundation, Inc. ++Copyright (C) 2012 Free Software Foundation, Inc. + This config.status script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it." + +@@ -34921,11 +35027,16 @@ + while test $# != 0 + do + case $1 in +- --*=*) ++ --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; + *) + ac_option=$1 + ac_optarg=$2 +@@ -34947,6 +35058,7 @@ + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; +@@ -34988,7 +35100,7 @@ + _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + if \$ac_cs_recheck; then +- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' +@@ -35059,9 +35171,10 @@ + # after its creation but before its name has been assigned to `$tmp'. + $debug || + { +- tmp= ++ tmp= ac_tmp= + trap 'exit_status=$? +- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status + ' 0 + trap 'as_fn_exit 1' 1 2 13 15 + } +@@ -35069,12 +35182,13 @@ + + { + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && +- test -n "$tmp" && test -d "$tmp" ++ test -d "$tmp" + } || + { + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") + } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp + + # Set up the scripts for CONFIG_FILES section. + # No need to generate them if there are no CONFIG_FILES. +@@ -35096,7 +35210,7 @@ + ac_cs_awk_cr=$ac_cr + fi + +-echo 'BEGIN {' >"$tmp/subs1.awk" && ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && + _ACEOF + + +@@ -35124,7 +35238,7 @@ + rm -f conf$$subs.sh + + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +-cat >>"\$tmp/subs1.awk" <<\\_ACAWK && ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && + _ACEOF + sed -n ' + h +@@ -35172,7 +35286,7 @@ + rm -f conf$$subs.awk + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + _ACAWK +-cat >>"\$tmp/subs1.awk" <<_ACAWK && ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +@@ -35204,7 +35318,7 @@ + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" + else + cat +-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 + _ACEOF + +@@ -35238,7 +35352,7 @@ + # No need to generate them if there are no CONFIG_HEADERS. + # This happens for instance with `./config.status Makefile'. + if test -n "$CONFIG_HEADERS"; then +-cat >"$tmp/defines.awk" <<\_ACAWK || ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || + BEGIN { + _ACEOF + +@@ -35250,8 +35364,8 @@ + # handling of long lines. + ac_delim='%!_!# ' + for ac_last_try in false false :; do +- ac_t=`sed -n "/$ac_delim/p" confdefs.h` +- if test -z "$ac_t"; then ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 +@@ -35371,7 +35485,7 @@ + for ac_f + do + case $ac_f in +- -) ac_f="$tmp/stdin";; ++ -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. +@@ -35406,7 +35520,7 @@ + esac + + case $ac_tag in +- *:-:* | *:-) cat >"$tmp/stdin" \ ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; +@@ -35543,21 +35657,22 @@ + s&@MKDIR_P@&$ac_MKDIR_P&;t t + $ac_datarootdir_hack + " +-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ +- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + + test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && +- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && +- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined" >&5 + $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined" >&2;} + +- rm -f "$tmp/stdin" ++ rm -f "$ac_tmp/stdin" + case $ac_file in +- -) cat "$tmp/out" && rm -f "$tmp/out";; +- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; +@@ -35568,20 +35683,20 @@ + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ +- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" +- } >"$tmp/config.h" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 + $as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" +- mv "$tmp/config.h" "$ac_file" \ ++ mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ +- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi + # Compute "$ac_file"'s index in $config_headers. +@@ -35659,7 +35774,7 @@ + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { +- # Autoconf 2.62 quotes --file arguments for eval, but not when files ++ # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in +@@ -35672,7 +35787,7 @@ + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. +- # We used to match only the files named `Makefile.in', but ++ # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. +@@ -35706,21 +35821,19 @@ + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote +- # from the Makefile without running `make'. ++ # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` +- test -z "am__include" && continue ++ test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` +- # When using ansi2knr, U may be empty or an underscore; expand it +- U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ +- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do ++ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +diff -Nur m4-1.4.16.orig/doc/Makefile.in m4-1.4.16/doc/Makefile.in +--- m4-1.4.16.orig/doc/Makefile.in 2011-03-01 17:57:32.000000000 +0100 ++++ m4-1.4.16/doc/Makefile.in 2013-09-04 14:47:46.000000000 +0200 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.13.2 from Makefile.am. + # @configure_input@ + +-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# Copyright (C) 1994-2013 Free Software Foundation, Inc. ++ + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -15,6 +14,51 @@ + + @SET_MAKE@ + VPATH = @srcdir@ ++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' ++am__make_running_with_option = \ ++ case $${target_option-} in \ ++ ?) ;; \ ++ *) echo "am__make_running_with_option: internal error: invalid" \ ++ "target option '$${target_option-}' specified" >&2; \ ++ exit 1;; \ ++ esac; \ ++ has_opt=no; \ ++ sane_makeflags=$$MAKEFLAGS; \ ++ if $(am__is_gnu_make); then \ ++ sane_makeflags=$$MFLAGS; \ ++ else \ ++ case $$MAKEFLAGS in \ ++ *\\[\ \ ]*) \ ++ bs=\\; \ ++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ ++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ ++ esac; \ ++ fi; \ ++ skip_next=no; \ ++ strip_trailopt () \ ++ { \ ++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ ++ }; \ ++ for flg in $$sane_makeflags; do \ ++ test $$skip_next = yes && { skip_next=no; continue; }; \ ++ case $$flg in \ ++ *=*|--*) continue;; \ ++ -*I) strip_trailopt 'I'; skip_next=yes;; \ ++ -*I?*) strip_trailopt 'I';; \ ++ -*O) strip_trailopt 'O'; skip_next=yes;; \ ++ -*O?*) strip_trailopt 'O';; \ ++ -*l) strip_trailopt 'l'; skip_next=yes;; \ ++ -*l?*) strip_trailopt 'l';; \ ++ -[dEDm]) skip_next=yes;; \ ++ -[JT]) skip_next=yes;; \ ++ esac; \ ++ case $$flg in \ ++ *$$target_option*) has_opt=yes; break;; \ ++ esac; \ ++ done; \ ++ test $$has_opt = yes ++am__make_dryrun = (target_option=n; $(am__make_running_with_option)) ++am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) + pkgdatadir = $(datadir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +@@ -33,9 +77,10 @@ + build_triplet = @build@ + host_triplet = @host@ + subdir = doc +-DIST_COMMON = $(m4_TEXINFOS) $(srcdir)/Makefile.am \ +- $(srcdir)/Makefile.in $(srcdir)/stamp-vti \ +- $(srcdir)/version.texi ++DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ ++ $(m4_TEXINFOS) $(top_srcdir)/build-aux/mdate-sh \ ++ $(srcdir)/version.texi $(srcdir)/stamp-vti \ ++ $(top_srcdir)/build-aux/texinfo.tex + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \ +@@ -136,14 +181,48 @@ + CONFIG_HEADER = $(top_builddir)/lib/config.h + CONFIG_CLEAN_FILES = + CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) ++AM_V_P = $(am__v_P_@AM_V@) ++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) ++am__v_P_0 = false ++am__v_P_1 = : ++AM_V_GEN = $(am__v_GEN_@AM_V@) ++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) ++am__v_GEN_0 = @echo " GEN " $@; ++am__v_GEN_1 = ++AM_V_at = $(am__v_at_@AM_V@) ++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) + am__v_at_0 = @ ++am__v_at_1 = + SOURCES = + DIST_SOURCES = ++AM_V_DVIPS = $(am__v_DVIPS_@AM_V@) ++am__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@) ++am__v_DVIPS_0 = @echo " DVIPS " $@; ++am__v_DVIPS_1 = ++AM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@) ++am__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@) ++am__v_MAKEINFO_0 = @echo " MAKEINFO" $@; ++am__v_MAKEINFO_1 = ++AM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@) ++am__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@) ++am__v_INFOHTML_0 = @echo " INFOHTML" $@; ++am__v_INFOHTML_1 = ++AM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@) ++am__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@) ++am__v_TEXI2DVI_0 = @echo " TEXI2DVI" $@; ++am__v_TEXI2DVI_1 = ++AM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@) ++am__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@) ++am__v_TEXI2PDF_0 = @echo " TEXI2PDF" $@; ++am__v_TEXI2PDF_1 = ++AM_V_texinfo = $(am__v_texinfo_@AM_V@) ++am__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@) ++am__v_texinfo_0 = -q ++am__v_texinfo_1 = ++AM_V_texidevnull = $(am__v_texidevnull_@AM_V@) ++am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@) ++am__v_texidevnull_0 = > /dev/null ++am__v_texidevnull_1 = + INFO_DEPS = $(srcdir)/m4.info + TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex + am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux +@@ -157,6 +236,11 @@ + MAKEINFOHTML = $(MAKEINFO) --html + AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) + DVIPS = dvips ++am__can_run_installinfo = \ ++ case $$AM_UPDATE_INFO_DIR in \ ++ n|no|NO) false;; \ ++ *) (install-info --version) >/dev/null 2>&1;; \ ++ esac + am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ +@@ -179,9 +263,16 @@ + am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__uninstall_files_from_dir = { \ ++ test -z "$$files" \ ++ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ ++ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ ++ $(am__cd) "$$dir" && rm -f $$files; }; \ ++ } + man1dir = $(mandir)/man1 + NROFF = nroff + MANS = $(man_MANS) ++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + pkglibexecdir = @pkglibexecdir@ + ACLOCAL = @ACLOCAL@ +@@ -1086,7 +1177,7 @@ + $(am__aclocal_m4_deps): + + .texinfo.info: +- restore=: && backupdir="$(am__leading_dot)am$$$$" && \ ++ $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \ + am__cwd=`pwd` && $(am__cd) $(srcdir) && \ + rm -rf $$backupdir && mkdir $$backupdir && \ + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ +@@ -1108,18 +1199,20 @@ + rm -rf $$backupdir; exit $$rc + + .texinfo.dvi: +- TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ ++ $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ +- $(TEXI2DVI) $< ++ $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \ ++ $< + + .texinfo.pdf: +- TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ ++ $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ +- $(TEXI2PDF) $< ++ $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \ ++ $< + + .texinfo.html: +- rm -rf $(@:.html=.htp) +- if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ ++ $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp) ++ $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $(@:.html=.htp) $<; \ + then \ + rm -rf $@; \ +@@ -1154,8 +1247,8 @@ + maintainer-clean-vti: + -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi + .dvi.ps: +- TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ +- $(DVIPS) -o $@ $< ++ $(AM_V_DVIPS)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ ++ $(DVIPS) $(AM_V_texinfo) -o $@ $< + + uninstall-dvi-am: + @$(NORMAL_UNINSTALL) +@@ -1177,9 +1270,7 @@ + + uninstall-info-am: + @$(PRE_UNINSTALL) +- @if test -d '$(DESTDIR)$(infodir)' && \ +- (install-info --version && \ +- install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ ++ @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ +@@ -1236,8 +1327,7 @@ + done + + mostlyclean-aminfo: +- -rm -rf m4.aux m4.cp m4.cps m4.fn m4.fns m4.ky m4.kys m4.log m4.pg m4.pgs \ +- m4.tmp m4.toc m4.tp m4.tps m4.vr m4.vrs ++ -rm -rf m4.t2d m4.t2p + + clean-aminfo: + -test -z "m4.dvi m4.pdf m4.ps m4.html" \ +@@ -1251,11 +1341,18 @@ + done + install-man1: $(man_MANS) + @$(NORMAL_INSTALL) +- test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" +- @list=''; test -n "$(man1dir)" || exit 0; \ +- { for i in $$list; do echo "$$i"; done; \ +- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ +- sed -n '/\.1[a-z]*$$/p'; \ ++ @list1=''; \ ++ list2='$(man_MANS)'; \ ++ test -n "$(man1dir)" \ ++ && test -n "`echo $$list1$$list2`" \ ++ || exit 0; \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ ++ { for i in $$list1; do echo "$$i"; done; \ ++ if test -n "$$list2"; then \ ++ for i in $$list2; do echo "$$i"; done \ ++ | sed -n '/\.1[a-z]*$$/p'; \ ++ fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ +@@ -1284,30 +1381,15 @@ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ +- test -z "$$files" || { \ +- echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ +- cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } +-tags: TAGS +-TAGS: ++ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) ++tags TAGS: ++ ++ctags CTAGS: + +-ctags: CTAGS +-CTAGS: ++cscope cscopelist: + + + distdir: $(DISTFILES) +- @list='$(MANS)'; if test -n "$$list"; then \ +- list=`for p in $$list; do \ +- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ +- if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ +- if test -n "$$list" && \ +- grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ +- echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ +- grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ +- echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ +- echo " typically \`make maintainer-clean' will remove them" >&2; \ +- exit 1; \ +- else :; fi; \ +- else :; fi + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ +@@ -1357,10 +1439,15 @@ + + installcheck: installcheck-am + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + + clean-generic: +@@ -1399,8 +1486,11 @@ + + install-dvi-am: $(DVIS) + @$(NORMAL_INSTALL) +- test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)" + @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ ++ if test -n "$$list"; then \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(dvidir)" || exit 1; \ ++ fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ +@@ -1415,18 +1505,22 @@ + + install-html-am: $(HTMLS) + @$(NORMAL_INSTALL) +- test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" + @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \ ++ if test -n "$$list"; then \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \ ++ fi; \ + for p in $$list; do \ + if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \ + $(am__strip_dir) \ +- if test -d "$$d$$p"; then \ ++ d2=$$d$$p; \ ++ if test -d "$$d2"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \ + $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ +- echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ +- $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ ++ echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \ ++ $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ + else \ +- list2="$$list2 $$d$$p"; \ ++ list2="$$list2 $$d2"; \ + fi; \ + done; \ + test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \ +@@ -1438,9 +1532,12 @@ + + install-info-am: $(INFO_DEPS) + @$(NORMAL_INSTALL) +- test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ ++ if test -n "$$list"; then \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \ ++ fi; \ + for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ +@@ -1458,8 +1555,7 @@ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done + @$(POST_INSTALL) +- @if (install-info --version && \ +- install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ ++ @if $(am__can_run_installinfo); then \ + list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ +@@ -1473,8 +1569,11 @@ + + install-pdf-am: $(PDFS) + @$(NORMAL_INSTALL) +- test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)" + @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ ++ if test -n "$$list"; then \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \ ++ fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ +@@ -1486,8 +1585,11 @@ + + install-ps-am: $(PSS) + @$(NORMAL_INSTALL) +- test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)" + @list='$(PSS)'; test -n "$(psdir)" || list=; \ ++ if test -n "$$list"; then \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(psdir)" || exit 1; \ ++ fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ +@@ -1522,19 +1624,19 @@ + .MAKE: install-am install-strip + + .PHONY: all all-am check check-am clean clean-aminfo clean-generic \ +- dist-info distclean distclean-generic distdir dvi dvi-am html \ +- html-am info info-am install install-am install-data \ +- install-data-am install-dvi install-dvi-am install-exec \ +- install-exec-am install-html install-html-am install-info \ +- install-info-am install-man install-man1 install-pdf \ +- install-pdf-am install-ps install-ps-am install-strip \ +- installcheck installcheck-am installdirs maintainer-clean \ +- maintainer-clean-aminfo maintainer-clean-generic \ +- maintainer-clean-vti mostlyclean mostlyclean-aminfo \ +- mostlyclean-generic mostlyclean-vti pdf pdf-am ps ps-am \ +- uninstall uninstall-am uninstall-dvi-am uninstall-html-am \ +- uninstall-info-am uninstall-man uninstall-man1 \ +- uninstall-pdf-am uninstall-ps-am ++ cscopelist-am ctags-am dist-info distclean distclean-generic \ ++ distdir dvi dvi-am html html-am info info-am install \ ++ install-am install-data install-data-am install-dvi \ ++ install-dvi-am install-exec install-exec-am install-html \ ++ install-html-am install-info install-info-am install-man \ ++ install-man1 install-pdf install-pdf-am install-ps \ ++ install-ps-am install-strip installcheck installcheck-am \ ++ installdirs maintainer-clean maintainer-clean-aminfo \ ++ maintainer-clean-generic maintainer-clean-vti mostlyclean \ ++ mostlyclean-aminfo mostlyclean-generic mostlyclean-vti pdf \ ++ pdf-am ps ps-am tags-am uninstall uninstall-am \ ++ uninstall-dvi-am uninstall-html-am uninstall-info-am \ ++ uninstall-man uninstall-man1 uninstall-pdf-am uninstall-ps-am + + + # Depend on ../.version for version, m4.c for usage text. Do not depend on +diff -Nur m4-1.4.16.orig/examples/Makefile.in m4-1.4.16/examples/Makefile.in +--- m4-1.4.16.orig/examples/Makefile.in 2011-03-01 17:57:32.000000000 +0100 ++++ m4-1.4.16/examples/Makefile.in 2013-09-04 14:47:46.000000000 +0200 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.13.2 from Makefile.am. + # @configure_input@ + +-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# Copyright (C) 1994-2013 Free Software Foundation, Inc. ++ + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -15,6 +14,51 @@ + + @SET_MAKE@ + VPATH = @srcdir@ ++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' ++am__make_running_with_option = \ ++ case $${target_option-} in \ ++ ?) ;; \ ++ *) echo "am__make_running_with_option: internal error: invalid" \ ++ "target option '$${target_option-}' specified" >&2; \ ++ exit 1;; \ ++ esac; \ ++ has_opt=no; \ ++ sane_makeflags=$$MAKEFLAGS; \ ++ if $(am__is_gnu_make); then \ ++ sane_makeflags=$$MFLAGS; \ ++ else \ ++ case $$MAKEFLAGS in \ ++ *\\[\ \ ]*) \ ++ bs=\\; \ ++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ ++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ ++ esac; \ ++ fi; \ ++ skip_next=no; \ ++ strip_trailopt () \ ++ { \ ++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ ++ }; \ ++ for flg in $$sane_makeflags; do \ ++ test $$skip_next = yes && { skip_next=no; continue; }; \ ++ case $$flg in \ ++ *=*|--*) continue;; \ ++ -*I) strip_trailopt 'I'; skip_next=yes;; \ ++ -*I?*) strip_trailopt 'I';; \ ++ -*O) strip_trailopt 'O'; skip_next=yes;; \ ++ -*O?*) strip_trailopt 'O';; \ ++ -*l) strip_trailopt 'l'; skip_next=yes;; \ ++ -*l?*) strip_trailopt 'l';; \ ++ -[dEDm]) skip_next=yes;; \ ++ -[JT]) skip_next=yes;; \ ++ esac; \ ++ case $$flg in \ ++ *$$target_option*) has_opt=yes; break;; \ ++ esac; \ ++ done; \ ++ test $$has_opt = yes ++am__make_dryrun = (target_option=n; $(am__make_running_with_option)) ++am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) + pkgdatadir = $(datadir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +@@ -33,7 +77,7 @@ + build_triplet = @build@ + host_triplet = @host@ + subdir = examples +-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING ++DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am COPYING + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \ +@@ -134,14 +178,26 @@ + CONFIG_HEADER = $(top_builddir)/lib/config.h + CONFIG_CLEAN_FILES = + CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) ++AM_V_P = $(am__v_P_@AM_V@) ++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) ++am__v_P_0 = false ++am__v_P_1 = : ++AM_V_GEN = $(am__v_GEN_@AM_V@) ++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) ++am__v_GEN_0 = @echo " GEN " $@; ++am__v_GEN_1 = ++AM_V_at = $(am__v_at_@AM_V@) ++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) + am__v_at_0 = @ ++am__v_at_1 = + SOURCES = + DIST_SOURCES = ++am__can_run_installinfo = \ ++ case $$AM_UPDATE_INFO_DIR in \ ++ n|no|NO) false;; \ ++ *) (install-info --version) >/dev/null 2>&1;; \ ++ esac ++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + pkglibexecdir = @pkglibexecdir@ + ACLOCAL = @ACLOCAL@ +@@ -1084,11 +1140,11 @@ + $(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + $(am__aclocal_m4_deps): +-tags: TAGS +-TAGS: ++tags TAGS: ++ ++ctags CTAGS: + +-ctags: CTAGS +-CTAGS: ++cscope cscopelist: + + + distdir: $(DISTFILES) +@@ -1135,10 +1191,15 @@ + + installcheck: installcheck-am + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + + clean-generic: +@@ -1218,15 +1279,16 @@ + + .MAKE: install-am install-strip + +-.PHONY: all all-am check check-am clean clean-generic distclean \ +- distclean-generic distdir dvi dvi-am html html-am info info-am \ +- install install-am install-data install-data-am install-dvi \ +- install-dvi-am install-exec install-exec-am install-html \ +- install-html-am install-info install-info-am install-man \ +- install-pdf install-pdf-am install-ps install-ps-am \ +- install-strip installcheck installcheck-am installdirs \ +- maintainer-clean maintainer-clean-generic mostlyclean \ +- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am ++.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ++ ctags-am distclean distclean-generic distdir dvi dvi-am html \ ++ html-am info info-am install install-am install-data \ ++ install-data-am install-dvi install-dvi-am install-exec \ ++ install-exec-am install-html install-html-am install-info \ ++ install-info-am install-man install-pdf install-pdf-am \ ++ install-ps install-ps-am install-strip installcheck \ ++ installcheck-am installdirs maintainer-clean \ ++ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ ++ pdf-am ps ps-am tags-am uninstall uninstall-am + + + # Tell versions [3.59,3.63) of GNU make to not export all variables. +diff -Nur m4-1.4.16.orig/lib/config.hin m4-1.4.16/lib/config.hin +--- m4-1.4.16.orig/lib/config.hin 2011-03-01 17:57:39.000000000 +0100 ++++ m4-1.4.16/lib/config.hin 2013-09-04 14:47:45.000000000 +0200 +@@ -74,6 +74,10 @@ + /* Define to 1 if the system's ftello function has the Solaris bug. */ + #undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE + ++/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if ++ fflush is known to not work, -1 if unknown. */ ++#undef FUNC_FFLUSH_STDIN ++ + /* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */ + #undef FUNC_NL_LANGINFO_YESEXPR_WORKS + +@@ -1266,6 +1270,11 @@ + # endif + #endif + ++/* Enable large inode numbers on Mac OS X 10.5. */ ++#ifndef _DARWIN_USE_64_BIT_INODE ++# define _DARWIN_USE_64_BIT_INODE 1 ++#endif ++ + /* Number of bits in a file offset, on hosts where this is settable. */ + #undef _FILE_OFFSET_BITS + +diff -Nur m4-1.4.16.orig/lib/config.hin~ m4-1.4.16/lib/config.hin~ +--- m4-1.4.16.orig/lib/config.hin~ 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/lib/config.hin~ 2011-03-01 17:57:39.000000000 +0100 +@@ -0,0 +1,1453 @@ ++/* lib/config.hin. Generated from configure.ac by autoheader. */ ++ ++/* Define if building universal (internal helper macro) */ ++#undef AC_APPLE_UNIVERSAL_BUILD ++ ++/* Define to the number of bits in type 'ptrdiff_t'. */ ++#undef BITSIZEOF_PTRDIFF_T ++ ++/* Define to the number of bits in type 'sig_atomic_t'. */ ++#undef BITSIZEOF_SIG_ATOMIC_T ++ ++/* Define to the number of bits in type 'size_t'. */ ++#undef BITSIZEOF_SIZE_T ++ ++/* Define to the number of bits in type 'wchar_t'. */ ++#undef BITSIZEOF_WCHAR_T ++ ++/* Define to the number of bits in type 'wint_t'. */ ++#undef BITSIZEOF_WINT_T ++ ++/* Define if you wish *printf() functions that have a safe handling of ++ non-IEEE-754 'long double' values. */ ++#undef CHECK_PRINTF_SAFE ++ ++/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP ++ systems. This function is required for `alloca.c' support on those systems. ++ */ ++#undef CRAY_STACKSEG_END ++ ++/* Define to 1 if using `alloca.c'. */ ++#undef C_ALLOCA ++ ++/* Define as the bit index in the word where to find bit 0 of the exponent of ++ 'double'. */ ++#undef DBL_EXPBIT0_BIT ++ ++/* Define as the word index where to find the exponent of 'double'. */ ++#undef DBL_EXPBIT0_WORD ++ ++/* Define as the bit index in the word where to find the sign of 'double'. */ ++#undef DBL_SIGNBIT_BIT ++ ++/* Define as the word index where to find the sign of 'double'. */ ++#undef DBL_SIGNBIT_WORD ++ ++/* Define to 1 if // is a file system root distinct from /. */ ++#undef DOUBLE_SLASH_IS_DISTINCT_ROOT ++ ++/* Define to 1 if the changeword(REGEXP) functionality is wanted */ ++#undef ENABLE_CHANGEWORD ++ ++/* Define to 1 if an invalid memory address access may yield a SIGBUS. */ ++#undef FAULT_YIELDS_SIGBUS ++ ++/* Define this to 1 if F_DUPFD behavior does not match POSIX */ ++#undef FCNTL_DUPFD_BUGGY ++ ++/* Define as the bit index in the word where to find bit 0 of the exponent of ++ 'float'. */ ++#undef FLT_EXPBIT0_BIT ++ ++/* Define as the word index where to find the exponent of 'float'. */ ++#undef FLT_EXPBIT0_WORD ++ ++/* Define as the bit index in the word where to find the sign of 'float'. */ ++#undef FLT_SIGNBIT_BIT ++ ++/* Define as the word index where to find the sign of 'float'. */ ++#undef FLT_SIGNBIT_WORD ++ ++/* Define to 1 if fopen() fails to recognize a trailing slash. */ ++#undef FOPEN_TRAILING_SLASH_BUG ++ ++/* Define to 1 if the system's ftello function has the Solaris bug. */ ++#undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE ++ ++/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */ ++#undef FUNC_NL_LANGINFO_YESEXPR_WORKS ++ ++/* Define to 1 if realpath() can malloc memory, always gives an absolute path, ++ and handles trailing slash correctly. */ ++#undef FUNC_REALPATH_WORKS ++ ++/* Define to 1 if ungetc is broken when used on arbitrary bytes. */ ++#undef FUNC_UNGETC_BROKEN ++ ++/* Define if gettimeofday clobbers the localtime buffer. */ ++#undef GETTIMEOFDAY_CLOBBERS_LOCALTIME ++ ++/* Define this to 'void' or 'struct timezone' to match the system's ++ declaration of the second argument to gettimeofday. */ ++#undef GETTIMEOFDAY_TIMEZONE ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module canonicalize-lgpl shall be considered present. */ ++#undef GNULIB_CANONICALIZE_LGPL ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module close-stream shall be considered present. */ ++#undef GNULIB_CLOSE_STREAM ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module dirname shall be considered present. */ ++#undef GNULIB_DIRNAME ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module fd-safer-flag shall be considered present. */ ++#undef GNULIB_FD_SAFER_FLAG ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module filenamecat shall be considered present. */ ++#undef GNULIB_FILENAMECAT ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module fopen-safer shall be considered present. */ ++#undef GNULIB_FOPEN_SAFER ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module malloc-gnu shall be considered present. */ ++#undef GNULIB_MALLOC_GNU ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module pipe2-safer shall be considered present. */ ++#undef GNULIB_PIPE2_SAFER ++ ++/* Define to a C preprocessor expression that evaluates to 1 or 0, depending ++ whether the gnulib module snprintf shall be considered present. */ ++#undef GNULIB_SNPRINTF ++ ++/* Define to 1 when the gnulib module btowc should be tested. */ ++#undef GNULIB_TEST_BTOWC ++ ++/* Define to 1 when the gnulib module canonicalize_file_name should be tested. ++ */ ++#undef GNULIB_TEST_CANONICALIZE_FILE_NAME ++ ++/* Define to 1 when the gnulib module cloexec should be tested. */ ++#undef GNULIB_TEST_CLOEXEC ++ ++/* Define to 1 when the gnulib module close should be tested. */ ++#undef GNULIB_TEST_CLOSE ++ ++/* Define to 1 when the gnulib module dup2 should be tested. */ ++#undef GNULIB_TEST_DUP2 ++ ++/* Define to 1 when the gnulib module environ should be tested. */ ++#undef GNULIB_TEST_ENVIRON ++ ++/* Define to 1 when the gnulib module fclose should be tested. */ ++#undef GNULIB_TEST_FCLOSE ++ ++/* Define to 1 when the gnulib module fcntl should be tested. */ ++#undef GNULIB_TEST_FCNTL ++ ++/* Define to 1 when the gnulib module fflush should be tested. */ ++#undef GNULIB_TEST_FFLUSH ++ ++/* Define to 1 when the gnulib module fopen should be tested. */ ++#undef GNULIB_TEST_FOPEN ++ ++/* Define to 1 when the gnulib module fpurge should be tested. */ ++#undef GNULIB_TEST_FPURGE ++ ++/* Define to 1 when the gnulib module frexp should be tested. */ ++#undef GNULIB_TEST_FREXP ++ ++/* Define to 1 when the gnulib module frexpl should be tested. */ ++#undef GNULIB_TEST_FREXPL ++ ++/* Define to 1 when the gnulib module fseeko should be tested. */ ++#undef GNULIB_TEST_FSEEKO ++ ++/* Define to 1 when the gnulib module ftell should be tested. */ ++#undef GNULIB_TEST_FTELL ++ ++/* Define to 1 when the gnulib module ftello should be tested. */ ++#undef GNULIB_TEST_FTELLO ++ ++/* Define to 1 when the gnulib module getdtablesize should be tested. */ ++#undef GNULIB_TEST_GETDTABLESIZE ++ ++/* Define to 1 when the gnulib module getopt-gnu should be tested. */ ++#undef GNULIB_TEST_GETOPT_GNU ++ ++/* Define to 1 when the gnulib module getpagesize should be tested. */ ++#undef GNULIB_TEST_GETPAGESIZE ++ ++/* Define to 1 when the gnulib module gettimeofday should be tested. */ ++#undef GNULIB_TEST_GETTIMEOFDAY ++ ++/* Define to 1 when the gnulib module link should be tested. */ ++#undef GNULIB_TEST_LINK ++ ++/* Define to 1 when the gnulib module lseek should be tested. */ ++#undef GNULIB_TEST_LSEEK ++ ++/* Define to 1 when the gnulib module lstat should be tested. */ ++#undef GNULIB_TEST_LSTAT ++ ++/* Define to 1 when the gnulib module malloc-posix should be tested. */ ++#undef GNULIB_TEST_MALLOC_POSIX ++ ++/* Define to 1 when the gnulib module mbrtowc should be tested. */ ++#undef GNULIB_TEST_MBRTOWC ++ ++/* Define to 1 when the gnulib module mbsinit should be tested. */ ++#undef GNULIB_TEST_MBSINIT ++ ++/* Define to 1 when the gnulib module mbtowc should be tested. */ ++#undef GNULIB_TEST_MBTOWC ++ ++/* Define to 1 when the gnulib module memchr should be tested. */ ++#undef GNULIB_TEST_MEMCHR ++ ++/* Define to 1 when the gnulib module mkdtemp should be tested. */ ++#undef GNULIB_TEST_MKDTEMP ++ ++/* Define to 1 when the gnulib module mkstemp should be tested. */ ++#undef GNULIB_TEST_MKSTEMP ++ ++/* Define to 1 when the gnulib module nl_langinfo should be tested. */ ++#undef GNULIB_TEST_NL_LANGINFO ++ ++/* Define to 1 when the gnulib module open should be tested. */ ++#undef GNULIB_TEST_OPEN ++ ++/* Define to 1 when the gnulib module pipe2 should be tested. */ ++#undef GNULIB_TEST_PIPE2 ++ ++/* Define to 1 when the gnulib module posix_spawnattr_destroy should be ++ tested. */ ++#undef GNULIB_TEST_POSIX_SPAWNATTR_DESTROY ++ ++/* Define to 1 when the gnulib module posix_spawnattr_init should be tested. ++ */ ++#undef GNULIB_TEST_POSIX_SPAWNATTR_INIT ++ ++/* Define to 1 when the gnulib module posix_spawnattr_setflags should be ++ tested. */ ++#undef GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS ++ ++/* Define to 1 when the gnulib module posix_spawnattr_setsigmask should be ++ tested. */ ++#undef GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK ++ ++/* Define to 1 when the gnulib module posix_spawnp should be tested. */ ++#undef GNULIB_TEST_POSIX_SPAWNP ++ ++/* Define to 1 when the gnulib module posix_spawn_file_actions_addclose should ++ be tested. */ ++#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE ++ ++/* Define to 1 when the gnulib module posix_spawn_file_actions_adddup2 should ++ be tested. */ ++#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 ++ ++/* Define to 1 when the gnulib module posix_spawn_file_actions_addopen should ++ be tested. */ ++#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN ++ ++/* Define to 1 when the gnulib module posix_spawn_file_actions_destroy should ++ be tested. */ ++#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY ++ ++/* Define to 1 when the gnulib module posix_spawn_file_actions_init should be ++ tested. */ ++#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT ++ ++/* Define to 1 when the gnulib module putenv should be tested. */ ++#undef GNULIB_TEST_PUTENV ++ ++/* Define to 1 when the gnulib module rawmemchr should be tested. */ ++#undef GNULIB_TEST_RAWMEMCHR ++ ++/* Define to 1 when the gnulib module readlink should be tested. */ ++#undef GNULIB_TEST_READLINK ++ ++/* Define to 1 when the gnulib module realpath should be tested. */ ++#undef GNULIB_TEST_REALPATH ++ ++/* Define to 1 when the gnulib module rename should be tested. */ ++#undef GNULIB_TEST_RENAME ++ ++/* Define to 1 when the gnulib module rmdir should be tested. */ ++#undef GNULIB_TEST_RMDIR ++ ++/* Define to 1 when the gnulib module setenv should be tested. */ ++#undef GNULIB_TEST_SETENV ++ ++/* Define to 1 when the gnulib module setlocale should be tested. */ ++#undef GNULIB_TEST_SETLOCALE ++ ++/* Define to 1 when the gnulib module sigaction should be tested. */ ++#undef GNULIB_TEST_SIGACTION ++ ++/* Define to 1 when the gnulib module signbit should be tested. */ ++#undef GNULIB_TEST_SIGNBIT ++ ++/* Define to 1 when the gnulib module sigprocmask should be tested. */ ++#undef GNULIB_TEST_SIGPROCMASK ++ ++/* Define to 1 when the gnulib module snprintf should be tested. */ ++#undef GNULIB_TEST_SNPRINTF ++ ++/* Define to 1 when the gnulib module stat should be tested. */ ++#undef GNULIB_TEST_STAT ++ ++/* Define to 1 when the gnulib module strchrnul should be tested. */ ++#undef GNULIB_TEST_STRCHRNUL ++ ++/* Define to 1 when the gnulib module strdup should be tested. */ ++#undef GNULIB_TEST_STRDUP ++ ++/* Define to 1 when the gnulib module strerror should be tested. */ ++#undef GNULIB_TEST_STRERROR ++ ++/* Define to 1 when the gnulib module strndup should be tested. */ ++#undef GNULIB_TEST_STRNDUP ++ ++/* Define to 1 when the gnulib module strnlen should be tested. */ ++#undef GNULIB_TEST_STRNLEN ++ ++/* Define to 1 when the gnulib module strsignal should be tested. */ ++#undef GNULIB_TEST_STRSIGNAL ++ ++/* Define to 1 when the gnulib module strstr should be tested. */ ++#undef GNULIB_TEST_STRSTR ++ ++/* Define to 1 when the gnulib module strtod should be tested. */ ++#undef GNULIB_TEST_STRTOD ++ ++/* Define to 1 when the gnulib module symlink should be tested. */ ++#undef GNULIB_TEST_SYMLINK ++ ++/* Define to 1 when the gnulib module unsetenv should be tested. */ ++#undef GNULIB_TEST_UNSETENV ++ ++/* Define to 1 when the gnulib module vasprintf should be tested. */ ++#undef GNULIB_TEST_VASPRINTF ++ ++/* Define to 1 when the gnulib module waitpid should be tested. */ ++#undef GNULIB_TEST_WAITPID ++ ++/* Define to 1 when the gnulib module wcrtomb should be tested. */ ++#undef GNULIB_TEST_WCRTOMB ++ ++/* Define to 1 when the gnulib module wctob should be tested. */ ++#undef GNULIB_TEST_WCTOB ++ ++/* Define to 1 when the gnulib module wctomb should be tested. */ ++#undef GNULIB_TEST_WCTOMB ++ ++/* Define to 1 if you have 'alloca' after including , a header that ++ may be supplied by this distribution. */ ++#undef HAVE_ALLOCA ++ ++/* Define to 1 if you have and it should be used (not on Ultrix). ++ */ ++#undef HAVE_ALLOCA_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_BP_SYM_H ++ ++/* Define to 1 if you have the `btowc' function. */ ++#undef HAVE_BTOWC ++ ++/* Define to 1 if you have the `canonicalize_file_name' function. */ ++#undef HAVE_CANONICALIZE_FILE_NAME ++ ++/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the ++ CoreFoundation framework. */ ++#undef HAVE_CFLOCALECOPYCURRENT ++ ++/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in ++ the CoreFoundation framework. */ ++#undef HAVE_CFPREFERENCESCOPYAPPVALUE ++ ++/* Define to 1 if you have the `confstr' function. */ ++#undef HAVE_CONFSTR ++ ++/* Define if the copysignf function is declared in and available in ++ libc. */ ++#undef HAVE_COPYSIGNF_IN_LIBC ++ ++/* Define if the copysignl function is declared in and available in ++ libc. */ ++#undef HAVE_COPYSIGNL_IN_LIBC ++ ++/* Define if the copysign function is declared in and available in ++ libc. */ ++#undef HAVE_COPYSIGN_IN_LIBC ++ ++/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_ALARM ++ ++/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_CLEARERR_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `copysign', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_COPYSIGN ++ ++/* Define to 1 if you have the declaration of `copysignf', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_COPYSIGNF ++ ++/* Define to 1 if you have the declaration of `copysignl', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_COPYSIGNL ++ ++/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_FEOF_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FERROR_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FFLUSH_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FGETS_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_FPURGE ++ ++/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FPUTC_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FPUTS_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FREAD_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_FSEEKO ++ ++/* Define to 1 if you have the declaration of `ftello', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_FTELLO ++ ++/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_FWRITE_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_GETCHAR_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_GETC_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_GETENV ++ ++/* Define to 1 if you have the declaration of `isblank', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_ISBLANK ++ ++/* Define to 1 if you have the declaration of `program_invocation_name', and ++ to 0 if you don't. */ ++#undef HAVE_DECL_PROGRAM_INVOCATION_NAME ++ ++/* Define to 1 if you have the declaration of `program_invocation_short_name', ++ and to 0 if you don't. */ ++#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME ++ ++/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if ++ you don't. */ ++#undef HAVE_DECL_PUTCHAR_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_PUTC_UNLOCKED ++ ++/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_SETENV ++ ++/* Define to 1 if you have the declaration of `sigaltstack', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_SIGALTSTACK ++ ++/* Define to 1 if you have the declaration of `snprintf', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_SNPRINTF ++ ++/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_STRDUP ++ ++/* Define to 1 if you have the declaration of `strerror', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRERROR ++ ++/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRERROR_R ++ ++/* Define to 1 if you have the declaration of `strndup', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRNDUP ++ ++/* Define to 1 if you have the declaration of `strnlen', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRNLEN ++ ++/* Define to 1 if you have the declaration of `strsignal', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_STRSIGNAL ++ ++/* Define to 1 if you have the declaration of `strtod', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_STRTOD ++ ++/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_SYS_SIGLIST ++ ++/* Define to 1 if you have the declaration of `unsetenv', and to 0 if you ++ don't. */ ++#undef HAVE_DECL_UNSETENV ++ ++/* Define to 1 if you have the declaration of `wctob', and to 0 if you don't. ++ */ ++#undef HAVE_DECL_WCTOB ++ ++/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you ++ don't. */ ++#undef HAVE_DECL__SNPRINTF ++ ++/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you ++ don't. */ ++#undef HAVE_DECL__SYS_SIGLIST ++ ++/* Define to 1 if you have the declaration of `__fpending', and to 0 if you ++ don't. */ ++#undef HAVE_DECL___FPENDING ++ ++/* Define to 1 if you have the `dup2' function. */ ++#undef HAVE_DUP2 ++ ++/* Define if you have the declaration of environ. */ ++#undef HAVE_ENVIRON_DECL ++ ++/* Define to 1 if you have the `fcntl' function. */ ++#undef HAVE_FCNTL ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_FEATURES_H ++ ++/* Define to 1 if you have the `fpurge' function. */ ++#undef HAVE_FPURGE ++ ++/* Define if the frexpl function is available in libc. */ ++#undef HAVE_FREXPL_IN_LIBC ++ ++/* Define if the frexp function is available in libc. */ ++#undef HAVE_FREXP_IN_LIBC ++ ++/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ ++#undef HAVE_FSEEKO ++ ++/* Define to 1 if you have the `getcwd' function. */ ++#undef HAVE_GETCWD ++ ++/* Define to 1 if you have the `getdtablesize' function. */ ++#undef HAVE_GETDTABLESIZE ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_GETOPT_H ++ ++/* Define to 1 if you have the `getopt_long_only' function. */ ++#undef HAVE_GETOPT_LONG_ONLY ++ ++/* Define to 1 if you have the `getpagesize' function. */ ++#undef HAVE_GETPAGESIZE ++ ++/* Define to 1 if you have the `gettimeofday' function. */ ++#undef HAVE_GETTIMEOFDAY ++ ++/* Define to 1 if the compiler supports one of the keywords 'inline', ++ '__inline__', '__inline' and effectively inlines functions marked as such. ++ */ ++#undef HAVE_INLINE ++ ++/* Define if you have the 'intmax_t' type in or . */ ++#undef HAVE_INTMAX_T ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_INTTYPES_H ++ ++/* Define if exists, doesn't clash with , and ++ declares uintmax_t. */ ++#undef HAVE_INTTYPES_H_WITH_UINTMAX ++ ++/* Define to 1 if you have the `isblank' function. */ ++#undef HAVE_ISBLANK ++ ++/* Define if the isnan(double) function is available in libc. */ ++#undef HAVE_ISNAND_IN_LIBC ++ ++/* Define if the isnan(float) function is available in libc. */ ++#undef HAVE_ISNANF_IN_LIBC ++ ++/* Define if the isnan(long double) function is available in libc. */ ++#undef HAVE_ISNANL_IN_LIBC ++ ++/* Define to 1 if you have the `iswcntrl' function. */ ++#undef HAVE_ISWCNTRL ++ ++/* Define to 1 if you have the `iswctype' function. */ ++#undef HAVE_ISWCTYPE ++ ++/* Define if you have and nl_langinfo(CODESET). */ ++#undef HAVE_LANGINFO_CODESET ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LANGINFO_H ++ ++/* Define if your file defines LC_MESSAGES. */ ++#undef HAVE_LC_MESSAGES ++ ++/* Define if the ldexpl function is available in libc. */ ++#undef HAVE_LDEXPL_IN_LIBC ++ ++/* Define if the ldexp function is available in libc. */ ++#undef HAVE_LDEXP_IN_LIBC ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_LIBINTL_H ++ ++/* Define if you have the libsigsegv library. */ ++#undef HAVE_LIBSIGSEGV ++ ++/* Define to 1 if you have the `link' function. */ ++#undef HAVE_LINK ++ ++/* Define to 1 if the system has the type `long long int'. */ ++#undef HAVE_LONG_LONG_INT ++ ++/* Define to 1 if you have the `lstat' function. */ ++#undef HAVE_LSTAT ++ ++/* Define to 1 if your system has a GNU libc compatible 'malloc' function, and ++ to 0 otherwise. */ ++#undef HAVE_MALLOC_GNU ++ ++/* Define if the 'malloc' function is POSIX compliant. */ ++#undef HAVE_MALLOC_POSIX ++ ++/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including ++ config.h and . */ ++#undef HAVE_MAP_ANONYMOUS ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_MATH_H ++ ++/* Define to 1 if you have the `mbrtowc' function. */ ++#undef HAVE_MBRTOWC ++ ++/* Define to 1 if you have the `mbsinit' function. */ ++#undef HAVE_MBSINIT ++ ++/* Define to 1 if declares mbstate_t. */ ++#undef HAVE_MBSTATE_T ++ ++/* Define to 1 if you have the `memchr' function. */ ++#undef HAVE_MEMCHR ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_MEMORY_H ++ ++/* Define to 1 if you have the `mempcpy' function. */ ++#undef HAVE_MEMPCPY ++ ++/* Define to 1 if you have the `mkdtemp' function. */ ++#undef HAVE_MKDTEMP ++ ++/* Define to 1 if you have the `mkstemp' function. */ ++#undef HAVE_MKSTEMP ++ ++/* Define to 1 if you have the `mprotect' function. */ ++#undef HAVE_MPROTECT ++ ++/* Define to 1 if you have the `newlocale' function. */ ++#undef HAVE_NEWLOCALE ++ ++/* Define to 1 if you have the `nl_langinfo' function. */ ++#undef HAVE_NL_LANGINFO ++ ++/* Define to 1 if libc includes obstacks. */ ++#undef HAVE_OBSTACK ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_OS_H ++ ++/* Define to 1 if you have the `pathconf' function. */ ++#undef HAVE_PATHCONF ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_PATHS_H ++ ++/* Define to 1 if you have the `pipe' function. */ ++#undef HAVE_PIPE ++ ++/* Define to 1 if you have the `pipe2' function. */ ++#undef HAVE_PIPE2 ++ ++/* Define to 1 if you have the `posix_spawn' function. */ ++#undef HAVE_POSIX_SPAWN ++ ++/* Define to 1 if the system has the type `posix_spawnattr_t'. */ ++#undef HAVE_POSIX_SPAWNATTR_T ++ ++/* Define to 1 if the system has the type `posix_spawn_file_actions_t'. */ ++#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_T ++ ++/* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ ++#undef HAVE_PTHREAD_MUTEX_RECURSIVE ++ ++/* Define if the POSIX multithreading library has read/write locks. */ ++#undef HAVE_PTHREAD_RWLOCK ++ ++/* Define to 1 if you have the `rawmemchr' function. */ ++#undef HAVE_RAWMEMCHR ++ ++/* Define to 1 if you have the `readlink' function. */ ++#undef HAVE_READLINK ++ ++/* Define to 1 if you have the `realpath' function. */ ++#undef HAVE_REALPATH ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SCHED_H ++ ++/* Define to 1 if you have the `sched_setparam' function. */ ++#undef HAVE_SCHED_SETPARAM ++ ++/* Define to 1 if you have the `sched_setscheduler' function. */ ++#undef HAVE_SCHED_SETSCHEDULER ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SEARCH_H ++ ++/* Define to 1 if you have the `setegid' function. */ ++#undef HAVE_SETEGID ++ ++/* Define to 1 if you have the `setenv' function. */ ++#undef HAVE_SETENV ++ ++/* Define to 1 if you have the `seteuid' function. */ ++#undef HAVE_SETEUID ++ ++/* Define to 1 if you have the `setlocale' function. */ ++#undef HAVE_SETLOCALE ++ ++/* Define to 1 if you have the `setrlimit' function. */ ++#undef HAVE_SETRLIMIT ++ ++/* Define to 1 if you have the `sigaction' function. */ ++#undef HAVE_SIGACTION ++ ++/* Define to 1 if you have the `sigaltstack' function. */ ++#undef HAVE_SIGALTSTACK ++ ++/* Define to 1 if the system has the type `siginfo_t'. */ ++#undef HAVE_SIGINFO_T ++ ++/* Define to 1 if you have the `siginterrupt' function. */ ++#undef HAVE_SIGINTERRUPT ++ ++/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ ++#undef HAVE_SIGNED_SIG_ATOMIC_T ++ ++/* Define to 1 if 'wchar_t' is a signed integer type. */ ++#undef HAVE_SIGNED_WCHAR_T ++ ++/* Define to 1 if 'wint_t' is a signed integer type. */ ++#undef HAVE_SIGNED_WINT_T ++ ++/* Define to 1 if the system has the type `sigset_t'. */ ++#undef HAVE_SIGSET_T ++ ++/* Define to 1 if the system has the type `sig_atomic_t'. */ ++#undef HAVE_SIG_ATOMIC_T ++ ++/* Define to 1 if you have the `snprintf' function. */ ++#undef HAVE_SNPRINTF ++ ++/* Define if the return value of the snprintf function is the number of of ++ bytes (excluding the terminating NUL) that would have been produced if the ++ buffer had been large enough. */ ++#undef HAVE_SNPRINTF_RETVAL_C99 ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SPAWN_H ++ ++/* Define to 1 if extending the stack slightly past the limit causes a SIGSEGV ++ which can be handled on an alternate stack established with sigaltstack. */ ++#undef HAVE_STACK_OVERFLOW_HANDLING ++ ++/* Define to 1 if the system has the type `stack_t'. */ ++#undef HAVE_STACK_T ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDINT_H ++ ++/* Define if exists, doesn't clash with , and declares ++ uintmax_t. */ ++#undef HAVE_STDINT_H_WITH_UINTMAX ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDIO_EXT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STDLIB_H ++ ++/* Define to 1 if you have the `strchrnul' function. */ ++#undef HAVE_STRCHRNUL ++ ++/* Define to 1 if you have the `strdup' function. */ ++#undef HAVE_STRDUP ++ ++/* Define to 1 if you have the `strerror_r' function. */ ++#undef HAVE_STRERROR_R ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STRINGS_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_STRING_H ++ ++/* Define to 1 if you have the `strndup' function. */ ++#undef HAVE_STRNDUP ++ ++/* Define to 1 if you have the `strnlen' function. */ ++#undef HAVE_STRNLEN ++ ++/* Define to 1 if you have the `strsignal' function. */ ++#undef HAVE_STRSIGNAL ++ ++/* Define to 1 if you have the `strtol' function. */ ++#undef HAVE_STRTOL ++ ++/* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */ ++#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION ++ ++/* Define to 1 if you have the `symlink' function. */ ++#undef HAVE_SYMLINK ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_BITYPES_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_INTTYPES_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_MMAN_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_PARAM_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SOCKET_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_STAT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TIMEB_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TIME_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_TYPES_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_WAIT_H ++ ++/* Define to 1 if you have the `tsearch' function. */ ++#undef HAVE_TSEARCH ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_UCONTEXT_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_UNISTD_H ++ ++/* Define to 1 if you have the `unsetenv' function. */ ++#undef HAVE_UNSETENV ++ ++/* Define to 1 if the system has the type `unsigned long long int'. */ ++#undef HAVE_UNSIGNED_LONG_LONG_INT ++ ++/* Define to 1 if you have the `uselocale' function. */ ++#undef HAVE_USELOCALE ++ ++/* Define to 1 if you have the `vasnprintf' function. */ ++#undef HAVE_VASNPRINTF ++ ++/* Define to 1 if you have the `vasprintf' function. */ ++#undef HAVE_VASPRINTF ++ ++/* Define to 1 if you have the `vfork' function. */ ++#undef HAVE_VFORK ++ ++/* Define to 1 if you have the `waitid' function. */ ++#undef HAVE_WAITID ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_WCHAR_H ++ ++/* Define if you have the 'wchar_t' type. */ ++#undef HAVE_WCHAR_T ++ ++/* Define to 1 if you have the `wcrtomb' function. */ ++#undef HAVE_WCRTOMB ++ ++/* Define to 1 if you have the `wcscoll' function. */ ++#undef HAVE_WCSCOLL ++ ++/* Define to 1 if you have the `wcslen' function. */ ++#undef HAVE_WCSLEN ++ ++/* Define to 1 if you have the `wcsnlen' function. */ ++#undef HAVE_WCSNLEN ++ ++/* Define to 1 if you have the `wctob' function. */ ++#undef HAVE_WCTOB ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_WCTYPE_H ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_WINSOCK2_H ++ ++/* Define if you have the 'wint_t' type. */ ++#undef HAVE_WINT_T ++ ++/* Define to 1 if O_NOATIME works. */ ++#undef HAVE_WORKING_O_NOATIME ++ ++/* Define to 1 if O_NOFOLLOW works. */ ++#undef HAVE_WORKING_O_NOFOLLOW ++ ++/* Define to 1 if you have the header file. */ ++#undef HAVE_XLOCALE_H ++ ++/* Define to 1 if extending the stack slightly past the limit causes a ++ SIGSEGV, and an alternate stack can be established with sigaltstack, and ++ the signal handler is passed a context that specifies the run time stack. ++ This behavior is defined by POSIX 1003.1-2001 with the X/Open System ++ Interface (XSI) option and is a standardized way to implement a SEGV-based ++ stack overflow detection heuristic. */ ++#undef HAVE_XSI_STACK_OVERFLOW_HEURISTIC ++ ++/* Define to 1 if the system has the type `_Bool'. */ ++#undef HAVE__BOOL ++ ++/* Define to 1 if you have the `_ftime' function. */ ++#undef HAVE__FTIME ++ ++/* Define to 1 if you have the `__fpending' function. */ ++#undef HAVE___FPENDING ++ ++/* Define to 1 if you have the `__fpurge' function. */ ++#undef HAVE___FPURGE ++ ++/* Define to 1 if you have the `__freading' function. */ ++#undef HAVE___FREADING ++ ++/* Define to 1 if you have the `__secure_getenv' function. */ ++#undef HAVE___SECURE_GETENV ++ ++/* Define as the bit index in the word where to find bit 0 of the exponent of ++ 'long double'. */ ++#undef LDBL_EXPBIT0_BIT ++ ++/* Define as the word index where to find the exponent of 'long double'. */ ++#undef LDBL_EXPBIT0_WORD ++ ++/* Define as the bit index in the word where to find the sign of 'long ++ double'. */ ++#undef LDBL_SIGNBIT_BIT ++ ++/* Define as the word index where to find the sign of 'long double'. */ ++#undef LDBL_SIGNBIT_WORD ++ ++/* Define to 1 if lseek does not detect pipes. */ ++#undef LSEEK_PIPE_BROKEN ++ ++/* Define to 1 if `lstat' dereferences a symlink specified with a trailing ++ slash. */ ++#undef LSTAT_FOLLOWS_SLASHED_SYMLINK ++ ++/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ ++#undef MALLOC_0_IS_NONNULL ++ ++/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ ++#undef MAP_ANONYMOUS ++ ++/* Define if the mbrtowc function has the NULL pwc argument bug. */ ++#undef MBRTOWC_NULL_ARG1_BUG ++ ++/* Define if the mbrtowc function has the NULL string argument bug. */ ++#undef MBRTOWC_NULL_ARG2_BUG ++ ++/* Define if the mbrtowc function does not return 0 for a NUL character. */ ++#undef MBRTOWC_NUL_RETVAL_BUG ++ ++/* Define if the mbrtowc function returns a wrong return value. */ ++#undef MBRTOWC_RETVAL_BUG ++ ++/* Define to 1 if assertions should be disabled. */ ++#undef NDEBUG ++ ++/* Define if the vasnprintf implementation needs special code for the 'a' and ++ 'A' directives. */ ++#undef NEED_PRINTF_DIRECTIVE_A ++ ++/* Define if the vasnprintf implementation needs special code for the 'F' ++ directive. */ ++#undef NEED_PRINTF_DIRECTIVE_F ++ ++/* Define if the vasnprintf implementation needs special code for the 'ls' ++ directive. */ ++#undef NEED_PRINTF_DIRECTIVE_LS ++ ++/* Define if the vasnprintf implementation needs special code for 'double' ++ arguments. */ ++#undef NEED_PRINTF_DOUBLE ++ ++/* Define if the vasnprintf implementation needs special code for surviving ++ out-of-memory conditions. */ ++#undef NEED_PRINTF_ENOMEM ++ ++/* Define if the vasnprintf implementation needs special code for the ' flag. ++ */ ++#undef NEED_PRINTF_FLAG_GROUPING ++ ++/* Define if the vasnprintf implementation needs special code for the '-' ++ flag. */ ++#undef NEED_PRINTF_FLAG_LEFTADJUST ++ ++/* Define if the vasnprintf implementation needs special code for the 0 flag. ++ */ ++#undef NEED_PRINTF_FLAG_ZERO ++ ++/* Define if the vasnprintf implementation needs special code for infinite ++ 'double' arguments. */ ++#undef NEED_PRINTF_INFINITE_DOUBLE ++ ++/* Define if the vasnprintf implementation needs special code for infinite ++ 'long double' arguments. */ ++#undef NEED_PRINTF_INFINITE_LONG_DOUBLE ++ ++/* Define if the vasnprintf implementation needs special code for 'long ++ double' arguments. */ ++#undef NEED_PRINTF_LONG_DOUBLE ++ ++/* Define if the vasnprintf implementation needs special code for supporting ++ large precisions without arbitrary bounds. */ ++#undef NEED_PRINTF_UNBOUNDED_PRECISION ++ ++/* Define to 1 if your C compiler doesn't accept -c and -o together. */ ++#undef NO_MINUS_C_MINUS_O ++ ++/* Define to 1 if open() fails to recognize a trailing slash. */ ++#undef OPEN_TRAILING_SLASH_BUG ++ ++/* Name of package */ ++#undef PACKAGE ++ ++/* Define to the address where bug reports for this package should be sent. */ ++#undef PACKAGE_BUGREPORT ++ ++/* Define to the full name of this package. */ ++#undef PACKAGE_NAME ++ ++/* String identifying the packager of this software */ ++#undef PACKAGE_PACKAGER ++ ++/* Packager info for bug reports (URL/e-mail/...) */ ++#undef PACKAGE_PACKAGER_BUG_REPORTS ++ ++/* Packager-specific version information */ ++#undef PACKAGE_PACKAGER_VERSION ++ ++/* Define to the full name and version of this package. */ ++#undef PACKAGE_STRING ++ ++/* Define to the one symbol short name of this package. */ ++#undef PACKAGE_TARNAME ++ ++/* Define to the home page for this package. */ ++#undef PACKAGE_URL ++ ++/* Define to the version of this package. */ ++#undef PACKAGE_VERSION ++ ++/* the number of pending output bytes on stream `fp' */ ++#undef PENDING_OUTPUT_N_BYTES ++ ++/* Define to the type that is the result of default argument promotions of ++ type mode_t. */ ++#undef PROMOTED_MODE_T ++ ++/* Define if the pthread_in_use() detection is hard. */ ++#undef PTHREAD_IN_USE_DETECTION_HARD ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'ptrdiff_t'. */ ++#undef PTRDIFF_T_SUFFIX ++ ++/* Define to 1 if readlink fails to recognize a trailing slash. */ ++#undef READLINK_TRAILING_SLASH_BUG ++ ++/* Define if rename does not work when the destination file exists, as on ++ Cygwin 1.5 or Windows. */ ++#undef RENAME_DEST_EXISTS_BUG ++ ++/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or ++ Cygwin 1.5. */ ++#undef RENAME_HARD_LINK_BUG ++ ++/* Define to 1 if a file can be renamed while open, or to 0 if not. */ ++#undef RENAME_OPEN_FILE_WORKS ++ ++/* Define if rename does not correctly handle slashes on the destination ++ argument, such as on Solaris 10 or NetBSD 1.6. */ ++#undef RENAME_TRAILING_SLASH_DEST_BUG ++ ++/* Define if rename does not correctly handle slashes on the source argument, ++ such as on Solaris 9 or cygwin 1.5. */ ++#undef RENAME_TRAILING_SLASH_SOURCE_BUG ++ ++/* Define to 1 if stat needs help when passed a directory name with a trailing ++ slash */ ++#undef REPLACE_FUNC_STAT_DIR ++ ++/* Define to 1 if stat needs help when passed a file name with a trailing ++ slash */ ++#undef REPLACE_FUNC_STAT_FILE ++ ++/* Define if nl_langinfo exists but is overridden by gnulib. */ ++#undef REPLACE_NL_LANGINFO ++ ++/* Define this to 1 if strerror is broken. */ ++#undef REPLACE_STRERROR ++ ++/* Define if vasnprintf exists but is overridden by gnulib. */ ++#undef REPLACE_VASNPRINTF ++ ++/* Define if sigaltstack() interprets the stack_t.ss_sp field incorrectly, as ++ the highest address of the alternate stack range rather than as the lowest ++ address. */ ++#undef SIGALTSTACK_SS_REVERSED ++ ++/* Define if lists must be signal-safe. */ ++#undef SIGNAL_SAFE_LIST ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'sig_atomic_t'. */ ++#undef SIG_ATOMIC_T_SUFFIX ++ ++/* Define as the maximum value of type 'size_t', if the system doesn't define ++ it. */ ++#ifndef SIZE_MAX ++# undef SIZE_MAX ++#endif ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'size_t'. */ ++#undef SIZE_T_SUFFIX ++ ++/* If using the C implementation of alloca, define if you know the ++ direction of stack growth for your system; otherwise it will be ++ automatically deduced at runtime. ++ STACK_DIRECTION > 0 => grows toward higher addresses ++ STACK_DIRECTION < 0 => grows toward lower addresses ++ STACK_DIRECTION = 0 => direction of growth unknown */ ++#undef STACK_DIRECTION ++ ++/* Define to 1 if the `S_IS*' macros in do not work properly. */ ++#undef STAT_MACROS_BROKEN ++ ++/* Define to 1 if you have the ANSI C header files. */ ++#undef STDC_HEADERS ++ ++/* Define to 1 if strerror_r returns char *. */ ++#undef STRERROR_R_CHAR_P ++ ++/* Shell used by syscmd and esyscmd, must accept -c argument. */ ++#undef SYSCMD_SHELL ++ ++/* Define if the POSIX multithreading library can be used. */ ++#undef USE_POSIX_THREADS ++ ++/* Define if references to the POSIX multithreading library should be made ++ weak. */ ++#undef USE_POSIX_THREADS_WEAK ++ ++/* Define if the GNU Pth multithreading library can be used. */ ++#undef USE_PTH_THREADS ++ ++/* Define if references to the GNU Pth multithreading library should be made ++ weak. */ ++#undef USE_PTH_THREADS_WEAK ++ ++/* Define if the old Solaris multithreading library can be used. */ ++#undef USE_SOLARIS_THREADS ++ ++/* Define if references to the old Solaris multithreading library should be ++ made weak. */ ++#undef USE_SOLARIS_THREADS_WEAK ++ ++/* Define to 1 if you want getc etc. to use unlocked I/O if available. ++ Unlocked I/O can improve performance in unithreaded apps, but it is not ++ safe for multithreaded apps. */ ++#undef USE_UNLOCKED_IO ++ ++/* Define if the Win32 multithreading API can be used. */ ++#undef USE_WIN32_THREADS ++ ++/* Version number of package */ ++#undef VERSION ++ ++/* Define to 1 if unsetenv returns void instead of int. */ ++#undef VOID_UNSETENV ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'wchar_t'. */ ++#undef WCHAR_T_SUFFIX ++ ++/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type ++ 'wint_t'. */ ++#undef WINT_T_SUFFIX ++ ++/* Define to 1 if malloc debugging is enabled */ ++#undef WITH_DMALLOC ++ ++/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most ++ significant byte first (like Motorola and SPARC, unlike Intel). */ ++#if defined AC_APPLE_UNIVERSAL_BUILD ++# if defined __BIG_ENDIAN__ ++# define WORDS_BIGENDIAN 1 ++# endif ++#else ++# ifndef WORDS_BIGENDIAN ++# undef WORDS_BIGENDIAN ++# endif ++#endif ++ ++/* Number of bits in a file offset, on hosts where this is settable. */ ++#undef _FILE_OFFSET_BITS ++ ++/* enable compile-time and run-time bounds-checking, and some warnings */ ++#undef _FORTIFY_SOURCE ++ ++/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ ++#undef _LARGEFILE_SOURCE ++ ++/* Define for large files, on AIX-style hosts. */ ++#undef _LARGE_FILES ++ ++/* Define to 1 if on MINIX. */ ++#undef _MINIX ++ ++/* Define to 2 if the system does not provide POSIX.1 features except with ++ this defined. */ ++#undef _POSIX_1_SOURCE ++ ++/* Define to 1 if you need to in order for `stat' and other things to work. */ ++#undef _POSIX_SOURCE ++ ++/* Define if you want regoff_t to be at least as wide POSIX requires. */ ++#undef _REGEX_LARGE_OFFSETS ++ ++/* Define to 500 only on HP-UX. */ ++#undef _XOPEN_SOURCE ++ ++/* Enable extensions on AIX 3, Interix. */ ++#ifndef _ALL_SOURCE ++# undef _ALL_SOURCE ++#endif ++/* Enable GNU extensions on systems that have them. */ ++#ifndef _GNU_SOURCE ++# undef _GNU_SOURCE ++#endif ++/* Enable threading extensions on Solaris. */ ++#ifndef _POSIX_PTHREAD_SEMANTICS ++# undef _POSIX_PTHREAD_SEMANTICS ++#endif ++/* Enable extensions on HP NonStop. */ ++#ifndef _TANDEM_SOURCE ++# undef _TANDEM_SOURCE ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# undef __EXTENSIONS__ ++#endif ++ ++ ++/* Define to rpl_ if the getopt replacement functions and variables should be ++ used. */ ++#undef __GETOPT_PREFIX ++ ++/* Define to `int' if doesn't define. */ ++#undef gid_t ++ ++/* A replacement for va_copy, if needed. */ ++#define gl_va_copy(a,b) ((a) = (b)) ++ ++/* Define to rpl_gmtime if the replacement function should be used. */ ++#undef gmtime ++ ++/* Define to `__inline__' or `__inline' if that's what the C compiler ++ calls it, or to nothing if 'inline' is not supported under any name. */ ++#ifndef __cplusplus ++#undef inline ++#endif ++ ++/* Define to long or long long if and don't define. */ ++#undef intmax_t ++ ++/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports ++ the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of ++ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. ++ __APPLE__ && __MACH__ test for MacOS X. ++ __APPLE_CC__ tests for the Apple compiler and its version. ++ __STDC_VERSION__ tests for the C99 mode. */ ++#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ ++# define __GNUC_STDC_INLINE__ 1 ++#endif ++ ++/* Define to rpl_localtime if the replacement function should be used. */ ++#undef localtime ++ ++/* Define to a type if does not define. */ ++#undef mbstate_t ++ ++/* Define to `int' if does not define. */ ++#undef mode_t ++ ++/* Define to the type of st_nlink in struct stat, or a supertype. */ ++#undef nlink_t ++ ++/* Define as the type of the result of subtracting two pointers, if the system ++ doesn't define it. */ ++#undef ptrdiff_t ++ ++/* Define to rpl_re_comp if the replacement should be used. */ ++#undef re_comp ++ ++/* Define to rpl_re_compile_fastmap if the replacement should be used. */ ++#undef re_compile_fastmap ++ ++/* Define to rpl_re_compile_pattern if the replacement should be used. */ ++#undef re_compile_pattern ++ ++/* Define to rpl_re_exec if the replacement should be used. */ ++#undef re_exec ++ ++/* Define to rpl_re_match if the replacement should be used. */ ++#undef re_match ++ ++/* Define to rpl_re_match_2 if the replacement should be used. */ ++#undef re_match_2 ++ ++/* Define to rpl_re_search if the replacement should be used. */ ++#undef re_search ++ ++/* Define to rpl_re_search_2 if the replacement should be used. */ ++#undef re_search_2 ++ ++/* Define to rpl_re_set_registers if the replacement should be used. */ ++#undef re_set_registers ++ ++/* Define to rpl_re_set_syntax if the replacement should be used. */ ++#undef re_set_syntax ++ ++/* Define to rpl_re_syntax_options if the replacement should be used. */ ++#undef re_syntax_options ++ ++/* Define to rpl_regcomp if the replacement should be used. */ ++#undef regcomp ++ ++/* Define to rpl_regerror if the replacement should be used. */ ++#undef regerror ++ ++/* Define to rpl_regexec if the replacement should be used. */ ++#undef regexec ++ ++/* Define to rpl_regfree if the replacement should be used. */ ++#undef regfree ++ ++/* Define to the equivalent of the C99 'restrict' keyword, or to ++ nothing if this is not supported. Do not define if restrict is ++ supported directly. */ ++#undef restrict ++/* Work around a bug in Sun C++: it does not support _Restrict or ++ __restrict__, even though the corresponding Sun C compiler ends up with ++ "#define restrict _Restrict" or "#define restrict __restrict__" in the ++ previous line. Perhaps some future version of Sun C++ will work with ++ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ ++#if defined __SUNPRO_CC && !defined __RESTRICT ++# define _Restrict ++# define __restrict__ ++#endif ++ ++/* Define as an integer type suitable for memory locations that can be ++ accessed atomically even in the presence of asynchnonous signals. */ ++#undef sig_atomic_t ++ ++/* Define to `unsigned int' if does not define. */ ++#undef size_t ++ ++/* Define as a signed type of the same size as size_t. */ ++#undef ssize_t ++ ++/* Define to `int' if doesn't define. */ ++#undef uid_t ++ ++/* Define as a marker that can be attached to declarations that might not ++ be used. This helps to reduce warnings, such as from ++ GCC -Wunused-parameter. */ ++#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) ++# define _GL_UNUSED __attribute__ ((__unused__)) ++#else ++# define _GL_UNUSED ++#endif ++/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name ++ is a misnomer outside of parameter lists. */ ++#define _UNUSED_PARAMETER_ _GL_UNUSED ++ ++ ++/* Define as a macro for copying va_list variables. */ ++#undef va_copy +diff -Nur m4-1.4.16.orig/lib/fseeko.c m4-1.4.16/lib/fseeko.c +--- m4-1.4.16.orig/lib/fseeko.c 2011-03-01 17:39:28.000000000 +0100 ++++ m4-1.4.16/lib/fseeko.c 2013-09-04 14:22:13.000000000 +0200 +@@ -86,6 +86,12 @@ + && fp->__get_limit == fp->__bufp + && fp->__put_limit == fp->__bufp + && !fp->__pushed_back) ++#elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION ++ /* Cross-compiling to some other system advertising conformance to ++ POSIX.1-2008 or later. Assume fseeko and fflush work as advertised. ++ If this assumption is incorrect, please report the bug to ++ bug-gnulib. */ ++ if (0) + #else + #error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib." + #endif +diff -Nur m4-1.4.16.orig/lib/Makefile.in m4-1.4.16/lib/Makefile.in +--- m4-1.4.16.orig/lib/Makefile.in 2011-03-01 17:57:32.000000000 +0100 ++++ m4-1.4.16/lib/Makefile.in 2013-09-04 14:47:46.000000000 +0200 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.13.2 from Makefile.am. + # @configure_input@ + +-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# Copyright (C) 1994-2013 Free Software Foundation, Inc. ++ + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -27,6 +26,51 @@ + # Reproduce by: gnulib-tool --import --dir=. --local-dir=local --lib=libm4 --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --with-c++-tests --avoid=lock-tests --avoid=tls-tests --makefile-name=gnulib.mk --no-libtool --macro-prefix=M4 announce-gen assert autobuild avltree-oset binary-io c-stack clean-temp cloexec close-stream closein config-h dirname error execute fclose fdl-1.3 fflush filenamecat fopen fopen-safer fseeko gendocs getopt-gnu git-version-gen gnu-web-doc-update gnumakefile gnupload gpl-3.0 ignore-value intprops maintainer-makefile manywarnings memchr2 mkstemp obstack progname regex rename sigaction spawn-pipe stdbool stdint stdlib-safer strsignal strstr strtod strtol unlocked-io update-copyright vc-list-files verror version-etc version-etc-fsf wait-process xalloc xoset xprintf xvasprintf-posix + + VPATH = @srcdir@ ++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' ++am__make_running_with_option = \ ++ case $${target_option-} in \ ++ ?) ;; \ ++ *) echo "am__make_running_with_option: internal error: invalid" \ ++ "target option '$${target_option-}' specified" >&2; \ ++ exit 1;; \ ++ esac; \ ++ has_opt=no; \ ++ sane_makeflags=$$MAKEFLAGS; \ ++ if $(am__is_gnu_make); then \ ++ sane_makeflags=$$MFLAGS; \ ++ else \ ++ case $$MAKEFLAGS in \ ++ *\\[\ \ ]*) \ ++ bs=\\; \ ++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ ++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ ++ esac; \ ++ fi; \ ++ skip_next=no; \ ++ strip_trailopt () \ ++ { \ ++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ ++ }; \ ++ for flg in $$sane_makeflags; do \ ++ test $$skip_next = yes && { skip_next=no; continue; }; \ ++ case $$flg in \ ++ *=*|--*) continue;; \ ++ -*I) strip_trailopt 'I'; skip_next=yes;; \ ++ -*I?*) strip_trailopt 'I';; \ ++ -*O) strip_trailopt 'O'; skip_next=yes;; \ ++ -*O?*) strip_trailopt 'O';; \ ++ -*l) strip_trailopt 'l'; skip_next=yes;; \ ++ -*l?*) strip_trailopt 'l';; \ ++ -[dEDm]) skip_next=yes;; \ ++ -[JT]) skip_next=yes;; \ ++ esac; \ ++ case $$flg in \ ++ *$$target_option*) has_opt=yes; break;; \ ++ esac; \ ++ done; \ ++ test $$has_opt = yes ++am__make_dryrun = (target_option=n; $(am__make_running_with_option)) ++am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) + pkgdatadir = $(datadir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +@@ -44,8 +88,9 @@ + POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ +-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ +- $(srcdir)/config.hin $(srcdir)/gnulib.mk ++DIST_COMMON = $(srcdir)/gnulib.mk $(srcdir)/Makefile.in \ ++ $(srcdir)/Makefile.am $(srcdir)/config.hin \ ++ $(top_srcdir)/build-aux/depcomp + subdir = lib + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ +@@ -150,12 +195,10 @@ + LIBRARIES = $(noinst_LIBRARIES) + AR = ar + ARFLAGS = cru +-AM_V_AR = $(am__v_AR_$(V)) +-am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) +-am__v_AR_0 = @echo " AR " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++AM_V_AR = $(am__v_AR_@AM_V@) ++am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) ++am__v_AR_0 = @echo " AR " $@; ++am__v_AR_1 = + libm4_a_AR = $(AR) $(ARFLAGS) + am__DEPENDENCIES_1 = + am_libm4_a_OBJECTS = gl_avltree_oset.$(OBJEXT) c-ctype.$(OBJEXT) \ +@@ -175,28 +218,63 @@ + gl_xoset.$(OBJEXT) xprintf.$(OBJEXT) xstrndup.$(OBJEXT) \ + xvasprintf.$(OBJEXT) xasprintf.$(OBJEXT) + libm4_a_OBJECTS = $(am_libm4_a_OBJECTS) ++AM_V_P = $(am__v_P_@AM_V@) ++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) ++am__v_P_0 = false ++am__v_P_1 = : ++AM_V_GEN = $(am__v_GEN_@AM_V@) ++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) ++am__v_GEN_0 = @echo " GEN " $@; ++am__v_GEN_1 = ++AM_V_at = $(am__v_at_@AM_V@) ++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) ++am__v_at_0 = @ ++am__v_at_1 = + DEFAULT_INCLUDES = -I.@am__isrc@ + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles + am__mv = mv -f +-AM_V_lt = $(am__v_lt_$(V)) +-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) ++AM_V_lt = $(am__v_lt_@AM_V@) ++am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) + am__v_lt_0 = --silent ++am__v_lt_1 = + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; ++AM_V_CC = $(am__v_CC_@AM_V@) ++am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) ++am__v_CC_0 = @echo " CC " $@; ++am__v_CC_1 = + CCLD = $(CC) + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++AM_V_CCLD = $(am__v_CCLD_@AM_V@) ++am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) ++am__v_CCLD_0 = @echo " CCLD " $@; ++am__v_CCLD_1 = + SOURCES = $(libm4_a_SOURCES) $(EXTRA_libm4_a_SOURCES) + DIST_SOURCES = $(libm4_a_SOURCES) $(EXTRA_libm4_a_SOURCES) ++am__can_run_installinfo = \ ++ case $$AM_UPDATE_INFO_DIR in \ ++ n|no|NO) false;; \ ++ *) (install-info --version) >/dev/null 2>&1;; \ ++ esac ++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ ++ $(LISP)config.hin ++# Read a list of newline-separated strings from the standard input, ++# and print each of them once, without duplicates. Input order is ++# *not* preserved. ++am__uniquify_input = $(AWK) '\ ++ BEGIN { nonempty = 0; } \ ++ { items[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in items) print i; }; } \ ++' ++# Make sure the list of sources is unique. This is necessary because, ++# e.g., the same source file might be shared among _SOURCES variables ++# for different programs/libraries. ++am__define_uniq_tagged_files = \ ++ list='$(am__tagged_files)'; \ ++ unique=`for i in $$list; do \ ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ ++ done | $(am__uniquify_input)` + ETAGS = etags + CTAGS = ctags + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -1218,6 +1296,7 @@ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; ++$(srcdir)/gnulib.mk: + + $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +@@ -1229,10 +1308,8 @@ + $(am__aclocal_m4_deps): + + config.h: stamp-h1 +- @if test ! -f $@; then \ +- rm -f stamp-h1; \ +- $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ +- else :; fi ++ @if test ! -f $@; then rm -f stamp-h1; else :; fi ++ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi + + stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status + @rm -f stamp-h1 +@@ -1247,7 +1324,8 @@ + + clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +-libm4.a: $(libm4_a_OBJECTS) $(libm4_a_DEPENDENCIES) ++ ++libm4.a: $(libm4_a_OBJECTS) $(libm4_a_DEPENDENCIES) $(EXTRA_libm4_a_DEPENDENCIES) + $(AM_V_at)-rm -f libm4.a + $(AM_V_AR)$(libm4_a_AR) libm4.a $(libm4_a_OBJECTS) $(libm4_a_LIBADD) + $(AM_V_at)$(RANLIB) libm4.a +@@ -1398,87 +1476,68 @@ + .c.o: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(COMPILE) -c $< ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + + .c.obj: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + + lock.o: glthread/lock.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lock.o -MD -MP -MF $(DEPDIR)/lock.Tpo -c -o lock.o `test -f 'glthread/lock.c' || echo '$(srcdir)/'`glthread/lock.c + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lock.Tpo $(DEPDIR)/lock.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/lock.c' object='lock.o' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/lock.c' object='lock.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.o `test -f 'glthread/lock.c' || echo '$(srcdir)/'`glthread/lock.c ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.o `test -f 'glthread/lock.c' || echo '$(srcdir)/'`glthread/lock.c + + lock.obj: glthread/lock.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lock.obj -MD -MP -MF $(DEPDIR)/lock.Tpo -c -o lock.obj `if test -f 'glthread/lock.c'; then $(CYGPATH_W) 'glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/glthread/lock.c'; fi` + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lock.Tpo $(DEPDIR)/lock.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/lock.c' object='lock.obj' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/lock.c' object='lock.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.obj `if test -f 'glthread/lock.c'; then $(CYGPATH_W) 'glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/glthread/lock.c'; fi` ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.obj `if test -f 'glthread/lock.c'; then $(CYGPATH_W) 'glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/glthread/lock.c'; fi` + + threadlib.o: glthread/threadlib.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threadlib.o -MD -MP -MF $(DEPDIR)/threadlib.Tpo -c -o threadlib.o `test -f 'glthread/threadlib.c' || echo '$(srcdir)/'`glthread/threadlib.c + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threadlib.Tpo $(DEPDIR)/threadlib.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/threadlib.c' object='threadlib.o' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/threadlib.c' object='threadlib.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.o `test -f 'glthread/threadlib.c' || echo '$(srcdir)/'`glthread/threadlib.c ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.o `test -f 'glthread/threadlib.c' || echo '$(srcdir)/'`glthread/threadlib.c + + threadlib.obj: glthread/threadlib.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threadlib.obj -MD -MP -MF $(DEPDIR)/threadlib.Tpo -c -o threadlib.obj `if test -f 'glthread/threadlib.c'; then $(CYGPATH_W) 'glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/glthread/threadlib.c'; fi` + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threadlib.Tpo $(DEPDIR)/threadlib.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/threadlib.c' object='threadlib.obj' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/threadlib.c' object='threadlib.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.obj `if test -f 'glthread/threadlib.c'; then $(CYGPATH_W) 'glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/glthread/threadlib.c'; fi` ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.obj `if test -f 'glthread/threadlib.c'; then $(CYGPATH_W) 'glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/glthread/threadlib.c'; fi` + + tls.o: glthread/tls.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tls.o -MD -MP -MF $(DEPDIR)/tls.Tpo -c -o tls.o `test -f 'glthread/tls.c' || echo '$(srcdir)/'`glthread/tls.c + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/tls.Tpo $(DEPDIR)/tls.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/tls.c' object='tls.o' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/tls.c' object='tls.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.o `test -f 'glthread/tls.c' || echo '$(srcdir)/'`glthread/tls.c ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.o `test -f 'glthread/tls.c' || echo '$(srcdir)/'`glthread/tls.c + + tls.obj: glthread/tls.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tls.obj -MD -MP -MF $(DEPDIR)/tls.Tpo -c -o tls.obj `if test -f 'glthread/tls.c'; then $(CYGPATH_W) 'glthread/tls.c'; else $(CYGPATH_W) '$(srcdir)/glthread/tls.c'; fi` + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/tls.Tpo $(DEPDIR)/tls.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/tls.c' object='tls.obj' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/tls.c' object='tls.obj' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.obj `if test -f 'glthread/tls.c'; then $(CYGPATH_W) 'glthread/tls.c'; else $(CYGPATH_W) '$(srcdir)/glthread/tls.c'; fi` ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.obj `if test -f 'glthread/tls.c'; then $(CYGPATH_W) 'glthread/tls.c'; else $(CYGPATH_W) '$(srcdir)/glthread/tls.c'; fi` + +-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ +- mkid -fID $$unique +-tags: TAGS ++ID: $(am__tagged_files) ++ $(am__define_uniq_tagged_files); mkid -fID $$unique ++tags: tags-am ++TAGS: tags + +-TAGS: $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) ++tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ +- list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +@@ -1490,15 +1549,11 @@ + $$unique; \ + fi; \ + fi +-ctags: CTAGS +-CTAGS: $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) +- list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ctags: ctags-am ++ ++CTAGS: ctags ++ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) ++ $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique +@@ -1507,6 +1562,21 @@ + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" ++cscopelist: cscopelist-am ++ ++cscopelist-am: $(am__tagged_files) ++ list='$(am__tagged_files)'; \ ++ case "$(srcdir)" in \ ++ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ ++ *) sdir=$(subdir)/$(srcdir) ;; \ ++ esac; \ ++ for i in $$list; do \ ++ if test -f "$$i"; then \ ++ echo "$(subdir)/$$i"; \ ++ else \ ++ echo "$$sdir/$$i"; \ ++ fi; \ ++ done >> $(top_builddir)/cscope.files + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1557,10 +1627,15 @@ + + installcheck: installcheck-am + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + +@@ -1647,19 +1722,20 @@ + + .MAKE: all check install install-am install-strip + +-.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ +- clean-generic clean-noinstLIBRARIES ctags distclean \ +- distclean-compile distclean-generic distclean-hdr \ +- distclean-local distclean-tags distdir dvi dvi-am html html-am \ +- info info-am install install-am install-data install-data-am \ +- install-dvi install-dvi-am install-exec install-exec-am \ +- install-exec-local install-html install-html-am install-info \ +- install-info-am install-man install-pdf install-pdf-am \ +- install-ps install-ps-am install-strip installcheck \ +- installcheck-am installdirs maintainer-clean \ +- maintainer-clean-generic mostlyclean mostlyclean-compile \ +- mostlyclean-generic mostlyclean-local pdf pdf-am ps ps-am tags \ +- uninstall uninstall-am uninstall-local ++.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \ ++ clean-generic clean-noinstLIBRARIES cscopelist-am ctags \ ++ ctags-am distclean distclean-compile distclean-generic \ ++ distclean-hdr distclean-local distclean-tags distdir dvi \ ++ dvi-am html html-am info info-am install install-am \ ++ install-data install-data-am install-dvi install-dvi-am \ ++ install-exec install-exec-am install-exec-local install-html \ ++ install-html-am install-info install-info-am install-man \ ++ install-pdf install-pdf-am install-ps install-ps-am \ ++ install-strip installcheck installcheck-am installdirs \ ++ maintainer-clean maintainer-clean-generic mostlyclean \ ++ mostlyclean-compile mostlyclean-generic mostlyclean-local pdf \ ++ pdf-am ps ps-am tags tags-am uninstall uninstall-am \ ++ uninstall-local + + + # We need the following in order to create when the system +diff -Nur m4-1.4.16.orig/m4/.cvsignore m4-1.4.16/m4/.cvsignore +--- m4-1.4.16.orig/m4/.cvsignore 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/m4/.cvsignore 2013-09-04 14:46:46.000000000 +0200 +@@ -0,0 +1,6 @@ ++# files created by gnulib, but that gnulib doesn't track ++*~ ++.cvsignore ++.gitignore ++gnulib-comp.m4 ++# gnulib-tool edits below here +diff -Nur m4-1.4.16.orig/m4/fflush.m4 m4-1.4.16/m4/fflush.m4 +--- m4-1.4.16.orig/m4/fflush.m4 2011-03-01 17:39:30.000000000 +0100 ++++ m4-1.4.16/m4/fflush.m4 2013-09-04 14:29:46.000000000 +0200 +@@ -55,11 +55,18 @@ + return 7; + return 0; + ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no], +- [dnl Pessimistically assume fflush is broken. +- gl_cv_func_fflush_stdin=no]) ++ [gl_cv_func_fflush_stdin=cross]) + rm conftest.txt + ]) +- if test $gl_cv_func_fflush_stdin = no; then ++ case $gl_cv_func_fflush_stdin in ++ yes) gl_func_fflush_stdin=1 ;; ++ no) gl_func_fflush_stdin=0 ;; ++ *) gl_func_fflush_stdin='(-1)' ;; ++ esac ++ AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin], ++ [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, ++ 0 if fflush is known to not work, -1 if unknown.]) ++ if test $gl_cv_func_fflush_stdin != yes; then + gl_REPLACE_FFLUSH + fi + ]) +diff -Nur m4-1.4.16.orig/m4/.gitignore m4-1.4.16/m4/.gitignore +--- m4-1.4.16.orig/m4/.gitignore 1970-01-01 01:00:00.000000000 +0100 ++++ m4-1.4.16/m4/.gitignore 2013-09-04 14:46:46.000000000 +0200 +@@ -0,0 +1,6 @@ ++# files created by gnulib, but that gnulib doesn't track ++*~ ++.cvsignore ++.gitignore ++gnulib-comp.m4 ++# gnulib-tool edits below here +diff -Nur m4-1.4.16.orig/Makefile.in m4-1.4.16/Makefile.in +--- m4-1.4.16.orig/Makefile.in 2011-03-01 17:57:33.000000000 +0100 ++++ m4-1.4.16/Makefile.in 2013-09-04 14:47:46.000000000 +0200 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.13.2 from Makefile.am. + # @configure_input@ + +-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# Copyright (C) 1994-2013 Free Software Foundation, Inc. ++ + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -15,6 +14,51 @@ + + @SET_MAKE@ + VPATH = @srcdir@ ++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' ++am__make_running_with_option = \ ++ case $${target_option-} in \ ++ ?) ;; \ ++ *) echo "am__make_running_with_option: internal error: invalid" \ ++ "target option '$${target_option-}' specified" >&2; \ ++ exit 1;; \ ++ esac; \ ++ has_opt=no; \ ++ sane_makeflags=$$MAKEFLAGS; \ ++ if $(am__is_gnu_make); then \ ++ sane_makeflags=$$MFLAGS; \ ++ else \ ++ case $$MAKEFLAGS in \ ++ *\\[\ \ ]*) \ ++ bs=\\; \ ++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ ++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ ++ esac; \ ++ fi; \ ++ skip_next=no; \ ++ strip_trailopt () \ ++ { \ ++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ ++ }; \ ++ for flg in $$sane_makeflags; do \ ++ test $$skip_next = yes && { skip_next=no; continue; }; \ ++ case $$flg in \ ++ *=*|--*) continue;; \ ++ -*I) strip_trailopt 'I'; skip_next=yes;; \ ++ -*I?*) strip_trailopt 'I';; \ ++ -*O) strip_trailopt 'O'; skip_next=yes;; \ ++ -*O?*) strip_trailopt 'O';; \ ++ -*l) strip_trailopt 'l'; skip_next=yes;; \ ++ -*l?*) strip_trailopt 'l';; \ ++ -[dEDm]) skip_next=yes;; \ ++ -[JT]) skip_next=yes;; \ ++ esac; \ ++ case $$flg in \ ++ *$$target_option*) has_opt=yes; break;; \ ++ esac; \ ++ done; \ ++ test $$has_opt = yes ++am__make_dryrun = (target_option=n; $(am__make_running_with_option)) ++am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) + pkgdatadir = $(datadir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +@@ -33,13 +77,19 @@ + build_triplet = @build@ + host_triplet = @host@ + subdir = . +-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ +- $(srcdir)/Makefile.in $(top_srcdir)/checks/Makefile.in \ +- $(top_srcdir)/configure AUTHORS BACKLOG COPYING ChangeLog \ +- INSTALL NEWS THANKS TODO build-aux/compile \ +- build-aux/config.guess build-aux/config.rpath \ +- build-aux/config.sub build-aux/depcomp build-aux/install-sh \ +- build-aux/mdate-sh build-aux/missing build-aux/texinfo.tex ++DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ ++ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ ++ $(top_srcdir)/configure $(am__configure_deps) \ ++ $(top_srcdir)/checks/Makefile.in BACKLOG COPYING THANKS TODO \ ++ build-aux/compile build-aux/config.guess \ ++ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ ++ build-aux/install-sh build-aux/mdate-sh build-aux/missing \ ++ build-aux/texinfo.tex $(top_srcdir)/build-aux/compile \ ++ $(top_srcdir)/build-aux/config.guess \ ++ $(top_srcdir)/build-aux/config.rpath \ ++ $(top_srcdir)/build-aux/config.sub \ ++ $(top_srcdir)/build-aux/install-sh \ ++ $(top_srcdir)/build-aux/missing + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \ +@@ -142,36 +192,72 @@ + CONFIG_HEADER = $(top_builddir)/lib/config.h + CONFIG_CLEAN_FILES = checks/Makefile + CONFIG_CLEAN_VPATH_FILES = +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) ++AM_V_P = $(am__v_P_@AM_V@) ++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) ++am__v_P_0 = false ++am__v_P_1 = : ++AM_V_GEN = $(am__v_GEN_@AM_V@) ++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) ++am__v_GEN_0 = @echo " GEN " $@; ++am__v_GEN_1 = ++AM_V_at = $(am__v_at_@AM_V@) ++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) + am__v_at_0 = @ ++am__v_at_1 = + SOURCES = + DIST_SOURCES = +-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +- html-recursive info-recursive install-data-recursive \ +- install-dvi-recursive install-exec-recursive \ +- install-html-recursive install-info-recursive \ +- install-pdf-recursive install-ps-recursive install-recursive \ +- installcheck-recursive installdirs-recursive pdf-recursive \ +- ps-recursive uninstall-recursive ++RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ++ ctags-recursive dvi-recursive html-recursive info-recursive \ ++ install-data-recursive install-dvi-recursive \ ++ install-exec-recursive install-html-recursive \ ++ install-info-recursive install-pdf-recursive \ ++ install-ps-recursive install-recursive installcheck-recursive \ ++ installdirs-recursive pdf-recursive ps-recursive \ ++ tags-recursive uninstall-recursive ++am__can_run_installinfo = \ ++ case $$AM_UPDATE_INFO_DIR in \ ++ n|no|NO) false;; \ ++ *) (install-info --version) >/dev/null 2>&1;; \ ++ esac + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- distdir dist dist-all distcheck ++am__recursive_targets = \ ++ $(RECURSIVE_TARGETS) \ ++ $(RECURSIVE_CLEAN_TARGETS) \ ++ $(am__extra_recursive_targets) ++AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ ++ cscope distdir dist dist-all distcheck ++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) ++# Read a list of newline-separated strings from the standard input, ++# and print each of them once, without duplicates. Input order is ++# *not* preserved. ++am__uniquify_input = $(AWK) '\ ++ BEGIN { nonempty = 0; } \ ++ { items[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in items) print i; }; } \ ++' ++# Make sure the list of sources is unique. This is necessary because, ++# e.g., the same source file might be shared among _SOURCES variables ++# for different programs/libraries. ++am__define_uniq_tagged_files = \ ++ list='$(am__tagged_files)'; \ ++ unique=`for i in $$list; do \ ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ ++ done | $(am__uniquify_input)` + ETAGS = etags + CTAGS = ctags ++CSCOPE = cscope + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) + am__remove_distdir = \ +- { test ! -d "$(distdir)" \ +- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ +- && rm -fr "$(distdir)"; }; } ++ if test -d "$(distdir)"; then \ ++ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ ++ && rm -rf "$(distdir)" \ ++ || { sleep 5 && rm -rf "$(distdir)"; }; \ ++ else :; fi ++am__post_remove_distdir = $(am__remove_distdir) + am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ +@@ -199,7 +285,10 @@ + reldir="$$dir2" + DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.xz + GZIP_ENV = --best ++DIST_TARGETS = dist-xz dist-bzip2 dist-gzip + distuninstallcheck_listfiles = find . -type f -print ++am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ ++ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' + distcleancheck_listfiles = find . -type f -print + pkglibexecdir = @pkglibexecdir@ + ACLOCAL = @ACLOCAL@ +@@ -1084,7 +1173,7 @@ + $(MAKE) $(AM_MAKEFLAGS) all-recursive + + .SUFFIXES: +-am--refresh: ++am--refresh: Makefile + @: + $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ +@@ -1122,22 +1211,25 @@ + cd $(top_builddir) && $(SHELL) ./config.status $@ + + # This directory's subdirectories are mostly independent; you can cd +-# into them and run `make' without going through this Makefile. +-# To change the values of `make' variables: instead of editing Makefiles, +-# (1) if the variable is set in `config.status', edit `config.status' +-# (which will cause the Makefiles to be regenerated when you run `make'); +-# (2) otherwise, pass the desired values on the `make' command line. +-$(RECURSIVE_TARGETS): +- @fail= failcom='exit 1'; \ +- for f in x $$MAKEFLAGS; do \ +- case $$f in \ +- *=* | --[!k]*);; \ +- *k*) failcom='fail=yes';; \ +- esac; \ +- done; \ ++# into them and run 'make' without going through this Makefile. ++# To change the values of 'make' variables: instead of editing Makefiles, ++# (1) if the variable is set in 'config.status', edit 'config.status' ++# (which will cause the Makefiles to be regenerated when you run 'make'); ++# (2) otherwise, pass the desired values on the 'make' command line. ++$(am__recursive_targets): ++ @fail=; \ ++ if $(am__make_keepgoing); then \ ++ failcom='fail=yes'; \ ++ else \ ++ failcom='exit 1'; \ ++ fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ +- list='$(SUBDIRS)'; for subdir in $$list; do \ ++ case "$@" in \ ++ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ ++ *) list='$(SUBDIRS)' ;; \ ++ esac; \ ++ for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ +@@ -1152,57 +1244,12 @@ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +-$(RECURSIVE_CLEAN_TARGETS): +- @fail= failcom='exit 1'; \ +- for f in x $$MAKEFLAGS; do \ +- case $$f in \ +- *=* | --[!k]*);; \ +- *k*) failcom='fail=yes';; \ +- esac; \ +- done; \ +- dot_seen=no; \ +- case "$@" in \ +- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ +- *) list='$(SUBDIRS)' ;; \ +- esac; \ +- rev=''; for subdir in $$list; do \ +- if test "$$subdir" = "."; then :; else \ +- rev="$$subdir $$rev"; \ +- fi; \ +- done; \ +- rev="$$rev ."; \ +- target=`echo $@ | sed s/-recursive//`; \ +- for subdir in $$rev; do \ +- echo "Making $$target in $$subdir"; \ +- if test "$$subdir" = "."; then \ +- local_target="$$target-am"; \ +- else \ +- local_target="$$target"; \ +- fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ +- || eval $$failcom; \ +- done && test -z "$$fail" +-tags-recursive: +- list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ +- done +-ctags-recursive: +- list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ +- done ++ID: $(am__tagged_files) ++ $(am__define_uniq_tagged_files); mkid -fID $$unique ++tags: tags-recursive ++TAGS: tags + +-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ +- mkid -fID $$unique +-tags: TAGS +- +-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) ++tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ +@@ -1218,12 +1265,7 @@ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +@@ -1235,15 +1277,11 @@ + $$unique; \ + fi; \ + fi +-ctags: CTAGS +-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ctags: ctags-recursive ++ ++CTAGS: ctags ++ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) ++ $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique +@@ -1252,9 +1290,31 @@ + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" ++cscope: cscope.files ++ test ! -s cscope.files \ ++ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) ++clean-cscope: ++ -rm -f cscope.files ++cscope.files: clean-cscope cscopelist ++cscopelist: cscopelist-recursive ++ ++cscopelist-am: $(am__tagged_files) ++ list='$(am__tagged_files)'; \ ++ case "$(srcdir)" in \ ++ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ ++ *) sdir=$(subdir)/$(srcdir) ;; \ ++ esac; \ ++ for i in $$list; do \ ++ if test -f "$$i"; then \ ++ echo "$(subdir)/$$i"; \ ++ else \ ++ echo "$$sdir/$$i"; \ ++ fi; \ ++ done >> $(top_builddir)/cscope.files + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags ++ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + + distdir: $(DISTFILES) + $(am__remove_distdir) +@@ -1290,13 +1350,10 @@ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ +- test -d "$(distdir)/$$subdir" \ +- || $(MKDIR_P) "$(distdir)/$$subdir" \ +- || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ ++ $(am__make_dryrun) \ ++ || test -d "$(distdir)/$$subdir" \ ++ || $(MKDIR_P) "$(distdir)/$$subdir" \ ++ || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ +@@ -1328,36 +1385,34 @@ + || chmod -R a+r "$(distdir)" + dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz +- $(am__remove_distdir) ++ $(am__post_remove_distdir) + dist-bzip2: distdir +- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 +- $(am__remove_distdir) ++ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 ++ $(am__post_remove_distdir) + +-dist-lzma: distdir +- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma +- $(am__remove_distdir) ++dist-lzip: distdir ++ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz ++ $(am__post_remove_distdir) + dist-xz: distdir +- tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz +- $(am__remove_distdir) ++ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz ++ $(am__post_remove_distdir) + + dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z +- $(am__remove_distdir) ++ $(am__post_remove_distdir) + + dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz +- $(am__remove_distdir) ++ $(am__post_remove_distdir) + + dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) +- $(am__remove_distdir) ++ $(am__post_remove_distdir) + +-dist dist-all: distdir +- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz +- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 +- tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz +- $(am__remove_distdir) ++dist dist-all: ++ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' ++ $(am__post_remove_distdir) + + # This target untars the dist file and tries a VPATH configuration. Then + # it guarantees that the distribution is self-contained by making another +@@ -1368,8 +1423,8 @@ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ +- *.tar.lzma*) \ +- lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ ++ *.tar.lz*) \ ++ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ +@@ -1379,9 +1434,9 @@ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac +- chmod -R a-w $(distdir); chmod a+w $(distdir) +- mkdir $(distdir)/_build +- mkdir $(distdir)/_inst ++ chmod -R a-w $(distdir) ++ chmod u+w $(distdir) ++ mkdir $(distdir)/_build $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ +@@ -1389,6 +1444,7 @@ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ ++ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ +@@ -1412,13 +1468,21 @@ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 +- $(am__remove_distdir) ++ $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' + distuninstallcheck: +- @$(am__cd) '$(distuninstallcheck_dir)' \ +- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ ++ @test -n '$(distuninstallcheck_dir)' || { \ ++ echo 'ERROR: trying to run $@ with an empty' \ ++ '$$(distuninstallcheck_dir)' >&2; \ ++ exit 1; \ ++ }; \ ++ $(am__cd) '$(distuninstallcheck_dir)' || { \ ++ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ ++ exit 1; \ ++ }; \ ++ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ +@@ -1451,10 +1515,15 @@ + + installcheck: installcheck-recursive + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + + clean-generic: +@@ -1538,15 +1607,14 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ +- ctags-recursive install install-am install-strip \ +- tags-recursive +- +-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ +- all all-am am--refresh check check-am clean clean-generic \ +- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ +- dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ +- distcheck distclean distclean-generic distclean-tags \ ++.MAKE: $(am__recursive_targets) all check install install-am \ ++ install-strip ++ ++.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ ++ am--refresh check check-am clean clean-cscope clean-generic \ ++ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ ++ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \ ++ dist-zip distcheck distclean distclean-generic distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ +@@ -1555,7 +1623,7 @@ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ +- pdf-am ps ps-am tags tags-recursive uninstall uninstall-am ++ pdf-am ps ps-am tags tags-am uninstall uninstall-am + + $(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ +diff -Nur m4-1.4.16.orig/src/Makefile.in m4-1.4.16/src/Makefile.in +--- m4-1.4.16.orig/src/Makefile.in 2011-03-01 17:57:32.000000000 +0100 ++++ m4-1.4.16/src/Makefile.in 2013-09-04 14:47:47.000000000 +0200 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.13.2 from Makefile.am. + # @configure_input@ + +-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# Copyright (C) 1994-2013 Free Software Foundation, Inc. ++ + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -16,6 +15,51 @@ + @SET_MAKE@ + + VPATH = @srcdir@ ++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' ++am__make_running_with_option = \ ++ case $${target_option-} in \ ++ ?) ;; \ ++ *) echo "am__make_running_with_option: internal error: invalid" \ ++ "target option '$${target_option-}' specified" >&2; \ ++ exit 1;; \ ++ esac; \ ++ has_opt=no; \ ++ sane_makeflags=$$MAKEFLAGS; \ ++ if $(am__is_gnu_make); then \ ++ sane_makeflags=$$MFLAGS; \ ++ else \ ++ case $$MAKEFLAGS in \ ++ *\\[\ \ ]*) \ ++ bs=\\; \ ++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ ++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ ++ esac; \ ++ fi; \ ++ skip_next=no; \ ++ strip_trailopt () \ ++ { \ ++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ ++ }; \ ++ for flg in $$sane_makeflags; do \ ++ test $$skip_next = yes && { skip_next=no; continue; }; \ ++ case $$flg in \ ++ *=*|--*) continue;; \ ++ -*I) strip_trailopt 'I'; skip_next=yes;; \ ++ -*I?*) strip_trailopt 'I';; \ ++ -*O) strip_trailopt 'O'; skip_next=yes;; \ ++ -*O?*) strip_trailopt 'O';; \ ++ -*l) strip_trailopt 'l'; skip_next=yes;; \ ++ -*l?*) strip_trailopt 'l';; \ ++ -[dEDm]) skip_next=yes;; \ ++ -[JT]) skip_next=yes;; \ ++ esac; \ ++ case $$flg in \ ++ *$$target_option*) has_opt=yes; break;; \ ++ esac; \ ++ done; \ ++ test $$has_opt = yes ++am__make_dryrun = (target_option=n; $(am__make_running_with_option)) ++am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) + pkgdatadir = $(datadir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +@@ -35,7 +79,8 @@ + host_triplet = @host@ + bin_PROGRAMS = m4$(EXEEXT) + subdir = src +-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ++DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ ++ $(top_srcdir)/build-aux/depcomp + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \ +@@ -146,28 +191,58 @@ + am__DEPENDENCIES_1 = + m4_DEPENDENCIES = ../lib/libm4.a $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) ++AM_V_P = $(am__v_P_@AM_V@) ++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) ++am__v_P_0 = false ++am__v_P_1 = : ++AM_V_GEN = $(am__v_GEN_@AM_V@) ++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) ++am__v_GEN_0 = @echo " GEN " $@; ++am__v_GEN_1 = ++AM_V_at = $(am__v_at_@AM_V@) ++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) ++am__v_at_0 = @ ++am__v_at_1 = + DEFAULT_INCLUDES = + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles + am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++AM_V_CC = $(am__v_CC_@AM_V@) ++am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) ++am__v_CC_0 = @echo " CC " $@; ++am__v_CC_1 = + CCLD = $(CC) + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++AM_V_CCLD = $(am__v_CCLD_@AM_V@) ++am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) ++am__v_CCLD_0 = @echo " CCLD " $@; ++am__v_CCLD_1 = + SOURCES = $(m4_SOURCES) + DIST_SOURCES = $(m4_SOURCES) ++am__can_run_installinfo = \ ++ case $$AM_UPDATE_INFO_DIR in \ ++ n|no|NO) false;; \ ++ *) (install-info --version) >/dev/null 2>&1;; \ ++ esac ++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) ++# Read a list of newline-separated strings from the standard input, ++# and print each of them once, without duplicates. Input order is ++# *not* preserved. ++am__uniquify_input = $(AWK) '\ ++ BEGIN { nonempty = 0; } \ ++ { items[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in items) print i; }; } \ ++' ++# Make sure the list of sources is unique. This is necessary because, ++# e.g., the same source file might be shared among _SOURCES variables ++# for different programs/libraries. ++am__define_uniq_tagged_files = \ ++ list='$(am__tagged_files)'; \ ++ unique=`for i in $$list; do \ ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ ++ done | $(am__uniquify_input)` + ETAGS = etags + CTAGS = ctags + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -1074,14 +1149,18 @@ + $(am__aclocal_m4_deps): + install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) +- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ ++ if test -n "$$list"; then \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ ++ fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ +- while read p p1; do if test -f $$p; \ +- then echo "$$p"; echo "$$p"; else :; fi; \ ++ while read p p1; do if test -f $$p \ ++ ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ +- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ ++ sed -e 'p;s,.*/,,;n;h' \ ++ -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ +@@ -1102,14 +1181,16 @@ + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ +- -e 's/$$/$(EXEEXT)/' `; \ ++ -e 's/$$/$(EXEEXT)/' \ ++ `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + + clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +-m4$(EXEEXT): $(m4_OBJECTS) $(m4_DEPENDENCIES) ++ ++m4$(EXEEXT): $(m4_OBJECTS) $(m4_DEPENDENCIES) $(EXTRA_m4_DEPENDENCIES) + @rm -f m4$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(m4_OBJECTS) $(m4_LDADD) $(LIBS) + +@@ -1134,39 +1215,26 @@ + .c.o: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(COMPILE) -c $< ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + + .c.obj: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + +-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ +- mkid -fID $$unique +-tags: TAGS ++ID: $(am__tagged_files) ++ $(am__define_uniq_tagged_files); mkid -fID $$unique ++tags: tags-am ++TAGS: tags + +-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) ++tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +@@ -1178,15 +1246,11 @@ + $$unique; \ + fi; \ + fi +-ctags: CTAGS +-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ctags: ctags-am ++ ++CTAGS: ctags ++ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) ++ $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique +@@ -1195,6 +1259,21 @@ + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" ++cscopelist: cscopelist-am ++ ++cscopelist-am: $(am__tagged_files) ++ list='$(am__tagged_files)'; \ ++ case "$(srcdir)" in \ ++ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ ++ *) sdir=$(subdir)/$(srcdir) ;; \ ++ esac; \ ++ for i in $$list; do \ ++ if test -f "$$i"; then \ ++ echo "$(subdir)/$$i"; \ ++ else \ ++ echo "$$sdir/$$i"; \ ++ fi; \ ++ done >> $(top_builddir)/cscope.files + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +@@ -1246,10 +1325,15 @@ + + installcheck: installcheck-am + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + + clean-generic: +@@ -1332,18 +1416,19 @@ + + .MAKE: install-am install-strip + +-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ +- clean-generic ctags distclean distclean-compile \ +- distclean-generic distclean-tags distdir dvi dvi-am html \ +- html-am info info-am install install-am install-binPROGRAMS \ +- install-data install-data-am install-dvi install-dvi-am \ +- install-exec install-exec-am install-html install-html-am \ +- install-info install-info-am install-man install-pdf \ +- install-pdf-am install-ps install-ps-am install-strip \ +- installcheck installcheck-am installdirs maintainer-clean \ +- maintainer-clean-generic mostlyclean mostlyclean-compile \ +- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ +- uninstall-am uninstall-binPROGRAMS ++.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ ++ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ ++ distclean distclean-compile distclean-generic distclean-tags \ ++ distdir dvi dvi-am html html-am info info-am install \ ++ install-am install-binPROGRAMS install-data install-data-am \ ++ install-dvi install-dvi-am install-exec install-exec-am \ ++ install-html install-html-am install-info install-info-am \ ++ install-man install-pdf install-pdf-am install-ps \ ++ install-ps-am install-strip installcheck installcheck-am \ ++ installdirs maintainer-clean maintainer-clean-generic \ ++ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ++ ps ps-am tags tags-am uninstall uninstall-am \ ++ uninstall-binPROGRAMS + + + # Tell versions [3.59,3.63) of GNU make to not export all variables. +diff -Nur m4-1.4.16.orig/tests/Makefile.in m4-1.4.16/tests/Makefile.in +--- m4-1.4.16.orig/tests/Makefile.in 2011-03-01 17:57:33.000000000 +0100 ++++ m4-1.4.16/tests/Makefile.in 2013-09-04 14:47:47.000000000 +0200 +@@ -1,9 +1,8 @@ +-# Makefile.in generated by automake 1.11.1 from Makefile.am. ++# Makefile.in generated by automake 1.13.2 from Makefile.am. + # @configure_input@ + +-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +-# Inc. ++# Copyright (C) 1994-2013 Free Software Foundation, Inc. ++ + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -28,6 +27,51 @@ + + + VPATH = @srcdir@ ++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' ++am__make_running_with_option = \ ++ case $${target_option-} in \ ++ ?) ;; \ ++ *) echo "am__make_running_with_option: internal error: invalid" \ ++ "target option '$${target_option-}' specified" >&2; \ ++ exit 1;; \ ++ esac; \ ++ has_opt=no; \ ++ sane_makeflags=$$MAKEFLAGS; \ ++ if $(am__is_gnu_make); then \ ++ sane_makeflags=$$MFLAGS; \ ++ else \ ++ case $$MAKEFLAGS in \ ++ *\\[\ \ ]*) \ ++ bs=\\; \ ++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ ++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ ++ esac; \ ++ fi; \ ++ skip_next=no; \ ++ strip_trailopt () \ ++ { \ ++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ ++ }; \ ++ for flg in $$sane_makeflags; do \ ++ test $$skip_next = yes && { skip_next=no; continue; }; \ ++ case $$flg in \ ++ *=*|--*) continue;; \ ++ -*I) strip_trailopt 'I'; skip_next=yes;; \ ++ -*I?*) strip_trailopt 'I';; \ ++ -*O) strip_trailopt 'O'; skip_next=yes;; \ ++ -*O?*) strip_trailopt 'O';; \ ++ -*l) strip_trailopt 'l'; skip_next=yes;; \ ++ -*l?*) strip_trailopt 'l';; \ ++ -[dEDm]) skip_next=yes;; \ ++ -[JT]) skip_next=yes;; \ ++ esac; \ ++ case $$flg in \ ++ *$$target_option*) has_opt=yes; break;; \ ++ esac; \ ++ done; \ ++ test $$has_opt = yes ++am__make_dryrun = (target_option=n; $(am__make_running_with_option)) ++am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) + pkgdatadir = $(datadir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ +@@ -45,8 +89,9 @@ + POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ +-DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ +- $(srcdir)/Makefile.in $(srcdir)/gnulib.mk ++DIST_COMMON = $(srcdir)/gnulib.mk $(srcdir)/Makefile.in \ ++ $(srcdir)/Makefile.am $(top_srcdir)/build-aux/depcomp \ ++ $(noinst_HEADERS) $(top_srcdir)/build-aux/test-driver + TESTS = test-alloca-opt$(EXEEXT) test-array_list$(EXEEXT) \ + test-array_oset$(EXEEXT) test-avltree_oset$(EXEEXT) \ + test-binary-io.sh test-btowc1.sh test-btowc2.sh \ +@@ -303,12 +348,10 @@ + LIBRARIES = $(noinst_LIBRARIES) + AR = ar + ARFLAGS = cru +-AM_V_AR = $(am__v_AR_$(V)) +-am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) +-am__v_AR_0 = @echo " AR " $@; +-AM_V_at = $(am__v_at_$(V)) +-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +-am__v_at_0 = @ ++AM_V_AR = $(am__v_AR_@AM_V@) ++am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) ++am__v_AR_0 = @echo " AR " $@; ++am__v_AR_1 = + libtests_a_AR = $(AR) $(ARFLAGS) + am__DEPENDENCIES_1 = + am_libtests_a_OBJECTS = gl_array_list.$(OBJEXT) \ +@@ -968,34 +1011,47 @@ + test_xvasprintf_SOURCES = test-xvasprintf.c + test_xvasprintf_OBJECTS = test-xvasprintf.$(OBJEXT) + test_xvasprintf_DEPENDENCIES = $(am__DEPENDENCIES_2) ++AM_V_P = $(am__v_P_@AM_V@) ++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) ++am__v_P_0 = false ++am__v_P_1 = : ++AM_V_GEN = $(am__v_GEN_@AM_V@) ++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) ++am__v_GEN_0 = @echo " GEN " $@; ++am__v_GEN_1 = ++AM_V_at = $(am__v_at_@AM_V@) ++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) ++am__v_at_0 = @ ++am__v_at_1 = + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib + depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp + am__depfiles_maybe = depfiles + am__mv = mv -f + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-AM_V_CC = $(am__v_CC_$(V)) +-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +-am__v_CC_0 = @echo " CC " $@; ++AM_V_CC = $(am__v_CC_@AM_V@) ++am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) ++am__v_CC_0 = @echo " CC " $@; ++am__v_CC_1 = + CCLD = $(CC) + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-AM_V_CCLD = $(am__v_CCLD_$(V)) +-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CCLD_0 = @echo " CCLD " $@; ++AM_V_CCLD = $(am__v_CCLD_@AM_V@) ++am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) ++am__v_CCLD_0 = @echo " CCLD " $@; ++am__v_CCLD_1 = + CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +-AM_V_CXX = $(am__v_CXX_$(V)) +-am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) +-am__v_CXX_0 = @echo " CXX " $@; ++AM_V_CXX = $(am__v_CXX_@AM_V@) ++am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) ++am__v_CXX_0 = @echo " CXX " $@; ++am__v_CXX_1 = + CXXLD = $(CXX) + CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +-AM_V_CXXLD = $(am__v_CXXLD_$(V)) +-am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) +-am__v_CXXLD_0 = @echo " CXXLD " $@; +-AM_V_GEN = $(am__v_GEN_$(V)) +-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +-am__v_GEN_0 = @echo " GEN " $@; ++AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) ++am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) ++am__v_CXXLD_0 = @echo " CXXLD " $@; ++am__v_CXXLD_1 = + SOURCES = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \ + test-alloca-opt.c test-array_list.c test-array_oset.c \ + test-avltree_oset.c test-binary-io.c test-btowc.c \ +@@ -1088,35 +1144,68 @@ + test-wcrtomb-w32.c test-wctype-h.c \ + $(am__test_wctype_h_c___SOURCES_DIST) test-xalloc-die.c \ + test-xvasprintf.c +-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +- html-recursive info-recursive install-data-recursive \ +- install-dvi-recursive install-exec-recursive \ +- install-html-recursive install-info-recursive \ +- install-pdf-recursive install-ps-recursive install-recursive \ +- installcheck-recursive installdirs-recursive pdf-recursive \ +- ps-recursive uninstall-recursive ++RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ++ ctags-recursive dvi-recursive html-recursive info-recursive \ ++ install-data-recursive install-dvi-recursive \ ++ install-exec-recursive install-html-recursive \ ++ install-info-recursive install-pdf-recursive \ ++ install-ps-recursive install-recursive installcheck-recursive \ ++ installdirs-recursive pdf-recursive ps-recursive \ ++ tags-recursive uninstall-recursive ++am__can_run_installinfo = \ ++ case $$AM_UPDATE_INFO_DIR in \ ++ n|no|NO) false;; \ ++ *) (install-info --version) >/dev/null 2>&1;; \ ++ esac + HEADERS = $(noinst_HEADERS) + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ +- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +- check check-html recheck recheck-html distdir ++am__recursive_targets = \ ++ $(RECURSIVE_TARGETS) \ ++ $(RECURSIVE_CLEAN_TARGETS) \ ++ $(am__extra_recursive_targets) ++AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ ++ check recheck distdir ++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) ++# Read a list of newline-separated strings from the standard input, ++# and print each of them once, without duplicates. Input order is ++# *not* preserved. ++am__uniquify_input = $(AWK) '\ ++ BEGIN { nonempty = 0; } \ ++ { items[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in items) print i; }; } \ ++' ++# Make sure the list of sources is unique. This is necessary because, ++# e.g., the same source file might be shared among _SOURCES variables ++# for different programs/libraries. ++am__define_uniq_tagged_files = \ ++ list='$(am__tagged_files)'; \ ++ unique=`for i in $$list; do \ ++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ ++ done | $(am__uniquify_input)` + ETAGS = etags + CTAGS = ctags +-# If stdout is a non-dumb tty, use colors. If test -t is not supported, +-# then this fails; a conservative approach. Of course do not redirect +-# stdout here, just stderr. +-am__tty_colors = \ +-red=; grn=; lgn=; blu=; std=; \ +-test "X$(AM_COLOR_TESTS)" != Xno \ +-&& test "X$$TERM" != Xdumb \ +-&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \ +-&& { \ +- red=''; \ +- grn=''; \ +- lgn=''; \ +- blu=''; \ +- std=''; \ ++am__tty_colors_dummy = \ ++ mgn= red= grn= lgn= blu= brg= std=; \ ++ am__color_tests=no ++am__tty_colors = { \ ++ $(am__tty_colors_dummy); \ ++ if test "X$(AM_COLOR_TESTS)" = Xno; then \ ++ am__color_tests=no; \ ++ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ ++ am__color_tests=yes; \ ++ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ ++ am__color_tests=yes; \ ++ fi; \ ++ if test $$am__color_tests = yes; then \ ++ red=''; \ ++ grn=''; \ ++ lgn=''; \ ++ blu=''; \ ++ mgn=''; \ ++ brg=''; \ ++ std=''; \ ++ fi; \ + } + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ +@@ -1139,54 +1228,166 @@ + am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +-# Restructured Text title and section. +-am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//' +-am__rst_section = sed 'p;s/./=/g;p;g' +-# Put stdin (possibly several lines separated by ". ") in a box. +-am__text_box = $(AWK) '{ \ +- n = split($$0, lines, "\\. "); max = 0; \ +- for (i = 1; i <= n; ++i) \ +- if (max < length(lines[i])) \ +- max = length(lines[i]); \ +- for (i = 0; i < max; ++i) line = line "="; \ +- print line; \ +- for (i = 1; i <= n; ++i) if (lines[i]) print lines[i];\ +- print line; \ ++am__uninstall_files_from_dir = { \ ++ test -z "$$files" \ ++ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ ++ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ ++ $(am__cd) "$$dir" && rm -f $$files; }; \ ++ } ++am__recheck_rx = ^[ ]*:recheck:[ ]* ++am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* ++am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* ++# A command that, given a newline-separated list of test names on the ++# standard input, print the name of the tests that are to be re-run ++# upon "make recheck". ++am__list_recheck_tests = $(AWK) '{ \ ++ recheck = 1; \ ++ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ ++ { \ ++ if (rc < 0) \ ++ { \ ++ if ((getline line2 < ($$0 ".log")) < 0) \ ++ recheck = 0; \ ++ break; \ ++ } \ ++ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ ++ { \ ++ recheck = 0; \ ++ break; \ ++ } \ ++ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ ++ { \ ++ break; \ ++ } \ ++ }; \ ++ if (recheck) \ ++ print $$0; \ ++ close ($$0 ".trs"); \ ++ close ($$0 ".log"); \ + }' ++# A command that, given a newline-separated list of test names on the ++# standard input, create the global log from their .trs and .log files. ++am__create_global_log = $(AWK) ' \ ++function fatal(msg) \ ++{ \ ++ print "fatal: making $@: " msg | "cat >&2"; \ ++ exit 1; \ ++} \ ++function rst_section(header) \ ++{ \ ++ print header; \ ++ len = length(header); \ ++ for (i = 1; i <= len; i = i + 1) \ ++ printf "="; \ ++ printf "\n\n"; \ ++} \ ++{ \ ++ copy_in_global_log = 1; \ ++ global_test_result = "RUN"; \ ++ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ ++ { \ ++ if (rc < 0) \ ++ fatal("failed to read from " $$0 ".trs"); \ ++ if (line ~ /$(am__global_test_result_rx)/) \ ++ { \ ++ sub("$(am__global_test_result_rx)", "", line); \ ++ sub("[ ]*$$", "", line); \ ++ global_test_result = line; \ ++ } \ ++ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ ++ copy_in_global_log = 0; \ ++ }; \ ++ if (copy_in_global_log) \ ++ { \ ++ rst_section(global_test_result ": " $$0); \ ++ while ((rc = (getline line < ($$0 ".log"))) != 0) \ ++ { \ ++ if (rc < 0) \ ++ fatal("failed to read from " $$0 ".log"); \ ++ print line; \ ++ }; \ ++ printf "\n"; \ ++ }; \ ++ close ($$0 ".trs"); \ ++ close ($$0 ".log"); \ ++}' ++# Restructured Text title. ++am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } + # Solaris 10 'make', and several other traditional 'make' implementations, +-# pass "-e" to $(SHELL). This contradicts POSIX. Work around the problem ++# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it + # by disabling -e (using the XSI extension "set +e") if it's set. + am__sh_e_setup = case $$- in *e*) set +e;; esac ++# Default flags passed to test drivers. ++am__common_driver_flags = \ ++ --color-tests "$$am__color_tests" \ ++ --enable-hard-errors "$$am__enable_hard_errors" \ ++ --expect-failure "$$am__expect_failure" + # To be inserted before the command running the test. Creates the + # directory for the log if needed. Stores in $dir the directory +-# containing $f, in $tst the test, in $log the log, and passes +-# TESTS_ENVIRONMENT. Save and restore TERM around use of +-# TESTS_ENVIRONMENT, in case that unsets it. ++# containing $f, in $tst the test, in $log the log. Executes the ++# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and ++# passes TESTS_ENVIRONMENT. Set up options for the wrapper that ++# will run the test scripts (or their associated LOG_COMPILER, if ++# thy have one). + am__check_pre = \ + $(am__sh_e_setup); \ + $(am__vpath_adj_setup) $(am__vpath_adj) \ ++$(am__tty_colors); \ + srcdir=$(srcdir); export srcdir; \ +-rm -f $@-t; \ +-trap 'st=$$?; rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st' \ +- 1 2 13 15; \ +-am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \ +-test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \ ++case "$@" in \ ++ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ ++ *) am__odir=.;; \ ++esac; \ ++test "x$$am__odir" = x"." || test -d "$$am__odir" \ ++ || $(MKDIR_P) "$$am__odir" || exit $$?; \ + if test -f "./$$f"; then dir=./; \ + elif test -f "$$f"; then dir=; \ + else dir="$(srcdir)/"; fi; \ +-tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \ +-$(TESTS_ENVIRONMENT) ++tst=$$dir$$f; log='$@'; \ ++if test -n '$(DISABLE_HARD_ERRORS)'; then \ ++ am__enable_hard_errors=no; \ ++else \ ++ am__enable_hard_errors=yes; \ ++fi; \ ++case " $(XFAIL_TESTS) " in \ ++ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ ++ am__expect_failure=yes;; \ ++ *) \ ++ am__expect_failure=no;; \ ++esac; \ ++$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) ++# A shell command to get the names of the tests scripts with any registered ++# extension removed (i.e., equivalently, the names of the test logs, with ++# the '.log' extension removed). The result is saved in the shell variable ++# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, ++# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", ++# since that might cause problem with VPATH rewrites for suffix-less tests. ++# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. ++am__set_TESTS_bases = \ ++ bases='$(TEST_LOGS)'; \ ++ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ ++ bases=`echo $$bases` + RECHECK_LOGS = $(TEST_LOGS) + TEST_SUITE_LOG = test-suite.log +-TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html) + TEST_EXTENSIONS = @EXEEXT@ .test ++LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver + LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) ++am__set_b = \ ++ case '$@' in \ ++ */*) \ ++ case '$*' in \ ++ */*) b='$*';; \ ++ *) b=`echo '$@' | sed 's/\.log$$//'`; \ ++ esac;; \ ++ *) \ ++ b='$*';; \ ++ esac + am__test_logs1 = $(TESTS:=.log) + am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) + TEST_LOGS = $(am__test_logs2:.test.log=.log) ++TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver + TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ + $(TEST_LOG_FLAGS) +-TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t) + DIST_SUBDIRS = $(SUBDIRS) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + am__relativize = \ +@@ -2273,7 +2474,7 @@ + $(MAKE) $(AM_MAKEFLAGS) all-recursive + + .SUFFIXES: +-.SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT) ++.SUFFIXES: .c .cc .log .o .obj .test .test$(EXEEXT) .trs + $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/gnulib.mk $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ +@@ -2295,6 +2496,7 @@ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; ++$(srcdir)/gnulib.mk: + + $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +@@ -2310,7 +2512,8 @@ + + clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +-libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES) ++ ++libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES) $(EXTRA_libtests_a_DEPENDENCIES) + $(AM_V_at)-rm -f libtests.a + $(AM_V_AR)$(libtests_a_AR) libtests.a $(libtests_a_OBJECTS) $(libtests_a_LIBADD) + $(AM_V_at)$(RANLIB) libtests.a +@@ -2320,385 +2523,512 @@ + + clean-noinstPROGRAMS: + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) +-test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES) ++ ++test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES) $(EXTRA_test_alloca_opt_DEPENDENCIES) + @rm -f test-alloca-opt$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_alloca_opt_OBJECTS) $(test_alloca_opt_LDADD) $(LIBS) +-test-array_list$(EXEEXT): $(test_array_list_OBJECTS) $(test_array_list_DEPENDENCIES) ++ ++test-array_list$(EXEEXT): $(test_array_list_OBJECTS) $(test_array_list_DEPENDENCIES) $(EXTRA_test_array_list_DEPENDENCIES) + @rm -f test-array_list$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_array_list_OBJECTS) $(test_array_list_LDADD) $(LIBS) +-test-array_oset$(EXEEXT): $(test_array_oset_OBJECTS) $(test_array_oset_DEPENDENCIES) ++ ++test-array_oset$(EXEEXT): $(test_array_oset_OBJECTS) $(test_array_oset_DEPENDENCIES) $(EXTRA_test_array_oset_DEPENDENCIES) + @rm -f test-array_oset$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_array_oset_OBJECTS) $(test_array_oset_LDADD) $(LIBS) +-test-avltree_oset$(EXEEXT): $(test_avltree_oset_OBJECTS) $(test_avltree_oset_DEPENDENCIES) ++ ++test-avltree_oset$(EXEEXT): $(test_avltree_oset_OBJECTS) $(test_avltree_oset_DEPENDENCIES) $(EXTRA_test_avltree_oset_DEPENDENCIES) + @rm -f test-avltree_oset$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_avltree_oset_OBJECTS) $(test_avltree_oset_LDADD) $(LIBS) +-test-binary-io$(EXEEXT): $(test_binary_io_OBJECTS) $(test_binary_io_DEPENDENCIES) ++ ++test-binary-io$(EXEEXT): $(test_binary_io_OBJECTS) $(test_binary_io_DEPENDENCIES) $(EXTRA_test_binary_io_DEPENDENCIES) + @rm -f test-binary-io$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_binary_io_OBJECTS) $(test_binary_io_LDADD) $(LIBS) +-test-btowc$(EXEEXT): $(test_btowc_OBJECTS) $(test_btowc_DEPENDENCIES) ++ ++test-btowc$(EXEEXT): $(test_btowc_OBJECTS) $(test_btowc_DEPENDENCIES) $(EXTRA_test_btowc_DEPENDENCIES) + @rm -f test-btowc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_btowc_OBJECTS) $(test_btowc_LDADD) $(LIBS) +-test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES) ++ ++test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES) $(EXTRA_test_c_ctype_DEPENDENCIES) + @rm -f test-c-ctype$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_c_ctype_OBJECTS) $(test_c_ctype_LDADD) $(LIBS) +-test-c-stack$(EXEEXT): $(test_c_stack_OBJECTS) $(test_c_stack_DEPENDENCIES) ++ ++test-c-stack$(EXEEXT): $(test_c_stack_OBJECTS) $(test_c_stack_DEPENDENCIES) $(EXTRA_test_c_stack_DEPENDENCIES) + @rm -f test-c-stack$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_c_stack_OBJECTS) $(test_c_stack_LDADD) $(LIBS) +-test-c-strcasecmp$(EXEEXT): $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_DEPENDENCIES) ++ ++test-c-strcasecmp$(EXEEXT): $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_DEPENDENCIES) $(EXTRA_test_c_strcasecmp_DEPENDENCIES) + @rm -f test-c-strcasecmp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_LDADD) $(LIBS) +-test-c-strncasecmp$(EXEEXT): $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_DEPENDENCIES) ++ ++test-c-strncasecmp$(EXEEXT): $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_DEPENDENCIES) $(EXTRA_test_c_strncasecmp_DEPENDENCIES) + @rm -f test-c-strncasecmp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_LDADD) $(LIBS) +-test-canonicalize-lgpl$(EXEEXT): $(test_canonicalize_lgpl_OBJECTS) $(test_canonicalize_lgpl_DEPENDENCIES) ++ ++test-canonicalize-lgpl$(EXEEXT): $(test_canonicalize_lgpl_OBJECTS) $(test_canonicalize_lgpl_DEPENDENCIES) $(EXTRA_test_canonicalize_lgpl_DEPENDENCIES) + @rm -f test-canonicalize-lgpl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_canonicalize_lgpl_OBJECTS) $(test_canonicalize_lgpl_LDADD) $(LIBS) +-test-cloexec$(EXEEXT): $(test_cloexec_OBJECTS) $(test_cloexec_DEPENDENCIES) ++ ++test-cloexec$(EXEEXT): $(test_cloexec_OBJECTS) $(test_cloexec_DEPENDENCIES) $(EXTRA_test_cloexec_DEPENDENCIES) + @rm -f test-cloexec$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_cloexec_OBJECTS) $(test_cloexec_LDADD) $(LIBS) +-test-closein$(EXEEXT): $(test_closein_OBJECTS) $(test_closein_DEPENDENCIES) ++ ++test-closein$(EXEEXT): $(test_closein_OBJECTS) $(test_closein_DEPENDENCIES) $(EXTRA_test_closein_DEPENDENCIES) + @rm -f test-closein$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_closein_OBJECTS) $(test_closein_LDADD) $(LIBS) +-test-dirname$(EXEEXT): $(test_dirname_OBJECTS) $(test_dirname_DEPENDENCIES) ++ ++test-dirname$(EXEEXT): $(test_dirname_OBJECTS) $(test_dirname_DEPENDENCIES) $(EXTRA_test_dirname_DEPENDENCIES) + @rm -f test-dirname$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_dirname_OBJECTS) $(test_dirname_LDADD) $(LIBS) +-test-dup-safer$(EXEEXT): $(test_dup_safer_OBJECTS) $(test_dup_safer_DEPENDENCIES) ++ ++test-dup-safer$(EXEEXT): $(test_dup_safer_OBJECTS) $(test_dup_safer_DEPENDENCIES) $(EXTRA_test_dup_safer_DEPENDENCIES) + @rm -f test-dup-safer$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_dup_safer_OBJECTS) $(test_dup_safer_LDADD) $(LIBS) +-test-dup2$(EXEEXT): $(test_dup2_OBJECTS) $(test_dup2_DEPENDENCIES) ++ ++test-dup2$(EXEEXT): $(test_dup2_OBJECTS) $(test_dup2_DEPENDENCIES) $(EXTRA_test_dup2_DEPENDENCIES) + @rm -f test-dup2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_dup2_OBJECTS) $(test_dup2_LDADD) $(LIBS) +-test-environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES) ++ ++test-environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES) $(EXTRA_test_environ_DEPENDENCIES) + @rm -f test-environ$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_environ_OBJECTS) $(test_environ_LDADD) $(LIBS) +-test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES) ++ ++test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES) $(EXTRA_test_errno_DEPENDENCIES) + @rm -f test-errno$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_errno_OBJECTS) $(test_errno_LDADD) $(LIBS) +-test-fcntl$(EXEEXT): $(test_fcntl_OBJECTS) $(test_fcntl_DEPENDENCIES) ++ ++test-fcntl$(EXEEXT): $(test_fcntl_OBJECTS) $(test_fcntl_DEPENDENCIES) $(EXTRA_test_fcntl_DEPENDENCIES) + @rm -f test-fcntl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fcntl_OBJECTS) $(test_fcntl_LDADD) $(LIBS) +-test-fcntl-h$(EXEEXT): $(test_fcntl_h_OBJECTS) $(test_fcntl_h_DEPENDENCIES) ++ ++test-fcntl-h$(EXEEXT): $(test_fcntl_h_OBJECTS) $(test_fcntl_h_DEPENDENCIES) $(EXTRA_test_fcntl_h_DEPENDENCIES) + @rm -f test-fcntl-h$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fcntl_h_OBJECTS) $(test_fcntl_h_LDADD) $(LIBS) +-test-fcntl-h-c++$(EXEEXT): $(test_fcntl_h_c___OBJECTS) $(test_fcntl_h_c___DEPENDENCIES) ++ ++test-fcntl-h-c++$(EXEEXT): $(test_fcntl_h_c___OBJECTS) $(test_fcntl_h_c___DEPENDENCIES) $(EXTRA_test_fcntl_h_c___DEPENDENCIES) + @rm -f test-fcntl-h-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_fcntl_h_c___OBJECTS) $(test_fcntl_h_c___LDADD) $(LIBS) +-test-fflush$(EXEEXT): $(test_fflush_OBJECTS) $(test_fflush_DEPENDENCIES) ++ ++test-fflush$(EXEEXT): $(test_fflush_OBJECTS) $(test_fflush_DEPENDENCIES) $(EXTRA_test_fflush_DEPENDENCIES) + @rm -f test-fflush$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fflush_OBJECTS) $(test_fflush_LDADD) $(LIBS) +-test-fflush2$(EXEEXT): $(test_fflush2_OBJECTS) $(test_fflush2_DEPENDENCIES) ++ ++test-fflush2$(EXEEXT): $(test_fflush2_OBJECTS) $(test_fflush2_DEPENDENCIES) $(EXTRA_test_fflush2_DEPENDENCIES) + @rm -f test-fflush2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fflush2_OBJECTS) $(test_fflush2_LDADD) $(LIBS) +-test-filenamecat$(EXEEXT): $(test_filenamecat_OBJECTS) $(test_filenamecat_DEPENDENCIES) ++ ++test-filenamecat$(EXEEXT): $(test_filenamecat_OBJECTS) $(test_filenamecat_DEPENDENCIES) $(EXTRA_test_filenamecat_DEPENDENCIES) + @rm -f test-filenamecat$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_filenamecat_OBJECTS) $(test_filenamecat_LDADD) $(LIBS) +-test-fopen$(EXEEXT): $(test_fopen_OBJECTS) $(test_fopen_DEPENDENCIES) ++ ++test-fopen$(EXEEXT): $(test_fopen_OBJECTS) $(test_fopen_DEPENDENCIES) $(EXTRA_test_fopen_DEPENDENCIES) + @rm -f test-fopen$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fopen_OBJECTS) $(test_fopen_LDADD) $(LIBS) +-test-fopen-safer$(EXEEXT): $(test_fopen_safer_OBJECTS) $(test_fopen_safer_DEPENDENCIES) ++ ++test-fopen-safer$(EXEEXT): $(test_fopen_safer_OBJECTS) $(test_fopen_safer_DEPENDENCIES) $(EXTRA_test_fopen_safer_DEPENDENCIES) + @rm -f test-fopen-safer$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fopen_safer_OBJECTS) $(test_fopen_safer_LDADD) $(LIBS) +-test-fpending$(EXEEXT): $(test_fpending_OBJECTS) $(test_fpending_DEPENDENCIES) ++ ++test-fpending$(EXEEXT): $(test_fpending_OBJECTS) $(test_fpending_DEPENDENCIES) $(EXTRA_test_fpending_DEPENDENCIES) + @rm -f test-fpending$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fpending_OBJECTS) $(test_fpending_LDADD) $(LIBS) +-test-fpurge$(EXEEXT): $(test_fpurge_OBJECTS) $(test_fpurge_DEPENDENCIES) ++ ++test-fpurge$(EXEEXT): $(test_fpurge_OBJECTS) $(test_fpurge_DEPENDENCIES) $(EXTRA_test_fpurge_DEPENDENCIES) + @rm -f test-fpurge$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fpurge_OBJECTS) $(test_fpurge_LDADD) $(LIBS) +-test-freadahead$(EXEEXT): $(test_freadahead_OBJECTS) $(test_freadahead_DEPENDENCIES) ++ ++test-freadahead$(EXEEXT): $(test_freadahead_OBJECTS) $(test_freadahead_DEPENDENCIES) $(EXTRA_test_freadahead_DEPENDENCIES) + @rm -f test-freadahead$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_freadahead_OBJECTS) $(test_freadahead_LDADD) $(LIBS) +-test-freading$(EXEEXT): $(test_freading_OBJECTS) $(test_freading_DEPENDENCIES) ++ ++test-freading$(EXEEXT): $(test_freading_OBJECTS) $(test_freading_DEPENDENCIES) $(EXTRA_test_freading_DEPENDENCIES) + @rm -f test-freading$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_freading_OBJECTS) $(test_freading_LDADD) $(LIBS) +-test-frexp-nolibm$(EXEEXT): $(test_frexp_nolibm_OBJECTS) $(test_frexp_nolibm_DEPENDENCIES) ++ ++test-frexp-nolibm$(EXEEXT): $(test_frexp_nolibm_OBJECTS) $(test_frexp_nolibm_DEPENDENCIES) $(EXTRA_test_frexp_nolibm_DEPENDENCIES) + @rm -f test-frexp-nolibm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_frexp_nolibm_OBJECTS) $(test_frexp_nolibm_LDADD) $(LIBS) +-test-frexpl-nolibm$(EXEEXT): $(test_frexpl_nolibm_OBJECTS) $(test_frexpl_nolibm_DEPENDENCIES) ++ ++test-frexpl-nolibm$(EXEEXT): $(test_frexpl_nolibm_OBJECTS) $(test_frexpl_nolibm_DEPENDENCIES) $(EXTRA_test_frexpl_nolibm_DEPENDENCIES) + @rm -f test-frexpl-nolibm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_frexpl_nolibm_OBJECTS) $(test_frexpl_nolibm_LDADD) $(LIBS) +-test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES) ++ ++test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES) $(EXTRA_test_fseeko_DEPENDENCIES) + @rm -f test-fseeko$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fseeko_OBJECTS) $(test_fseeko_LDADD) $(LIBS) +-test-ftell$(EXEEXT): $(test_ftell_OBJECTS) $(test_ftell_DEPENDENCIES) ++ ++test-ftell$(EXEEXT): $(test_ftell_OBJECTS) $(test_ftell_DEPENDENCIES) $(EXTRA_test_ftell_DEPENDENCIES) + @rm -f test-ftell$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_ftell_OBJECTS) $(test_ftell_LDADD) $(LIBS) +-test-ftell3$(EXEEXT): $(test_ftell3_OBJECTS) $(test_ftell3_DEPENDENCIES) ++ ++test-ftell3$(EXEEXT): $(test_ftell3_OBJECTS) $(test_ftell3_DEPENDENCIES) $(EXTRA_test_ftell3_DEPENDENCIES) + @rm -f test-ftell3$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_ftell3_OBJECTS) $(test_ftell3_LDADD) $(LIBS) +-test-ftello$(EXEEXT): $(test_ftello_OBJECTS) $(test_ftello_DEPENDENCIES) ++ ++test-ftello$(EXEEXT): $(test_ftello_OBJECTS) $(test_ftello_DEPENDENCIES) $(EXTRA_test_ftello_DEPENDENCIES) + @rm -f test-ftello$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_ftello_OBJECTS) $(test_ftello_LDADD) $(LIBS) +-test-ftello3$(EXEEXT): $(test_ftello3_OBJECTS) $(test_ftello3_DEPENDENCIES) ++ ++test-ftello3$(EXEEXT): $(test_ftello3_OBJECTS) $(test_ftello3_DEPENDENCIES) $(EXTRA_test_ftello3_DEPENDENCIES) + @rm -f test-ftello3$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_ftello3_OBJECTS) $(test_ftello3_LDADD) $(LIBS) +-test-getdtablesize$(EXEEXT): $(test_getdtablesize_OBJECTS) $(test_getdtablesize_DEPENDENCIES) ++ ++test-getdtablesize$(EXEEXT): $(test_getdtablesize_OBJECTS) $(test_getdtablesize_DEPENDENCIES) $(EXTRA_test_getdtablesize_DEPENDENCIES) + @rm -f test-getdtablesize$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_getdtablesize_OBJECTS) $(test_getdtablesize_LDADD) $(LIBS) +-test-getopt$(EXEEXT): $(test_getopt_OBJECTS) $(test_getopt_DEPENDENCIES) ++ ++test-getopt$(EXEEXT): $(test_getopt_OBJECTS) $(test_getopt_DEPENDENCIES) $(EXTRA_test_getopt_DEPENDENCIES) + @rm -f test-getopt$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_getopt_OBJECTS) $(test_getopt_LDADD) $(LIBS) +-test-gettimeofday$(EXEEXT): $(test_gettimeofday_OBJECTS) $(test_gettimeofday_DEPENDENCIES) ++ ++test-gettimeofday$(EXEEXT): $(test_gettimeofday_OBJECTS) $(test_gettimeofday_DEPENDENCIES) $(EXTRA_test_gettimeofday_DEPENDENCIES) + @rm -f test-gettimeofday$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_gettimeofday_OBJECTS) $(test_gettimeofday_LDADD) $(LIBS) +-test-ignore-value$(EXEEXT): $(test_ignore_value_OBJECTS) $(test_ignore_value_DEPENDENCIES) ++ ++test-ignore-value$(EXEEXT): $(test_ignore_value_OBJECTS) $(test_ignore_value_DEPENDENCIES) $(EXTRA_test_ignore_value_DEPENDENCIES) + @rm -f test-ignore-value$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_ignore_value_OBJECTS) $(test_ignore_value_LDADD) $(LIBS) +-test-isnand-nolibm$(EXEEXT): $(test_isnand_nolibm_OBJECTS) $(test_isnand_nolibm_DEPENDENCIES) ++ ++test-isnand-nolibm$(EXEEXT): $(test_isnand_nolibm_OBJECTS) $(test_isnand_nolibm_DEPENDENCIES) $(EXTRA_test_isnand_nolibm_DEPENDENCIES) + @rm -f test-isnand-nolibm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_isnand_nolibm_OBJECTS) $(test_isnand_nolibm_LDADD) $(LIBS) +-test-isnanf-nolibm$(EXEEXT): $(test_isnanf_nolibm_OBJECTS) $(test_isnanf_nolibm_DEPENDENCIES) ++ ++test-isnanf-nolibm$(EXEEXT): $(test_isnanf_nolibm_OBJECTS) $(test_isnanf_nolibm_DEPENDENCIES) $(EXTRA_test_isnanf_nolibm_DEPENDENCIES) + @rm -f test-isnanf-nolibm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_isnanf_nolibm_OBJECTS) $(test_isnanf_nolibm_LDADD) $(LIBS) +-test-isnanl-nolibm$(EXEEXT): $(test_isnanl_nolibm_OBJECTS) $(test_isnanl_nolibm_DEPENDENCIES) ++ ++test-isnanl-nolibm$(EXEEXT): $(test_isnanl_nolibm_OBJECTS) $(test_isnanl_nolibm_DEPENDENCIES) $(EXTRA_test_isnanl_nolibm_DEPENDENCIES) + @rm -f test-isnanl-nolibm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_isnanl_nolibm_OBJECTS) $(test_isnanl_nolibm_LDADD) $(LIBS) +-test-langinfo$(EXEEXT): $(test_langinfo_OBJECTS) $(test_langinfo_DEPENDENCIES) ++ ++test-langinfo$(EXEEXT): $(test_langinfo_OBJECTS) $(test_langinfo_DEPENDENCIES) $(EXTRA_test_langinfo_DEPENDENCIES) + @rm -f test-langinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_langinfo_OBJECTS) $(test_langinfo_LDADD) $(LIBS) +-test-langinfo-c++$(EXEEXT): $(test_langinfo_c___OBJECTS) $(test_langinfo_c___DEPENDENCIES) ++ ++test-langinfo-c++$(EXEEXT): $(test_langinfo_c___OBJECTS) $(test_langinfo_c___DEPENDENCIES) $(EXTRA_test_langinfo_c___DEPENDENCIES) + @rm -f test-langinfo-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_langinfo_c___OBJECTS) $(test_langinfo_c___LDADD) $(LIBS) +-test-link$(EXEEXT): $(test_link_OBJECTS) $(test_link_DEPENDENCIES) ++ ++test-link$(EXEEXT): $(test_link_OBJECTS) $(test_link_DEPENDENCIES) $(EXTRA_test_link_DEPENDENCIES) + @rm -f test-link$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_link_OBJECTS) $(test_link_LDADD) $(LIBS) +-test-linkedhash_list$(EXEEXT): $(test_linkedhash_list_OBJECTS) $(test_linkedhash_list_DEPENDENCIES) ++ ++test-linkedhash_list$(EXEEXT): $(test_linkedhash_list_OBJECTS) $(test_linkedhash_list_DEPENDENCIES) $(EXTRA_test_linkedhash_list_DEPENDENCIES) + @rm -f test-linkedhash_list$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_linkedhash_list_OBJECTS) $(test_linkedhash_list_LDADD) $(LIBS) +-test-locale$(EXEEXT): $(test_locale_OBJECTS) $(test_locale_DEPENDENCIES) ++ ++test-locale$(EXEEXT): $(test_locale_OBJECTS) $(test_locale_DEPENDENCIES) $(EXTRA_test_locale_DEPENDENCIES) + @rm -f test-locale$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_locale_OBJECTS) $(test_locale_LDADD) $(LIBS) +-test-locale-c++$(EXEEXT): $(test_locale_c___OBJECTS) $(test_locale_c___DEPENDENCIES) ++ ++test-locale-c++$(EXEEXT): $(test_locale_c___OBJECTS) $(test_locale_c___DEPENDENCIES) $(EXTRA_test_locale_c___DEPENDENCIES) + @rm -f test-locale-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_locale_c___OBJECTS) $(test_locale_c___LDADD) $(LIBS) +-test-localename$(EXEEXT): $(test_localename_OBJECTS) $(test_localename_DEPENDENCIES) ++ ++test-localename$(EXEEXT): $(test_localename_OBJECTS) $(test_localename_DEPENDENCIES) $(EXTRA_test_localename_DEPENDENCIES) + @rm -f test-localename$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_localename_OBJECTS) $(test_localename_LDADD) $(LIBS) +-test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES) ++ ++test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES) $(EXTRA_test_lseek_DEPENDENCIES) + @rm -f test-lseek$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_lseek_OBJECTS) $(test_lseek_LDADD) $(LIBS) +-test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES) ++ ++test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES) $(EXTRA_test_lstat_DEPENDENCIES) + @rm -f test-lstat$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_lstat_OBJECTS) $(test_lstat_LDADD) $(LIBS) +-test-malloc-gnu$(EXEEXT): $(test_malloc_gnu_OBJECTS) $(test_malloc_gnu_DEPENDENCIES) ++ ++test-malloc-gnu$(EXEEXT): $(test_malloc_gnu_OBJECTS) $(test_malloc_gnu_DEPENDENCIES) $(EXTRA_test_malloc_gnu_DEPENDENCIES) + @rm -f test-malloc-gnu$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_malloc_gnu_OBJECTS) $(test_malloc_gnu_LDADD) $(LIBS) +-test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES) ++ ++test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES) $(EXTRA_test_malloca_DEPENDENCIES) + @rm -f test-malloca$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_malloca_OBJECTS) $(test_malloca_LDADD) $(LIBS) +-test-math$(EXEEXT): $(test_math_OBJECTS) $(test_math_DEPENDENCIES) ++ ++test-math$(EXEEXT): $(test_math_OBJECTS) $(test_math_DEPENDENCIES) $(EXTRA_test_math_DEPENDENCIES) + @rm -f test-math$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_math_OBJECTS) $(test_math_LDADD) $(LIBS) +-test-math-c++$(EXEEXT): $(test_math_c___OBJECTS) $(test_math_c___DEPENDENCIES) ++ ++test-math-c++$(EXEEXT): $(test_math_c___OBJECTS) $(test_math_c___DEPENDENCIES) $(EXTRA_test_math_c___DEPENDENCIES) + @rm -f test-math-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_math_c___OBJECTS) $(test_math_c___LDADD) $(LIBS) +-test-mbrtowc$(EXEEXT): $(test_mbrtowc_OBJECTS) $(test_mbrtowc_DEPENDENCIES) ++ ++test-mbrtowc$(EXEEXT): $(test_mbrtowc_OBJECTS) $(test_mbrtowc_DEPENDENCIES) $(EXTRA_test_mbrtowc_DEPENDENCIES) + @rm -f test-mbrtowc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_mbrtowc_OBJECTS) $(test_mbrtowc_LDADD) $(LIBS) +-test-mbrtowc-w32$(EXEEXT): $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_DEPENDENCIES) ++ ++test-mbrtowc-w32$(EXEEXT): $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_DEPENDENCIES) $(EXTRA_test_mbrtowc_w32_DEPENDENCIES) + @rm -f test-mbrtowc-w32$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_LDADD) $(LIBS) +-test-mbsinit$(EXEEXT): $(test_mbsinit_OBJECTS) $(test_mbsinit_DEPENDENCIES) ++ ++test-mbsinit$(EXEEXT): $(test_mbsinit_OBJECTS) $(test_mbsinit_DEPENDENCIES) $(EXTRA_test_mbsinit_DEPENDENCIES) + @rm -f test-mbsinit$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_mbsinit_OBJECTS) $(test_mbsinit_LDADD) $(LIBS) +-test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES) ++ ++test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES) $(EXTRA_test_memchr_DEPENDENCIES) + @rm -f test-memchr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_memchr_OBJECTS) $(test_memchr_LDADD) $(LIBS) +-test-memchr2$(EXEEXT): $(test_memchr2_OBJECTS) $(test_memchr2_DEPENDENCIES) ++ ++test-memchr2$(EXEEXT): $(test_memchr2_OBJECTS) $(test_memchr2_DEPENDENCIES) $(EXTRA_test_memchr2_DEPENDENCIES) + @rm -f test-memchr2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_memchr2_OBJECTS) $(test_memchr2_LDADD) $(LIBS) +-test-nl_langinfo$(EXEEXT): $(test_nl_langinfo_OBJECTS) $(test_nl_langinfo_DEPENDENCIES) ++ ++test-nl_langinfo$(EXEEXT): $(test_nl_langinfo_OBJECTS) $(test_nl_langinfo_DEPENDENCIES) $(EXTRA_test_nl_langinfo_DEPENDENCIES) + @rm -f test-nl_langinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_nl_langinfo_OBJECTS) $(test_nl_langinfo_LDADD) $(LIBS) +-test-open$(EXEEXT): $(test_open_OBJECTS) $(test_open_DEPENDENCIES) ++ ++test-open$(EXEEXT): $(test_open_OBJECTS) $(test_open_DEPENDENCIES) $(EXTRA_test_open_DEPENDENCIES) + @rm -f test-open$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_open_OBJECTS) $(test_open_LDADD) $(LIBS) +-test-pipe2$(EXEEXT): $(test_pipe2_OBJECTS) $(test_pipe2_DEPENDENCIES) ++ ++test-pipe2$(EXEEXT): $(test_pipe2_OBJECTS) $(test_pipe2_DEPENDENCIES) $(EXTRA_test_pipe2_DEPENDENCIES) + @rm -f test-pipe2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_pipe2_OBJECTS) $(test_pipe2_LDADD) $(LIBS) +-test-posix_spawn1$(EXEEXT): $(test_posix_spawn1_OBJECTS) $(test_posix_spawn1_DEPENDENCIES) ++ ++test-posix_spawn1$(EXEEXT): $(test_posix_spawn1_OBJECTS) $(test_posix_spawn1_DEPENDENCIES) $(EXTRA_test_posix_spawn1_DEPENDENCIES) + @rm -f test-posix_spawn1$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_posix_spawn1_OBJECTS) $(test_posix_spawn1_LDADD) $(LIBS) +-test-posix_spawn2$(EXEEXT): $(test_posix_spawn2_OBJECTS) $(test_posix_spawn2_DEPENDENCIES) ++ ++test-posix_spawn2$(EXEEXT): $(test_posix_spawn2_OBJECTS) $(test_posix_spawn2_DEPENDENCIES) $(EXTRA_test_posix_spawn2_DEPENDENCIES) + @rm -f test-posix_spawn2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_posix_spawn2_OBJECTS) $(test_posix_spawn2_LDADD) $(LIBS) +-test-printf-frexp$(EXEEXT): $(test_printf_frexp_OBJECTS) $(test_printf_frexp_DEPENDENCIES) ++ ++test-printf-frexp$(EXEEXT): $(test_printf_frexp_OBJECTS) $(test_printf_frexp_DEPENDENCIES) $(EXTRA_test_printf_frexp_DEPENDENCIES) + @rm -f test-printf-frexp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_printf_frexp_OBJECTS) $(test_printf_frexp_LDADD) $(LIBS) +-test-printf-frexpl$(EXEEXT): $(test_printf_frexpl_OBJECTS) $(test_printf_frexpl_DEPENDENCIES) ++ ++test-printf-frexpl$(EXEEXT): $(test_printf_frexpl_OBJECTS) $(test_printf_frexpl_DEPENDENCIES) $(EXTRA_test_printf_frexpl_DEPENDENCIES) + @rm -f test-printf-frexpl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_printf_frexpl_OBJECTS) $(test_printf_frexpl_LDADD) $(LIBS) +-test-quotearg-simple$(EXEEXT): $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_DEPENDENCIES) ++ ++test-quotearg-simple$(EXEEXT): $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_DEPENDENCIES) $(EXTRA_test_quotearg_simple_DEPENDENCIES) + @rm -f test-quotearg-simple$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_LDADD) $(LIBS) +-test-rawmemchr$(EXEEXT): $(test_rawmemchr_OBJECTS) $(test_rawmemchr_DEPENDENCIES) ++ ++test-rawmemchr$(EXEEXT): $(test_rawmemchr_OBJECTS) $(test_rawmemchr_DEPENDENCIES) $(EXTRA_test_rawmemchr_DEPENDENCIES) + @rm -f test-rawmemchr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_rawmemchr_OBJECTS) $(test_rawmemchr_LDADD) $(LIBS) +-test-readlink$(EXEEXT): $(test_readlink_OBJECTS) $(test_readlink_DEPENDENCIES) ++ ++test-readlink$(EXEEXT): $(test_readlink_OBJECTS) $(test_readlink_DEPENDENCIES) $(EXTRA_test_readlink_DEPENDENCIES) + @rm -f test-readlink$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_readlink_OBJECTS) $(test_readlink_LDADD) $(LIBS) +-test-rename$(EXEEXT): $(test_rename_OBJECTS) $(test_rename_DEPENDENCIES) ++ ++test-rename$(EXEEXT): $(test_rename_OBJECTS) $(test_rename_DEPENDENCIES) $(EXTRA_test_rename_DEPENDENCIES) + @rm -f test-rename$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_rename_OBJECTS) $(test_rename_LDADD) $(LIBS) +-test-rmdir$(EXEEXT): $(test_rmdir_OBJECTS) $(test_rmdir_DEPENDENCIES) ++ ++test-rmdir$(EXEEXT): $(test_rmdir_OBJECTS) $(test_rmdir_DEPENDENCIES) $(EXTRA_test_rmdir_DEPENDENCIES) + @rm -f test-rmdir$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_rmdir_OBJECTS) $(test_rmdir_LDADD) $(LIBS) +-test-sched$(EXEEXT): $(test_sched_OBJECTS) $(test_sched_DEPENDENCIES) ++ ++test-sched$(EXEEXT): $(test_sched_OBJECTS) $(test_sched_DEPENDENCIES) $(EXTRA_test_sched_DEPENDENCIES) + @rm -f test-sched$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sched_OBJECTS) $(test_sched_LDADD) $(LIBS) +-test-setenv$(EXEEXT): $(test_setenv_OBJECTS) $(test_setenv_DEPENDENCIES) ++ ++test-setenv$(EXEEXT): $(test_setenv_OBJECTS) $(test_setenv_DEPENDENCIES) $(EXTRA_test_setenv_DEPENDENCIES) + @rm -f test-setenv$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_setenv_OBJECTS) $(test_setenv_LDADD) $(LIBS) +-test-setlocale1$(EXEEXT): $(test_setlocale1_OBJECTS) $(test_setlocale1_DEPENDENCIES) ++ ++test-setlocale1$(EXEEXT): $(test_setlocale1_OBJECTS) $(test_setlocale1_DEPENDENCIES) $(EXTRA_test_setlocale1_DEPENDENCIES) + @rm -f test-setlocale1$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_setlocale1_OBJECTS) $(test_setlocale1_LDADD) $(LIBS) +-test-setlocale2$(EXEEXT): $(test_setlocale2_OBJECTS) $(test_setlocale2_DEPENDENCIES) ++ ++test-setlocale2$(EXEEXT): $(test_setlocale2_OBJECTS) $(test_setlocale2_DEPENDENCIES) $(EXTRA_test_setlocale2_DEPENDENCIES) + @rm -f test-setlocale2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_setlocale2_OBJECTS) $(test_setlocale2_LDADD) $(LIBS) +-test-sigaction$(EXEEXT): $(test_sigaction_OBJECTS) $(test_sigaction_DEPENDENCIES) ++ ++test-sigaction$(EXEEXT): $(test_sigaction_OBJECTS) $(test_sigaction_DEPENDENCIES) $(EXTRA_test_sigaction_DEPENDENCIES) + @rm -f test-sigaction$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sigaction_OBJECTS) $(test_sigaction_LDADD) $(LIBS) +-test-signal$(EXEEXT): $(test_signal_OBJECTS) $(test_signal_DEPENDENCIES) ++ ++test-signal$(EXEEXT): $(test_signal_OBJECTS) $(test_signal_DEPENDENCIES) $(EXTRA_test_signal_DEPENDENCIES) + @rm -f test-signal$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_signal_OBJECTS) $(test_signal_LDADD) $(LIBS) +-test-signal-c++$(EXEEXT): $(test_signal_c___OBJECTS) $(test_signal_c___DEPENDENCIES) ++ ++test-signal-c++$(EXEEXT): $(test_signal_c___OBJECTS) $(test_signal_c___DEPENDENCIES) $(EXTRA_test_signal_c___DEPENDENCIES) + @rm -f test-signal-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_signal_c___OBJECTS) $(test_signal_c___LDADD) $(LIBS) +-test-signbit$(EXEEXT): $(test_signbit_OBJECTS) $(test_signbit_DEPENDENCIES) ++ ++test-signbit$(EXEEXT): $(test_signbit_OBJECTS) $(test_signbit_DEPENDENCIES) $(EXTRA_test_signbit_DEPENDENCIES) + @rm -f test-signbit$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_signbit_OBJECTS) $(test_signbit_LDADD) $(LIBS) +-test-snprintf$(EXEEXT): $(test_snprintf_OBJECTS) $(test_snprintf_DEPENDENCIES) ++ ++test-snprintf$(EXEEXT): $(test_snprintf_OBJECTS) $(test_snprintf_DEPENDENCIES) $(EXTRA_test_snprintf_DEPENDENCIES) + @rm -f test-snprintf$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_snprintf_OBJECTS) $(test_snprintf_LDADD) $(LIBS) +-test-spawn$(EXEEXT): $(test_spawn_OBJECTS) $(test_spawn_DEPENDENCIES) ++ ++test-spawn$(EXEEXT): $(test_spawn_OBJECTS) $(test_spawn_DEPENDENCIES) $(EXTRA_test_spawn_DEPENDENCIES) + @rm -f test-spawn$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_spawn_OBJECTS) $(test_spawn_LDADD) $(LIBS) +-test-spawn-c++$(EXEEXT): $(test_spawn_c___OBJECTS) $(test_spawn_c___DEPENDENCIES) ++ ++test-spawn-c++$(EXEEXT): $(test_spawn_c___OBJECTS) $(test_spawn_c___DEPENDENCIES) $(EXTRA_test_spawn_c___DEPENDENCIES) + @rm -f test-spawn-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_spawn_c___OBJECTS) $(test_spawn_c___LDADD) $(LIBS) +-test-spawn-pipe$(EXEEXT): $(test_spawn_pipe_OBJECTS) $(test_spawn_pipe_DEPENDENCIES) ++ ++test-spawn-pipe$(EXEEXT): $(test_spawn_pipe_OBJECTS) $(test_spawn_pipe_DEPENDENCIES) $(EXTRA_test_spawn_pipe_DEPENDENCIES) + @rm -f test-spawn-pipe$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_spawn_pipe_OBJECTS) $(test_spawn_pipe_LDADD) $(LIBS) +-test-stat$(EXEEXT): $(test_stat_OBJECTS) $(test_stat_DEPENDENCIES) ++ ++test-stat$(EXEEXT): $(test_stat_OBJECTS) $(test_stat_DEPENDENCIES) $(EXTRA_test_stat_DEPENDENCIES) + @rm -f test-stat$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_stat_OBJECTS) $(test_stat_LDADD) $(LIBS) +-test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES) ++ ++test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES) $(EXTRA_test_stdbool_DEPENDENCIES) + @rm -f test-stdbool$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_stdbool_OBJECTS) $(test_stdbool_LDADD) $(LIBS) +-test-stddef$(EXEEXT): $(test_stddef_OBJECTS) $(test_stddef_DEPENDENCIES) ++ ++test-stddef$(EXEEXT): $(test_stddef_OBJECTS) $(test_stddef_DEPENDENCIES) $(EXTRA_test_stddef_DEPENDENCIES) + @rm -f test-stddef$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_stddef_OBJECTS) $(test_stddef_LDADD) $(LIBS) +-test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES) ++ ++test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES) $(EXTRA_test_stdint_DEPENDENCIES) + @rm -f test-stdint$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_stdint_OBJECTS) $(test_stdint_LDADD) $(LIBS) +-test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES) ++ ++test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES) $(EXTRA_test_stdio_DEPENDENCIES) + @rm -f test-stdio$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_stdio_OBJECTS) $(test_stdio_LDADD) $(LIBS) +-test-stdio-c++$(EXEEXT): $(test_stdio_c___OBJECTS) $(test_stdio_c___DEPENDENCIES) ++ ++test-stdio-c++$(EXEEXT): $(test_stdio_c___OBJECTS) $(test_stdio_c___DEPENDENCIES) $(EXTRA_test_stdio_c___DEPENDENCIES) + @rm -f test-stdio-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_stdio_c___OBJECTS) $(test_stdio_c___LDADD) $(LIBS) +-test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES) ++ ++test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES) $(EXTRA_test_stdlib_DEPENDENCIES) + @rm -f test-stdlib$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_stdlib_OBJECTS) $(test_stdlib_LDADD) $(LIBS) +-test-stdlib-c++$(EXEEXT): $(test_stdlib_c___OBJECTS) $(test_stdlib_c___DEPENDENCIES) ++ ++test-stdlib-c++$(EXEEXT): $(test_stdlib_c___OBJECTS) $(test_stdlib_c___DEPENDENCIES) $(EXTRA_test_stdlib_c___DEPENDENCIES) + @rm -f test-stdlib-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_stdlib_c___OBJECTS) $(test_stdlib_c___LDADD) $(LIBS) +-test-strchrnul$(EXEEXT): $(test_strchrnul_OBJECTS) $(test_strchrnul_DEPENDENCIES) ++ ++test-strchrnul$(EXEEXT): $(test_strchrnul_OBJECTS) $(test_strchrnul_DEPENDENCIES) $(EXTRA_test_strchrnul_DEPENDENCIES) + @rm -f test-strchrnul$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_strchrnul_OBJECTS) $(test_strchrnul_LDADD) $(LIBS) +-test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) ++ ++test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) $(EXTRA_test_strerror_DEPENDENCIES) + @rm -f test-strerror$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS) +-test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES) ++ ++test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES) $(EXTRA_test_string_DEPENDENCIES) + @rm -f test-string$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_string_OBJECTS) $(test_string_LDADD) $(LIBS) +-test-string-c++$(EXEEXT): $(test_string_c___OBJECTS) $(test_string_c___DEPENDENCIES) ++ ++test-string-c++$(EXEEXT): $(test_string_c___OBJECTS) $(test_string_c___DEPENDENCIES) $(EXTRA_test_string_c___DEPENDENCIES) + @rm -f test-string-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_string_c___OBJECTS) $(test_string_c___LDADD) $(LIBS) +-test-strnlen$(EXEEXT): $(test_strnlen_OBJECTS) $(test_strnlen_DEPENDENCIES) ++ ++test-strnlen$(EXEEXT): $(test_strnlen_OBJECTS) $(test_strnlen_DEPENDENCIES) $(EXTRA_test_strnlen_DEPENDENCIES) + @rm -f test-strnlen$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_strnlen_OBJECTS) $(test_strnlen_LDADD) $(LIBS) +-test-strsignal$(EXEEXT): $(test_strsignal_OBJECTS) $(test_strsignal_DEPENDENCIES) ++ ++test-strsignal$(EXEEXT): $(test_strsignal_OBJECTS) $(test_strsignal_DEPENDENCIES) $(EXTRA_test_strsignal_DEPENDENCIES) + @rm -f test-strsignal$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_strsignal_OBJECTS) $(test_strsignal_LDADD) $(LIBS) +-test-strstr$(EXEEXT): $(test_strstr_OBJECTS) $(test_strstr_DEPENDENCIES) ++ ++test-strstr$(EXEEXT): $(test_strstr_OBJECTS) $(test_strstr_DEPENDENCIES) $(EXTRA_test_strstr_DEPENDENCIES) + @rm -f test-strstr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_strstr_OBJECTS) $(test_strstr_LDADD) $(LIBS) +-test-strtod$(EXEEXT): $(test_strtod_OBJECTS) $(test_strtod_DEPENDENCIES) ++ ++test-strtod$(EXEEXT): $(test_strtod_OBJECTS) $(test_strtod_DEPENDENCIES) $(EXTRA_test_strtod_DEPENDENCIES) + @rm -f test-strtod$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_strtod_OBJECTS) $(test_strtod_LDADD) $(LIBS) +-test-symlink$(EXEEXT): $(test_symlink_OBJECTS) $(test_symlink_DEPENDENCIES) ++ ++test-symlink$(EXEEXT): $(test_symlink_OBJECTS) $(test_symlink_DEPENDENCIES) $(EXTRA_test_symlink_DEPENDENCIES) + @rm -f test-symlink$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_symlink_OBJECTS) $(test_symlink_LDADD) $(LIBS) +-test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES) ++ ++test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES) $(EXTRA_test_sys_stat_DEPENDENCIES) + @rm -f test-sys_stat$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sys_stat_OBJECTS) $(test_sys_stat_LDADD) $(LIBS) +-test-sys_stat-c++$(EXEEXT): $(test_sys_stat_c___OBJECTS) $(test_sys_stat_c___DEPENDENCIES) ++ ++test-sys_stat-c++$(EXEEXT): $(test_sys_stat_c___OBJECTS) $(test_sys_stat_c___DEPENDENCIES) $(EXTRA_test_sys_stat_c___DEPENDENCIES) + @rm -f test-sys_stat-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_sys_stat_c___OBJECTS) $(test_sys_stat_c___LDADD) $(LIBS) +-test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES) ++ ++test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES) $(EXTRA_test_sys_time_DEPENDENCIES) + @rm -f test-sys_time$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sys_time_OBJECTS) $(test_sys_time_LDADD) $(LIBS) +-test-sys_time-c++$(EXEEXT): $(test_sys_time_c___OBJECTS) $(test_sys_time_c___DEPENDENCIES) ++ ++test-sys_time-c++$(EXEEXT): $(test_sys_time_c___OBJECTS) $(test_sys_time_c___DEPENDENCIES) $(EXTRA_test_sys_time_c___DEPENDENCIES) + @rm -f test-sys_time-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_sys_time_c___OBJECTS) $(test_sys_time_c___LDADD) $(LIBS) +-test-sys_wait$(EXEEXT): $(test_sys_wait_OBJECTS) $(test_sys_wait_DEPENDENCIES) ++ ++test-sys_wait$(EXEEXT): $(test_sys_wait_OBJECTS) $(test_sys_wait_DEPENDENCIES) $(EXTRA_test_sys_wait_DEPENDENCIES) + @rm -f test-sys_wait$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sys_wait_OBJECTS) $(test_sys_wait_LDADD) $(LIBS) +-test-sys_wait-c++$(EXEEXT): $(test_sys_wait_c___OBJECTS) $(test_sys_wait_c___DEPENDENCIES) ++ ++test-sys_wait-c++$(EXEEXT): $(test_sys_wait_c___OBJECTS) $(test_sys_wait_c___DEPENDENCIES) $(EXTRA_test_sys_wait_c___DEPENDENCIES) + @rm -f test-sys_wait-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_sys_wait_c___OBJECTS) $(test_sys_wait_c___LDADD) $(LIBS) +-test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES) ++ ++test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES) $(EXTRA_test_time_DEPENDENCIES) + @rm -f test-time$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_time_OBJECTS) $(test_time_LDADD) $(LIBS) +-test-time-c++$(EXEEXT): $(test_time_c___OBJECTS) $(test_time_c___DEPENDENCIES) ++ ++test-time-c++$(EXEEXT): $(test_time_c___OBJECTS) $(test_time_c___DEPENDENCIES) $(EXTRA_test_time_c___DEPENDENCIES) + @rm -f test-time-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_time_c___OBJECTS) $(test_time_c___LDADD) $(LIBS) +-test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES) ++ ++test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES) $(EXTRA_test_unistd_DEPENDENCIES) + @rm -f test-unistd$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_unistd_OBJECTS) $(test_unistd_LDADD) $(LIBS) +-test-unistd-c++$(EXEEXT): $(test_unistd_c___OBJECTS) $(test_unistd_c___DEPENDENCIES) ++ ++test-unistd-c++$(EXEEXT): $(test_unistd_c___OBJECTS) $(test_unistd_c___DEPENDENCIES) $(EXTRA_test_unistd_c___DEPENDENCIES) + @rm -f test-unistd-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_unistd_c___OBJECTS) $(test_unistd_c___LDADD) $(LIBS) +-test-unsetenv$(EXEEXT): $(test_unsetenv_OBJECTS) $(test_unsetenv_DEPENDENCIES) ++ ++test-unsetenv$(EXEEXT): $(test_unsetenv_OBJECTS) $(test_unsetenv_DEPENDENCIES) $(EXTRA_test_unsetenv_DEPENDENCIES) + @rm -f test-unsetenv$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_unsetenv_OBJECTS) $(test_unsetenv_LDADD) $(LIBS) +-test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES) ++ ++test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES) $(EXTRA_test_vasnprintf_DEPENDENCIES) + @rm -f test-vasnprintf$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_vasnprintf_OBJECTS) $(test_vasnprintf_LDADD) $(LIBS) +-test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES) ++ ++test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES) $(EXTRA_test_vasprintf_DEPENDENCIES) + @rm -f test-vasprintf$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_vasprintf_OBJECTS) $(test_vasprintf_LDADD) $(LIBS) +-test-vasprintf-posix$(EXEEXT): $(test_vasprintf_posix_OBJECTS) $(test_vasprintf_posix_DEPENDENCIES) ++ ++test-vasprintf-posix$(EXEEXT): $(test_vasprintf_posix_OBJECTS) $(test_vasprintf_posix_DEPENDENCIES) $(EXTRA_test_vasprintf_posix_DEPENDENCIES) + @rm -f test-vasprintf-posix$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_vasprintf_posix_OBJECTS) $(test_vasprintf_posix_LDADD) $(LIBS) +-test-verify$(EXEEXT): $(test_verify_OBJECTS) $(test_verify_DEPENDENCIES) ++ ++test-verify$(EXEEXT): $(test_verify_OBJECTS) $(test_verify_DEPENDENCIES) $(EXTRA_test_verify_DEPENDENCIES) + @rm -f test-verify$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_verify_OBJECTS) $(test_verify_LDADD) $(LIBS) +-test-version-etc$(EXEEXT): $(test_version_etc_OBJECTS) $(test_version_etc_DEPENDENCIES) ++ ++test-version-etc$(EXEEXT): $(test_version_etc_OBJECTS) $(test_version_etc_DEPENDENCIES) $(EXTRA_test_version_etc_DEPENDENCIES) + @rm -f test-version-etc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_version_etc_OBJECTS) $(test_version_etc_LDADD) $(LIBS) +-test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES) ++ ++test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES) $(EXTRA_test_wchar_DEPENDENCIES) + @rm -f test-wchar$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_wchar_OBJECTS) $(test_wchar_LDADD) $(LIBS) +-test-wchar-c++$(EXEEXT): $(test_wchar_c___OBJECTS) $(test_wchar_c___DEPENDENCIES) ++ ++test-wchar-c++$(EXEEXT): $(test_wchar_c___OBJECTS) $(test_wchar_c___DEPENDENCIES) $(EXTRA_test_wchar_c___DEPENDENCIES) + @rm -f test-wchar-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_wchar_c___OBJECTS) $(test_wchar_c___LDADD) $(LIBS) +-test-wcrtomb$(EXEEXT): $(test_wcrtomb_OBJECTS) $(test_wcrtomb_DEPENDENCIES) ++ ++test-wcrtomb$(EXEEXT): $(test_wcrtomb_OBJECTS) $(test_wcrtomb_DEPENDENCIES) $(EXTRA_test_wcrtomb_DEPENDENCIES) + @rm -f test-wcrtomb$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_wcrtomb_OBJECTS) $(test_wcrtomb_LDADD) $(LIBS) +-test-wcrtomb-w32$(EXEEXT): $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_DEPENDENCIES) ++ ++test-wcrtomb-w32$(EXEEXT): $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_DEPENDENCIES) $(EXTRA_test_wcrtomb_w32_DEPENDENCIES) + @rm -f test-wcrtomb-w32$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_LDADD) $(LIBS) +-test-wctype-h$(EXEEXT): $(test_wctype_h_OBJECTS) $(test_wctype_h_DEPENDENCIES) ++ ++test-wctype-h$(EXEEXT): $(test_wctype_h_OBJECTS) $(test_wctype_h_DEPENDENCIES) $(EXTRA_test_wctype_h_DEPENDENCIES) + @rm -f test-wctype-h$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_wctype_h_OBJECTS) $(test_wctype_h_LDADD) $(LIBS) +-test-wctype-h-c++$(EXEEXT): $(test_wctype_h_c___OBJECTS) $(test_wctype_h_c___DEPENDENCIES) ++ ++test-wctype-h-c++$(EXEEXT): $(test_wctype_h_c___OBJECTS) $(test_wctype_h_c___DEPENDENCIES) $(EXTRA_test_wctype_h_c___DEPENDENCIES) + @rm -f test-wctype-h-c++$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(test_wctype_h_c___OBJECTS) $(test_wctype_h_c___LDADD) $(LIBS) +-test-xalloc-die$(EXEEXT): $(test_xalloc_die_OBJECTS) $(test_xalloc_die_DEPENDENCIES) ++ ++test-xalloc-die$(EXEEXT): $(test_xalloc_die_OBJECTS) $(test_xalloc_die_DEPENDENCIES) $(EXTRA_test_xalloc_die_DEPENDENCIES) + @rm -f test-xalloc-die$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_xalloc_die_OBJECTS) $(test_xalloc_die_LDADD) $(LIBS) +-test-xvasprintf$(EXEEXT): $(test_xvasprintf_OBJECTS) $(test_xvasprintf_DEPENDENCIES) ++ ++test-xvasprintf$(EXEEXT): $(test_xvasprintf_OBJECTS) $(test_xvasprintf_DEPENDENCIES) $(EXTRA_test_xvasprintf_DEPENDENCIES) + @rm -f test-xvasprintf$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_xvasprintf_OBJECTS) $(test_xvasprintf_LDADD) $(LIBS) + +@@ -2862,52 +3192,51 @@ + .c.o: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(COMPILE) -c $< ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + + .c.obj: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + + .cc.o: + @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< ++@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + + .cc.obj: + @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +-@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ++@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + + # This directory's subdirectories are mostly independent; you can cd +-# into them and run `make' without going through this Makefile. +-# To change the values of `make' variables: instead of editing Makefiles, +-# (1) if the variable is set in `config.status', edit `config.status' +-# (which will cause the Makefiles to be regenerated when you run `make'); +-# (2) otherwise, pass the desired values on the `make' command line. +-$(RECURSIVE_TARGETS): +- @fail= failcom='exit 1'; \ +- for f in x $$MAKEFLAGS; do \ +- case $$f in \ +- *=* | --[!k]*);; \ +- *k*) failcom='fail=yes';; \ +- esac; \ +- done; \ ++# into them and run 'make' without going through this Makefile. ++# To change the values of 'make' variables: instead of editing Makefiles, ++# (1) if the variable is set in 'config.status', edit 'config.status' ++# (which will cause the Makefiles to be regenerated when you run 'make'); ++# (2) otherwise, pass the desired values on the 'make' command line. ++$(am__recursive_targets): ++ @fail=; \ ++ if $(am__make_keepgoing); then \ ++ failcom='fail=yes'; \ ++ else \ ++ failcom='exit 1'; \ ++ fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ +- list='$(SUBDIRS)'; for subdir in $$list; do \ ++ case "$@" in \ ++ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ ++ *) list='$(SUBDIRS)' ;; \ ++ esac; \ ++ for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ +@@ -2922,57 +3251,12 @@ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +-$(RECURSIVE_CLEAN_TARGETS): +- @fail= failcom='exit 1'; \ +- for f in x $$MAKEFLAGS; do \ +- case $$f in \ +- *=* | --[!k]*);; \ +- *k*) failcom='fail=yes';; \ +- esac; \ +- done; \ +- dot_seen=no; \ +- case "$@" in \ +- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ +- *) list='$(SUBDIRS)' ;; \ +- esac; \ +- rev=''; for subdir in $$list; do \ +- if test "$$subdir" = "."; then :; else \ +- rev="$$subdir $$rev"; \ +- fi; \ +- done; \ +- rev="$$rev ."; \ +- target=`echo $@ | sed s/-recursive//`; \ +- for subdir in $$rev; do \ +- echo "Making $$target in $$subdir"; \ +- if test "$$subdir" = "."; then \ +- local_target="$$target-am"; \ +- else \ +- local_target="$$target"; \ +- fi; \ +- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ +- || eval $$failcom; \ +- done && test -z "$$fail" +-tags-recursive: +- list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ +- done +-ctags-recursive: +- list='$(SUBDIRS)'; for subdir in $$list; do \ +- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ +- done +- +-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ +- mkid -fID $$unique +-tags: TAGS ++ID: $(am__tagged_files) ++ $(am__define_uniq_tagged_files); mkid -fID $$unique ++tags: tags-recursive ++TAGS: tags + +-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) ++tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ +@@ -2988,12 +3272,7 @@ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ +@@ -3005,15 +3284,11 @@ + $$unique; \ + fi; \ + fi +-ctags: CTAGS +-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ +- $(TAGS_FILES) $(LISP) +- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ +- unique=`for i in $$list; do \ +- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ +- done | \ +- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ +- END { if (nonempty) { for (i in files) print i; }; }'`; \ ++ctags: ctags-recursive ++ ++CTAGS: ctags ++ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) ++ $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique +@@ -3022,458 +3297,1202 @@ + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" ++cscopelist: cscopelist-recursive ++ ++cscopelist-am: $(am__tagged_files) ++ list='$(am__tagged_files)'; \ ++ case "$(srcdir)" in \ ++ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ ++ *) sdir=$(subdir)/$(srcdir) ;; \ ++ esac; \ ++ for i in $$list; do \ ++ if test -f "$$i"; then \ ++ echo "$(subdir)/$$i"; \ ++ else \ ++ echo "$$sdir/$$i"; \ ++ fi; \ ++ done >> $(top_builddir)/cscope.files + + distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +-# To be appended to the command running the test. Handle the stdout +-# and stderr redirection, and catch the exit status. +-am__check_post = \ +->$@-t 2>&1; \ +-estatus=$$?; \ +-if test -n '$(DISABLE_HARD_ERRORS)' \ +- && test $$estatus -eq 99; then \ +- estatus=1; \ +-fi; \ +-TERM=$$__SAVED_TERM; export TERM; \ +-$(am__tty_colors); \ +-xfailed=PASS; \ +-case " $(XFAIL_TESTS) " in \ +- *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ +- xfailed=XFAIL;; \ +-esac; \ +-case $$estatus:$$xfailed in \ +- 0:XFAIL) col=$$red; res=XPASS;; \ +- 0:*) col=$$grn; res=PASS ;; \ +- 77:*) col=$$blu; res=SKIP ;; \ +- 99:*) col=$$red; res=FAIL ;; \ +- *:XFAIL) col=$$lgn; res=XFAIL;; \ +- *:*) col=$$red; res=FAIL ;; \ +-esac; \ +-echo "$${col}$$res$${std}: $$f"; \ +-echo "$$res: $$f (exit: $$estatus)" | \ +- $(am__rst_section) >$@; \ +-cat $@-t >>$@; \ +-rm -f $@-t ++# Recover from deleted '.trs' file; this should ensure that ++# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create ++# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells ++# to avoid problems with "make -n". ++.log.trs: ++ rm -f $< $@ ++ $(MAKE) $(AM_MAKEFLAGS) $< ++ ++# Leading 'am--fnord' is there to ensure the list of targets does not ++# expand to empty, as could happen e.g. with make check TESTS=''. ++am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) ++am--force-recheck: ++ @: + + $(TEST_SUITE_LOG): $(TEST_LOGS) +- @$(am__sh_e_setup); \ +- list='$(TEST_LOGS)'; \ +- results=`for f in $$list; do \ +- read line < $$f && echo "$$line" || echo FAIL; \ +- done`; \ +- all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \ +- fail=`echo "$$results" | grep -c '^FAIL'`; \ +- pass=`echo "$$results" | grep -c '^PASS'`; \ +- skip=`echo "$$results" | grep -c '^SKIP'`; \ +- xfail=`echo "$$results" | grep -c '^XFAIL'`; \ +- xpass=`echo "$$results" | grep -c '^XPASS'`; \ +- failures=`expr $$fail + $$xpass`; \ +- all=`expr $$all - $$skip`; \ +- if test "$$all" -eq 1; then tests=test; All=; \ +- else tests=tests; All="All "; fi; \ +- case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \ +- fail=0:xpass=0:xfail=0) \ +- msg="$$All$$all $$tests passed. "; \ +- exit=true;; \ +- fail=0:xpass=0:xfail=*) \ +- msg="$$All$$all $$tests behaved as expected"; \ +- if test "$$xfail" -eq 1; then xfailures=failure; \ +- else xfailures=failures; fi; \ +- msg="$$msg ($$xfail expected $$xfailures). "; \ +- exit=true;; \ +- fail=*:xpass=0:xfail=*) \ +- msg="$$fail of $$all $$tests failed. "; \ +- exit=false;; \ +- fail=*:xpass=*:xfail=*) \ +- msg="$$failures of $$all $$tests did not behave as expected"; \ +- if test "$$xpass" -eq 1; then xpasses=pass; \ +- else xpasses=passes; fi; \ +- msg="$$msg ($$xpass unexpected $$xpasses). "; \ +- exit=false;; \ +- *) \ +- echo >&2 "incorrect case"; exit 4;; \ +- esac; \ +- if test "$$skip" -ne 0; then \ +- if test "$$skip" -eq 1; then \ +- msg="$$msg($$skip test was not run). "; \ +- else \ +- msg="$$msg($$skip tests were not run). "; \ +- fi; \ +- fi; \ ++ @$(am__set_TESTS_bases); \ ++ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ ++ redo_bases=`for i in $$bases; do \ ++ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ ++ done`; \ ++ if test -n "$$redo_bases"; then \ ++ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ ++ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ ++ if $(am__make_dryrun); then :; else \ ++ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ ++ fi; \ ++ fi; \ ++ if test -n "$$am__remaking_logs"; then \ ++ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ ++ "recursion detected" >&2; \ ++ else \ ++ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ ++ fi; \ ++ if $(am__make_dryrun); then :; else \ ++ st=0; \ ++ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ ++ for i in $$redo_bases; do \ ++ test -f $$i.trs && test -r $$i.trs \ ++ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ ++ test -f $$i.log && test -r $$i.log \ ++ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ ++ done; \ ++ test $$st -eq 0 || exit 1; \ ++ fi ++ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ++ ws='[ ]'; \ ++ results=`for b in $$bases; do echo $$b.trs; done`; \ ++ test -n "$$results" || results=/dev/null; \ ++ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ ++ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ ++ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ ++ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ ++ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ ++ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ ++ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ ++ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ ++ success=true; \ ++ else \ ++ success=false; \ ++ fi; \ ++ br='==================='; br=$$br$$br$$br$$br; \ ++ result_count () \ ++ { \ ++ if test x"$$1" = x"--maybe-color"; then \ ++ maybe_colorize=yes; \ ++ elif test x"$$1" = x"--no-color"; then \ ++ maybe_colorize=no; \ ++ else \ ++ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ ++ fi; \ ++ shift; \ ++ desc=$$1 count=$$2; \ ++ if test $$maybe_colorize = yes && test $$count -gt 0; then \ ++ color_start=$$3 color_end=$$std; \ ++ else \ ++ color_start= color_end=; \ ++ fi; \ ++ echo "$${color_start}# $$desc $$count$${color_end}"; \ ++ }; \ ++ create_testsuite_report () \ ++ { \ ++ result_count $$1 "TOTAL:" $$all "$$brg"; \ ++ result_count $$1 "PASS: " $$pass "$$grn"; \ ++ result_count $$1 "SKIP: " $$skip "$$blu"; \ ++ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ ++ result_count $$1 "FAIL: " $$fail "$$red"; \ ++ result_count $$1 "XPASS:" $$xpass "$$red"; \ ++ result_count $$1 "ERROR:" $$error "$$mgn"; \ ++ }; \ + { \ + echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ + $(am__rst_title); \ +- echo "$$msg"; \ ++ create_testsuite_report --no-color; \ + echo; \ + echo ".. contents:: :depth: 2"; \ + echo; \ +- for f in $$list; do \ +- read line < $$f; \ +- case $$line in \ +- PASS:*|XFAIL:*);; \ +- *) echo; cat $$f;; \ +- esac; \ +- done; \ +- } >$(TEST_SUITE_LOG).tmp; \ ++ for b in $$bases; do echo $$b; done \ ++ | $(am__create_global_log); \ ++ } >$(TEST_SUITE_LOG).tmp || exit 1; \ + mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ +- if test "$$failures" -ne 0; then \ +- msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \ ++ if $$success; then \ ++ col="$$grn"; \ ++ else \ ++ col="$$red"; \ ++ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ ++ fi; \ ++ echo "$${col}$$br$${std}"; \ ++ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ ++ echo "$${col}$$br$${std}"; \ ++ create_testsuite_report --maybe-color; \ ++ echo "$$col$$br$$std"; \ ++ if $$success; then :; else \ ++ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ + if test -n "$(PACKAGE_BUGREPORT)"; then \ +- msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \ ++ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ + fi; \ ++ echo "$$col$$br$$std"; \ + fi; \ +- test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \ +- $(am__tty_colors); \ +- if $$exit; then \ +- echo $(ECHO_N) "$$grn$(ECHO_C)"; \ +- else \ +- echo $(ECHO_N) "$$red$(ECHO_C)"; \ +- fi; \ +- echo "$$msg" | $(am__text_box); \ +- echo $(ECHO_N) "$$std$(ECHO_C)"; \ +- $$exit ++ $$success || exit 1 + +-# Run all the tests. + check-TESTS: +- @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list ++ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list ++ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list + @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) +- @list='$(TEST_LOGS)'; \ +- list=`for f in $$list; do \ +- test .log = $$f || echo $$f; \ +- done | tr '\012\015' ' '`; \ +- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list" +- +-.log.html: +- @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \ +- for r2h in $$list; do \ +- if ($$r2h --version) >/dev/null 2>&1; then \ +- R2H=$$r2h; \ +- fi; \ +- done; \ +- if test -z "$$R2H"; then \ +- echo >&2 "cannot find rst2html, cannot create $@"; \ +- exit 2; \ +- fi; \ +- $$R2H $< >$@.tmp +- @mv $@.tmp $@ +- +-# Be sure to run check first, and then to convert the result. +-# Beware of concurrent executions. Run "check" not "check-TESTS", as +-# check-SCRIPTS and other dependencies are rebuilt by the former only. +-# And expect check to fail. +-check-html: +- @if $(MAKE) $(AM_MAKEFLAGS) check; then \ +- rv=0; else rv=$$?; \ +- fi; \ +- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \ +- exit $$rv +-recheck recheck-html: +- @target=`echo $@ | sed 's,^re,,'`; \ +- list='$(TEST_LOGS)'; \ +- list=`for f in $$list; do \ +- test -f $$f || continue; \ +- if read line < $$f; then \ +- case $$line in FAIL*|XPASS*) echo $$f;; esac; \ +- else echo $$f; fi; \ +- done | tr '\012\015' ' '`; \ +- $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"' ++ @set +e; $(am__set_TESTS_bases); \ ++ log_list=`for i in $$bases; do echo $$i.log; done`; \ ++ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ ++ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ ++ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ ++ exit $$?; ++recheck: all $(check_LIBRARIES) $(check_PROGRAMS) ++ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) ++ @set +e; $(am__set_TESTS_bases); \ ++ bases=`for i in $$bases; do echo $$i; done \ ++ | $(am__list_recheck_tests)` || exit 1; \ ++ log_list=`for i in $$bases; do echo $$i.log; done`; \ ++ log_list=`echo $$log_list`; \ ++ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ ++ am__force_recheck=am--force-recheck \ ++ TEST_LOGS="$$log_list"; \ ++ exit $$? + test-alloca-opt.log: test-alloca-opt$(EXEEXT) +- @p='test-alloca-opt$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-alloca-opt$(EXEEXT)'; \ ++ b='test-alloca-opt'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-array_list.log: test-array_list$(EXEEXT) +- @p='test-array_list$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-array_list$(EXEEXT)'; \ ++ b='test-array_list'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-array_oset.log: test-array_oset$(EXEEXT) +- @p='test-array_oset$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-array_oset$(EXEEXT)'; \ ++ b='test-array_oset'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-avltree_oset.log: test-avltree_oset$(EXEEXT) +- @p='test-avltree_oset$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-avltree_oset$(EXEEXT)'; \ ++ b='test-avltree_oset'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-binary-io.sh.log: test-binary-io.sh +- @p='test-binary-io.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-binary-io.sh'; \ ++ b='test-binary-io.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-btowc1.sh.log: test-btowc1.sh +- @p='test-btowc1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-btowc1.sh'; \ ++ b='test-btowc1.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-btowc2.sh.log: test-btowc2.sh +- @p='test-btowc2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-btowc2.sh'; \ ++ b='test-btowc2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-c-ctype.log: test-c-ctype$(EXEEXT) +- @p='test-c-ctype$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-c-ctype$(EXEEXT)'; \ ++ b='test-c-ctype'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-c-stack.sh.log: test-c-stack.sh +- @p='test-c-stack.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-c-stack.sh'; \ ++ b='test-c-stack.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-c-stack2.sh.log: test-c-stack2.sh +- @p='test-c-stack2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-c-stack2.sh'; \ ++ b='test-c-stack2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-c-strcase.sh.log: test-c-strcase.sh +- @p='test-c-strcase.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-c-strcase.sh'; \ ++ b='test-c-strcase.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-canonicalize-lgpl.log: test-canonicalize-lgpl$(EXEEXT) +- @p='test-canonicalize-lgpl$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-canonicalize-lgpl$(EXEEXT)'; \ ++ b='test-canonicalize-lgpl'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-cloexec.log: test-cloexec$(EXEEXT) +- @p='test-cloexec$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-cloexec$(EXEEXT)'; \ ++ b='test-cloexec'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-closein.sh.log: test-closein.sh +- @p='test-closein.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-closein.sh'; \ ++ b='test-closein.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-dirname.log: test-dirname$(EXEEXT) +- @p='test-dirname$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-dirname$(EXEEXT)'; \ ++ b='test-dirname'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-dup2.log: test-dup2$(EXEEXT) +- @p='test-dup2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-dup2$(EXEEXT)'; \ ++ b='test-dup2'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-environ.log: test-environ$(EXEEXT) +- @p='test-environ$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-environ$(EXEEXT)'; \ ++ b='test-environ'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-errno.log: test-errno$(EXEEXT) +- @p='test-errno$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-errno$(EXEEXT)'; \ ++ b='test-errno'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fcntl-h-c++.log: test-fcntl-h-c++$(EXEEXT) +- @p='test-fcntl-h-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fcntl-h-c++$(EXEEXT)'; \ ++ b='test-fcntl-h-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fcntl-h.log: test-fcntl-h$(EXEEXT) +- @p='test-fcntl-h$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fcntl-h$(EXEEXT)'; \ ++ b='test-fcntl-h'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fcntl.log: test-fcntl$(EXEEXT) +- @p='test-fcntl$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fcntl$(EXEEXT)'; \ ++ b='test-fcntl'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fflush.log: test-fflush$(EXEEXT) +- @p='test-fflush$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fflush$(EXEEXT)'; \ ++ b='test-fflush'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fflush2.sh.log: test-fflush2.sh +- @p='test-fflush2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fflush2.sh'; \ ++ b='test-fflush2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-filenamecat.log: test-filenamecat$(EXEEXT) +- @p='test-filenamecat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-filenamecat$(EXEEXT)'; \ ++ b='test-filenamecat'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fopen-safer.log: test-fopen-safer$(EXEEXT) +- @p='test-fopen-safer$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fopen-safer$(EXEEXT)'; \ ++ b='test-fopen-safer'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fopen.log: test-fopen$(EXEEXT) +- @p='test-fopen$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fopen$(EXEEXT)'; \ ++ b='test-fopen'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fpending.sh.log: test-fpending.sh +- @p='test-fpending.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fpending.sh'; \ ++ b='test-fpending.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fpurge.log: test-fpurge$(EXEEXT) +- @p='test-fpurge$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fpurge$(EXEEXT)'; \ ++ b='test-fpurge'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-freadahead.sh.log: test-freadahead.sh +- @p='test-freadahead.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-freadahead.sh'; \ ++ b='test-freadahead.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-freading.log: test-freading$(EXEEXT) +- @p='test-freading$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-freading$(EXEEXT)'; \ ++ b='test-freading'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-frexp-nolibm.log: test-frexp-nolibm$(EXEEXT) +- @p='test-frexp-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-frexp-nolibm$(EXEEXT)'; \ ++ b='test-frexp-nolibm'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-frexpl-nolibm.log: test-frexpl-nolibm$(EXEEXT) +- @p='test-frexpl-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-frexpl-nolibm$(EXEEXT)'; \ ++ b='test-frexpl-nolibm'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fseeko.sh.log: test-fseeko.sh +- @p='test-fseeko.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fseeko.sh'; \ ++ b='test-fseeko.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-fseeko2.sh.log: test-fseeko2.sh +- @p='test-fseeko2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-fseeko2.sh'; \ ++ b='test-fseeko2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ftell.sh.log: test-ftell.sh +- @p='test-ftell.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ftell.sh'; \ ++ b='test-ftell.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ftell2.sh.log: test-ftell2.sh +- @p='test-ftell2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ftell2.sh'; \ ++ b='test-ftell2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ftell3.log: test-ftell3$(EXEEXT) +- @p='test-ftell3$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ftell3$(EXEEXT)'; \ ++ b='test-ftell3'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ftello.sh.log: test-ftello.sh +- @p='test-ftello.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ftello.sh'; \ ++ b='test-ftello.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ftello2.sh.log: test-ftello2.sh +- @p='test-ftello2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ftello2.sh'; \ ++ b='test-ftello2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ftello3.log: test-ftello3$(EXEEXT) +- @p='test-ftello3$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ftello3$(EXEEXT)'; \ ++ b='test-ftello3'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-getdtablesize.log: test-getdtablesize$(EXEEXT) +- @p='test-getdtablesize$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-getdtablesize$(EXEEXT)'; \ ++ b='test-getdtablesize'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-getopt.log: test-getopt$(EXEEXT) +- @p='test-getopt$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-getopt$(EXEEXT)'; \ ++ b='test-getopt'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-gettimeofday.log: test-gettimeofday$(EXEEXT) +- @p='test-gettimeofday$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-gettimeofday$(EXEEXT)'; \ ++ b='test-gettimeofday'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-ignore-value.log: test-ignore-value$(EXEEXT) +- @p='test-ignore-value$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-ignore-value$(EXEEXT)'; \ ++ b='test-ignore-value'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-isnand-nolibm.log: test-isnand-nolibm$(EXEEXT) +- @p='test-isnand-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-isnand-nolibm$(EXEEXT)'; \ ++ b='test-isnand-nolibm'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-isnanf-nolibm.log: test-isnanf-nolibm$(EXEEXT) +- @p='test-isnanf-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-isnanf-nolibm$(EXEEXT)'; \ ++ b='test-isnanf-nolibm'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-isnanl-nolibm.log: test-isnanl-nolibm$(EXEEXT) +- @p='test-isnanl-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-isnanl-nolibm$(EXEEXT)'; \ ++ b='test-isnanl-nolibm'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-langinfo-c++.log: test-langinfo-c++$(EXEEXT) +- @p='test-langinfo-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-langinfo-c++$(EXEEXT)'; \ ++ b='test-langinfo-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-langinfo.log: test-langinfo$(EXEEXT) +- @p='test-langinfo$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-langinfo$(EXEEXT)'; \ ++ b='test-langinfo'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-link.log: test-link$(EXEEXT) +- @p='test-link$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-link$(EXEEXT)'; \ ++ b='test-link'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-linkedhash_list.log: test-linkedhash_list$(EXEEXT) +- @p='test-linkedhash_list$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-linkedhash_list$(EXEEXT)'; \ ++ b='test-linkedhash_list'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-locale-c++.log: test-locale-c++$(EXEEXT) +- @p='test-locale-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-locale-c++$(EXEEXT)'; \ ++ b='test-locale-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-locale.log: test-locale$(EXEEXT) +- @p='test-locale$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-locale$(EXEEXT)'; \ ++ b='test-locale'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-localename.log: test-localename$(EXEEXT) +- @p='test-localename$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-localename$(EXEEXT)'; \ ++ b='test-localename'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-lseek.sh.log: test-lseek.sh +- @p='test-lseek.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-lseek.sh'; \ ++ b='test-lseek.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-lstat.log: test-lstat$(EXEEXT) +- @p='test-lstat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-lstat$(EXEEXT)'; \ ++ b='test-lstat'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-malloc-gnu.log: test-malloc-gnu$(EXEEXT) +- @p='test-malloc-gnu$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-malloc-gnu$(EXEEXT)'; \ ++ b='test-malloc-gnu'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-malloca.log: test-malloca$(EXEEXT) +- @p='test-malloca$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-malloca$(EXEEXT)'; \ ++ b='test-malloca'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-math-c++.log: test-math-c++$(EXEEXT) +- @p='test-math-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-math-c++$(EXEEXT)'; \ ++ b='test-math-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-math.log: test-math$(EXEEXT) +- @p='test-math$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-math$(EXEEXT)'; \ ++ b='test-math'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc1.sh.log: test-mbrtowc1.sh +- @p='test-mbrtowc1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc1.sh'; \ ++ b='test-mbrtowc1.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc2.sh.log: test-mbrtowc2.sh +- @p='test-mbrtowc2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc2.sh'; \ ++ b='test-mbrtowc2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc3.sh.log: test-mbrtowc3.sh +- @p='test-mbrtowc3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc3.sh'; \ ++ b='test-mbrtowc3.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc4.sh.log: test-mbrtowc4.sh +- @p='test-mbrtowc4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc4.sh'; \ ++ b='test-mbrtowc4.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc-w32-1.sh.log: test-mbrtowc-w32-1.sh +- @p='test-mbrtowc-w32-1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc-w32-1.sh'; \ ++ b='test-mbrtowc-w32-1.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc-w32-2.sh.log: test-mbrtowc-w32-2.sh +- @p='test-mbrtowc-w32-2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc-w32-2.sh'; \ ++ b='test-mbrtowc-w32-2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc-w32-3.sh.log: test-mbrtowc-w32-3.sh +- @p='test-mbrtowc-w32-3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc-w32-3.sh'; \ ++ b='test-mbrtowc-w32-3.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc-w32-4.sh.log: test-mbrtowc-w32-4.sh +- @p='test-mbrtowc-w32-4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc-w32-4.sh'; \ ++ b='test-mbrtowc-w32-4.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbrtowc-w32-5.sh.log: test-mbrtowc-w32-5.sh +- @p='test-mbrtowc-w32-5.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbrtowc-w32-5.sh'; \ ++ b='test-mbrtowc-w32-5.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-mbsinit.sh.log: test-mbsinit.sh +- @p='test-mbsinit.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-mbsinit.sh'; \ ++ b='test-mbsinit.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-memchr.log: test-memchr$(EXEEXT) +- @p='test-memchr$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-memchr$(EXEEXT)'; \ ++ b='test-memchr'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-memchr2.log: test-memchr2$(EXEEXT) +- @p='test-memchr2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-memchr2$(EXEEXT)'; \ ++ b='test-memchr2'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-nl_langinfo.sh.log: test-nl_langinfo.sh +- @p='test-nl_langinfo.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-nl_langinfo.sh'; \ ++ b='test-nl_langinfo.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-open.log: test-open$(EXEEXT) +- @p='test-open$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-open$(EXEEXT)'; \ ++ b='test-open'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-pipe2.log: test-pipe2$(EXEEXT) +- @p='test-pipe2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-pipe2$(EXEEXT)'; \ ++ b='test-pipe2'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-posix_spawn1.log: test-posix_spawn1$(EXEEXT) +- @p='test-posix_spawn1$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-posix_spawn1$(EXEEXT)'; \ ++ b='test-posix_spawn1'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-posix_spawn2.log: test-posix_spawn2$(EXEEXT) +- @p='test-posix_spawn2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-posix_spawn2$(EXEEXT)'; \ ++ b='test-posix_spawn2'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-printf-frexp.log: test-printf-frexp$(EXEEXT) +- @p='test-printf-frexp$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-printf-frexp$(EXEEXT)'; \ ++ b='test-printf-frexp'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-printf-frexpl.log: test-printf-frexpl$(EXEEXT) +- @p='test-printf-frexpl$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-printf-frexpl$(EXEEXT)'; \ ++ b='test-printf-frexpl'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-quotearg-simple.log: test-quotearg-simple$(EXEEXT) +- @p='test-quotearg-simple$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-quotearg-simple$(EXEEXT)'; \ ++ b='test-quotearg-simple'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-rawmemchr.log: test-rawmemchr$(EXEEXT) +- @p='test-rawmemchr$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-rawmemchr$(EXEEXT)'; \ ++ b='test-rawmemchr'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-readlink.log: test-readlink$(EXEEXT) +- @p='test-readlink$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-readlink$(EXEEXT)'; \ ++ b='test-readlink'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-rename.log: test-rename$(EXEEXT) +- @p='test-rename$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-rename$(EXEEXT)'; \ ++ b='test-rename'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-rmdir.log: test-rmdir$(EXEEXT) +- @p='test-rmdir$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-rmdir$(EXEEXT)'; \ ++ b='test-rmdir'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sched.log: test-sched$(EXEEXT) +- @p='test-sched$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sched$(EXEEXT)'; \ ++ b='test-sched'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-setenv.log: test-setenv$(EXEEXT) +- @p='test-setenv$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-setenv$(EXEEXT)'; \ ++ b='test-setenv'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-setlocale1.sh.log: test-setlocale1.sh +- @p='test-setlocale1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-setlocale1.sh'; \ ++ b='test-setlocale1.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-setlocale2.sh.log: test-setlocale2.sh +- @p='test-setlocale2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-setlocale2.sh'; \ ++ b='test-setlocale2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sigaction.log: test-sigaction$(EXEEXT) +- @p='test-sigaction$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sigaction$(EXEEXT)'; \ ++ b='test-sigaction'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-signal-c++.log: test-signal-c++$(EXEEXT) +- @p='test-signal-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-signal-c++$(EXEEXT)'; \ ++ b='test-signal-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-signal.log: test-signal$(EXEEXT) +- @p='test-signal$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-signal$(EXEEXT)'; \ ++ b='test-signal'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-signbit.log: test-signbit$(EXEEXT) +- @p='test-signbit$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-signbit$(EXEEXT)'; \ ++ b='test-signbit'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-snprintf.log: test-snprintf$(EXEEXT) +- @p='test-snprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-snprintf$(EXEEXT)'; \ ++ b='test-snprintf'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-spawn-c++.log: test-spawn-c++$(EXEEXT) +- @p='test-spawn-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-spawn-c++$(EXEEXT)'; \ ++ b='test-spawn-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-spawn-pipe.sh.log: test-spawn-pipe.sh +- @p='test-spawn-pipe.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-spawn-pipe.sh'; \ ++ b='test-spawn-pipe.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-spawn.log: test-spawn$(EXEEXT) +- @p='test-spawn$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-spawn$(EXEEXT)'; \ ++ b='test-spawn'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stat.log: test-stat$(EXEEXT) +- @p='test-stat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stat$(EXEEXT)'; \ ++ b='test-stat'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stdbool.log: test-stdbool$(EXEEXT) +- @p='test-stdbool$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stdbool$(EXEEXT)'; \ ++ b='test-stdbool'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stddef.log: test-stddef$(EXEEXT) +- @p='test-stddef$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stddef$(EXEEXT)'; \ ++ b='test-stddef'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stdint.log: test-stdint$(EXEEXT) +- @p='test-stdint$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stdint$(EXEEXT)'; \ ++ b='test-stdint'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stdio-c++.log: test-stdio-c++$(EXEEXT) +- @p='test-stdio-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stdio-c++$(EXEEXT)'; \ ++ b='test-stdio-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stdio.log: test-stdio$(EXEEXT) +- @p='test-stdio$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stdio$(EXEEXT)'; \ ++ b='test-stdio'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stdlib-c++.log: test-stdlib-c++$(EXEEXT) +- @p='test-stdlib-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stdlib-c++$(EXEEXT)'; \ ++ b='test-stdlib-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-stdlib.log: test-stdlib$(EXEEXT) +- @p='test-stdlib$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-stdlib$(EXEEXT)'; \ ++ b='test-stdlib'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-strchrnul.log: test-strchrnul$(EXEEXT) +- @p='test-strchrnul$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-strchrnul$(EXEEXT)'; \ ++ b='test-strchrnul'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-strerror.log: test-strerror$(EXEEXT) +- @p='test-strerror$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-strerror$(EXEEXT)'; \ ++ b='test-strerror'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-string-c++.log: test-string-c++$(EXEEXT) +- @p='test-string-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-string-c++$(EXEEXT)'; \ ++ b='test-string-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-string.log: test-string$(EXEEXT) +- @p='test-string$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-string$(EXEEXT)'; \ ++ b='test-string'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-strnlen.log: test-strnlen$(EXEEXT) +- @p='test-strnlen$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-strnlen$(EXEEXT)'; \ ++ b='test-strnlen'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-strsignal.log: test-strsignal$(EXEEXT) +- @p='test-strsignal$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-strsignal$(EXEEXT)'; \ ++ b='test-strsignal'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-strstr.log: test-strstr$(EXEEXT) +- @p='test-strstr$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-strstr$(EXEEXT)'; \ ++ b='test-strstr'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-strtod.log: test-strtod$(EXEEXT) +- @p='test-strtod$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-strtod$(EXEEXT)'; \ ++ b='test-strtod'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-symlink.log: test-symlink$(EXEEXT) +- @p='test-symlink$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-symlink$(EXEEXT)'; \ ++ b='test-symlink'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sys_stat-c++.log: test-sys_stat-c++$(EXEEXT) +- @p='test-sys_stat-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sys_stat-c++$(EXEEXT)'; \ ++ b='test-sys_stat-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sys_stat.log: test-sys_stat$(EXEEXT) +- @p='test-sys_stat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sys_stat$(EXEEXT)'; \ ++ b='test-sys_stat'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sys_time-c++.log: test-sys_time-c++$(EXEEXT) +- @p='test-sys_time-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sys_time-c++$(EXEEXT)'; \ ++ b='test-sys_time-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sys_time.log: test-sys_time$(EXEEXT) +- @p='test-sys_time$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sys_time$(EXEEXT)'; \ ++ b='test-sys_time'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sys_wait-c++.log: test-sys_wait-c++$(EXEEXT) +- @p='test-sys_wait-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sys_wait-c++$(EXEEXT)'; \ ++ b='test-sys_wait-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-sys_wait.log: test-sys_wait$(EXEEXT) +- @p='test-sys_wait$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-sys_wait$(EXEEXT)'; \ ++ b='test-sys_wait'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-time-c++.log: test-time-c++$(EXEEXT) +- @p='test-time-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-time-c++$(EXEEXT)'; \ ++ b='test-time-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-time.log: test-time$(EXEEXT) +- @p='test-time$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-time$(EXEEXT)'; \ ++ b='test-time'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-unistd-c++.log: test-unistd-c++$(EXEEXT) +- @p='test-unistd-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-unistd-c++$(EXEEXT)'; \ ++ b='test-unistd-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-dup-safer.log: test-dup-safer$(EXEEXT) +- @p='test-dup-safer$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-dup-safer$(EXEEXT)'; \ ++ b='test-dup-safer'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-unistd.log: test-unistd$(EXEEXT) +- @p='test-unistd$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-unistd$(EXEEXT)'; \ ++ b='test-unistd'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-unsetenv.log: test-unsetenv$(EXEEXT) +- @p='test-unsetenv$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-unsetenv$(EXEEXT)'; \ ++ b='test-unsetenv'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-update-copyright.sh.log: test-update-copyright.sh +- @p='test-update-copyright.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-update-copyright.sh'; \ ++ b='test-update-copyright.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-vasnprintf.log: test-vasnprintf$(EXEEXT) +- @p='test-vasnprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-vasnprintf$(EXEEXT)'; \ ++ b='test-vasnprintf'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-vasprintf-posix.log: test-vasprintf-posix$(EXEEXT) +- @p='test-vasprintf-posix$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-vasprintf-posix$(EXEEXT)'; \ ++ b='test-vasprintf-posix'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-vasprintf.log: test-vasprintf$(EXEEXT) +- @p='test-vasprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-vasprintf$(EXEEXT)'; \ ++ b='test-vasprintf'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-vc-list-files-git.sh.log: test-vc-list-files-git.sh +- @p='test-vc-list-files-git.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-vc-list-files-git.sh'; \ ++ b='test-vc-list-files-git.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-vc-list-files-cvs.sh.log: test-vc-list-files-cvs.sh +- @p='test-vc-list-files-cvs.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-vc-list-files-cvs.sh'; \ ++ b='test-vc-list-files-cvs.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-verify.log: test-verify$(EXEEXT) +- @p='test-verify$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-verify$(EXEEXT)'; \ ++ b='test-verify'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-verify.sh.log: test-verify.sh +- @p='test-verify.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-verify.sh'; \ ++ b='test-verify.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-version-etc.sh.log: test-version-etc.sh +- @p='test-version-etc.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-version-etc.sh'; \ ++ b='test-version-etc.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wchar-c++.log: test-wchar-c++$(EXEEXT) +- @p='test-wchar-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wchar-c++$(EXEEXT)'; \ ++ b='test-wchar-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wchar.log: test-wchar$(EXEEXT) +- @p='test-wchar$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wchar$(EXEEXT)'; \ ++ b='test-wchar'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wcrtomb.sh.log: test-wcrtomb.sh +- @p='test-wcrtomb.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wcrtomb.sh'; \ ++ b='test-wcrtomb.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wcrtomb-w32-1.sh.log: test-wcrtomb-w32-1.sh +- @p='test-wcrtomb-w32-1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wcrtomb-w32-1.sh'; \ ++ b='test-wcrtomb-w32-1.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wcrtomb-w32-2.sh.log: test-wcrtomb-w32-2.sh +- @p='test-wcrtomb-w32-2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wcrtomb-w32-2.sh'; \ ++ b='test-wcrtomb-w32-2.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wcrtomb-w32-3.sh.log: test-wcrtomb-w32-3.sh +- @p='test-wcrtomb-w32-3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wcrtomb-w32-3.sh'; \ ++ b='test-wcrtomb-w32-3.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wcrtomb-w32-4.sh.log: test-wcrtomb-w32-4.sh +- @p='test-wcrtomb-w32-4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wcrtomb-w32-4.sh'; \ ++ b='test-wcrtomb-w32-4.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wcrtomb-w32-5.sh.log: test-wcrtomb-w32-5.sh +- @p='test-wcrtomb-w32-5.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wcrtomb-w32-5.sh'; \ ++ b='test-wcrtomb-w32-5.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wctype-h-c++.log: test-wctype-h-c++$(EXEEXT) +- @p='test-wctype-h-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wctype-h-c++$(EXEEXT)'; \ ++ b='test-wctype-h-c++'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-wctype-h.log: test-wctype-h$(EXEEXT) +- @p='test-wctype-h$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-wctype-h$(EXEEXT)'; \ ++ b='test-wctype-h'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-xalloc-die.sh.log: test-xalloc-die.sh +- @p='test-xalloc-die.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-xalloc-die.sh'; \ ++ b='test-xalloc-die.sh'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + test-xvasprintf.log: test-xvasprintf$(EXEEXT) +- @p='test-xvasprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='test-xvasprintf$(EXEEXT)'; \ ++ b='test-xvasprintf'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + .test.log: +- @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post) ++ @p='$<'; \ ++ $(am__set_b); \ ++ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) + @am__EXEEXT_TRUE@.test$(EXEEXT).log: +-@am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post) ++@am__EXEEXT_TRUE@ @p='$<'; \ ++@am__EXEEXT_TRUE@ $(am__set_b); \ ++@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ ++@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ ++@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ ++@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) + + distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ +@@ -3507,13 +4526,10 @@ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ +- test -d "$(distdir)/$$subdir" \ +- || $(MKDIR_P) "$(distdir)/$$subdir" \ +- || exit 1; \ +- fi; \ +- done +- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ +- if test "$$subdir" = .; then :; else \ ++ $(am__make_dryrun) \ ++ || test -d "$(distdir)/$$subdir" \ ++ || $(MKDIR_P) "$(distdir)/$$subdir" \ ++ || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ +@@ -3552,15 +4568,19 @@ + + installcheck: installcheck-recursive + install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install ++ if test -z '$(STRIP)'; then \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ install; \ ++ else \ ++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ ++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ ++ fi + mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) +- -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP) +- -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML) ++ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) + -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) + + clean-generic: +@@ -3648,15 +4668,14 @@ + + uninstall-am: + +-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ +- check-am check-html ctags-recursive install install-am \ +- install-strip recheck recheck-html tags-recursive +- +-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ +- all all-am check check-TESTS check-am check-html clean \ +- clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ +- clean-local clean-noinstLIBRARIES clean-noinstPROGRAMS ctags \ +- ctags-recursive distclean distclean-compile distclean-generic \ ++.MAKE: $(am__recursive_targets) all check check-am install install-am \ ++ install-strip ++ ++.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ ++ check-TESTS check-am clean clean-checkLIBRARIES \ ++ clean-checkPROGRAMS clean-generic clean-local \ ++ clean-noinstLIBRARIES clean-noinstPROGRAMS cscopelist-am ctags \ ++ ctags-am distclean distclean-compile distclean-generic \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ +@@ -3665,8 +4684,8 @@ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ +- mostlyclean-local pdf pdf-am ps ps-am recheck recheck-html \ +- tags tags-recursive uninstall uninstall-am ++ mostlyclean-local pdf pdf-am ps ps-am recheck tags tags-am \ ++ uninstall uninstall-am + + # The arg-nonnull.h that gets inserted into generated .h files is the same as + # build-aux/arg-nonnull.h, except that it has the copyright header cut off. diff --git a/package/m4/patches/patch-lib_freadahead_c b/package/m4/patches/patch-lib_freadahead_c new file mode 100644 index 000000000..5e2b3fd3e --- /dev/null +++ b/package/m4/patches/patch-lib_freadahead_c @@ -0,0 +1,15 @@ +--- m4-1.4.16.orig/lib/freadahead.c 2011-03-01 17:39:27.000000000 +0100 ++++ m4-1.4.16/lib/freadahead.c 2013-09-04 13:53:26.000000000 +0200 +@@ -22,6 +22,7 @@ + #include + #include "stdio-impl.h" + ++#ifndef HAVE___FREADAHEAD + size_t + freadahead (FILE *fp) + { +@@ -83,3 +84,4 @@ freadahead (FILE *fp) + #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." + #endif + } ++#endif diff --git a/package/m4/patches/patch-lib_freadahead_h b/package/m4/patches/patch-lib_freadahead_h new file mode 100644 index 000000000..fa7a8a1fa --- /dev/null +++ b/package/m4/patches/patch-lib_freadahead_h @@ -0,0 +1,38 @@ +--- m4-1.4.16.orig/lib/freadahead.h 2011-03-01 17:39:27.000000000 +0100 ++++ m4-1.4.16/lib/freadahead.h 2013-09-04 13:59:50.000000000 +0200 +@@ -17,9 +17,6 @@ + #include + #include + +-#ifdef __cplusplus +-extern "C" { +-#endif + + /* Assuming the stream STREAM is open for reading: + Return the number of bytes waiting in the input buffer of STREAM. +@@ -31,8 +28,25 @@ extern "C" { + + STREAM must not be wide-character oriented. */ + ++ ++#if HAVE___FREADAHEAD || (defined(__linux__) && !defined(__GLIBC__) && !defined(__UCLIBC__)) /* musl libc */ ++#ifndef HAVE___FREADAHEAD ++#define HAVE___FREADAHEAD 1 ++#endif ++ ++#include ++#define freadahead(stream) __freadahead (stream) ++ ++#else ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + extern size_t freadahead (FILE *stream); + + #ifdef __cplusplus + } + #endif ++ ++#endif diff --git a/package/m4/patches/patch-lib_stdio_in_h b/package/m4/patches/patch-lib_stdio_in_h index 3453282bc..44644e4a7 100644 --- a/package/m4/patches/patch-lib_stdio_in_h +++ b/package/m4/patches/patch-lib_stdio_in_h @@ -1,6 +1,6 @@ --- m4-1.4.16.orig/lib/stdio.in.h 2011-03-01 17:39:29.000000000 +0100 -+++ m4-1.4.16/lib/stdio.in.h 2012-10-02 09:26:29.000000000 +0200 -@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not ++++ m4-1.4.16/lib/stdio.in.h 2013-09-04 13:47:39.000000000 +0200 +@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ #undef gets -- cgit v1.2.3