yggdrasil/ports/gnu-patch/patches/2.7.6/0001-patch-2.7.6-add-yggdrasil-support.patch

41457 lines
1.2 MiB

diff -x '*.o' -crB patch-2.7.6-orig/aclocal.m4 patch-2.7.6/aclocal.m4
*** patch-2.7.6-orig/aclocal.m4 2018-02-03 15:33:50.000000000 +0200
--- patch-2.7.6/aclocal.m4 2025-03-08 23:58:48.280369765 +0200
***************
*** 1,6 ****
! # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
! # Copyright (C) 1996-2017 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,6 ----
! # generated automatically by aclocal 1.17 -*- Autoconf -*-
! # Copyright (C) 1996-2024 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 14,43 ****
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.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'.])])
! # po.m4 serial 24 (gettext-0.19)
! dnl Copyright (C) 1995-2014, 2016 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.
dnl
dnl This file can be used in projects which are not available under
! dnl the GNU General Public License or the GNU Library General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
! dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
! dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
AC_PREREQ([2.60])
--- 14,45 ----
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.72],,
! [m4_warning([this file was generated for autoconf 2.72.
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'.])])
! # po.m4
! # serial 34 (gettext-0.24)
! dnl Copyright (C) 1995-2024 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.
+ dnl This file is offered as-is, without any warranty.
dnl
dnl This file can be used in projects which are not available under
! dnl the GNU General Public License or the GNU Lesser General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
! dnl by the GNU Lesser General Public License, and the rest of the GNU
dnl gettext package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
! dnl Bruno Haible <bruno@clisp.org>, 2000-2024.
AC_PREREQ([2.60])
***************
*** 52,58 ****
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.19])
dnl Perform the following tests also if --disable-nls has been given,
dnl because they are needed for "make dist" to work.
--- 54,60 ----
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.24])
dnl Perform the following tests also if --disable-nls has been given,
dnl because they are needed for "make dist" to work.
***************
*** 68,80 ****
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 ;;
--- 70,75 ----
***************
*** 105,120 ****
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...]]"
--- 100,135 ----
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
[$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
! dnl Test whether it is GNU msgmerge >= 0.20.
! if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
! MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
! else
! dnl Test whether it is GNU msgmerge >= 0.12.
! if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
! MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
! else
! dnl With these old versions, $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) is
! dnl slow. But this is not a big problem, as such old gettext versions are
! dnl hardly in use any more.
! MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
! fi
! fi
! AC_SUBST([MSGMERGE_FOR_MSGFMT_OPTION])
dnl Support for AM_XGETTEXT_OPTION.
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
+ if test -n "$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
+
+ dnl Capture the value of LINGUAS because we need it to compute CATALOGS.
+ dnl In the Makefile, call it DESIRED_LINGUAS (because there, LINGUAS denotes
+ dnl the set of available translations, given by the developer).
+ DESIRED_LINGUAS="${LINGUAS-\$(ALL_LINGUAS)}"
+ AC_SUBST([DESIRED_LINGUAS])
+
AC_CONFIG_COMMANDS([po-directories], [[
for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]"
***************
*** 130,463 ****
# 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%}"
! ])
])
dnl Postprocesses a Makefile in a directory containing PO files.
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 <<EOT
! $*
! EOT
! }
! gt_echo='echo_func'
! fi
! 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
! s/P/P/
! x
! ta
! # Yes it was empty. Look if we have the expected variable definition.
! /^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
! # Seen the first line of the variable definition.
! s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
! ba
! }
! bd
! :a
! # Here we are processing a line from the variable definition.
! # Remove comment, more precisely replace it with a space.
! s/#.*$/ /
! # See if the line ends in a backslash.
! tb
! :b
! s/\\$//
! # Print the line, without the trailing backslash.
! p
! tc
! # There was no trailing backslash. The end of the variable definition is
! # reached. Clear the hold space.
! s/^.*$//
! x
! bd
! :c
! # A trailing backslash means that the variable definition continues in the
! # next line. Put a nonempty string into the hold space to indicate this.
! s/^.*$/P/
! x
! :d
! '
! changequote([,])dnl
!
! # Set POTFILES to the value of the Makefile variable POTFILES.
! sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
! POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
! # Compute POTFILES_DEPS as
! # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
! POTFILES_DEPS=
! for file in $POTFILES; do
! POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
! done
! POMAKEFILEDEPS=""
!
! 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
! if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
! # The LINGUAS file contains the set of available languages.
! ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
! POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
! else
! # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
! 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 assignment from automake < 1.5.
! eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
! # 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)
! # Compute PROPERTIESFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
! # Compute CLASSFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
! # Compute QMFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
! # Compute MSGFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
! # Compute RESOURCESDLLFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
! case "$ac_given_srcdir" in
! .) srcdirpre= ;;
! *) srcdirpre='$(srcdir)/' ;;
! esac
! POFILES=
! UPDATEPOFILES=
! DUMMYPOFILES=
! GMOFILES=
! PROPERTIESFILES=
! CLASSFILES=
! QMFILES=
! MSGFILES=
! RESOURCESDLLFILES=
! 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"
! PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
! CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
! QMFILES="$QMFILES $srcdirpre$lang.qm"
! frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
! MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
! 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/'`
! RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
! 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=
! JAVACATALOGS=
! QTCATALOGS=
! TCLCATALOGS=
! CSHARPCATALOGS=
! if test -n "$INST_LINGUAS"; then
! for lang in $INST_LINGUAS; do
! CATALOGS="$CATALOGS $lang.gmo"
! JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
! QTCATALOGS="$QTCATALOGS $lang.qm"
! frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
! TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
! 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/'`
! CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
! done
! 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" <<EOF
! $frobbedlang.msg: $lang.po
! ${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
! ${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
! EOF
! done
! fi
! if grep -l '@CSHARPCATALOGS@' "$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/_/-/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" <<EOF
! $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
! ${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
! ${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
! EOF
! done
! fi
! if test -n "$POMAKEFILEDEPS"; then
! cat >> "$ac_file.tmp" <<EOF
! Makefile: $POMAKEFILEDEPS
! EOF
! fi
mv "$ac_file.tmp" "$ac_file"
])
--- 145,167 ----
# 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"
# 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
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
! cat "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
fi
;;
esac
done]],
! [])
])
dnl Postprocesses a Makefile in a directory containing PO files.
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
[
! sed -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
mv "$ac_file.tmp" "$ac_file"
])
***************
*** 474,480 ****
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
])
! # Copyright (C) 2002-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 178,184 ----
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
])
! # Copyright (C) 2002-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 486,495 ****
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
! [am__api_version='1.15'
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.15.1], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
--- 190,199 ----
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
! [am__api_version='1.17'
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.17], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
***************
*** 505,516 ****
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
! [AM_AUTOMAKE_VERSION([1.15.1])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
! # Copyright (C) 2011-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 209,220 ----
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
! [AM_AUTOMAKE_VERSION([1.17])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
! # Copyright (C) 2011-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 524,539 ****
AC_DEFUN([AM_PROG_AR],
[AC_BEFORE([$0], [LT_INIT])dnl
AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([ar-lib])dnl
AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
: ${AR=ar}
AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
[AC_LANG_PUSH([C])
am_cv_ar_interface=ar
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
! [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
AC_TRY_EVAL([am_ar_try])
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
--- 228,245 ----
AC_DEFUN([AM_PROG_AR],
[AC_BEFORE([$0], [LT_INIT])dnl
AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
+ AC_BEFORE([$0], [AC_PROG_AR])dnl
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([ar-lib])dnl
AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
: ${AR=ar}
+ : ${ARFLAGS=cr}
AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
[AC_LANG_PUSH([C])
am_cv_ar_interface=ar
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
! [am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
AC_TRY_EVAL([am_ar_try])
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
***************
*** 572,578 ****
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
! # Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 278,284 ----
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 624,630 ****
# AM_CONDITIONAL -*- Autoconf -*-
! # Copyright (C) 1997-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 330,336 ----
# AM_CONDITIONAL -*- Autoconf -*-
! # Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 655,661 ****
Usually this means the macro was only invoked conditionally.]])
fi])])
! # Copyright (C) 1999-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 361,367 ----
Usually this means the macro was only invoked conditionally.]])
fi])])
! # Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 787,793 ****
# 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
--- 493,499 ----
# 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 thus:
# 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
***************
*** 846,852 ****
# Generate code to set up dependency tracking. -*- Autoconf -*-
! # Copyright (C) 1999-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 552,558 ----
# Generate code to set up dependency tracking. -*- Autoconf -*-
! # Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 860,908 ****
# 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
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
--- 565,607 ----
# 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.
! # TODO: see whether this extra hack can be removed once we start
! # requiring Autoconf 2.70 or later.
! AS_CASE([$CONFIG_FILES],
! [*\'*], [eval set x "$CONFIG_FILES"],
! [*], [set x $CONFIG_FILES])
shift
! # Used to flag and report bootstrapping failures.
! am_rc=0
! for am_mf
do
# Strip MF so we end up with the name of the file.
! am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
! # Check whether this is an Automake generated Makefile which includes
! # dependency-tracking related rules and includes.
! # Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
! sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
! || continue
! am_dirpart=`AS_DIRNAME(["$am_mf"])`
! am_filepart=`AS_BASENAME(["$am_mf"])`
! AM_RUN_LOG([cd "$am_dirpart" \
! && sed -e '/# am--include-marker/d' "$am_filepart" \
! | $MAKE -f - am--depfiles]) || am_rc=$?
done
+ if test $am_rc -ne 0; then
+ AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
+ for automatic dependency tracking. If GNU make was not used, consider
+ re-running the configure script with MAKE="gmake" (or whatever is
+ necessary). You can also try re-running configure with the
+ '--disable-dependency-tracking' option to at least be able to build
+ the package (albeit without support for automatic dependency tracking).])
+ fi
+ AS_UNSET([am_dirpart])
+ AS_UNSET([am_filepart])
+ AS_UNSET([am_mf])
+ AS_UNSET([am_rc])
+ rm -f conftest-deps.mk
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
***************
*** 911,928 ****
# -----------------------------
# 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
! # need in order to bootstrap the dependency handling code.
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"])
! ])
# Do all the work for Automake. -*- Autoconf -*-
! # Copyright (C) 1996-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 610,626 ----
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
! # This code is only required when automatic dependency tracking is enabled.
! # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
! # order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
! [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
# Do all the work for Automake. -*- Autoconf -*-
! # Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 950,955 ****
--- 648,657 ----
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.65])dnl
+ m4_ifdef([_$0_ALREADY_INIT],
+ [m4_fatal([$0 expanded multiple times
+ ]m4_defn([_$0_ALREADY_INIT]))],
+ [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])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
***************
*** 986,992 ****
[_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
--- 688,694 ----
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(
! m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([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
***************
*** 1009,1016 ****
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:
! # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
! # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
--- 711,718 ----
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:
! # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
! # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
***************
*** 1038,1044 ****
[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.
--- 740,760 ----
[m4_define([AC_PROG_OBJCXX],
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
! # Variables for tags utilities; see am/tags.am
! if test -z "$CTAGS"; then
! CTAGS=ctags
! fi
! AC_SUBST([CTAGS])
! if test -z "$ETAGS"; then
! ETAGS=etags
! fi
! AC_SUBST([ETAGS])
! if test -z "$CSCOPE"; then
! CSCOPE=cscope
! fi
! AC_SUBST([CSCOPE])
!
! 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.
***************
*** 1046,1092 ****
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
! # POSIX will say in a future version that running "rm -f" with no argument
! # is OK; and we want to be able to make that assumption in our Makefile
! # recipes. So use an aggressive probe to check that the usage we want is
! # actually supported "in the wild" to an acceptable degree.
! # See automake bug#10828.
! # To make any issue more visible, cause the running configure to be aborted
! # by default if the 'rm' program in use doesn't match our expectations; the
! # user can still override this though.
! if rm -f && rm -fr && rm -rf; then : OK; else
! cat >&2 <<'END'
! Oops!
!
! Your 'rm' program seems unable to run without file operands specified
! on the command line, even when the '-f' option is present. This is contrary
! to the behaviour of most rm programs out there, and not conforming with
! the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
!
! Please tell bug-automake@gnu.org about your system, including the value
! of your $PATH and any error possibly output before this message. This
! can help us improve future automake versions.
!
! END
! if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
! echo 'Configuration will proceed anyway, since you have set the' >&2
! echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
! echo >&2
! else
! cat >&2 <<'END'
! Aborting the configuration process, to ensure you take notice of the issue.
- You can download and install GNU coreutils to get an 'rm' implementation
- that behaves properly: <http://www.gnu.org/software/coreutils/>.
-
- If you want to complete the configuration process using your problematic
- 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
- to "yes", and re-run configure.
-
- END
- AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
- fi
- fi
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
--- 762,770 ----
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
! AC_REQUIRE([_AM_PROG_RM_F])
! AC_REQUIRE([_AM_PROG_XARGS_N])
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
***************
*** 1119,1125 ****
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
! # Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 797,803 ----
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1140,1146 ****
fi
AC_SUBST([install_sh])])
! # Copyright (C) 2003-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 818,824 ----
fi
AC_SUBST([install_sh])])
! # Copyright (C) 2003-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1161,1167 ****
# Check to see how 'make' treats includes. -*- Autoconf -*-
! # Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 839,845 ----
# Check to see how 'make' treats includes. -*- Autoconf -*-
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1169,1217 ****
# AM_MAKE_INCLUDE()
# -----------------
! # Check to see how make treats includes.
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
! ])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
! # Copyright (C) 1997-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 847,888 ----
# AM_MAKE_INCLUDE()
# -----------------
! # Check whether make has an 'include' directive that can support all
! # the idioms we need for our automatic dependency tracking code.
AC_DEFUN([AM_MAKE_INCLUDE],
! [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
! cat > confinc.mk << 'END'
am__doit:
! @echo this is the am__doit target >confinc.out
.PHONY: am__doit
END
am__include="#"
am__quote=
! # BSD make does it like this.
! echo '.include "confinc.mk" # ignored' > confmf.BSD
! # Other make implementations (GNU, Solaris 10, AIX) do it like this.
! echo 'include confinc.mk # ignored' > confmf.GNU
! _am_result=no
! for s in GNU BSD; do
! AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
! AS_CASE([$?:`cat confinc.out 2>/dev/null`],
! ['0:this is the am__doit target'],
! [AS_CASE([$s],
! [BSD], [am__include='.include' am__quote='"'],
! [am__include='include' am__quote=''])])
! if test "$am__include" != "#"; then
! _am_result="yes ($s style)"
! break
! fi
! done
! rm -f confinc.* confmf.*
! AC_MSG_RESULT([${_am_result}])
! AC_SUBST([am__include])])
! AC_SUBST([am__quote])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
! # Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1232,1243 ****
[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
--- 903,909 ----
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then
! MISSING="\${SHELL} '$am_aux_dir/missing'"
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
***************
*** 1250,1256 ****
# Helper functions for option handling. -*- Autoconf -*-
! # Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 916,922 ----
# Helper functions for option handling. -*- Autoconf -*-
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1279,1285 ****
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
! # Copyright (C) 1999-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 945,951 ----
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
! # Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1326,1332 ****
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
! # Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 992,1014 ----
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
! # Copyright (C) 2022-2024 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_RM_F
! # ---------------
! # Check whether 'rm -f' without any arguments works.
! # https://bugs.gnu.org/10828
! AC_DEFUN([_AM_PROG_RM_F],
! [am__rm_f_notfound=
! AS_IF([(rm -f && rm -fr && rm -rf) 2>/dev/null], [], [am__rm_f_notfound='""'])
! AC_SUBST(am__rm_f_notfound)
! ])
!
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1345,1360 ****
# Check to make sure that the build environment is sane. -*- Autoconf -*-
! # Copyright (C) 1996-2017 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_SANITY_CHECK
# ---------------
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='
--- 1027,1195 ----
# Check to make sure that the build environment is sane. -*- Autoconf -*-
! # Copyright (C) 1996-2024 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_SLEEP_FRACTIONAL_SECONDS
+ # ----------------------------
+ AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl
+ AC_CACHE_CHECK([whether sleep supports fractional seconds],
+ am_cv_sleep_fractional_seconds, [dnl
+ AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes],
+ [am_cv_sleep_fractional_seconds=no])
+ ])])
+
+ # _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
+ # -----------------------------------
+ # Determine the filesystem's resolution for file modification
+ # timestamps. The coarsest we know of is FAT, with a resolution
+ # of only two seconds, even with the most recent "exFAT" extensions.
+ # The finest (e.g. ext4 with large inodes, XFS, ZFS) is one
+ # nanosecond, matching clock_gettime. However, it is probably not
+ # possible to delay execution of a shell script for less than one
+ # millisecond, due to process creation overhead and scheduling
+ # granularity, so we don't check for anything finer than that. (See below.)
+ AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
+ AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
+ AC_CACHE_CHECK([filesystem timestamp resolution],
+ am_cv_filesystem_timestamp_resolution, [dnl
+ # Default to the worst case.
+ am_cv_filesystem_timestamp_resolution=2
+
+ # Only try to go finer than 1 sec if sleep can do it.
+ # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
+ # - 1 sec is not much of a win compared to 2 sec, and
+ # - it takes 2 seconds to perform the test whether 1 sec works.
+ #
+ # Instead, just use the default 2s on platforms that have 1s resolution,
+ # accept the extra 1s delay when using $sleep in the Automake tests, in
+ # exchange for not incurring the 2s delay for running the test for all
+ # packages.
+ #
+ am_try_resolutions=
+ if test "$am_cv_sleep_fractional_seconds" = yes; then
+ # Even a millisecond often causes a bunch of false positives,
+ # so just try a hundredth of a second. The time saved between .001 and
+ # .01 is not terribly consequential.
+ am_try_resolutions="0.01 0.1 $am_try_resolutions"
+ fi
+
+ # In order to catch current-generation FAT out, we must *modify* files
+ # that already exist; the *creation* timestamp is finer. Use names
+ # that make ls -t sort them differently when they have equal
+ # timestamps than when they have distinct timestamps, keeping
+ # in mind that ls -t prints the *newest* file first.
+ rm -f conftest.ts?
+ : > conftest.ts1
+ : > conftest.ts2
+ : > conftest.ts3
+
+ # Make sure ls -t actually works. Do 'set' in a subshell so we don't
+ # clobber the current shell's arguments. (Outer-level square brackets
+ # are removed by m4; they're present so that m4 does not expand
+ # <dollar><star>; be careful, easy to get confused.)
+ if (
+ set X `[ls -t conftest.ts[12]]` &&
+ {
+ test "$[]*" != "X conftest.ts1 conftest.ts2" ||
+ test "$[]*" != "X conftest.ts2 conftest.ts1";
+ }
+ ); then :; else
+ # 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_ECHO_UNQUOTED(
+ ["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""],
+ [AS_MESSAGE_LOG_FD])
+ AC_MSG_FAILURE([ls -t produces unexpected output.
+ Make sure there is not a broken ls alias in your environment.])
+ fi
+
+ for am_try_res in $am_try_resolutions; do
+ # Any one fine-grained sleep might happen to cross the boundary
+ # between two values of a coarser actual resolution, but if we do
+ # two fine-grained sleeps in a row, at least one of them will fall
+ # entirely within a coarse interval.
+ echo alpha > conftest.ts1
+ sleep $am_try_res
+ echo beta > conftest.ts2
+ sleep $am_try_res
+ echo gamma > conftest.ts3
+
+ # We assume that 'ls -t' will make use of high-resolution
+ # timestamps if the operating system supports them at all.
+ if (set X `ls -t conftest.ts?` &&
+ test "$[]2" = conftest.ts3 &&
+ test "$[]3" = conftest.ts2 &&
+ test "$[]4" = conftest.ts1); then
+ #
+ # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
+ # because we don't need to test make.
+ make_ok=true
+ if test $am_try_res != 1; then
+ # But if we've succeeded so far with a subsecond resolution, we
+ # have one more thing to check: make. It can happen that
+ # everything else supports the subsecond mtimes, but make doesn't;
+ # notably on macOS, which ships make 3.81 from 2006 (the last one
+ # released under GPLv2). https://bugs.gnu.org/68808
+ #
+ # We test $MAKE if it is defined in the environment, else "make".
+ # It might get overridden later, but our hope is that in practice
+ # it does not matter: it is the system "make" which is (by far)
+ # the most likely to be broken, whereas if the user overrides it,
+ # probably they did so with a better, or at least not worse, make.
+ # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
+ #
+ # Create a Makefile (real tab character here):
+ rm -f conftest.mk
+ echo 'conftest.ts1: conftest.ts2' >conftest.mk
+ echo ' touch conftest.ts2' >>conftest.mk
+ #
+ # Now, running
+ # touch conftest.ts1; touch conftest.ts2; make
+ # should touch ts1 because ts2 is newer. This could happen by luck,
+ # but most often, it will fail if make's support is insufficient. So
+ # test for several consecutive successes.
+ #
+ # (We reuse conftest.ts[12] because we still want to modify existing
+ # files, not create new ones, per above.)
+ n=0
+ make=${MAKE-make}
+ until test $n -eq 3; do
+ echo one > conftest.ts1
+ sleep $am_try_res
+ echo two > conftest.ts2 # ts2 should now be newer than ts1
+ if $make -f conftest.mk | grep 'up to date' >/dev/null; then
+ make_ok=false
+ break # out of $n loop
+ fi
+ n=`expr $n + 1`
+ done
+ fi
+ #
+ if $make_ok; then
+ # Everything we know to check worked out, so call this resolution good.
+ am_cv_filesystem_timestamp_resolution=$am_try_res
+ break # out of $am_try_res loop
+ fi
+ # Otherwise, we'll go on to check the next resolution.
+ fi
+ done
+ rm -f conftest.ts?
+ # (end _am_filesystem_timestamp_resolution)
+ ])])
+
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
! [AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION])
! # This check should not be cached, as it may vary across builds of
! # different projects.
! 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='
***************
*** 1373,1421 ****
# 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
--- 1208,1247 ----
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
! am_build_env_is_sane=no
! am_has_slept=no
! rm -f conftest.file
! for am_try in 1 2; do
! echo "timestamp, slept: $am_has_slept" > conftest.file
! 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
! test "$[]2" = conftest.file
! ); then
! am_build_env_is_sane=yes
! break
! fi
! # Just in case.
! sleep "$am_cv_filesystem_timestamp_resolution"
! am_has_slept=yes
! done
!
! AC_MSG_RESULT([$am_build_env_is_sane])
! if test "$am_build_env_is_sane" = no; then
! AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
!
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
! AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
! ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
! ])
AC_CONFIG_COMMANDS_PRE(
[AC_MSG_CHECKING([that generated files are newer than configure])
if test -n "$am_sleep_pid"; then
***************
*** 1426,1443 ****
rm -f conftest.file
])
! # Copyright (C) 2009-2017 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_SILENT_RULES([DEFAULT])
! # --------------------------
! # Enable less verbose build rules; with the default set to DEFAULT
! # ("yes" being less verbose, "no" or empty being verbose).
! 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")])
--- 1252,1269 ----
rm -f conftest.file
])
! # Copyright (C) 2009-2024 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_SILENT_RULES
! # ----------------
! # Enable less verbose build rules support.
! AC_DEFUN([_AM_SILENT_RULES],
! [AM_DEFAULT_VERBOSITY=1
! AC_ARG_ENABLE([silent-rules], [dnl
AS_HELP_STRING(
[--enable-silent-rules],
[less verbose build output (undo: "make V=1")])
***************
*** 1445,1455 ****
[--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.
--- 1271,1276 ----
***************
*** 1468,1481 ****
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
--- 1289,1294 ----
***************
*** 1484,1492 ****
AM_BACKSLASH='\'
AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
! # Copyright (C) 2001-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1297,1329 ----
AM_BACKSLASH='\'
AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+ dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls
+ dnl to AM_SILENT_RULES to change the default value.
+ AC_CONFIG_COMMANDS_PRE([dnl
+ case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ esac
+ 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
+ ])dnl
])
! # AM_SILENT_RULES([DEFAULT])
! # --------------------------
! # Set the default verbosity level to DEFAULT ("yes" being less verbose, "no" or
! # empty being verbose).
! AC_DEFUN([AM_SILENT_RULES],
! [AC_REQUIRE([_AM_SILENT_RULES])
! AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
!
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1514,1520 ****
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
! # Copyright (C) 2006-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1351,1357 ----
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
! # Copyright (C) 2006-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1533,1539 ****
# Check how to create a tarball. -*- Autoconf -*-
! # Copyright (C) 2004-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1370,1376 ----
# Check how to create a tarball. -*- Autoconf -*-
! # Copyright (C) 2004-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1579,1593 ****
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
--- 1416,1434 ----
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 x$am_uid = xunknown; then
! AC_MSG_WARN([ancient id detected; assuming current UID is ok, but dist-ustar might not work])
! elif 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 x$gm_gid = xunknown; then
! AC_MSG_WARN([ancient id detected; assuming current GID is ok, but dist-ustar might not work])
! elif test $am_gid -le $am_max_gid; then
! AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
_am_tools=none
***************
*** 1664,1669 ****
--- 1505,1530 ----
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
+ # Copyright (C) 2022-2024 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_XARGS_N
+ # ----------------
+ # Check whether 'xargs -n' works. It should work everywhere, so the fallback
+ # is not optimized at all as we never expect to use it.
+ AC_DEFUN([_AM_PROG_XARGS_N],
+ [AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl
+ AS_IF([test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
+ 3"], [am_cv_xargs_n_works=yes], [am_cv_xargs_n_works=no])])
+ AS_IF([test "$am_cv_xargs_n_works" = yes], [am__xargs_n='xargs -n'], [dnl
+ am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "$@" "$am__xargs_n_arg"; done; }'
+ ])dnl
+ AC_SUBST(am__xargs_n)
+ ])
+
m4_include([m4/00gnulib.m4])
m4_include([m4/absolute-header.m4])
m4_include([m4/alloca.m4])
Only in patch-2.7.6: autom4te.cache
diff -x '*.o' -crB patch-2.7.6-orig/build-aux/config.sub patch-2.7.6/build-aux/config.sub
*** patch-2.7.6-orig/build-aux/config.sub 2018-02-03 14:41:53.000000000 +0200
--- patch-2.7.6/build-aux/config.sub 2025-03-08 23:57:11.296882064 +0200
***************
*** 1389,1395 ****
| -morphos* | -superux* | -rtmk* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
! | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
--- 1389,1395 ----
| -morphos* | -superux* | -rtmk* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
! | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* | -yggdrasil*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
diff -x '*.o' -crB patch-2.7.6-orig/config.hin patch-2.7.6/config.hin
*** patch-2.7.6-orig/config.hin 2018-02-03 15:33:54.000000000 +0200
--- patch-2.7.6/config.hin 2025-03-08 23:58:49.315049410 +0200
***************
*** 31,42 ****
/* Define to 1 if chown mishandles trailing slash. */
#undef CHOWN_TRAILING_SLASH_BUG
! /* 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 to 1 if the C locale may have encoding errors. */
--- 31,37 ----
/* Define to 1 if chown mishandles trailing slash. */
#undef CHOWN_TRAILING_SLASH_BUG
! /* Define to 1 if using 'alloca.c'. */
#undef C_ALLOCA
/* Define to 1 if the C locale may have encoding errors. */
***************
*** 99,106 ****
/* Define to 1 if futimesat mishandles a NULL file name. */
#undef FUTIMESAT_NULL_BUG
! /* Define to the type of elements in the array set by `getgroups'. Usually
! this is either `int' or `gid_t'. */
#undef GETGROUPS_T
/* Define this to 1 if getgroups(0,NULL) does not return the number of groups.
--- 94,101 ----
/* Define to 1 if futimesat mishandles a NULL file name. */
#undef FUTIMESAT_NULL_BUG
! /* Define to the type of elements in the array argument to 'getgroups'.
! Usually this is either 'int' or 'gid_t'. */
#undef GETGROUPS_T
/* Define this to 1 if getgroups(0,NULL) does not return the number of groups.
***************
*** 371,391 ****
/* Define to 1 when the gnulib module write should be tested. */
#undef GNULIB_TEST_WRITE
! /* Define to 1 if you have the `access' function. */
#undef HAVE_ACCESS
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
may be supplied by this distribution. */
#undef HAVE_ALLOCA
! /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
! */
#undef HAVE_ALLOCA_H
! /* Define to 1 if you have the `attr_copy_action' function. */
#undef HAVE_ATTR_COPY_ACTION
! /* Define to 1 if you have the `attr_copy_file' function. */
#undef HAVE_ATTR_COPY_FILE
/* Define to 1 if you have the <attr/error_context.h> header file. */
--- 366,385 ----
/* Define to 1 when the gnulib module write should be tested. */
#undef GNULIB_TEST_WRITE
! /* Define to 1 if you have the 'access' function. */
#undef HAVE_ACCESS
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
may be supplied by this distribution. */
#undef HAVE_ALLOCA
! /* Define to 1 if <alloca.h> works. */
#undef HAVE_ALLOCA_H
! /* Define to 1 if you have the 'attr_copy_action' function. */
#undef HAVE_ATTR_COPY_ACTION
! /* Define to 1 if you have the 'attr_copy_file' function. */
#undef HAVE_ATTR_COPY_FILE
/* Define to 1 if you have the <attr/error_context.h> header file. */
***************
*** 397,415 ****
/* Define to 1 if you have the <bp-sym.h> header file. */
#undef HAVE_BP_SYM_H
! /* Define to 1 if you have the `canonicalize_file_name' function. */
#undef HAVE_CANONICALIZE_FILE_NAME
! /* Define to 1 if you have the `chown' function. */
#undef HAVE_CHOWN
! /* Define to 1 if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
! /* Define to 1 if you have the `clock_settime' function. */
#undef HAVE_CLOCK_SETTIME
! /* Define to 1 if you have the `closedir' function. */
#undef HAVE_CLOSEDIR
/* Define if you have compound literals. */
--- 391,409 ----
/* Define to 1 if you have the <bp-sym.h> header file. */
#undef HAVE_BP_SYM_H
! /* Define to 1 if you have the 'canonicalize_file_name' function. */
#undef HAVE_CANONICALIZE_FILE_NAME
! /* Define to 1 if you have the 'chown' function. */
#undef HAVE_CHOWN
! /* Define to 1 if you have the 'clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
! /* Define to 1 if you have the 'clock_settime' function. */
#undef HAVE_CLOCK_SETTIME
! /* Define to 1 if you have the 'closedir' function. */
#undef HAVE_CLOSEDIR
/* Define if you have compound literals. */
***************
*** 418,589 ****
/* Define to 1 if you have the <crtdefs.h> header file. */
#undef HAVE_CRTDEFS_H
! /* 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 `dirfd', and to 0 if you don't.
*/
#undef HAVE_DECL_DIRFD
! /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't.
*/
#undef HAVE_DECL_FCHDIR
! /* 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 `getdtablesize', and to 0 if you
don't. */
#undef HAVE_DECL_GETDTABLESIZE
! /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
don't. */
#undef HAVE_DECL_LOCALTIME_R
! /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
don't. */
#undef HAVE_DECL_MBRTOWC
! /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
don't. */
#undef HAVE_DECL_MBSINIT
! /* Define to 1 if you have the declaration of `memrchr', and to 0 if you
don't. */
#undef HAVE_DECL_MEMRCHR
! /* 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 `setenv', and to 0 if you don't.
*/
#undef HAVE_DECL_SETENV
! /* 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_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 `towlower', and to 0 if you
don't. */
#undef HAVE_DECL_TOWLOWER
! /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
*/
#undef HAVE_DECL_TZNAME
! /* 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 `_snprintf', and to 0 if you
don't. */
#undef HAVE_DECL__SNPRINTF
! /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
*/
#undef HAVE_DECL___ARGV
/* Define to 1 if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
! /* Define to 1 if you have the `dirfd' function. */
#undef HAVE_DIRFD
/* Define to 1 if you have the 'dup2' function. */
#undef HAVE_DUP2
! /* Define to 1 if you have the `eaccess' function. */
#undef HAVE_EACCESS
/* Define if you have the declaration of environ. */
#undef HAVE_ENVIRON_DECL
! /* Define to 1 if you have the `euidaccess' function. */
#undef HAVE_EUIDACCESS
! /* Define to 1 if you have the `faccessat' function. */
#undef HAVE_FACCESSAT
! /* Define to 1 if you have the `fchdir' function. */
#undef HAVE_FCHDIR
! /* Define to 1 if you have the `fchmodat' function. */
#undef HAVE_FCHMODAT
! /* Define to 1 if you have the `fchown' function. */
#undef HAVE_FCHOWN
! /* Define to 1 if you have the `fcntl' function. */
#undef HAVE_FCNTL
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
! /* Define to 1 if you have the `fdopendir' function. */
#undef HAVE_FDOPENDIR
/* Define to 1 if you have the <features.h> header file. */
#undef HAVE_FEATURES_H
! /* Define to 1 if you have the `fstatat' function. */
#undef HAVE_FSTATAT
! /* Define to 1 if you have the `futimens' function. */
#undef HAVE_FUTIMENS
! /* Define to 1 if you have the `futimes' function. */
#undef HAVE_FUTIMES
! /* Define to 1 if you have the `futimesat' function. */
#undef HAVE_FUTIMESAT
! /* 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 `geteuid' function. */
#undef HAVE_GETEUID
! /* Define to 1 if you have the `getexecname' function. */
#undef HAVE_GETEXECNAME
! /* Define to 1 if your system has a working `getgroups' function. */
#undef HAVE_GETGROUPS
/* Define to 1 if you have the <getopt.h> 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 `getprogname' function. */
#undef HAVE_GETPROGNAME
! /* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
! /* Define to 1 if you have the `getuid' function. */
#undef HAVE_GETUID
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
--- 412,583 ----
/* Define to 1 if you have the <crtdefs.h> header file. */
#undef HAVE_CRTDEFS_H
! /* 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 'dirfd', and to 0 if you don't.
*/
#undef HAVE_DECL_DIRFD
! /* Define to 1 if you have the declaration of 'fchdir', and to 0 if you don't.
*/
#undef HAVE_DECL_FCHDIR
! /* 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 'getdtablesize', and to 0 if you
don't. */
#undef HAVE_DECL_GETDTABLESIZE
! /* Define to 1 if you have the declaration of 'localtime_r', and to 0 if you
don't. */
#undef HAVE_DECL_LOCALTIME_R
! /* Define to 1 if you have the declaration of 'mbrtowc', and to 0 if you
don't. */
#undef HAVE_DECL_MBRTOWC
! /* Define to 1 if you have the declaration of 'mbsinit', and to 0 if you
don't. */
#undef HAVE_DECL_MBSINIT
! /* Define to 1 if you have the declaration of 'memrchr', and to 0 if you
don't. */
#undef HAVE_DECL_MEMRCHR
! /* 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 'setenv', and to 0 if you don't.
*/
#undef HAVE_DECL_SETENV
! /* 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_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 'towlower', and to 0 if you
don't. */
#undef HAVE_DECL_TOWLOWER
! /* Define to 1 if you have the declaration of 'tzname', and to 0 if you don't.
*/
#undef HAVE_DECL_TZNAME
! /* 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 '_snprintf', and to 0 if you
don't. */
#undef HAVE_DECL__SNPRINTF
! /* Define to 1 if you have the declaration of '__argv', and to 0 if you don't.
*/
#undef HAVE_DECL___ARGV
/* Define to 1 if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
! /* Define to 1 if you have the 'dirfd' function. */
#undef HAVE_DIRFD
/* Define to 1 if you have the 'dup2' function. */
#undef HAVE_DUP2
! /* Define to 1 if you have the 'eaccess' function. */
#undef HAVE_EACCESS
/* Define if you have the declaration of environ. */
#undef HAVE_ENVIRON_DECL
! /* Define to 1 if you have the 'euidaccess' function. */
#undef HAVE_EUIDACCESS
! /* Define to 1 if you have the 'faccessat' function. */
#undef HAVE_FACCESSAT
! /* Define to 1 if you have the 'fchdir' function. */
#undef HAVE_FCHDIR
! /* Define to 1 if you have the 'fchmodat' function. */
#undef HAVE_FCHMODAT
! /* Define to 1 if you have the 'fchown' function. */
#undef HAVE_FCHOWN
! /* Define to 1 if you have the 'fcntl' function. */
#undef HAVE_FCNTL
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
! /* Define to 1 if you have the 'fdopendir' function. */
#undef HAVE_FDOPENDIR
/* Define to 1 if you have the <features.h> header file. */
#undef HAVE_FEATURES_H
! /* Define to 1 if you have the 'fstatat' function. */
#undef HAVE_FSTATAT
! /* Define to 1 if you have the 'futimens' function. */
#undef HAVE_FUTIMENS
! /* Define to 1 if you have the 'futimes' function. */
#undef HAVE_FUTIMES
! /* Define to 1 if you have the 'futimesat' function. */
#undef HAVE_FUTIMESAT
! /* 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 'geteuid' function. */
#undef HAVE_GETEUID
! /* Define to 1 if you have the 'getexecname' function. */
#undef HAVE_GETEXECNAME
! /* Define to 1 if your system has a working 'getgroups' function. */
#undef HAVE_GETGROUPS
/* Define to 1 if you have the <getopt.h> 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 'getprogname' function. */
#undef HAVE_GETPROGNAME
! /* Define to 1 if you have the 'gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
! /* Define to 1 if you have the 'getuid' function. */
#undef HAVE_GETUID
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
***************
*** 596,611 ****
declares uintmax_t. */
#undef HAVE_INTTYPES_H_WITH_UINTMAX
! /* Define to 1 if you have the `iswcntrl' function. */
#undef HAVE_ISWCNTRL
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
! /* Define to 1 if you have the `lchmod' function. */
#undef HAVE_LCHMOD
! /* Define to 1 if you have the `lchown' function. */
#undef HAVE_LCHOWN
/* Define to 1 if you have the <libgen.h> header file. */
--- 590,605 ----
declares uintmax_t. */
#undef HAVE_INTTYPES_H_WITH_UINTMAX
! /* Define to 1 if you have the 'iswcntrl' function. */
#undef HAVE_ISWCNTRL
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
! /* Define to 1 if you have the 'lchmod' function. */
#undef HAVE_LCHMOD
! /* Define to 1 if you have the 'lchown' function. */
#undef HAVE_LCHOWN
/* Define to 1 if you have the <libgen.h> header file. */
***************
*** 614,626 ****
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
! /* Define to 1 if you have the `link' function. */
#undef HAVE_LINK
/* Define to 1 if you have the <linux/fs.h> header file. */
#undef HAVE_LINUX_FS_H
! /* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R
/* Define to 1 if you support file names longer than 14 characters. */
--- 608,620 ----
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
! /* Define to 1 if you have the 'link' function. */
#undef HAVE_LINK
/* Define to 1 if you have the <linux/fs.h> header file. */
#undef HAVE_LINUX_FS_H
! /* Define to 1 if you have the 'localtime_r' function. */
#undef HAVE_LOCALTIME_R
/* Define to 1 if you support file names longer than 14 characters. */
***************
*** 629,638 ****
/* 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 you have the `lutimes' function. */
#undef HAVE_LUTIMES
/* Define to 1 if your system has a GNU libc compatible 'malloc' function, and
--- 623,632 ----
/* 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 you have the 'lutimes' function. */
#undef HAVE_LUTIMES
/* Define to 1 if your system has a GNU libc compatible 'malloc' function, and
***************
*** 646,667 ****
config.h and <sys/mman.h>. */
#undef HAVE_MAP_ANONYMOUS
! /* 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 <wchar.h> declares mbstate_t. */
#undef HAVE_MBSTATE_T
! /* Define to 1 if you have the <memory.h> 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 `memrchr' function. */
#undef HAVE_MEMRCHR
/* Define to 1 if <limits.h> defines the MIN and MAX macros. */
--- 640,658 ----
config.h and <sys/mman.h>. */
#undef HAVE_MAP_ANONYMOUS
! /* 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 <wchar.h> declares mbstate_t. */
#undef HAVE_MBSTATE_T
! /* Define to 1 if you have the 'mempcpy' function. */
#undef HAVE_MEMPCPY
! /* Define to 1 if you have the 'memrchr' function. */
#undef HAVE_MEMRCHR
/* Define to 1 if <limits.h> defines the MIN and MAX macros. */
***************
*** 670,701 ****
/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
#undef HAVE_MINMAX_IN_SYS_PARAM_H
! /* Define to 1 if you have the `mkdirat' function. */
#undef HAVE_MKDIRAT
! /* Define to 1 if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
concept. */
#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
! /* Define to 1 if you have the `nanotime' function. */
#undef HAVE_NANOTIME
! /* Define to 1 if you have the `openat' function. */
#undef HAVE_OPENAT
! /* Define to 1 if you have the `opendir' function. */
#undef HAVE_OPENDIR
! /* Define to 1 if you have the `pathconf' function. */
#undef HAVE_PATHCONF
! /* Define to 1 if you have the `pipe' function. */
#undef HAVE_PIPE
! /* Define to 1 if you have the `raise' function. */
#undef HAVE_RAISE
/* Define to 1 if alphasort is declared even after undefining macros. */
--- 661,692 ----
/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
#undef HAVE_MINMAX_IN_SYS_PARAM_H
! /* Define to 1 if you have the 'mkdirat' function. */
#undef HAVE_MKDIRAT
! /* Define to 1 if you have the 'mprotect' function. */
#undef HAVE_MPROTECT
/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
concept. */
#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
! /* Define to 1 if you have the 'nanotime' function. */
#undef HAVE_NANOTIME
! /* Define to 1 if you have the 'openat' function. */
#undef HAVE_OPENAT
! /* Define to 1 if you have the 'opendir' function. */
#undef HAVE_OPENDIR
! /* Define to 1 if you have the 'pathconf' function. */
#undef HAVE_PATHCONF
! /* Define to 1 if you have the 'pipe' function. */
#undef HAVE_PIPE
! /* Define to 1 if you have the 'raise' function. */
#undef HAVE_RAISE
/* Define to 1 if alphasort is declared even after undefining macros. */
***************
*** 1284,1296 ****
/* Define to 1 if _Exit is declared even after undefining macros. */
#undef HAVE_RAW_DECL__EXIT
! /* Define to 1 if you have the `readdir' function. */
#undef HAVE_READDIR
! /* Define to 1 if you have the `readlink' function. */
#undef HAVE_READLINK
! /* Define to 1 if you have the `readlinkat' function. */
#undef HAVE_READLINKAT
/* Define to 1 if your system has a GNU libc compatible 'realloc' function,
--- 1275,1287 ----
/* Define to 1 if _Exit is declared even after undefining macros. */
#undef HAVE_RAW_DECL__EXIT
! /* Define to 1 if you have the 'readdir' function. */
#undef HAVE_READDIR
! /* Define to 1 if you have the 'readlink' function. */
#undef HAVE_READLINK
! /* Define to 1 if you have the 'readlinkat' function. */
#undef HAVE_READLINKAT
/* Define to 1 if your system has a GNU libc compatible 'realloc' function,
***************
*** 1300,1309 ****
/* Define if the 'realloc' function is POSIX compliant. */
#undef HAVE_REALLOC_POSIX
! /* Define to 1 if you have the `realpath' function. */
#undef HAVE_REALPATH
! /* Define to 1 if you have the `renameat' function. */
#undef HAVE_RENAMEAT
/* Define to 1 if you have run the test for working tzset. */
--- 1291,1300 ----
/* Define if the 'realloc' function is POSIX compliant. */
#undef HAVE_REALLOC_POSIX
! /* Define to 1 if you have the 'realpath' function. */
#undef HAVE_REALPATH
! /* Define to 1 if you have the 'renameat' function. */
#undef HAVE_RENAMEAT
/* Define to 1 if you have run the test for working tzset. */
***************
*** 1312,1327 ****
/* Define to 1 if you have the <search.h> header file. */
#undef HAVE_SEARCH_H
! /* Define to 1 if you have the `setdtablesize' function. */
#undef HAVE_SETDTABLESIZE
! /* Define to 1 if you have the `setenv' function. */
#undef HAVE_SETENV
/* Define to 1 if you have the DOS-style `setmode' function. */
#undef HAVE_SETMODE_DOS
! /* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
--- 1303,1318 ----
/* Define to 1 if you have the <search.h> header file. */
#undef HAVE_SEARCH_H
! /* Define to 1 if you have the 'setdtablesize' function. */
#undef HAVE_SETDTABLESIZE
! /* Define to 1 if you have the 'setenv' function. */
#undef HAVE_SETENV
/* Define to 1 if you have the DOS-style `setmode' function. */
#undef HAVE_SETMODE_DOS
! /* Define to 1 if you have the 'sigaction' function. */
#undef HAVE_SIGACTION
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
***************
*** 1333,1348 ****
/* Define to 1 if 'wint_t' is a signed integer type. */
#undef HAVE_SIGNED_WINT_T
! /* Define to 1 if you have the `sigprocmask' function. */
#undef HAVE_SIGPROCMASK
! /* Define to 1 if you have the `sigsetmask' function. */
#undef HAVE_SIGSETMASK
! /* Define to 1 if the system has the type `sigset_t'. */
#undef HAVE_SIGSET_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
--- 1324,1339 ----
/* Define to 1 if 'wint_t' is a signed integer type. */
#undef HAVE_SIGNED_WINT_T
! /* Define to 1 if you have the 'sigprocmask' function. */
#undef HAVE_SIGPROCMASK
! /* Define to 1 if you have the 'sigsetmask' function. */
#undef HAVE_SIGSETMASK
! /* Define to 1 if the system has the type 'sigset_t'. */
#undef HAVE_SIGSET_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
***************
*** 1357,1369 ****
uintmax_t. */
#undef HAVE_STDINT_H_WITH_UINTMAX
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
! /* 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 <strings.h> header file. */
--- 1348,1363 ----
uintmax_t. */
#undef HAVE_STDINT_H_WITH_UINTMAX
+ /* Define to 1 if you have the <stdio.h> header file. */
+ #undef HAVE_STDIO_H
+
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
! /* Define to 1 if you have the 'strdup' function. */
#undef HAVE_STRDUP
! /* Define if you have 'strerror_r'. */
#undef HAVE_STRERROR_R
/* Define to 1 if you have the <strings.h> header file. */
***************
*** 1372,1411 ****
/* Define to 1 if you have the <string.h> 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 `st_atimensec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
! /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
! /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
! /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
! /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
! /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
! /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
! /* Define to 1 if `tm_zone' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE
! /* Define to 1 if you have the `symlink' function. */
#undef HAVE_SYMLINK
! /* Define to 1 if you have the `symlinkat' function. */
#undef HAVE_SYMLINKAT
/* Define to 1 if you have the <sys/bitypes.h> header file. */
--- 1366,1405 ----
/* Define to 1 if you have the <string.h> 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 'st_atimensec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
! /* Define to 1 if 'st_atimespec.tv_nsec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
! /* Define to 1 if 'st_atim.st__tim.tv_nsec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
! /* Define to 1 if 'st_atim.tv_nsec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
! /* Define to 1 if 'st_birthtimensec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
! /* Define to 1 if 'st_birthtimespec.tv_nsec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
! /* Define to 1 if 'st_birthtim.tv_nsec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
! /* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE
! /* Define to 1 if you have the 'symlink' function. */
#undef HAVE_SYMLINK
! /* Define to 1 if you have the 'symlinkat' function. */
#undef HAVE_SYMLINKAT
/* Define to 1 if you have the <sys/bitypes.h> header file. */
***************
*** 1435,1482 ****
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
! /* Define to 1 if you have the `timegm' function. */
#undef HAVE_TIMEGM
! /* Define to 1 if the system has the type `timezone_t'. */
#undef HAVE_TIMEZONE_T
/* Define if struct tm has the tm_gmtoff member. */
#undef HAVE_TM_GMTOFF
! /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
! `HAVE_STRUCT_TM_TM_ZONE' instead. */
#undef HAVE_TM_ZONE
! /* Define to 1 if you have the `towlower' function. */
#undef HAVE_TOWLOWER
! /* Define to 1 if you have the `tsearch' function. */
#undef HAVE_TSEARCH
! /* Define to 1 if you don't have `tm_zone' but do have the external array
! `tzname'. */
#undef HAVE_TZNAME
! /* Define to 1 if you have the `tzset' function. */
#undef HAVE_TZSET
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
! /* Define to 1 if you have the `unlinkat' function. */
#undef HAVE_UNLINKAT
! /* 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 `utime' function. */
#undef HAVE_UTIME
! /* Define to 1 if you have the `utimensat' function. */
#undef HAVE_UTIMENSAT
/* Define to 1 if you have the <utime.h> header file. */
--- 1429,1476 ----
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
! /* Define to 1 if you have the 'timegm' function. */
#undef HAVE_TIMEGM
! /* Define to 1 if the system has the type 'timezone_t'. */
#undef HAVE_TIMEZONE_T
/* Define if struct tm has the tm_gmtoff member. */
#undef HAVE_TM_GMTOFF
! /* Define to 1 if your 'struct tm' has 'tm_zone'. Deprecated, use
! 'HAVE_STRUCT_TM_TM_ZONE' instead. */
#undef HAVE_TM_ZONE
! /* Define to 1 if you have the 'towlower' function. */
#undef HAVE_TOWLOWER
! /* Define to 1 if you have the 'tsearch' function. */
#undef HAVE_TSEARCH
! /* Define to 1 if you don't have 'tm_zone' but do have the external array
! 'tzname'. */
#undef HAVE_TZNAME
! /* Define to 1 if you have the 'tzset' function. */
#undef HAVE_TZSET
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
! /* Define to 1 if you have the 'unlinkat' function. */
#undef HAVE_UNLINKAT
! /* 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 'utime' function. */
#undef HAVE_UTIME
! /* Define to 1 if you have the 'utimensat' function. */
#undef HAVE_UTIMENSAT
/* Define to 1 if you have the <utime.h> header file. */
***************
*** 1485,1494 ****
/* Define if you have a global __progname variable */
#undef HAVE_VAR___PROGNAME
! /* 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 <wchar.h> header file. */
--- 1479,1488 ----
/* Define if you have a global __progname variable */
#undef HAVE_VAR___PROGNAME
! /* 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 <wchar.h> header file. */
***************
*** 1497,1509 ****
/* 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 `wcslen' function. */
#undef HAVE_WCSLEN
! /* Define to 1 if you have the `wcsnlen' function. */
#undef HAVE_WCSNLEN
/* Define to 1 if you have the <wctype.h> header file. */
--- 1491,1503 ----
/* 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 'wcslen' function. */
#undef HAVE_WCSLEN
! /* Define to 1 if you have the 'wcsnlen' function. */
#undef HAVE_WCSNLEN
/* Define to 1 if you have the <wctype.h> header file. */
***************
*** 1528,1537 ****
/* Define if utimes works properly. */
#undef HAVE_WORKING_UTIMES
! /* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
! /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
#undef HAVE__SET_INVALID_PARAMETER_HANDLER
/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
--- 1522,1531 ----
/* Define if utimes works properly. */
#undef HAVE_WORKING_UTIMES
! /* Define to 1 if the system has the type '_Bool'. */
#undef HAVE__BOOL
! /* Define to 1 if you have the '_set_invalid_parameter_handler' function. */
#undef HAVE__SET_INVALID_PARAMETER_HANDLER
/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
***************
*** 1673,1682 ****
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
! /* Define to 1 if the `S_IS*' macros in <sys/stat.h> 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 *. */
--- 1667,1678 ----
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
! /* Define to 1 if the 'S_IS*' macros in <sys/stat.h> do not work properly. */
#undef STAT_MACROS_BROKEN
! /* Define to 1 if all of the C89 standard headers exist (not just the ones
! required in a freestanding environment). This macro is provided for
! backward compatibility; new code need not use it. */
#undef STDC_HEADERS
/* Define to 1 if strerror_r returns char *. */
***************
*** 1685,1691 ****
/* Define to 1 if time_t is signed. */
#undef TIME_T_IS_SIGNED
! /* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
/* Define to 1 if the type of the st_atim member of a struct stat is struct
--- 1681,1687 ----
/* Define to 1 if time_t is signed. */
#undef TIME_T_IS_SIGNED
! /* Define to 1 if your <sys/time.h> declares 'struct tm'. */
#undef TM_IN_SYS_TIME
/* Define to 1 if the type of the st_atim member of a struct stat is struct
***************
*** 1800,1815 ****
# endif
#endif
- /* Enable large inode numbers on Mac OS X 10.5. */
- #undef _DARWIN_USE_64_BIT_INODE
-
/* 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 for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to 1 if on MINIX. */
--- 1796,1808 ----
# 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 on platforms where this makes off_t a 64-bit type. */
#undef _LARGE_FILES
/* Define to 1 if on MINIX. */
***************
*** 1839,1844 ****
--- 1832,1840 ----
/* Define to 1 if you need to in order for 'stat' and other things to work. */
#undef _POSIX_SOURCE
+ /* Number of bits in time_t, on hosts where this is settable. */
+ #undef _TIME_BITS
+
/* For standard stat data types on VMS. */
#undef _USE_STD_STAT
***************
*** 1846,1851 ****
--- 1842,1850 ----
used. */
#undef __GETOPT_PREFIX
+ /* Define to 1 on platforms where this makes time_t a 64-bit type. */
+ #undef __MINGW_USE_VC2005_COMPAT
+
/* Define to 1 if the system <stdint.h> predates C++11. */
#undef __STDC_CONSTANT_MACROS
***************
*** 1944,1950 ****
# define _GL_INLINE_HEADER_END
#endif
! /* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
/* A replacement for va_copy, if needed. */
--- 1943,1949 ----
# define _GL_INLINE_HEADER_END
#endif
! /* Define as 'int' if <sys/types.h> doesn't define. */
#undef gid_t
/* A replacement for va_copy, if needed. */
***************
*** 1972,1978 ****
/* Define to the real name of the mktime_internal function. */
#undef mktime_internal
! /* Define to `int' if <sys/types.h> does not define. */
#undef mode_t
/* Define to the name of the strftime replacement function. */
--- 1971,1977 ----
/* Define to the real name of the mktime_internal function. */
#undef mktime_internal
! /* Define to 'int' if <sys/types.h> does not define. */
#undef mode_t
/* Define to the name of the strftime replacement function. */
***************
*** 1981,1990 ****
/* Define to the type of st_nlink in struct stat, or a supertype. */
#undef nlink_t
! /* Define to `long int' if <sys/types.h> does not define. */
#undef off_t
! /* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
/* Define as the type of the result of subtracting two pointers, if the system
--- 1980,1989 ----
/* Define to the type of st_nlink in struct stat, or a supertype. */
#undef nlink_t
! /* Define to 'long int' if <sys/types.h> does not define. */
#undef off_t
! /* Define as a signed integer type capable of holding a process identifier. */
#undef pid_t
/* Define as the type of the result of subtracting two pointers, if the system
***************
*** 2005,2017 ****
# define __restrict__
#endif
! /* Define to `unsigned int' if <sys/types.h> 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 <sys/types.h> doesn't define. */
#undef uid_t
/* Define as a marker that can be attached to declarations that might not
--- 2004,2016 ----
# define __restrict__
#endif
! /* Define as 'unsigned int' if <stddef.h> doesn't define. */
#undef size_t
/* Define as a signed type of the same size as size_t. */
#undef ssize_t
! /* Define as 'int' if <sys/types.h> doesn't define. */
#undef uid_t
/* Define as a marker that can be attached to declarations that might not
Only in patch-2.7.6: config.hin~
diff -x '*.o' -crB patch-2.7.6-orig/configure patch-2.7.6/configure
*** patch-2.7.6-orig/configure 2018-02-03 15:41:50.000000000 +0200
--- patch-2.7.6/configure 2025-03-08 23:58:49.180074513 +0200
***************
*** 1,11 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.69 for GNU patch 2.7.6.
#
# Report bugs to <bug-patch@gnu.org>.
#
#
! # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
--- 1,12 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.72 for GNU patch 2.7.6.
#
# Report bugs to <bug-patch@gnu.org>.
#
#
! # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
! # Inc.
#
#
# This configure script is free software; the Free Software Foundation
***************
*** 16,78 ****
# 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 ||
--- 17,81 ----
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
! if test ${ZSH_VERSION+y} && (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 e in #(
! e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+ esac ;;
esac
fi
+
+ # Reset variables that may have inherited troublesome values from
+ # the environment.
+
+ # IFS needs to be set, to space, tab, and newline, in precisely that order.
+ # (If _AS_PATH_WALK were called with IFS unset, it would have the
+ # side effect of setting IFS to empty, thus disabling word splitting.)
+ # Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
! IFS=" "" $as_nl"
!
! PS1='$ '
! PS2='> '
! PS4='+ '
!
! # Ensure predictable behavior from utilities with locale-dependent output.
! LC_ALL=C
! export LC_ALL
! LANGUAGE=C
! export LANGUAGE
!
! # We cannot yet rely on "unset" to work, but we need these variables
! # to be unset--not just set to an empty or harmless value--now, to
! # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
! # also avoids known problems related to "unset" and subshell syntax
! # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
! for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
! do eval test \${$as_var+y} \
! && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! done
!
! # Ensure that fds 0, 1, and 2 are open.
! if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
! if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
! if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
# The user is always right.
! if ${PATH_SEPARATOR+false} :; 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 ||
***************
*** 81,93 ****
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 #((
--- 84,89 ----
***************
*** 96,138 ****
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.
--- 92,118 ----
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! 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
! printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# Use a proper internal environment variable to ensure we don't fall
# into an infinite loop, continuously re-executing ourselves.
***************
*** 153,178 ****
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
"
--- 133,160 ----
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'.
! printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
! 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 \${ZSH_VERSION+y} && (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 e in #(
! e) case \`(set -o) 2>/dev/null\` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+ esac ;;
esac
fi
"
***************
*** 187,228 ****
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
--- 169,223 ----
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 case e in #(
! e) exitcode=1; echo positional parameters were not saved. ;;
! esac
fi
test x\$exitcode = x0 || exit 1
+ blah=\$(echo \$(echo blah))
+ test x\"\$blah\" = xblah || 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 case e in #(
! e) as_have_required=no ;;
! esac
fi
! if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
! then :
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
! then :
CONFIG_SHELL=$as_shell as_have_required=yes
! if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
! then :
break 2
fi
fi
***************
*** 230,243 ****
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
--- 225,246 ----
esac
as_found=false
done
IFS=$as_save_IFS
+ if $as_found
+ then :
+
+ else case e in #(
+ e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
+ then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+ fi ;;
+ esac
+ fi
! 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
***************
*** 254,279 ****
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-patch@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}
--- 257,284 ----
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'.
! printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
! if test x$as_have_required = xno
! then :
! printf "%s\n" "$0: This script requires a shell more modern than all"
! printf "%s\n" "$0: the shells that I found on your system."
! if test ${ZSH_VERSION+y} ; then
! printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
! printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
else
! printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and bug-patch@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 ;;
! esac
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
***************
*** 325,331 ****
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"
--- 331,337 ----
as_dirs=
while :; do
case $as_dir in #(
! *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
***************
*** 334,340 ****
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
--- 340,346 ----
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
***************
*** 373,388 ****
# 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...
--- 379,396 ----
# 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 case e in #(
! e) as_fn_append ()
{
eval $1=\$$1\$2
! } ;;
! esac
fi # as_fn_append
# as_fn_arith ARG...
***************
*** 390,405 ****
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) 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
--- 398,415 ----
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
! if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
! then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
! else case e in #(
! e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
! } ;;
! esac
fi # as_fn_arith
***************
*** 413,421 ****
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
--- 423,431 ----
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
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
! printf "%s\n" "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
***************
*** 442,448 ****
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! $as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
--- 452,458 ----
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
***************
*** 475,480 ****
--- 485,492 ----
/[$]LINENO/=
' <$as_myself |
sed '
+ t clear
+ :clear
s/[$]LINENO.*/&-/
t lineno
b
***************
*** 486,492 ****
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
--- 498,504 ----
s/-\n.*//
' >$as_me.lineno &&
chmod +x "$as_me.lineno" ||
! { printf "%s\n" "$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
***************
*** 500,505 ****
--- 512,521 ----
exit
}
+
+ # Determine whether it's possible to make 'echo' print without a newline.
+ # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
+ # for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
***************
*** 513,518 ****
--- 529,540 ----
ECHO_N='-n';;
esac
+ # For backward compatibility with old third-party macros, we provide
+ # the shell variables $as_echo and $as_echo_n. New code should use
+ # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
***************
*** 524,532 ****
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
--- 546,554 ----
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
***************
*** 551,560 ****
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 </dev/null
--- 573,584 ----
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
! as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
! as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! as_tr_sh="eval sed '$as_sed_sh'" # deprecated
test -n "$DJDIR" || exec 7<&0 </dev/null
***************
*** 583,630 ****
PACKAGE_VERSION='2.7.6'
PACKAGE_STRING='GNU patch 2.7.6'
PACKAGE_BUGREPORT='bug-patch@gnu.org'
! PACKAGE_URL='http://www.gnu.org/software/patch/'
ac_unique_file="src/patch.c"
# Factoring default headers for most tests.
ac_includes_default="\
! #include <stdio.h>
! #ifdef HAVE_SYS_TYPES_H
! # include <sys/types.h>
! #endif
! #ifdef HAVE_SYS_STAT_H
! # include <sys/stat.h>
#endif
! #ifdef STDC_HEADERS
# include <stdlib.h>
- # include <stddef.h>
- #else
- # ifdef HAVE_STDLIB_H
- # include <stdlib.h>
- # endif
#endif
#ifdef HAVE_STRING_H
- # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
- # include <memory.h>
- # endif
# include <string.h>
#endif
- #ifdef HAVE_STRINGS_H
- # include <strings.h>
- #endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"
! ac_func_list=
! ac_header_list=
gl_getopt_required=POSIX
ac_subst_vars='gltests_LTLIBOBJS
gltests_LIBOBJS
gl_LTLIBOBJS
--- 607,650 ----
PACKAGE_VERSION='2.7.6'
PACKAGE_STRING='GNU patch 2.7.6'
PACKAGE_BUGREPORT='bug-patch@gnu.org'
! PACKAGE_URL='https://www.gnu.org/software/patch/'
ac_unique_file="src/patch.c"
# Factoring default headers for most tests.
ac_includes_default="\
! #include <stddef.h>
! #ifdef HAVE_STDIO_H
! # include <stdio.h>
#endif
! #ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
+ #ifdef HAVE_STRINGS_H
+ # include <strings.h>
+ #endif
+ #ifdef HAVE_SYS_TYPES_H
+ # include <sys/types.h>
+ #endif
+ #ifdef HAVE_SYS_STAT_H
+ # include <sys/stat.h>
+ #endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"
! ac_header_c_list=
! ac_func_c_list=
gl_getopt_required=POSIX
+ enable_year2038=no
ac_subst_vars='gltests_LTLIBOBJS
gltests_LIBOBJS
gl_LTLIBOBJS
***************
*** 1154,1159 ****
--- 1174,1180 ----
GNULIB_FSTAT
GNULIB_FCHMODAT
LIB_EACCESS
+ GETGROUPS_LIB
EOVERFLOW_VALUE
EOVERFLOW_HIDDEN
ENOLINK_VALUE
***************
*** 1173,1179 ****
INCLUDE_NEXT_AS_FIRST_DIRECTIVE
INCLUDE_NEXT
pkglibexecdir
- runstatedir
lispdir
REPLACE_FDOPENDIR
REPLACE_DIRFD
--- 1194,1199 ----
***************
*** 1410,1415 ****
--- 1430,1443 ----
GNULIB_CALLOC_POSIX
GNULIB_ATOLL
GNULIB__EXIT
+ GL_GENERATE_ALLOCA_H_FALSE
+ GL_GENERATE_ALLOCA_H_TRUE
+ ALLOCA_H
+ ALLOCA
+ GL_COND_LIBTOOL_FALSE
+ GL_COND_LIBTOOL_TRUE
+ EGREP
+ GREP
host_os
host_vendor
host_cpu
***************
*** 1418,1435 ****
build_vendor
build_cpu
build
- GL_GENERATE_ALLOCA_H_FALSE
- GL_GENERATE_ALLOCA_H_TRUE
- ALLOCA_H
- ALLOCA
- GL_COND_LIBTOOL_FALSE
- GL_COND_LIBTOOL_TRUE
RANLIB
ARFLAGS
ac_ct_AR
AR
- EGREP
- GREP
CPP
am__fastdepCC_FALSE
am__fastdepCC_TRUE
--- 1446,1455 ----
***************
*** 1438,1444 ****
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
- am__quote
am__include
DEPDIR
OBJEXT
--- 1458,1463 ----
***************
*** 1448,1457 ****
--- 1467,1481 ----
LDFLAGS
CFLAGS
CC
+ am__xargs_n
+ am__rm_f_notfound
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
AM_DEFAULT_V
AM_V
+ CSCOPE
+ ETAGS
+ CTAGS
am__untar
am__tar
AMTAR
***************
*** 1498,1503 ****
--- 1522,1528 ----
docdir
oldincludedir
includedir
+ runstatedir
localstatedir
sharedstatedir
sysconfdir
***************
*** 1516,1522 ****
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
! SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
--- 1541,1548 ----
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
! SHELL
! am__quote'
ac_subst_files=''
ac_user_opts='
enable_option_checking
***************
*** 1526,1531 ****
--- 1552,1558 ----
enable_largefile
enable_gcc_warnings
enable_xattr
+ enable_year2038
'
ac_precious_vars='build_alias
host_alias
***************
*** 1576,1581 ****
--- 1603,1609 ----
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+ runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
***************
*** 1605,1612 ****
*) ac_optarg=yes ;;
esac
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
case $ac_dashdash$ac_option in
--)
ac_dashdash=yes ;;
--- 1633,1638 ----
***************
*** 1647,1655 ****
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"
--- 1673,1681 ----
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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"enable_$ac_useropt"
***************
*** 1673,1681 ****
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"
--- 1699,1707 ----
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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"enable_$ac_useropt"
***************
*** 1828,1833 ****
--- 1854,1868 ----
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
***************
*** 1877,1885 ****
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"
--- 1912,1920 ----
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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"with_$ac_useropt"
***************
*** 1893,1901 ****
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"
--- 1928,1936 ----
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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"with_$ac_useropt"
***************
*** 1923,1930 ****
| --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"
;;
*=*)
--- 1958,1965 ----
| --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"
;;
*=*)
***************
*** 1932,1947 ****
# 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}"
;;
--- 1967,1982 ----
# 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.
! printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
;;
***************
*** 1957,1963 ****
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
--- 1992,1998 ----
case $enable_option_checking in
no) ;;
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
! *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
esac
fi
***************
*** 1965,1971 ****
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.
--- 2000,2006 ----
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 runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
***************
*** 1982,1988 ****
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
--- 2017,2023 ----
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
***************
*** 2021,2027 ****
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
--- 2056,2062 ----
X"$as_myself" : 'X\(//\)[^/]' \| \
X"$as_myself" : 'X\(//\)$' \| \
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X"$as_myself" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
***************
*** 2050,2056 ****
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)`
--- 2085,2091 ----
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)`
***************
*** 2078,2084 ****
# 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 patch 2.7.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
--- 2113,2119 ----
# 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 patch 2.7.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
***************
*** 2092,2102 ****
--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
--- 2127,2137 ----
--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
***************
*** 2104,2113 ****
--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.
--- 2139,2148 ----
--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.
***************
*** 2118,2123 ****
--- 2153,2159 ----
--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]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
***************
*** 2166,2171 ****
--- 2202,2208 ----
--disable-largefile omit support for large files
--enable-gcc-warnings turn on lots of GCC warnings (for developers)
--disable-xattr do not support extended attributes
+ --enable-year2038 support timestamps after 2038
Some influential environment variables:
CC C compiler command
***************
*** 2184,2195 ****
string to avoid a default value of '-d' given by some make
applications.
! 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 <bug-patch@gnu.org>.
! GNU patch home page: <http://www.gnu.org/software/patch/>.
! General help using GNU software: <http://www.gnu.org/gethelp/>.
_ACEOF
ac_status=$?
fi
--- 2221,2232 ----
string to avoid a default value of '-d' given by some make
applications.
! 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 <bug-patch@gnu.org>.
! GNU patch home page: <https://www.gnu.org/software/patch/>.
! General help using GNU software: <https://www.gnu.org/gethelp/>.
_ACEOF
ac_status=$?
fi
***************
*** 2205,2213 ****
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/ ;;
--- 2242,2250 ----
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
! ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
! ac_top_builddir_sub=`printf "%s\n" "$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/ ;;
***************
*** 2235,2241 ****
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
--- 2272,2279 ----
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
cd "$ac_dir" || { ac_status=$?; continue; }
! # Check for configure.gnu first; this name is used for a wrapper for
! # Metaconfig's "Configure" on case-insensitive file systems.
if test -f "$ac_srcdir/configure.gnu"; then
echo &&
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
***************
*** 2243,2249 ****
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
--- 2281,2287 ----
echo &&
$SHELL "$ac_srcdir/configure" --help=recursive
else
! printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; }
done
***************
*** 2253,2261 ****
if $ac_init_version; then
cat <<\_ACEOF
GNU patch configure 2.7.6
! 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
--- 2291,2299 ----
if $ac_init_version; then
cat <<\_ACEOF
GNU patch configure 2.7.6
! generated by GNU Autoconf 2.72
! Copyright (C) 2023 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
***************
*** 2272,2285 ****
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
--- 2310,2323 ----
ac_fn_c_try_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! rm -f conftest.$ac_objext conftest.beam
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\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
***************
*** 2287,2509 ****
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.$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-patch@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.$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_check_type LINENO TYPE VAR INCLUDES
# -------------------------------------------
--- 2325,2422 ----
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
! printf "%s\n" "$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 case e in #(
! e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
! ac_retval=1 ;;
esac
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_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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! printf %s "checking for $2... " >&6; }
! if eval test \${$3+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 case e in #(
! e) eval "$3=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
eval ac_res=\$$3
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! } # ac_fn_c_check_header_compile
! # ac_fn_c_try_cpp LINENO
# ----------------------
! # Try to preprocess conftest.$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\""
! printf "%s\n" "$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
! printf "%s\n" "$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 case e in #(
! e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
! ac_retval=1 ;;
! esac
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_type LINENO TYPE VAR INCLUDES
# -------------------------------------------
***************
*** 2512,2528 ****
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;
--- 2425,2442 ----
ac_fn_c_check_type ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! printf %s "checking for $2... " >&6; }
! if eval test \${$3+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) eval "$3=no"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
! main (void)
{
if (sizeof ($2))
return 0;
***************
*** 2530,2541 ****
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;
--- 2444,2456 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
! main (void)
{
if (sizeof (($2)))
return 0;
***************
*** 2543,2560 ****
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
--- 2458,2478 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! else case e in #(
! e) eval "$3=yes" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$3
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_type
***************
*** 2565,2578 ****
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
--- 2483,2496 ----
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.beam 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\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
***************
*** 2580,2599 ****
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
--- 2498,2519 ----
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
! printf "%s\n" "$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 case e in #(
! e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
! ac_retval=1 ;;
! esac
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
***************
*** 2605,2638 ****
} # ac_fn_c_try_link
# 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 <limits.h> declares $2.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $2 (); below.
! Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! <limits.h> exists even on freestanding compilers. */
!
! #ifdef __STDC__
! # include <limits.h>
! #else
! # include <assert.h>
! #endif
#undef $2
/* Override any GCC internal prototype to avoid an error.
--- 2525,2596 ----
} # ac_fn_c_try_link
+ # ac_fn_c_try_run LINENO
+ # ----------------------
+ # Try to run conftest.$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\""
+ printf "%s\n" "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ printf "%s\n" "$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\""
+ printf "%s\n" "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }
+ then :
+ ac_retval=0
+ else case e in #(
+ e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
+ printf "%s\n" "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status ;;
+ esac
+ 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_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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! printf %s "checking for $2... " >&6; }
! if eval test \${$3+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $2 (void); below. */
+ #include <limits.h>
#undef $2
/* Override any GCC internal prototype to avoid an error.
***************
*** 2641,2647 ****
#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. */
--- 2599,2605 ----
#ifdef __cplusplus
extern "C"
#endif
! char $2 (void);
/* 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. */
***************
*** 2650,2696 ****
#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
--- 2608,2660 ----
#endif
int
! main (void)
{
return $2 ();
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
eval "$3=yes"
! else case e in #(
! e) eval "$3=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$3
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_func
! # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
! # ------------------------------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
! # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
! ac_fn_check_decl ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
as_decl_name=`echo $2|sed 's/ *(.*//'`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
! printf %s "checking whether $as_decl_name is declared... " >&6; }
! if eval test \${$3+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
! eval ac_save_FLAGS=\$$6
! as_fn_append $6 " $5"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
! main (void)
{
#ifndef $as_decl_name
#ifdef __cplusplus
***************
*** 2704,2722 ****
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
# --------------------------------------------
--- 2668,2691 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$3=yes"
! else case e in #(
! e) eval "$3=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! eval $6=\$ac_save_FLAGS
! ;;
! esac
fi
eval ac_res=\$$3
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! } # ac_fn_check_decl
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
# --------------------------------------------
***************
*** 2732,2738 ****
/* end confdefs.h. */
$4
int
! main ()
{
static int test_array [1 - 2 * !(($2) >= 0)];
test_array [0] = 0;
--- 2701,2707 ----
/* end confdefs.h. */
$4
int
! main (void)
{
static int test_array [1 - 2 * !(($2) >= 0)];
test_array [0] = 0;
***************
*** 2742,2755 ****
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;
--- 2711,2725 ----
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 (void)
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
***************
*** 2759,2782 ****
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;
--- 2729,2754 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_hi=$ac_mid; break
! else case e in #(
! e) 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 ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
! main (void)
{
static int test_array [1 - 2 * !(($2) < 0)];
test_array [0] = 0;
***************
*** 2786,2799 ****
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;
--- 2758,2772 ----
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 (void)
{
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
test_array [0] = 0;
***************
*** 2803,2826 ****
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
--- 2776,2803 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_lo=$ac_mid; break
! else case e in #(
! e) 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 ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
! else case e in #(
! e) ac_lo= ac_hi= ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam 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
***************
*** 2828,2834 ****
/* end confdefs.h. */
$4
int
! main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
--- 2805,2811 ----
/* end confdefs.h. */
$4
int
! main (void)
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
***************
*** 2838,2849 ****
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 ;;
--- 2815,2828 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_hi=$ac_mid
! else case e in #(
! e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
case $ac_lo in #((
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
***************
*** 2853,2864 ****
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 <stdio.h>
#include <stdlib.h>
int
! main ()
{
FILE *f = fopen ("conftest.val", "w");
--- 2832,2843 ----
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
! static long int longval (void) { return $2; }
! static unsigned long int ulongval (void) { return $2; }
#include <stdio.h>
#include <stdlib.h>
int
! main (void)
{
FILE *f = fopen ("conftest.val", "w");
***************
*** 2886,2895 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
! else
! ac_retval=1
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
--- 2865,2876 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
! else case e in #(
! e) ac_retval=1 ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
***************
*** 2908,2923 ****
ac_fn_c_check_member ()
{
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 \${$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)
--- 2889,2905 ----
ac_fn_c_check_member ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
! printf %s "checking for $2.$3... " >&6; }
! if eval test \${$4+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$5
int
! main (void)
{
static $2 ac_aggr;
if (ac_aggr.$3)
***************
*** 2926,2939 ****
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)
--- 2908,2922 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$4=yes"
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$5
int
! main (void)
{
static $2 ac_aggr;
if (sizeof ac_aggr.$3)
***************
*** 2942,2970 ****
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 patch $as_me 2.7.6, which was
! generated by GNU Autoconf 2.69. Invocation command line was
! $ $0 $@
_ACEOF
exec 5>>config.log
--- 2925,2977 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$4=yes"
! else case e in #(
! e) eval "$4=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$4
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_member
+ ac_configure_args_raw=
+ for ac_arg
+ do
+ case $ac_arg in
+ *\'*)
+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append ac_configure_args_raw " '$ac_arg'"
+ done
+
+ case $ac_configure_args_raw in
+ *$as_nl*)
+ ac_safe_unquote= ;;
+ *)
+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
+ ac_unsafe_a="$ac_unsafe_z#~"
+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
+ esac
+
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 patch $as_me 2.7.6, which was
! generated by GNU Autoconf 2.72. Invocation command line was
! $ $0$ac_configure_args_raw
_ACEOF
exec 5>>config.log
***************
*** 2997,3004 ****
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
--- 3004,3015 ----
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! printf "%s\n" "PATH: $as_dir"
done
IFS=$as_save_IFS
***************
*** 3033,3039 ****
| -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'" ;;
--- 3044,3050 ----
| -silent | --silent | --silen | --sile | --sil)
continue ;;
*\'*)
! ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
case $ac_pass in
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
***************
*** 3068,3078 ****
# 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
--- 3079,3091 ----
# 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=$?
+ # Sanitize IFS.
+ IFS=" "" $as_nl"
# Save into config.log some information that might help in debugging.
{
echo
! printf "%s\n" "## ---------------- ##
## Cache variables. ##
## ---------------- ##"
echo
***************
*** 3083,3090 ****
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) ;; #(
--- 3096,3103 ----
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
! *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
***************
*** 3108,3114 ****
)
echo
! $as_echo "## ----------------- ##
## Output variables. ##
## ----------------- ##"
echo
--- 3121,3127 ----
)
echo
! printf "%s\n" "## ----------------- ##
## Output variables. ##
## ----------------- ##"
echo
***************
*** 3116,3129 ****
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
--- 3129,3142 ----
do
eval ac_val=\$$ac_var
case $ac_val in
! *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
! printf "%s\n" "$ac_var='\''$ac_val'\''"
done | sort
echo
if test -n "$ac_subst_files"; then
! printf "%s\n" "## ------------------- ##
## File substitutions. ##
## ------------------- ##"
echo
***************
*** 3131,3145 ****
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
--- 3144,3158 ----
do
eval ac_val=\$$ac_var
case $ac_val in
! *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
! printf "%s\n" "$ac_var='\''$ac_val'\''"
done | sort
echo
fi
if test -s confdefs.h; then
! printf "%s\n" "## ----------- ##
## confdefs.h. ##
## ----------- ##"
echo
***************
*** 3147,3154 ****
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 &&
--- 3160,3167 ----
echo
fi
test "$ac_signal" != 0 &&
! printf "%s\n" "$as_me: caught signal $ac_signal"
! printf "%s\n" "$as_me: exit $exit_status"
} >&5
rm -f core *.core core.conftest.* &&
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
***************
*** 3162,3226 ****
# 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
--- 3175,3224 ----
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h
! printf "%s\n" "/* confdefs.h */" > confdefs.h
# Predefined preprocessor variables.
! printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
! printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
! printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
! printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
! printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
! printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
# Let the site file select an alternate cache file if it wants to.
# Prefer an explicitly selected file to automatically selected ones.
if test -n "$CONFIG_SITE"; then
! ac_site_files="$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
! ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
else
! ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi
!
! for ac_site_file in $ac_site_files
do
! case $ac_site_file in #(
! */*) :
! ;; #(
! *) :
! ac_site_file=./$ac_site_file ;;
! esac
! if test -f "$ac_site_file" && test -r "$ac_site_file"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" \
! || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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
***************
*** 3228,3313 ****
# 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
! as_fn_append ac_func_list " pathconf"
! 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_header_list " unistd.h"
! as_fn_append ac_func_list " chown"
! as_fn_append ac_func_list " fchown"
! as_fn_append ac_func_list " _set_invalid_parameter_handler"
! as_fn_append ac_header_list " sys/socket.h"
! as_fn_append ac_func_list " fchdir"
! as_fn_append ac_header_list " dirent.h"
! as_fn_append ac_func_list " fdopendir"
! as_fn_append ac_func_list " faccessat"
! as_fn_append ac_func_list " fchmodat"
! as_fn_append ac_func_list " lchmod"
! as_fn_append ac_func_list " fcntl"
! as_fn_append ac_func_list " symlink"
! as_fn_append ac_func_list " mempcpy"
! as_fn_append ac_header_list " sys/stat.h"
! as_fn_append ac_func_list " fstatat"
! 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/cdefs.h"
! as_fn_append ac_func_list " getprogname"
! as_fn_append ac_func_list " getexecname"
! as_fn_append ac_func_list " gettimeofday"
! as_fn_append ac_func_list " nanotime"
! as_fn_append ac_header_list " sys/time.h"
! as_fn_append ac_header_list " limits.h"
! as_fn_append ac_header_list " wchar.h"
! as_fn_append ac_header_list " stdint.h"
! as_fn_append ac_header_list " inttypes.h"
! as_fn_append ac_func_list " lstat"
! 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 " mkdirat"
! as_fn_append ac_func_list " tzset"
! as_fn_append ac_func_list " openat"
! as_fn_append ac_func_list " readlinkat"
! as_fn_append ac_func_list " link"
! as_fn_append ac_func_list " renameat"
! as_fn_append ac_func_list " setenv"
! as_fn_append ac_func_list " strdup"
! as_fn_append ac_func_list " strndup"
! as_fn_append ac_func_list " symlinkat"
! as_fn_append ac_func_list " localtime_r"
! as_fn_append ac_func_list " timegm"
! as_fn_append ac_func_list " pipe"
! as_fn_append ac_func_list " unlinkat"
! as_fn_append ac_func_list " utime"
! as_fn_append ac_header_list " utime.h"
! as_fn_append ac_func_list " futimes"
! as_fn_append ac_func_list " futimesat"
! as_fn_append ac_func_list " futimens"
! as_fn_append ac_func_list " utimensat"
! as_fn_append ac_func_list " lutimes"
! as_fn_append ac_func_list " vasnprintf"
! as_fn_append ac_header_list " features.h"
! as_fn_append ac_func_list " snprintf"
! as_fn_append ac_header_list " crtdefs.h"
! as_fn_append ac_func_list " iswcntrl"
! as_fn_append ac_header_list " wctype.h"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
--- 3226,3740 ----
# 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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
! # Test code for whether the C compiler supports C89 (global declarations)
! ac_c_conftest_c89_globals='
! /* Does the compiler advertise C89 conformance?
! Do not test the value of __STDC__, because some compilers set it to 0
! while being otherwise adequately conformant. */
! #if !defined __STDC__
! # error "Compiler does not advertise C89 conformance"
! #endif
!
! #include <stddef.h>
! #include <stdarg.h>
! struct stat;
! /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
! struct buf { int x; };
! struct buf * (*rcsopen) (struct buf *, struct stat *, int);
! static char *e (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;
! }
!
! /* C89 style stringification. */
! #define noexpand_stringify(a) #a
! const char *stringified = noexpand_stringify(arbitrary+token=sequence);
!
! /* C89 style token pasting. Exercises some of the corner cases that
! e.g. old MSVC gets wrong, but not very hard. */
! #define noexpand_concat(a,b) a##b
! #define expand_concat(a,b) noexpand_concat(a,b)
! extern int vA;
! extern int vbee;
! #define aye A
! #define bee B
! int *pvA = &expand_concat(v,aye);
! int *pvbee = &noexpand_concat(v,bee);
!
! /* 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 do not provoke an error unfortunately, instead are silently treated
! as an "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 is necessary to write \x00 == 0 to get something
! that is 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 **, int *(*)(struct buf *, struct stat *, int),
! int, int);'
!
! # Test code for whether the C compiler supports C89 (body of main).
! ac_c_conftest_c89_main='
! ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
! '
!
! # Test code for whether the C compiler supports C99 (global declarations)
! ac_c_conftest_c99_globals='
! /* Does the compiler advertise C99 conformance? */
! #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
! # error "Compiler does not advertise C99 conformance"
! #endif
!
! // See if C++-style comments work.
!
! #include <stdbool.h>
! extern int puts (const char *);
! extern int printf (const char *, ...);
! extern int dprintf (int, const char *, ...);
! extern void *malloc (size_t);
! extern void free (void *);
!
! // Check varargs macros. These examples are taken from C99 6.10.3.5.
! // dprintf is used instead of fprintf to avoid needing to declare
! // FILE and stderr.
! #define debug(...) dprintf (2, __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
! #error "your preprocessor is broken"
! #endif
! #if BIG_OK
! #else
! #error "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)
! {
! // 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 bool
! 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 = 0;
! float fnumber = 0;
!
! 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);
!
! return *str && number && fnumber;
! }
! '
!
! # Test code for whether the C compiler supports C99 (body of main).
! ac_c_conftest_c99_main='
! // Check bool.
! _Bool success = false;
! success |= (argc != 0);
!
! // Check restrict.
! if (test_restrict ("String literal") == 0)
! success = true;
! char *restrict newvar = "Another string";
!
! // Check varargs.
! success &= 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;
! // Work around memory leak warnings.
! free (ia);
!
! // 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[0] = argv[0][0];
! dynamic_array[ni.number - 1] = 543;
!
! // work around unused variable warnings
! ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
! || dynamic_array[ni.number - 1] != 543);
! '
!
! # Test code for whether the C compiler supports C11 (global declarations)
! ac_c_conftest_c11_globals='
! /* Does the compiler advertise C11 conformance? */
! #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
! # error "Compiler does not advertise C11 conformance"
! #endif
!
! // Check _Alignas.
! char _Alignas (double) aligned_as_double;
! char _Alignas (0) no_special_alignment;
! extern char aligned_as_int;
! char _Alignas (0) _Alignas (int) aligned_as_int;
!
! // Check _Alignof.
! enum
! {
! int_alignment = _Alignof (int),
! int_array_alignment = _Alignof (int[100]),
! char_alignment = _Alignof (char)
! };
! _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
!
! // Check _Noreturn.
! int _Noreturn does_not_return (void) { for (;;) continue; }
!
! // Check _Static_assert.
! struct test_static_assert
! {
! int x;
! _Static_assert (sizeof (int) <= sizeof (long int),
! "_Static_assert does not work in struct");
! long int y;
! };
!
! // Check UTF-8 literals.
! #define u8 syntax error!
! char const utf8_literal[] = u8"happens to be ASCII" "another string";
!
! // Check duplicate typedefs.
! typedef long *long_ptr;
! typedef long int *long_ptr;
! typedef long_ptr long_ptr;
!
! // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
! struct anonymous
! {
! union {
! struct { int i; int j; };
! struct { int k; long int l; } w;
! };
! int m;
! } v1;
! '
!
! # Test code for whether the C compiler supports C11 (body of main).
! ac_c_conftest_c11_main='
! _Static_assert ((offsetof (struct anonymous, i)
! == offsetof (struct anonymous, w.k)),
! "Anonymous union alignment botch");
! v1.i = 2;
! v1.w.k = 5;
! ok |= v1.i != 5;
! '
!
! # Test code for whether the C compiler supports C11 (complete).
! ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
! ${ac_c_conftest_c99_globals}
! ${ac_c_conftest_c11_globals}
!
! int
! main (int argc, char **argv)
! {
! int ok = 0;
! ${ac_c_conftest_c89_main}
! ${ac_c_conftest_c99_main}
! ${ac_c_conftest_c11_main}
! return ok;
! }
! "
!
! # Test code for whether the C compiler supports C99 (complete).
! ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
! ${ac_c_conftest_c99_globals}
!
! int
! main (int argc, char **argv)
! {
! int ok = 0;
! ${ac_c_conftest_c89_main}
! ${ac_c_conftest_c99_main}
! return ok;
! }
! "
!
! # Test code for whether the C compiler supports C89 (complete).
! ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
!
! int
! main (int argc, char **argv)
! {
! int ok = 0;
! ${ac_c_conftest_c89_main}
! return ok;
! }
! "
!
! as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
! as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
! as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
! as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
! as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
! as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
! as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
! as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
! as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
! as_fn_append ac_func_c_list " pathconf HAVE_PATHCONF"
! as_fn_append ac_func_c_list " canonicalize_file_name HAVE_CANONICALIZE_FILE_NAME"
! as_fn_append ac_func_c_list " getcwd HAVE_GETCWD"
! as_fn_append ac_func_c_list " readlink HAVE_READLINK"
! as_fn_append ac_func_c_list " realpath HAVE_REALPATH"
! as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
! as_fn_append ac_func_c_list " chown HAVE_CHOWN"
! as_fn_append ac_func_c_list " fchown HAVE_FCHOWN"
! as_fn_append ac_func_c_list " _set_invalid_parameter_handler HAVE__SET_INVALID_PARAMETER_HANDLER"
! as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H"
! as_fn_append ac_func_c_list " fchdir HAVE_FCHDIR"
! as_fn_append ac_header_c_list " dirent.h dirent_h HAVE_DIRENT_H"
! as_fn_append ac_func_c_list " fdopendir HAVE_FDOPENDIR"
! as_fn_append ac_func_c_list " faccessat HAVE_FACCESSAT"
! as_fn_append ac_func_c_list " fchmodat HAVE_FCHMODAT"
! as_fn_append ac_func_c_list " lchmod HAVE_LCHMOD"
! as_fn_append ac_func_c_list " fcntl HAVE_FCNTL"
! as_fn_append ac_func_c_list " symlink HAVE_SYMLINK"
! as_fn_append ac_func_c_list " mempcpy HAVE_MEMPCPY"
! as_fn_append ac_func_c_list " fstatat HAVE_FSTATAT"
! as_fn_append ac_func_c_list " getdtablesize HAVE_GETDTABLESIZE"
gl_getopt_required=GNU
! as_fn_append ac_header_c_list " getopt.h getopt_h HAVE_GETOPT_H"
! as_fn_append ac_header_c_list " sys/cdefs.h sys_cdefs_h HAVE_SYS_CDEFS_H"
! as_fn_append ac_func_c_list " getprogname HAVE_GETPROGNAME"
! as_fn_append ac_func_c_list " getexecname HAVE_GETEXECNAME"
! as_fn_append ac_func_c_list " gettimeofday HAVE_GETTIMEOFDAY"
! as_fn_append ac_func_c_list " nanotime HAVE_NANOTIME"
! as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
! as_fn_append ac_header_c_list " limits.h limits_h HAVE_LIMITS_H"
! as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
! as_fn_append ac_func_c_list " lstat HAVE_LSTAT"
! as_fn_append ac_func_c_list " mbsinit HAVE_MBSINIT"
! as_fn_append ac_func_c_list " mbrtowc HAVE_MBRTOWC"
! as_fn_append ac_header_c_list " sys/mman.h sys_mman_h HAVE_SYS_MMAN_H"
! as_fn_append ac_func_c_list " mprotect HAVE_MPROTECT"
! as_fn_append ac_func_c_list " mkdirat HAVE_MKDIRAT"
! as_fn_append ac_func_c_list " tzset HAVE_TZSET"
! as_fn_append ac_func_c_list " openat HAVE_OPENAT"
! as_fn_append ac_func_c_list " readlinkat HAVE_READLINKAT"
! as_fn_append ac_func_c_list " link HAVE_LINK"
! as_fn_append ac_func_c_list " renameat HAVE_RENAMEAT"
! as_fn_append ac_func_c_list " setenv HAVE_SETENV"
! as_fn_append ac_func_c_list " strdup HAVE_STRDUP"
! as_fn_append ac_func_c_list " strndup HAVE_STRNDUP"
! as_fn_append ac_func_c_list " symlinkat HAVE_SYMLINKAT"
! as_fn_append ac_func_c_list " localtime_r HAVE_LOCALTIME_R"
! as_fn_append ac_func_c_list " timegm HAVE_TIMEGM"
! as_fn_append ac_func_c_list " pipe HAVE_PIPE"
! as_fn_append ac_func_c_list " unlinkat HAVE_UNLINKAT"
! as_fn_append ac_func_c_list " utime HAVE_UTIME"
! as_fn_append ac_header_c_list " utime.h utime_h HAVE_UTIME_H"
! as_fn_append ac_func_c_list " futimes HAVE_FUTIMES"
! as_fn_append ac_func_c_list " futimesat HAVE_FUTIMESAT"
! as_fn_append ac_func_c_list " futimens HAVE_FUTIMENS"
! as_fn_append ac_func_c_list " utimensat HAVE_UTIMENSAT"
! as_fn_append ac_func_c_list " lutimes HAVE_LUTIMES"
! as_fn_append ac_func_c_list " vasnprintf HAVE_VASNPRINTF"
! as_fn_append ac_header_c_list " features.h features_h HAVE_FEATURES_H"
! as_fn_append ac_func_c_list " snprintf HAVE_SNPRINTF"
! as_fn_append ac_header_c_list " crtdefs.h crtdefs_h HAVE_CRTDEFS_H"
! as_fn_append ac_func_c_list " iswcntrl HAVE_ISWCNTRL"
! as_fn_append ac_header_c_list " wctype.h wctype_h HAVE_WCTYPE_H"
!
! # Auxiliary files required by this configure script.
! ac_aux_files="config.guess config.sub ar-lib compile missing install-sh"
!
! # Locations in which to look for auxiliary files.
! ac_aux_dir_candidates="${srcdir}/build-aux"
!
! # Search for a directory containing all of the required auxiliary files,
! # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
! # If we don't find one directory that contains all the files we need,
! # we report the set of missing files from the *first* directory in
! # $ac_aux_dir_candidates and give up.
! ac_missing_aux_files=""
! ac_first_candidate=:
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! as_found=false
! for as_dir in $ac_aux_dir_candidates
! do
! IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! as_found=:
!
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
! ac_aux_dir_found=yes
! ac_install_sh=
! for ac_aux in $ac_aux_files
! do
! # As a special case, if "install-sh" is required, that requirement
! # can be satisfied by any of "install-sh", "install.sh", or "shtool",
! # and $ac_install_sh is set appropriately for whichever one is found.
! if test x"$ac_aux" = x"install-sh"
! then
! if test -f "${as_dir}install-sh"; then
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
! ac_install_sh="${as_dir}install-sh -c"
! elif test -f "${as_dir}install.sh"; then
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
! ac_install_sh="${as_dir}install.sh -c"
! elif test -f "${as_dir}shtool"; then
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
! ac_install_sh="${as_dir}shtool install -c"
! else
! ac_aux_dir_found=no
! if $ac_first_candidate; then
! ac_missing_aux_files="${ac_missing_aux_files} install-sh"
! else
! break
! fi
! fi
! else
! if test -f "${as_dir}${ac_aux}"; then
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
! else
! ac_aux_dir_found=no
! if $ac_first_candidate; then
! ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
! else
! break
! fi
! fi
! fi
! done
! if test "$ac_aux_dir_found" = yes; then
! ac_aux_dir="$as_dir"
! break
! fi
! ac_first_candidate=false
!
! as_found=false
! done
! IFS=$as_save_IFS
! if $as_found
! then :
!
! else case e in #(
! e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
! esac
! 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.
! if test -f "${ac_aux_dir}config.guess"; then
! ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
! fi
! if test -f "${ac_aux_dir}config.sub"; then
! ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
! fi
! if test -f "$ac_aux_dir/configure"; then
! ac_configure="$SHELL ${ac_aux_dir}configure"
! fi
!
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
***************
*** 3318,3329 ****
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=: ;;
,);;
*)
--- 3745,3756 ----
eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in
set,)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
! printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
! printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;;
,);;
*)
***************
*** 3332,3355 ****
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
--- 3759,3782 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
! printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
ac_cache_corrupted=:
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
! printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
eval $ac_var=\$ac_old_val
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
! printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
! printf "%s\n" "$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=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
*) ac_arg=$ac_var=$ac_new_val ;;
esac
case " $ac_configure_args " in
***************
*** 3359,3369 ****
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. ##
--- 3786,3797 ----
fi
done
if $ac_cache_corrupted; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
! as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
! and start over" "$LINENO" 5
fi
## -------------------- ##
## Main body of script. ##
***************
*** 3378,3416 ****
- 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.
-
# Check whether --enable-merge was given.
! if test "${enable_merge+set}" = set; then :
enableval=$enable_merge;
fi
--- 3806,3817 ----
# Check whether --enable-merge was given.
! if test ${enable_merge+y}
! then :
enableval=$enable_merge;
fi
***************
*** 3431,3439 ****
fi
! am__api_version='1.15'
! # 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
--- 3832,3842 ----
fi
! am__api_version='1.17'
!
!
! # 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
***************
*** 3447,3466 ****
# 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/* ) ;;
--- 3850,3874 ----
# 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.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
! printf %s "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then
! if test ${ac_cv_path_install+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! # Account for fact that we put trailing slashes in our PATH walk.
! case $as_dir in #((
! ./ | /[cC]/* | \
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
/usr/ucb/* ) ;;
***************
*** 3470,3482 ****
# 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
--- 3878,3890 ----
# 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
***************
*** 3484,3495 ****
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
--- 3892,3903 ----
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
***************
*** 3503,3511 ****
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
--- 3911,3920 ----
IFS=$as_save_IFS
rm -rf conftest.one conftest.two conftest.dir
! ;;
! esac
fi
! if test ${ac_cv_path_install+y}; then
INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. Don't cache a
***************
*** 3515,3522 ****
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.
--- 3924,3931 ----
INSTALL=$ac_install_sh
fi
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
! printf "%s\n" "$INSTALL" >&6; }
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
***************
*** 3526,3533 ****
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='
--- 3935,4101 ----
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
! printf %s "checking whether sleep supports fractional seconds... " >&6; }
! if test ${am_cv_sleep_fractional_seconds+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if sleep 0.001 2>/dev/null
! then :
! am_cv_sleep_fractional_seconds=yes
! else case e in #(
! e) am_cv_sleep_fractional_seconds=no ;;
! esac
! fi
! ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
! printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
! printf %s "checking filesystem timestamp resolution... " >&6; }
! if test ${am_cv_filesystem_timestamp_resolution+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # Default to the worst case.
! am_cv_filesystem_timestamp_resolution=2
!
! # Only try to go finer than 1 sec if sleep can do it.
! # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
! # - 1 sec is not much of a win compared to 2 sec, and
! # - it takes 2 seconds to perform the test whether 1 sec works.
! #
! # Instead, just use the default 2s on platforms that have 1s resolution,
! # accept the extra 1s delay when using $sleep in the Automake tests, in
! # exchange for not incurring the 2s delay for running the test for all
! # packages.
! #
! am_try_resolutions=
! if test "$am_cv_sleep_fractional_seconds" = yes; then
! # Even a millisecond often causes a bunch of false positives,
! # so just try a hundredth of a second. The time saved between .001 and
! # .01 is not terribly consequential.
! am_try_resolutions="0.01 0.1 $am_try_resolutions"
! fi
!
! # In order to catch current-generation FAT out, we must *modify* files
! # that already exist; the *creation* timestamp is finer. Use names
! # that make ls -t sort them differently when they have equal
! # timestamps than when they have distinct timestamps, keeping
! # in mind that ls -t prints the *newest* file first.
! rm -f conftest.ts?
! : > conftest.ts1
! : > conftest.ts2
! : > conftest.ts3
!
! # Make sure ls -t actually works. Do 'set' in a subshell so we don't
! # clobber the current shell's arguments. (Outer-level square brackets
! # are removed by m4; they're present so that m4 does not expand
! # <dollar><star>; be careful, easy to get confused.)
! if (
! set X `ls -t conftest.ts[12]` &&
! {
! test "$*" != "X conftest.ts1 conftest.ts2" ||
! test "$*" != "X conftest.ts2 conftest.ts1";
! }
! ); then :; else
! # 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".
! printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
! as_fn_error $? "ls -t produces unexpected output.
! Make sure there is not a broken ls alias in your environment.
! See 'config.log' for more details" "$LINENO" 5; }
! fi
!
! for am_try_res in $am_try_resolutions; do
! # Any one fine-grained sleep might happen to cross the boundary
! # between two values of a coarser actual resolution, but if we do
! # two fine-grained sleeps in a row, at least one of them will fall
! # entirely within a coarse interval.
! echo alpha > conftest.ts1
! sleep $am_try_res
! echo beta > conftest.ts2
! sleep $am_try_res
! echo gamma > conftest.ts3
!
! # We assume that 'ls -t' will make use of high-resolution
! # timestamps if the operating system supports them at all.
! if (set X `ls -t conftest.ts?` &&
! test "$2" = conftest.ts3 &&
! test "$3" = conftest.ts2 &&
! test "$4" = conftest.ts1); then
! #
! # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
! # because we don't need to test make.
! make_ok=true
! if test $am_try_res != 1; then
! # But if we've succeeded so far with a subsecond resolution, we
! # have one more thing to check: make. It can happen that
! # everything else supports the subsecond mtimes, but make doesn't;
! # notably on macOS, which ships make 3.81 from 2006 (the last one
! # released under GPLv2). https://bugs.gnu.org/68808
! #
! # We test $MAKE if it is defined in the environment, else "make".
! # It might get overridden later, but our hope is that in practice
! # it does not matter: it is the system "make" which is (by far)
! # the most likely to be broken, whereas if the user overrides it,
! # probably they did so with a better, or at least not worse, make.
! # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
! #
! # Create a Makefile (real tab character here):
! rm -f conftest.mk
! echo 'conftest.ts1: conftest.ts2' >conftest.mk
! echo ' touch conftest.ts2' >>conftest.mk
! #
! # Now, running
! # touch conftest.ts1; touch conftest.ts2; make
! # should touch ts1 because ts2 is newer. This could happen by luck,
! # but most often, it will fail if make's support is insufficient. So
! # test for several consecutive successes.
! #
! # (We reuse conftest.ts[12] because we still want to modify existing
! # files, not create new ones, per above.)
! n=0
! make=${MAKE-make}
! until test $n -eq 3; do
! echo one > conftest.ts1
! sleep $am_try_res
! echo two > conftest.ts2 # ts2 should now be newer than ts1
! if $make -f conftest.mk | grep 'up to date' >/dev/null; then
! make_ok=false
! break # out of $n loop
! fi
! n=`expr $n + 1`
! done
! fi
! #
! if $make_ok; then
! # Everything we know to check worked out, so call this resolution good.
! am_cv_filesystem_timestamp_resolution=$am_try_res
! break # out of $am_try_res loop
! fi
! # Otherwise, we'll go on to check the next resolution.
! fi
! done
! rm -f conftest.ts?
! # (end _am_filesystem_timestamp_resolution)
! ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
! printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
!
! # This check should not be cached, as it may vary across builds of
! # different projects.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
! printf %s "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='
***************
*** 3546,3594 ****
# 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
--- 4114,4158 ----
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
! am_build_env_is_sane=no
! am_has_slept=no
! rm -f conftest.file
! for am_try in 1 2; do
! echo "timestamp, slept: $am_has_slept" > conftest.file
! 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
! test "$2" = conftest.file
! ); then
! am_build_env_is_sane=yes
! break
! fi
! # Just in case.
! sleep "$am_cv_filesystem_timestamp_resolution"
! am_has_slept=yes
! done
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
! printf "%s\n" "$am_build_env_is_sane" >&6; }
! if test "$am_build_env_is_sane" = no; then
! as_fn_error $? "newly created file is older than distributed files!
Check your system clock" "$LINENO" 5
fi
!
# 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 test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
! then :
!
! else case e in #(
! e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
+ ;;
+ esac
fi
rm -f conftest.file
***************
*** 3599,3626 ****
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+set}" != xset; then
--- 4163,4187 ----
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=`printf "%s\n" "$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
! MISSING="\${SHELL} '$am_aux_dir/missing'"
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
am_missing_run="$MISSING "
else
am_missing_run=
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
! printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi
if test x"${install_sh+set}" != xset; then
***************
*** 3640,3677 ****
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
--- 4201,4244 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_STRIP+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! printf "%s\n" "$STRIP" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 3680,3717 ****
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
--- 4247,4290 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_STRIP+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! printf "%s\n" "$ac_ct_STRIP" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
if test "x$ac_ct_STRIP" = x; then
***************
*** 3719,3726 ****
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
--- 4292,4299 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
STRIP=$ac_ct_STRIP
***************
*** 3732,3829 ****
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)=@@@%%%'
--- 4305,4414 ----
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
! printf %s "checking for a race-free mkdir -p... " >&6; }
if test -z "$MKDIR_P"; then
! if test ${ac_cv_path_mkdir+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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 ('*'coreutils) '* | \
! *'BusyBox '* | \
'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
! ;;
! esac
fi
test -d ./--version && rmdir ./--version
! if test ${ac_cv_path_mkdir+y}; then
MKDIR_P="$ac_cv_path_mkdir -p"
else
! # As a last resort, use plain mkdir -p,
! # in the hope it doesn't have the bugs of ancient mkdir.
! MKDIR_P='mkdir -p'
fi
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
! printf "%s\n" "$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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_AWK+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
! printf "%s\n" "$AWK" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
test -n "$AWK" && break
done
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make}
! ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! if eval test \${ac_cv_prog_make_${ac_make}_set+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat >conftest.make <<\_ACEOF
SHELL = /bin/sh
all:
@echo '@@@%%%=$(MAKE)=@@@%%%'
***************
*** 3835,3849 ****
*)
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
--- 4420,4435 ----
*)
eval ac_cv_prog_make_${ac_make}_set=no;;
esac
! rm -f conftest.make ;;
! esac
fi
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! printf "%s\n" "yes" >&6; }
SET_MAKE=
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
SET_MAKE="MAKE=${MAKE-make}"
fi
***************
*** 3856,3878 ****
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
--- 4442,4462 ----
fi
rmdir .tst 2>/dev/null
+ AM_DEFAULT_VERBOSITY=1
# Check whether --enable-silent-rules was given.
! if test ${enable_silent_rules+y}
! then :
enableval=$enable_silent_rules;
fi
am_make=${MAKE-make}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
! printf %s "checking whether $am_make supports nested variables... " >&6; }
! if test ${am_cv_make_support_nested_variables+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if printf "%s\n" 'TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
***************
*** 3882,3899 ****
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
--- 4466,4514 ----
am_cv_make_support_nested_variables=yes
else
am_cv_make_support_nested_variables=no
+ fi ;;
+ esac
fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+ printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
+ AM_BACKSLASH='\'
+
+ am__rm_f_notfound=
+ if (rm -f && rm -fr && rm -rf) 2>/dev/null
+ then :
+
+ else case e in #(
+ e) am__rm_f_notfound='""' ;;
+ esac
fi
!
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
! printf %s "checking xargs -n works... " >&6; }
! if test ${am_cv_xargs_n_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
! 3"
! then :
! am_cv_xargs_n_works=yes
! else case e in #(
! e) am_cv_xargs_n_works=no ;;
! esac
! fi ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
! printf "%s\n" "$am_cv_xargs_n_works" >&6; }
! if test "$am_cv_xargs_n_works" = yes
! then :
! am__xargs_n='xargs -n'
! else case e in #(
! e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
! ;;
! esac
fi
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
***************
*** 3920,3933 ****
VERSION='2.7.6'
! cat >>confdefs.h <<_ACEOF
! #define PACKAGE "$PACKAGE"
! _ACEOF
! cat >>confdefs.h <<_ACEOF
! #define VERSION "$VERSION"
! _ACEOF
# Some tools Automake needs.
--- 4535,4544 ----
VERSION='2.7.6'
! printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
! printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
# Some tools Automake needs.
***************
*** 3947,3954 ****
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
! # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
! # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'
# We need awk for the "check" target (and possibly the TAP driver). The
--- 4558,4565 ----
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
! # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
! # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'
# We need awk for the "check" target (and possibly the TAP driver). The
***************
*** 3967,4055 ****
!
! # POSIX will say in a future version that running "rm -f" with no argument
! # is OK; and we want to be able to make that assumption in our Makefile
! # recipes. So use an aggressive probe to check that the usage we want is
! # actually supported "in the wild" to an acceptable degree.
! # See automake bug#10828.
! # To make any issue more visible, cause the running configure to be aborted
! # by default if the 'rm' program in use doesn't match our expectations; the
! # user can still override this though.
! if rm -f && rm -fr && rm -rf; then : OK; else
! cat >&2 <<'END'
! Oops!
!
! Your 'rm' program seems unable to run without file operands specified
! on the command line, even when the '-f' option is present. This is contrary
! to the behaviour of most rm programs out there, and not conforming with
! the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
!
! Please tell bug-automake@gnu.org about your system, including the value
! of your $PATH and any error possibly output before this message. This
! can help us improve future automake versions.
!
! END
! if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
! echo 'Configuration will proceed anyway, since you have set the' >&2
! echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
! echo >&2
! else
! cat >&2 <<'END'
! Aborting the configuration process, to ensure you take notice of the issue.
!
! You can download and install GNU coreutils to get an 'rm' implementation
! that behaves properly: <http://www.gnu.org/software/coreutils/>.
!
! If you want to complete the configuration process using your problematic
! 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
! to "yes", and re-run configure.
!
! END
! as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
! fi
fi
! # 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=0;;
! 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='\'
ac_config_headers="$ac_config_headers config.h:config.hin"
--- 4578,4605 ----
! # Variables for tags utilities; see am/tags.am
! if test -z "$CTAGS"; then
! CTAGS=ctags
fi
! if test -z "$ETAGS"; then
! ETAGS=etags
fi
! if test -z "$CSCOPE"; then
! CSCOPE=cscope
fi
+
+
+
+
+
+
+ AM_DEFAULT_VERBOSITY=0
+
ac_config_headers="$ac_config_headers config.h:config.hin"
***************
*** 4061,4098 ****
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
--- 4620,4663 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! printf "%s\n" "$CC" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 4101,4138 ****
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
--- 4666,4709 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! printf "%s\n" "$ac_ct_CC" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
***************
*** 4140,4147 ****
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
--- 4711,4718 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
***************
*** 4154,4191 ****
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
--- 4725,4768 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! printf "%s\n" "$CC" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 4194,4205 ****
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
--- 4771,4783 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
***************
*** 4207,4221 ****
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
--- 4785,4803 ----
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
***************
*** 4231,4248 ****
# 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
--- 4813,4831 ----
# 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 ;;
! esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! printf "%s\n" "$CC" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 4253,4290 ****
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
--- 4836,4879 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! printf "%s\n" "$CC" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 4297,4334 ****
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
--- 4886,4929 ----
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! printf "%s\n" "$ac_ct_CC" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 4340,4347 ****
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
--- 4935,4942 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
***************
*** 4349,4373 ****
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
--- 4944,5074 ----
fi
fi
+ if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}clang; ac_word=$2
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ printf %s "checking for $ac_word... " >&6; }
+ if test ${ac_cv_prog_CC+y}
+ then :
+ printf %s "(cached) " >&6
+ else case e in #(
+ e) 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
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ 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}clang"
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+ done
+ IFS=$as_save_IFS
+
+ fi ;;
+ esac
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ printf "%s\n" "$CC" >&6; }
+ else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ printf "%s\n" "no" >&6; }
+ fi
! fi
! if test -z "$ac_cv_prog_CC"; then
! ac_ct_CC=$CC
! # Extract the first word of "clang", so it can be a program name with args.
! set dummy clang; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_CC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! 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="clang"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
! IFS=$as_save_IFS
!
! fi ;;
! esac
! fi
! ac_ct_CC=$ac_cv_prog_ac_ct_CC
! if test -n "$ac_ct_CC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! printf "%s\n" "$ac_ct_CC" >&6; }
! else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
! fi
!
! if test "x$ac_ct_CC" = x; then
! CC=""
! else
! case $cross_compiling:$ac_tool_warned in
! yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$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
!
! fi
!
!
! test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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.
! printf "%s\n" "$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 -version; 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\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
***************
*** 4377,4383 ****
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
--- 5078,5084 ----
cat conftest.er1 >&5
fi
rm -f conftest.er1 conftest.err
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
***************
*** 4385,4391 ****
/* end confdefs.h. */
int
! main ()
{
;
--- 5086,5092 ----
/* end confdefs.h. */
int
! main (void)
{
;
***************
*** 4397,4405 ****
# 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.*"
--- 5098,5106 ----
# 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.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! printf %s "checking whether the C compiler works... " >&6; }
! ac_link_default=`printf "%s\n" "$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.*"
***************
*** 4420,4432 ****
*) 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.
--- 5121,5134 ----
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_link_default") 2>&5
ac_status=$?
! printf "%s\n" "$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.
***************
*** 4441,4452 ****
# 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.
--- 5143,5154 ----
# certainly right.
break;;
*.* )
! if test ${ac_cv_exeext+y} && 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.
***************
*** 4457,4504 ****
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
--- 5159,5210 ----
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
! else case e in #(
! e) ac_file='' ;;
! esac
fi
! if test -z "$ac_file"
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
! printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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 case e in #(
! e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! printf "%s\n" "yes" >&6; } ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! printf %s "checking for C compiler default output file name... " >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! printf "%s\n" "$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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! printf %s "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\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
! printf "%s\n" "$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
***************
*** 4508,4522 ****
* ) 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
--- 5214,5229 ----
* ) break;;
esac
done
! else case e in #(
! e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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; } ;;
! esac
fi
rm -f conftest conftest$ac_cv_exeext
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! printf "%s\n" "$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
***************
*** 4525,4533 ****
/* end confdefs.h. */
#include <stdio.h>
int
! main ()
{
FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
;
--- 5232,5242 ----
/* end confdefs.h. */
#include <stdio.h>
int
! main (void)
{
FILE *f = fopen ("conftest.out", "w");
+ if (!f)
+ return 1;
return ferror (f) || fclose (f) != 0;
;
***************
*** 4537,4544 ****
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
--- 5246,5253 ----
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.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! printf %s "checking whether we are cross compiling... " >&6; }
if test "$cross_compiling" != yes; then
{ { ac_try="$ac_link"
case "(($ac_try" in
***************
*** 4546,4555 ****
*) 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
--- 5255,5264 ----
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if { ac_try='./conftest$ac_cv_exeext'
{ { case "(($ac_try" in
***************
*** 4557,4595 ****
*) 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 ()
{
;
--- 5266,5306 ----
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_try") 2>&5
ac_status=$?
! printf "%s\n" "$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
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
! as_fn_error 77 "cannot run C compiled programs.
! If you meant to cross compile, use '--host'.
! See 'config.log' for more details" "$LINENO" 5; }
fi
fi
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! printf "%s\n" "$cross_compiling" >&6; }
! rm -f conftest.$ac_ext conftest$ac_cv_exeext \
! conftest.o conftest.obj conftest.out
ac_clean_files=$ac_clean_files_save
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! printf %s "checking for suffix of object files... " >&6; }
! if test ${ac_cv_objext+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
***************
*** 4603,4613 ****
*) 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
--- 5314,5325 ----
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>&5
ac_status=$?
! printf "%s\n" "$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
***************
*** 4616,4646 ****
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
--- 5328,5361 ----
break;;
esac
done
! else case e in #(
! e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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; } ;;
! esac
fi
! rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! printf "%s\n" "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
! printf %s "checking whether the compiler supports GNU C... " >&6; }
! if test ${ac_cv_c_compiler_gnu+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
#ifndef __GNUC__
choke me
***************
*** 4650,4679 ****
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"
--- 5365,5400 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_compiler_gnu=yes
! else case e in #(
! e) ac_compiler_gnu=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
!
if test $ac_compiler_gnu = yes; then
GCC=yes
else
GCC=
fi
! ac_test_CFLAGS=${CFLAGS+y}
ac_save_CFLAGS=$CFLAGS
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! printf %s "checking whether $CC accepts -g... " >&6; }
! if test ${ac_cv_prog_cc_g+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
***************
*** 4681,4737 ****
/* 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
--- 5402,5464 ----
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_prog_cc_g=yes
! else case e in #(
! e) CFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! else case e in #(
! e) ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
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.beam conftest.$ac_ext ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ac_c_werror_flag=$ac_save_c_werror_flag ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
! if test $ac_test_CFLAGS; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
***************
*** 4746,4839 ****
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 <stdarg.h>
! #include <stdio.h>
! 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
--- 5473,5625 ----
CFLAGS=
fi
fi
! ac_prog_cc_stdc=no
! if test x$ac_prog_cc_stdc = xno
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
! printf %s "checking for $CC option to enable C11 features... " >&6; }
! if test ${ac_cv_prog_cc_c11+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_prog_cc_c11=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! $ac_c_conftest_c11_program
! _ACEOF
! for ac_arg in '' -std=gnu11
! do
! CC="$ac_save_CC $ac_arg"
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_cv_prog_cc_c11=$ac_arg
! fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam
! test "x$ac_cv_prog_cc_c11" != "xno" && break
! done
! rm -f conftest.$ac_ext
! CC=$ac_save_CC ;;
! esac
! fi
! if test "x$ac_cv_prog_cc_c11" = xno
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! printf "%s\n" "unsupported" >&6; }
! else case e in #(
! e) if test "x$ac_cv_prog_cc_c11" = x
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! printf "%s\n" "none needed" >&6; }
! else case e in #(
! e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
! printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
! CC="$CC $ac_cv_prog_cc_c11" ;;
! esac
! fi
! ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
! ac_prog_cc_stdc=c11 ;;
! esac
! fi
! fi
! if test x$ac_prog_cc_stdc = xno
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
! printf %s "checking for $CC option to enable C99 features... " >&6; }
! if test ${ac_cv_prog_cc_c99+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_prog_cc_c99=no
! ac_save_CC=$CC
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
! $ac_c_conftest_c99_program
! _ACEOF
! for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
! 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 conftest.beam
! test "x$ac_cv_prog_cc_c99" != "xno" && break
! done
! rm -f conftest.$ac_ext
! CC=$ac_save_CC ;;
! esac
! fi
! if test "x$ac_cv_prog_cc_c99" = xno
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! printf "%s\n" "unsupported" >&6; }
! else case e in #(
! e) if test "x$ac_cv_prog_cc_c99" = x
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! printf "%s\n" "none needed" >&6; }
! else case e in #(
! e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
! printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
! CC="$CC $ac_cv_prog_cc_c99" ;;
! esac
! fi
! ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
! ac_prog_cc_stdc=c99 ;;
! esac
! fi
! fi
! if test x$ac_prog_cc_stdc = xno
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
! printf %s "checking for $CC option to enable C89 features... " >&6; }
! if test ${ac_cv_prog_cc_c89+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_prog_cc_c89=no
! ac_save_CC=$CC
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
! $ac_c_conftest_c89_program
_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 conftest.beam
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
! CC=$ac_save_CC ;;
! esac
! fi
+ if test "x$ac_cv_prog_cc_c89" = xno
+ then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+ printf "%s\n" "unsupported" >&6; }
+ else case e in #(
+ e) if test "x$ac_cv_prog_cc_c89" = x
+ then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+ printf "%s\n" "none needed" >&6; }
+ else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+ printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
+ CC="$CC $ac_cv_prog_cc_c89" ;;
+ esac
fi
! ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
! ac_prog_cc_stdc=c89 ;;
esac
! fi
fi
ac_ext=c
***************
*** 4842,4862 ****
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 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 whether $CC understands -c and -o together" >&5
! $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
! if ${am_cv_prog_cc_c_o+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
--- 5628,5650 ----
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
!
! 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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
! printf %s "checking whether $CC understands -c and -o together... " >&6; }
! if test ${am_cv_prog_cc_c_o+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
***************
*** 4882,4891 ****
fi
done
rm -f core conftest*
! unset am_i
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
! $as_echo "$am_cv_prog_cc_c_o" >&6; }
if test "$am_cv_prog_cc_c_o" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
--- 5670,5680 ----
fi
done
rm -f core conftest*
! unset am_i ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
! printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
if test "$am_cv_prog_cc_c_o" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
***************
*** 4904,4951 ****
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
--- 5693,5741 ----
ac_config_commands="$ac_config_commands depfiles"
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
! printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
! cat > confinc.mk << 'END'
am__doit:
! @echo this is the am__doit target >confinc.out
.PHONY: am__doit
END
am__include="#"
am__quote=
! # BSD make does it like this.
! echo '.include "confinc.mk" # ignored' > confmf.BSD
! # Other make implementations (GNU, Solaris 10, AIX) do it like this.
! echo 'include confinc.mk # ignored' > confmf.GNU
! _am_result=no
! for s in GNU BSD; do
! { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
! (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }
! case $?:`cat confinc.out 2>/dev/null` in #(
! '0:this is the am__doit target') :
! case $s in #(
! BSD) :
! am__include='.include' am__quote='"' ;; #(
! *) :
! am__include='include' am__quote='' ;;
! esac ;; #(
! *) :
;;
! esac
! if test "$am__include" != "#"; then
! _am_result="yes ($s style)"
! break
! fi
! done
! rm -f confinc.* confmf.*
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
! printf "%s\n" "${_am_result}" >&6; }
# Check whether --enable-dependency-tracking was given.
! if test ${enable_dependency_tracking+y}
! then :
enableval=$enable_dependency_tracking;
fi
***************
*** 4966,4977 ****
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
--- 5756,5768 ----
depcc="$CC" am_compiler_list=
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
! printf %s "checking dependency style of $depcc... " >&6; }
! if test ${am_cv_CC_dependencies_compiler_type+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
***************
*** 5058,5064 ****
# 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
--- 5849,5855 ----
# 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 thus:
# 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
***************
*** 5075,5084 ****
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
--- 5866,5876 ----
else
am_cv_CC_dependencies_compiler_type=none
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
! printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
if
***************
*** 5092,5388 ****
fi
- 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 <stdarg.h>
- #include <stdbool.h>
- #include <stdlib.h>
- #include <wchar.h>
- #include <stdio.h>
- // 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 <stdarg.h>
! #include <stdio.h>
! 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
ac_ext=c
--- 5884,6068 ----
fi
! ac_header= ac_cache=
! for ac_item in $ac_header_c_list
! do
! if test $ac_cache; then
! ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
! if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
! printf "%s\n" "#define $ac_item 1" >> confdefs.h
! fi
! ac_header= ac_cache=
! elif test $ac_header; then
! ac_cache=$ac_item
! else
! ac_header=$ac_item
! fi
! done
! if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
! then :
! printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
! fi
! ac_fn_c_check_header_compile "$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 case e in #(
! e) MINIX= ;;
! esac
! fi
! if test "$MINIX" = yes; then
! printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
! printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
!
!
! printf "%s\n" "#define _MINIX 1" >>confdefs.h
!
!
! printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
!
! fi
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
! printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
! if test ${ac_cv_safe_to_define___extensions__+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
!
! # define __EXTENSIONS__ 1
! $ac_includes_default
! int
! main (void)
! {
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_cv_safe_to_define___extensions__=yes
! else case e in #(
! e) ac_cv_safe_to_define___extensions__=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
! printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
! test $ac_cv_safe_to_define___extensions__ = yes &&
! printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
!
! printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
!
! printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
!
! printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
!
! printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
!
! printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
!
! printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
!
! printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
!
! printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
! printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
! if test ${ac_cv_should_define__xopen_source+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_should_define__xopen_source=no
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
!
! #include <wchar.h>
! mbstate_t x;
! int
! main (void)
{
! ;
! return 0;
! }
! _ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
! #define _XOPEN_SOURCE 500
! #include <wchar.h>
! mbstate_t x;
int
! main (void)
{
!
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_cv_should_define__xopen_source=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
+ printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
+ test $ac_cv_should_define__xopen_source = yes &&
+ printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
+
+ printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
+
+
+
+
+
ac_ext=c
***************
*** 5390,5431 ****
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 <limits.h> to <assert.h> if __STDC__ is defined, since
- # <limits.h> 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 <limits.h>
! #else
! # include <assert.h>
! #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
--- 6070,6108 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! printf %s "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 test ${ac_cv_prog_CPP+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # Double quotes because $CC needs to be expanded
! for CPP in "$CC -E" "$CC -E -traditional-cpp" 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.
# 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. */
! #include <limits.h>
Syntax error
_ACEOF
! if ac_fn_c_try_cpp "$LINENO"
! then :
! else case e in #(
! e) # Broken: fails on valid input.
! continue ;;
! esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
***************
*** 5435,5490 ****
/* end confdefs.h. */
#include <ac_nonexistent.h>
_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 <limits.h> to <assert.h> if __STDC__ is defined, since
- # <limits.h> 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 <limits.h>
! #else
! # include <assert.h>
! #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
--- 6112,6167 ----
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
! if ac_fn_c_try_cpp "$LINENO"
! then :
# Broken: success on invalid input.
continue
! else case e in #(
! e) # Passes both tests.
ac_preproc_ok=:
! break ;;
! esac
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
! ;;
! esac
fi
CPP=$ac_cv_prog_CPP
else
ac_cv_prog_CPP=$CPP
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! printf "%s\n" "$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.
# 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. */
! #include <limits.h>
Syntax error
_ACEOF
! if ac_fn_c_try_cpp "$LINENO"
! then :
! else case e in #(
! e) # Broken: fails on valid input.
! continue ;;
! esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
***************
*** 5494,5519 ****
/* end confdefs.h. */
#include <ac_nonexistent.h>
_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
--- 6171,6200 ----
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
! if ac_fn_c_try_cpp "$LINENO"
! then :
# Broken: success on invalid input.
continue
! else case e in #(
! e) # Passes both tests.
ac_preproc_ok=:
! break ;;
! esac
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 case e in #(
! e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
! See 'config.log' for more details" "$LINENO" 5; } ;;
! esac
fi
ac_ext=c
***************
*** 5523,5566 ****
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
--- 6204,6254 ----
ac_compiler_gnu=$ac_cv_c_compiler_gnu
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
! printf %s "checking for egrep -e... " >&6; }
! if test ${ac_cv_path_EGREP_TRADITIONAL+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -z "$EGREP_TRADITIONAL"; then
! ac_path_EGREP_TRADITIONAL_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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! for ac_prog in grep ggrep
! do
for ac_exec_ext in '' $ac_executable_extensions; do
! ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
! as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
! # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
! # Check for GNU $ac_path_EGREP_TRADITIONAL
! case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*)
! ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
! #(
*)
ac_count=0
! printf %s 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
! printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
! "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "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_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one
! ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
! ac_path_EGREP_TRADITIONAL_max=$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break
***************
*** 5568,5632 ****
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
--- 6256,6316 ----
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
! $ac_path_EGREP_TRADITIONAL_found && break 3
done
done
done
IFS=$as_save_IFS
! if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
! :
fi
else
! ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi
! if test "$ac_cv_path_EGREP_TRADITIONAL"
! then :
! ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
! else case e in #(
! e) if test -z "$EGREP_TRADITIONAL"; then
! ac_path_EGREP_TRADITIONAL_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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! for ac_prog in egrep
! do
for ac_exec_ext in '' $ac_executable_extensions; do
! ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
! as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
! # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
! # Check for GNU $ac_path_EGREP_TRADITIONAL
! case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*)
! ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
! #(
*)
ac_count=0
! printf %s 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
! printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
! "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "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_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one
! ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
! ac_path_EGREP_TRADITIONAL_max=$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break
***************
*** 5634,5936 ****
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 <stdlib.h>
! #include <stdarg.h>
! #include <string.h>
! #include <float.h>
!
! 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 <string.h>
!
! _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 <stdlib.h>
!
! _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 <ctype.h>
! #include <stdlib.h>
! #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
!
!
! $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
!
! fi
!
!
! { $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 _DARWIN_C_SOURCE 1" >>confdefs.h
!
! $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
!
! $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
!
! $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h
!
! $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
!
! $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
!
! $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
! $as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; }
! if ${ac_cv_should_define__xopen_source+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_cv_should_define__xopen_source=no
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
!
! #include <wchar.h>
! mbstate_t x;
! int
! main ()
! {
!
! ;
! return 0;
! }
! _ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
!
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
!
! #define _XOPEN_SOURCE 500
! #include <wchar.h>
! mbstate_t x;
! int
! main ()
! {
!
! ;
! return 0;
! }
! _ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
! ac_cv_should_define__xopen_source=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
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
! $as_echo "$ac_cv_should_define__xopen_source" >&6; }
! test $ac_cv_should_define__xopen_source = yes &&
! $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
- $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
!
!
!
!
!
!
!
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
! $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
! if ${gl_cv_c_amsterdam_compiler+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 6318,6353 ----
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
! $ac_path_EGREP_TRADITIONAL_found && break 3
done
done
done
IFS=$as_save_IFS
! if test -z "$ac_cv_path_EGREP_TRADITIONAL"; 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_TRADITIONAL=$EGREP_TRADITIONAL
fi
! ;;
! esac
! fi ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
! printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
! EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
! printf %s "checking for Minix Amsterdam compiler... " >&6; }
! if test ${gl_cv_c_amsterdam_compiler+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 5940,5956 ****
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "Amsterdam" >/dev/null 2>&1; then :
gl_cv_c_amsterdam_compiler=yes
! else
! gl_cv_c_amsterdam_compiler=no
fi
! rm -f conftest*
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
! $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
if test $gl_cv_c_amsterdam_compiler = yes; then
if test -z "$AR"; then
--- 6357,6376 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Amsterdam" >/dev/null 2>&1
! then :
gl_cv_c_amsterdam_compiler=yes
! else case e in #(
! e) gl_cv_c_amsterdam_compiler=no ;;
! esac
fi
! rm -rf conftest*
+ ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
! printf "%s\n" "$gl_cv_c_amsterdam_compiler" >&6; }
if test $gl_cv_c_amsterdam_compiler = yes; then
if test -z "$AR"; then
***************
*** 5960,6002 ****
ARFLAGS='-o'
fi
else
! if test -n "$ac_tool_prefix"; then
for ac_prog in ar lib "link -lib"
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_AR+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test -n "$AR"; then
ac_cv_prog_AR="$AR" # 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_AR="$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
AR=$ac_cv_prog_AR
if test -n "$AR"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! $as_echo "$AR" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
--- 6380,6429 ----
ARFLAGS='-o'
fi
else
!
! if test -n "$ac_tool_prefix"; then
for ac_prog in ar lib "link -lib"
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_AR+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_AR="$ac_tool_prefix$ac_prog"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! printf "%s\n" "$AR" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 6009,6046 ****
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_AR+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="$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_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! $as_echo "$ac_ct_AR" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
--- 6436,6479 ----
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_AR+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_AR="$ac_prog"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! printf "%s\n" "$ac_ct_AR" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 6052,6059 ****
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
AR=$ac_ct_AR
--- 6485,6492 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
***************
*** 6061,6073 ****
fi
: ${AR=ar}
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
! $as_echo_n "checking the archiver ($AR) interface... " >&6; }
! if ${am_cv_ar_interface+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! 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'
--- 6494,6508 ----
fi
: ${AR=ar}
+ : ${ARFLAGS=cr}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
! printf %s "checking the archiver ($AR) interface... " >&6; }
! if test ${am_cv_ar_interface+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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'
***************
*** 6078,6089 ****
/* end confdefs.h. */
int some_variable = 0;
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
! am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
--- 6513,6525 ----
/* end confdefs.h. */
int some_variable = 0;
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
***************
*** 6092,6098 ****
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=lib
--- 6528,6534 ----
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=lib
***************
*** 6103,6118 ****
rm -f conftest.lib libconftest.a
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
! $as_echo "$am_cv_ar_interface" >&6; }
case $am_cv_ar_interface in
ar)
--- 6539,6555 ----
rm -f conftest.lib libconftest.a
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
! printf "%s\n" "$am_cv_ar_interface" >&6; }
case $am_cv_ar_interface in
ar)
***************
*** 6136,6173 ****
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; 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_AR+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test -n "$AR"; then
ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
! $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
AR=$ac_cv_prog_AR
if test -n "$AR"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! $as_echo "$AR" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
--- 6573,6616 ----
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_AR+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_AR="${ac_tool_prefix}ar"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! printf "%s\n" "$AR" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 6176,6213 ****
ac_ct_AR=$AR
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; 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_AR+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar"
! $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_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! $as_echo "$ac_ct_AR" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
if test "x$ac_ct_AR" = x; then
--- 6619,6662 ----
ac_ct_AR=$AR
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_AR+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_AR="ar"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! printf "%s\n" "$ac_ct_AR" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
if test "x$ac_ct_AR" = x; then
***************
*** 6215,6222 ****
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
AR=$ac_ct_AR
--- 6664,6671 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
***************
*** 6238,6275 ****
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
--- 6687,6730 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_RANLIB+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! printf "%s\n" "$RANLIB" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 6278,6315 ****
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
--- 6733,6776 ----
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_RANLIB+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! printf "%s\n" "$ac_ct_RANLIB" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
if test "x$ac_ct_RANLIB" = x; then
***************
*** 6317,6324 ****
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
--- 6778,6785 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
RANLIB=$ac_ct_RANLIB
***************
*** 6331,6538 ****
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 <sys/types.h>
- /* 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 <sys/types.h>
- /* 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 <sys/types.h>
! /* 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 <sys/types.h>
! /* 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 <sys/types.h>
! /* 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
!
! $as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h
fi
# Pre-early section.
--- 6792,7061 ----
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
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
! printf %s "checking build system type... " >&6; }
! if test ${ac_cv_build+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
! printf "%s\n" "$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
!
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
! printf %s "checking host system type... " >&6; }
! if test ${ac_cv_host+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
! printf "%s\n" "$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
! # Check whether --enable-largefile was given.
! if test ${enable_largefile+y}
! then :
! enableval=$enable_largefile;
fi
! if test "$enable_largefile,$enable_year2038" != no,no
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
! printf %s "checking for $CC option to enable large file support... " >&6; }
! if test ${ac_cv_sys_largefile_opts+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_save_CC="$CC"
! ac_opt_found=no
! for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
! if test x"$ac_opt" != x"none needed"
! then :
! CC="$ac_save_CC $ac_opt"
! fi
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
! #ifndef FTYPE
! # define FTYPE off_t
! #endif
! /* Check that FTYPE can represent 2**63 - 1 correctly.
! We can't simply define LARGE_FTYPE to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
! #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
! int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
! && LARGE_FTYPE % 2147483647 == 1)
! ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! if test x"$ac_opt" = x"none needed"
! then :
! # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
! CC="$CC -DFTYPE=ino_t"
! if ac_fn_c_try_compile "$LINENO"
! then :
!
! else case e in #(
! e) CC="$CC -D_FILE_OFFSET_BITS=64"
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_opt='-D_FILE_OFFSET_BITS=64'
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam
! fi
! ac_cv_sys_largefile_opts=$ac_opt
! ac_opt_found=yes
! fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! test $ac_opt_found = no || break
! done
! CC="$ac_save_CC"
!
!
! if test $ac_opt_found != yes; then
! case $host_os in #(
! mingw* | windows*) :
! ac_cv_sys_largefile_opts="supported through gnulib"
! ac_opt_found=yes
! ;; #(
! *) :
! ;;
esac
! fi
! test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
! printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
!
! ac_have_largefile=yes
! case $ac_cv_sys_largefile_opts in #(
! "none needed") :
! ;; #(
! "supported through gnulib") :
! ;; #(
! "support not detected") :
! ac_have_largefile=no ;; #(
! "-D_FILE_OFFSET_BITS=64") :
!
! printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
! ;; #(
! "-D_LARGE_FILES=1") :
!
! printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
! ;; #(
! "-n32") :
! CC="$CC -n32" ;; #(
! *) :
! as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
! esac
!
! if test "$enable_year2038" != no
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
! printf %s "checking for $CC option for timestamps after 2038... " >&6; }
! if test ${ac_cv_sys_year2038_opts+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_save_CPPFLAGS="$CPPFLAGS"
! ac_opt_found=no
! for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
! if test x"$ac_opt" != x"none needed"
! then :
! CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
! fi
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
!
! #include <time.h>
! /* Check that time_t can represent 2**32 - 1 correctly. */
! #define LARGE_TIME_T \\
! ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
! int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
! && LARGE_TIME_T % 65537 == 0)
! ? 1 : -1];
!
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_cv_sys_year2038_opts="$ac_opt"
! ac_opt_found=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! test $ac_opt_found = no || break
! done
! CPPFLAGS="$ac_save_CPPFLAGS"
! test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
! printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
! ac_have_year2038=yes
! case $ac_cv_sys_year2038_opts in #(
! "none needed") :
! ;; #(
! "support not detected") :
! ac_have_year2038=no ;; #(
! "-D_TIME_BITS=64") :
!
! printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
! ;; #(
! "-D__MINGW_USE_VC2005_COMPAT") :
!
! printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
! ;; #(
! "-U_USE_32_BIT_TIME_T"*) :
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
! as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
! will stop working after mid-January 2038. Remove
! _USE_32BIT_TIME_T from the compiler flags.
! See 'config.log' for more details" "$LINENO" 5; } ;; #(
! *) :
! as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
! esac
fi
+ fi
# Pre-early section.
***************
*** 6738,6854 ****
# Code from module xvasprintf:
! { $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 <stdlib.h>
! #include <stdarg.h>
! #include <string.h>
! #include <float.h>
!
! 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 <string.h>
!
! _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 <stdlib.h>
!
! _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 <ctype.h>
! #include <stdlib.h>
! #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
--- 7261,7417 ----
# Code from module xvasprintf:
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
! printf %s "checking for grep that handles long lines and -e... " >&6; }
! if test ${ac_cv_path_GREP+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! 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
! printf %s 0123456789 >"conftest.in"
! while :
! do
! cat "conftest.in" "conftest.in" >"conftest.tmp"
! mv "conftest.tmp" "conftest.in"
! cp "conftest.in" "conftest.nl"
! printf "%s\n" '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
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
! printf "%s\n" "$ac_cv_path_GREP" >&6; }
! GREP="$ac_cv_path_GREP"
! # Autoupdate added the next two lines to ensure that your configure
! # script's behavior did not change. They are probably safe to remove.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
! printf %s "checking for egrep... " >&6; }
! if test ${ac_cv_path_EGREP+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! 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
! printf %s 0123456789 >"conftest.in"
! while :
! do
! cat "conftest.in" "conftest.in" >"conftest.tmp"
! mv "conftest.tmp" "conftest.in"
! cp "conftest.in" "conftest.nl"
! printf "%s\n" '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 ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
! printf "%s\n" "$ac_cv_path_EGREP" >&6; }
! EGREP="$ac_cv_path_EGREP"
! EGREP_TRADITIONAL=$EGREP
! ac_cv_path_EGREP_TRADITIONAL=$EGREP
***************
*** 6859,6886 ****
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 <alloca.h>
int
! main ()
{
char *p = (char *) alloca (2 * sizeof (int));
if (p) return 0;
--- 7422,7450 ----
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 case e in #(
+ e)
+ printf "%s\n" "#define size_t unsigned int" >>confdefs.h
+ ;;
+ esac
fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
! printf %s "checking for working alloca.h... " >&6; }
! if test ${ac_cv_working_alloca_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <alloca.h>
int
! main (void)
{
char *p = (char *) alloca (2 * sizeof (int));
if (p) return 0;
***************
*** 6888,6939 ****
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 <malloc.h>
# define alloca _alloca
# else
! # ifdef HAVE_ALLOCA_H
! # include <alloca.h>
! # 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;
--- 7452,7505 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_working_alloca_h=yes
! else case e in #(
! e) ac_cv_working_alloca_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
! printf "%s\n" "$ac_cv_working_alloca_h" >&6; }
if test $ac_cv_working_alloca_h = yes; then
! printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
! printf %s "checking for alloca... " >&6; }
! if test ${ac_cv_func_alloca_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_func_alloca_works=$ac_cv_working_alloca_h
! if test "$ac_cv_func_alloca_works" != yes
! then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #include <stdlib.h>
! #include <stddef.h>
! #ifndef alloca
! # ifdef __GNUC__
! # define alloca __builtin_alloca
! # elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
# else
! # ifdef __cplusplus
! extern "C"
# endif
+ void *alloca (size_t);
# endif
#endif
int
! main (void)
{
char *p = (char *) alloca (1);
if (p) return 0;
***************
*** 6941,6960 ****
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
--- 7507,7527 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_func_alloca_works=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
+ fi ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
! printf "%s\n" "$ac_cv_func_alloca_works" >&6; }
if test $ac_cv_func_alloca_works = yes; then
! printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h
else
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
***************
*** 6968,7026 ****
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
--- 7535,7554 ----
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
! printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
! printf %s "checking stack direction for C alloca... " >&6; }
! if test ${ac_cv_c_stack_direction+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
ac_cv_c_stack_direction=0
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
***************
*** 7040,7141 ****
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
!
! # 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
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
! $as_echo_n "checking for d_ino member in directory struct... " >&6; }
! if ${gl_cv_struct_dirent_d_ino+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems with Linux kernel.
linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
--- 7568,7602 ----
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 case e in #(
! e) ac_cv_c_stack_direction=-1 ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
esac
fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
+ printf "%s\n" "$ac_cv_c_stack_direction" >&6; }
+ printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h
+ fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
! printf %s "checking for d_ino member in directory struct... " >&6; }
! if test ${gl_cv_struct_dirent_d_ino+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems with Linux kernel.
linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
***************
*** 7145,7159 ****
*) gl_cv_struct_dirent_d_ino="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
int
! main ()
{
DIR *dp = opendir (".");
struct dirent *e;
--- 7606,7620 ----
*) gl_cv_struct_dirent_d_ino="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
int
! main (void)
{
DIR *dp = opendir (".");
struct dirent *e;
***************
*** 7174,7206 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_struct_dirent_d_ino=yes
! else
! gl_cv_struct_dirent_d_ino=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_struct_dirent_d_ino" >&5
! $as_echo "$gl_cv_struct_dirent_d_ino" >&6; }
case "$gl_cv_struct_dirent_d_ino" in
*yes)
! $as_echo "#define D_INO_IN_DIRENT 1" >>confdefs.h
;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
! $as_echo_n "checking for long file names... " >&6; }
! if ${ac_cv_sys_long_file_names+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_cv_sys_long_file_names=yes
# Test for long file names in all the places we know might matter:
# . the current directory, where building will happen
# $prefix/lib where we will be installing things
--- 7635,7672 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_struct_dirent_d_ino=yes
! else case e in #(
! e) gl_cv_struct_dirent_d_ino=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5
! printf "%s\n" "$gl_cv_struct_dirent_d_ino" >&6; }
case "$gl_cv_struct_dirent_d_ino" in
*yes)
! printf "%s\n" "#define D_INO_IN_DIRENT 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
! printf %s "checking for long file names... " >&6; }
! if test ${ac_cv_sys_long_file_names+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_sys_long_file_names=yes
# Test for long file names in all the places we know might matter:
# . the current directory, where building will happen
# $prefix/lib where we will be installing things
***************
*** 7225,7258 ****
ac_cv_sys_long_file_names=no
rm -f -r "$ac_xdir" 2>/dev/null
test $ac_cv_sys_long_file_names = no && break
! done
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
! $as_echo "$ac_cv_sys_long_file_names" >&6; }
if test $ac_cv_sys_long_file_names = yes; then
! $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
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
-
-
-
GNULIB__EXIT=0;
GNULIB_ATOLL=0;
GNULIB_CALLOC_POSIX=0;
--- 7691,7721 ----
ac_cv_sys_long_file_names=no
rm -f -r "$ac_xdir" 2>/dev/null
test $ac_cv_sys_long_file_names = no && break
! done ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
! printf "%s\n" "$ac_cv_sys_long_file_names" >&6; }
if test $ac_cv_sys_long_file_names = yes; then
! printf "%s\n" "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
fi
! ac_func=
! for ac_item in $ac_func_c_list
! do
! if test $ac_func; then
! ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
! if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
! echo "#define $ac_item 1" >> confdefs.h
! fi
! ac_func=
! else
! ac_func=$ac_item
! fi
done
GNULIB__EXIT=0;
GNULIB_ATOLL=0;
GNULIB_CALLOC_POSIX=0;
***************
*** 7342,7356 ****
!
!
!
! { $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),
--- 7805,7817 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
! printf %s "checking whether // is distinct from /... " >&6; }
! if test ${gl_cv_double_slash_root+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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),
***************
*** 7372,7400 ****
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
mkdir conftest.d
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
--- 7833,7863 ----
else
gl_cv_double_slash_root=yes
fi
! fi ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
! printf "%s\n" "$gl_cv_double_slash_root" >&6; }
if test "$gl_cv_double_slash_root" = yes; then
! printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
! printf %s "checking whether realpath works... " >&6; }
! if test ${gl_cv_func_realpath_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
touch conftest.a
mkdir conftest.d
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
***************
*** 7404,7411 ****
*) gl_cv_func_realpath_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 7867,7874 ----
*) gl_cv_func_realpath_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 7527,7533 ****
#include <string.h>
int
! main ()
{
int result = 0;
--- 7990,7996 ----
#include <string.h>
int
! main (void)
{
int result = 0;
***************
*** 7564,7587 ****
}
_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
rm -rf conftest.a conftest.d
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
! $as_echo "$gl_cv_func_realpath_works" >&6; }
case "$gl_cv_func_realpath_works" in
*yes)
! $as_echo "#define FUNC_REALPATH_WORKS 1" >>confdefs.h
;;
esac
--- 8027,8054 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_realpath_works=yes
! else case e in #(
! e) gl_cv_func_realpath_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -rf conftest.a conftest.d
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
! printf "%s\n" "$gl_cv_func_realpath_works" >&6; }
case "$gl_cv_func_realpath_works" in
*yes)
! printf "%s\n" "#define FUNC_REALPATH_WORKS 1" >>confdefs.h
;;
esac
***************
*** 7589,7612 ****
- 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
-
-
-
-
-
--- 8056,8061 ----
***************
*** 7746,7802 ****
!
!
! { $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 <sys/types.h>
!
! _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
! for ac_header in unistd.h
! do :
! ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
! if test "x$ac_cv_header_unistd_h" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_UNISTD_H 1
! _ACEOF
fi
! done
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
! $as_echo_n "checking for working chown... " >&6; }
! if ${ac_cv_func_chown_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in # ((
# Guess yes on glibc systems.
*-gnu* | gnu*) ac_cv_func_chown_works="guessing yes" ;;
--- 8195,8238 ----
! ac_fn_c_check_type "$LINENO" "uid_t" "ac_cv_type_uid_t" "$ac_includes_default"
! if test "x$ac_cv_type_uid_t" = xyes
! then :
!
! else case e in #(
! e)
! printf "%s\n" "#define uid_t int" >>confdefs.h
! ;;
! esac
fi
+ ac_fn_c_check_type "$LINENO" "gid_t" "ac_cv_type_gid_t" "$ac_includes_default"
+ if test "x$ac_cv_type_gid_t" = xyes
+ then :
+
+ else case e in #(
+ e)
+ printf "%s\n" "#define gid_t int" >>confdefs.h
+ ;;
+ esac
fi
! ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
! if test "x$ac_cv_header_unistd_h" = xyes
! then :
! printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
! printf %s "checking for working chown... " >&6; }
! if test ${ac_cv_func_chown_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in # ((
# Guess yes on glibc systems.
*-gnu* | gnu*) ac_cv_func_chown_works="guessing yes" ;;
***************
*** 7806,7819 ****
*) ac_cv_func_chown_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
#include <fcntl.h>
int
! main ()
{
char *f = "conftest.chown";
--- 8242,8255 ----
*) ac_cv_func_chown_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
#include <fcntl.h>
int
! main (void)
{
char *f = "conftest.chown";
***************
*** 7834,7873 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
ac_cv_func_chown_works=yes
! else
! ac_cv_func_chown_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.chown
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
! $as_echo "$ac_cv_func_chown_works" >&6; }
case "$ac_cv_func_chown_works" in
*yes)
! $as_echo "#define HAVE_CHOWN 1" >>confdefs.h
;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown dereferences symlinks" >&5
! $as_echo_n "checking whether chown dereferences symlinks... " >&6; }
! if ${gl_cv_func_chown_follows_symlink+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
! if test "$cross_compiling" = yes; then :
gl_cv_func_chown_follows_symlink=yes
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
--- 8270,8315 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
ac_cv_func_chown_works=yes
! else case e in #(
! e) ac_cv_func_chown_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -f conftest.chown
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
! printf "%s\n" "$ac_cv_func_chown_works" >&6; }
case "$ac_cv_func_chown_works" in
*yes)
! printf "%s\n" "#define HAVE_CHOWN 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether chown dereferences symlinks" >&5
! printf %s "checking whether chown dereferences symlinks... " >&6; }
! if test ${gl_cv_func_chown_follows_symlink+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
! if test "$cross_compiling" = yes
! then :
gl_cv_func_chown_follows_symlink=yes
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
***************
*** 7894,7917 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_chown_follows_symlink=yes
! else
! gl_cv_func_chown_follows_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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_follows_symlink" >&5
! $as_echo "$gl_cv_func_chown_follows_symlink" >&6; }
if test $gl_cv_func_chown_follows_symlink = no; then
! $as_echo "#define CHOWN_MODIFIES_SYMLINK 1" >>confdefs.h
fi
--- 8336,8363 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_chown_follows_symlink=yes
! else case e in #(
! e) gl_cv_func_chown_follows_symlink=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_follows_symlink" >&5
! printf "%s\n" "$gl_cv_func_chown_follows_symlink" >&6; }
if test $gl_cv_func_chown_follows_symlink = no; then
! printf "%s\n" "#define CHOWN_MODIFIES_SYMLINK 1" >>confdefs.h
fi
***************
*** 7936,7954 ****
case "$ac_cv_func_chown_works" in
*no)
! $as_echo "#define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1" >>confdefs.h
REPLACE_CHOWN=1
;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown honors trailing slash" >&5
! $as_echo_n "checking whether chown honors trailing slash... " >&6; }
! if ${gl_cv_func_chown_slash_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! touch conftest.file && rm -f conftest.link
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_chown_slash_works="guessing yes" ;;
--- 8380,8400 ----
case "$ac_cv_func_chown_works" in
*no)
! printf "%s\n" "#define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1" >>confdefs.h
REPLACE_CHOWN=1
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether chown honors trailing slash" >&5
! printf %s "checking whether chown honors trailing slash... " >&6; }
! if test ${gl_cv_func_chown_slash_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) touch conftest.file && rm -f conftest.link
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_chown_slash_works="guessing yes" ;;
***************
*** 7956,7963 ****
*) gl_cv_func_chown_slash_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
--- 8402,8409 ----
*) gl_cv_func_chown_slash_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
***************
*** 7965,7971 ****
#include <errno.h>
int
! main ()
{
if (symlink ("conftest.file", "conftest.link")) return 1;
if (chown ("conftest.link/", getuid (), getgid ()) == 0) return 2;
--- 8411,8417 ----
#include <errno.h>
int
! main (void)
{
if (symlink ("conftest.file", "conftest.link")) return 1;
if (chown ("conftest.link/", getuid (), getgid ()) == 0) return 2;
***************
*** 7974,8008 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_chown_slash_works=yes
! else
! gl_cv_func_chown_slash_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.file
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_slash_works" >&5
! $as_echo "$gl_cv_func_chown_slash_works" >&6; }
case "$gl_cv_func_chown_slash_works" in
*yes) ;;
*)
! $as_echo "#define CHOWN_TRAILING_SLASH_BUG 1" >>confdefs.h
REPLACE_CHOWN=1
;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown always updates ctime" >&5
! $as_echo_n "checking whether chown always updates ctime... " >&6; }
! if ${gl_cv_func_chown_ctime_works+:} 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_chown_ctime_works="guessing yes" ;;
--- 8420,8460 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_chown_slash_works=yes
! else case e in #(
! e) gl_cv_func_chown_slash_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.link conftest.file ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_slash_works" >&5
! printf "%s\n" "$gl_cv_func_chown_slash_works" >&6; }
case "$gl_cv_func_chown_slash_works" in
*yes) ;;
*)
! printf "%s\n" "#define CHOWN_TRAILING_SLASH_BUG 1" >>confdefs.h
REPLACE_CHOWN=1
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether chown always updates ctime" >&5
! printf %s "checking whether chown always updates ctime... " >&6; }
! if test ${gl_cv_func_chown_ctime_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_chown_ctime_works="guessing yes" ;;
***************
*** 8010,8017 ****
*) gl_cv_func_chown_ctime_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
--- 8462,8469 ----
*) gl_cv_func_chown_ctime_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
***************
*** 8021,8027 ****
#include <sys/stat.h>
int
! main ()
{
struct stat st1, st2;
if (close (creat ("conftest.file", 0600))) return 1;
--- 8473,8479 ----
#include <sys/stat.h>
int
! main (void)
{
struct stat st1, st2;
if (close (creat ("conftest.file", 0600))) return 1;
***************
*** 8035,8058 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_chown_ctime_works=yes
! else
! gl_cv_func_chown_ctime_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.file
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_ctime_works" >&5
! $as_echo "$gl_cv_func_chown_ctime_works" >&6; }
case "$gl_cv_func_chown_ctime_works" in
*yes) ;;
*)
! $as_echo "#define CHOWN_CHANGE_TIME_BUG 1" >>confdefs.h
REPLACE_CHOWN=1
;;
--- 8487,8514 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_chown_ctime_works=yes
! else case e in #(
! e) gl_cv_func_chown_ctime_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.file ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_ctime_works" >&5
! printf "%s\n" "$gl_cv_func_chown_ctime_works" >&6; }
case "$gl_cv_func_chown_ctime_works" in
*yes) ;;
*)
! printf "%s\n" "#define CHOWN_CHANGE_TIME_BUG 1" >>confdefs.h
REPLACE_CHOWN=1
;;
***************
*** 8062,8072 ****
-
if test $ac_cv_func__set_invalid_parameter_handler = yes; then
HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
! $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
else
HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
--- 8518,8527 ----
if test $ac_cv_func__set_invalid_parameter_handler = yes; then
HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
! printf "%s\n" "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
else
HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
***************
*** 8102,8113 ****
! { $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 <<EOF > conftestd1a/conftest.h
#define DEFINED_IN_CONFTESTD1
--- 8555,8567 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
! printf %s "checking whether the preprocessor supports include_next... " >&6; }
! if test ${gl_cv_have_include_next+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) rm -rf conftestd1a conftestd1b conftestd2
mkdir conftestd1a conftestd1b conftestd2
cat <<EOF > conftestd1a/conftest.h
#define DEFINED_IN_CONFTESTD1
***************
*** 8140,8168 ****
/* end confdefs.h. */
#include <conftest.h>
_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 <conftest.h>
_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
--- 8594,8627 ----
/* end confdefs.h. */
#include <conftest.h>
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_have_include_next=yes
! else case e in #(
! e) CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <conftest.h>
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_have_include_next=buggy
! else case e in #(
! e) gl_cv_have_include_next=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CPPFLAGS="$gl_save_CPPFLAGS"
rm -rf conftestd1a conftestd1b conftestd2
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
! printf "%s\n" "$gl_cv_have_include_next" >&6; }
PRAGMA_SYSTEM_HEADER=
if test $gl_cv_have_include_next = yes; then
INCLUDE_NEXT=include_next
***************
*** 8182,8193 ****
! { $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
--- 8641,8653 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
! printf %s "checking whether system header files limit the line length... " >&6; }
! if test ${gl_cv_pragma_columns+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __TANDEM
***************
*** 8196,8212 ****
_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
--- 8656,8675 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "choke me" >/dev/null 2>&1
! then :
gl_cv_pragma_columns=yes
! else case e in #(
! e) gl_cv_pragma_columns=no ;;
! esac
fi
! rm -rf conftest*
+ ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
! printf "%s\n" "$gl_cv_pragma_columns" >&6; }
if test $gl_cv_pragma_columns = yes; then
PRAGMA_COLUMNS="#pragma COLUMNS 10000"
else
***************
*** 8216,8225 ****
--- 8679,8766 ----
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
+ printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
+ if test ${ac_cv_c_undeclared_builtin_options+y}
+ then :
+ printf %s "(cached) " >&6
+ else case e in #(
+ e) ac_save_CFLAGS=$CFLAGS
+ ac_cv_c_undeclared_builtin_options='cannot detect'
+ for ac_arg in '' -fno-builtin; do
+ CFLAGS="$ac_save_CFLAGS $ac_arg"
+ # This test program should *not* compile successfully.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+ int
+ main (void)
+ {
+ (void) strchr;
+ ;
+ return 0;
+ }
+ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"
+ then :
+ else case e in #(
+ e) # This test program should compile successfully.
+ # No library function is consistently available on
+ # freestanding implementations, so test against a dummy
+ # declaration. Include always-available headers on the
+ # off chance that they somehow elicit warnings.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+ #include <float.h>
+ #include <limits.h>
+ #include <stdarg.h>
+ #include <stddef.h>
+ extern void ac_decl (int, char *);
+ int
+ main (void)
+ {
+ (void) ac_decl (0, (char *) 0);
+ (void) ac_decl;
+ ;
+ return 0;
+ }
+ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"
+ then :
+ if test x"$ac_arg" = x
+ then :
+ ac_cv_c_undeclared_builtin_options='none needed'
+ else case e in #(
+ e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
+ esac
+ fi
+ break
+ fi
+ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+ esac
+ fi
+ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+ done
+ CFLAGS=$ac_save_CFLAGS
+ ;;
+ esac
+ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
+ printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
+ case $ac_cv_c_undeclared_builtin_options in #(
+ 'cannot detect') :
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+ printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
+ as_fn_error $? "cannot make $CC report undeclared builtins
+ See 'config.log' for more details" "$LINENO" 5; } ;; #(
+ 'none needed') :
+ ac_c_undeclared_builtin_options='' ;; #(
+ *) :
+ ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
+ esac
***************
*** 8229,8240 ****
- { $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. */
#if HAVE_UNISTD_H
--- 8770,8785 ----
+
+
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
+ printf %s "checking if environ is properly declared... " >&6; }
+ if test ${gt_cv_var_environ_declaration+y}
+ then :
+ printf %s "(cached) " >&6
+ else case e in #(
+ e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_UNISTD_H
***************
*** 8245,8270 ****
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
--- 8790,8818 ----
extern struct { int foo; } environ;
int
! main (void)
{
environ.foo = 1;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_var_environ_declaration=no
! else case e in #(
! e) gt_cv_var_environ_declaration=yes ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
! printf "%s\n" "$gt_cv_var_environ_declaration" >&6; }
if test $gt_cv_var_environ_declaration = yes; then
! printf "%s\n" "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
fi
***************
*** 8275,8286 ****
! { $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. */
--- 8823,8835 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
! printf %s "checking for complete errno.h... " >&6; }
! if test ${gl_cv_header_errno_h_complete+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 8339,8355 ****
_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
--- 8888,8907 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "booboo" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_complete=no
! else case e in #(
! e) gl_cv_header_errno_h_complete=yes ;;
! esac
fi
! rm -rf conftest*
+ ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
! printf "%s\n" "$gl_cv_header_errno_h_complete" >&6; }
if test $gl_cv_header_errno_h_complete = yes; then
ERRNO_H=''
else
***************
*** 8364,8375 ****
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 <errno.h>" >&5
! $as_echo_n "checking absolute name of <errno.h>... " >&6; }
! if ${gl_cv_next_errno_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 8916,8928 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_errno_h='<'errno.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
! printf %s "checking absolute name of <errno.h>... " >&6; }
! if test ${gl_cv_next_errno_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 8405,8414 ****
gl_header=$gl_cv_absolute_errno_h
gl_cv_next_errno_h='"'$gl_header'"'
!
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
--- 8958,8968 ----
gl_header=$gl_cv_absolute_errno_h
gl_cv_next_errno_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
! printf "%s\n" "$gl_cv_next_errno_h" >&6; }
fi
NEXT_ERRNO_H=$gl_cv_next_errno_h
***************
*** 8437,8448 ****
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. */
--- 8991,9003 ----
if test -n "$ERRNO_H"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
! printf %s "checking for EMULTIHOP value... " >&6; }
! if test ${gl_cv_header_errno_h_EMULTIHOP+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 8453,8464 ****
_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
--- 9008,9021 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_EMULTIHOP=yes
! else case e in #(
! e) gl_cv_header_errno_h_EMULTIHOP=no ;;
! esac
fi
! rm -rf conftest*
if test $gl_cv_header_errno_h_EMULTIHOP = no; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 8472,8481 ****
_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" "
--- 9029,9039 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_EMULTIHOP=hidden
fi
! rm -rf 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" "
***************
*** 8484,8499 ****
/* The following two lines are a workaround against an autoconf-2.52 bug. */
#include <stdio.h>
#include <stdlib.h>
! "; 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=
--- 9042,9059 ----
/* The following two lines are a workaround against an autoconf-2.52 bug. */
#include <stdio.h>
#include <stdlib.h>
! "
! then :
fi
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
! printf "%s\n" "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
case $gl_cv_header_errno_h_EMULTIHOP in
yes | no)
EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
***************
*** 8508,8519 ****
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. */
--- 9068,9080 ----
if test -n "$ERRNO_H"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
! printf %s "checking for ENOLINK value... " >&6; }
! if test ${gl_cv_header_errno_h_ENOLINK+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 8524,8535 ****
_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
--- 9085,9098 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_ENOLINK=yes
! else case e in #(
! e) gl_cv_header_errno_h_ENOLINK=no ;;
! esac
fi
! rm -rf conftest*
if test $gl_cv_header_errno_h_ENOLINK = no; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 8543,8552 ****
_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" "
--- 9106,9116 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_ENOLINK=hidden
fi
! rm -rf 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" "
***************
*** 8555,8570 ****
/* The following two lines are a workaround against an autoconf-2.52 bug. */
#include <stdio.h>
#include <stdlib.h>
! "; 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=
--- 9119,9136 ----
/* The following two lines are a workaround against an autoconf-2.52 bug. */
#include <stdio.h>
#include <stdlib.h>
! "
! then :
fi
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
! printf "%s\n" "$gl_cv_header_errno_h_ENOLINK" >&6; }
case $gl_cv_header_errno_h_ENOLINK in
yes | no)
ENOLINK_HIDDEN=0; ENOLINK_VALUE=
***************
*** 8579,8590 ****
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. */
--- 9145,9157 ----
if test -n "$ERRNO_H"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
! printf %s "checking for EOVERFLOW value... " >&6; }
! if test ${gl_cv_header_errno_h_EOVERFLOW+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 8595,8606 ****
_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
--- 9162,9175 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_EOVERFLOW=yes
! else case e in #(
! e) gl_cv_header_errno_h_EOVERFLOW=no ;;
! esac
fi
! rm -rf conftest*
if test $gl_cv_header_errno_h_EOVERFLOW = no; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 8614,8623 ****
_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" "
--- 9183,9193 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
! then :
gl_cv_header_errno_h_EOVERFLOW=hidden
fi
! rm -rf 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" "
***************
*** 8626,8641 ****
/* The following two lines are a workaround against an autoconf-2.52 bug. */
#include <stdio.h>
#include <stdlib.h>
! "; 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=
--- 9196,9213 ----
/* The following two lines are a workaround against an autoconf-2.52 bug. */
#include <stdio.h>
#include <stdlib.h>
! "
! then :
fi
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
! printf "%s\n" "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
case $gl_cv_header_errno_h_EOVERFLOW in
yes | no)
EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
***************
*** 8649,8689 ****
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];
--- 9221,9260 ----
fi
! ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_strerror_r" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
+ printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h
! if test $ac_cv_have_decl_strerror_r = yes; then
! # For backward compatibility's sake, define HAVE_STRERROR_R.
! # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well
! # as AC_CHECK_DECLS_ONCE.)
! printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
! fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
+ printf %s "checking whether strerror_r returns char *... " >&6; }
+ if test ${ac_cv_func_strerror_r_char_p+y}
+ then :
+ printf %s "(cached) " >&6
+ else case e in #(
+ e)
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. */
! #include <string.h>
int
! main (void)
{
char buf[100];
***************
*** 8695,8743 ****
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
--- 9266,9286 ----
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.beam conftest.$ac_ext
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
! printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; }
if test $ac_cv_func_strerror_r_char_p = yes; then
! printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h
fi
***************
*** 8745,8830 ****
XGETTEXT_EXTRA_OPTIONS=
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
! $as_echo_n "checking type of array argument to getgroups... " >&6; }
! if ${ac_cv_type_getgroups+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
! ac_cv_type_getgroups=cross
! else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
- /* Thanks to Mike Rendell for this test. */
$ac_includes_default
! #define NGID 256
! #undef MAX
! #define MAX(x, y) ((x) > (y) ? (x) : (y))
!
int
! main ()
{
! gid_t gidset[NGID];
! int i, n;
! union { gid_t gval; long int lval; } val;
!
! val.lval = -1;
! for (i = 0; i < NGID; i++)
! gidset[i] = val.gval;
! n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
! gidset);
! /* Exit non-zero if getgroups seems to require an array of ints. This
! happens when gid_t is short int but getgroups modifies an array
! of ints. */
! return n > 0 && gidset[n] != val.gval;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
! ac_cv_type_getgroups=gid_t
! else
! ac_cv_type_getgroups=int
fi
! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
! if test $ac_cv_type_getgroups = cross; then
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #include <unistd.h>
!
_ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
! ac_cv_type_getgroups=gid_t
! else
! ac_cv_type_getgroups=int
fi
! rm -f conftest*
fi
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
! $as_echo "$ac_cv_type_getgroups" >&6; }
- cat >>confdefs.h <<_ACEOF
- #define GETGROUPS_T $ac_cv_type_getgroups
- _ACEOF
!
! { $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 ${gl_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 "$cross_compiling" = yes; then :
case "$host_os" in
*-gnu* | gnu*)
# Guess yes on glibc systems.
--- 9288,9427 ----
XGETTEXT_EXTRA_OPTIONS=
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
! printf %s "checking type of array argument to getgroups... " >&6; }
! if test ${ac_cv_type_getgroups+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # If AC_TYPE_UID_T says there isn't any gid_t typedef, then we can skip
! # everything below.
! if test $ac_cv_type_gid_t = no
! then :
! ac_cv_type_getgroups=int
! else case e in #(
! e) # Test programs below rely on strict type checking of extern declarations:
! # 'extern int getgroups(int, int *); extern int getgroups(int, pid_t *);'
! # is valid in C89 if and only if pid_t is a typedef for int. Unlike
! # anything involving either an assignment or a function call, compilers
! # tend to make this kind of type mismatch a hard error, not just an
! # "incompatible pointer types" warning.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
! extern int getgroups(int, gid_t *);
int
! main (void)
{
! return !(getgroups(0, 0) >= 0);
! ;
! return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_getgroups_gidarray=yes
! else case e in #(
! e) ac_getgroups_gidarray=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
! $ac_includes_default
! extern int getgroups(int, int *);
! int
! main (void)
! {
! return !(getgroups(0, 0) >= 0);
! ;
! return 0;
! }
! _ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! ac_getgroups_intarray=yes
! else case e in #(
! e) ac_getgroups_intarray=no ;;
! esac
fi
+ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! case int:$ac_getgroups_intarray,gid:$ac_getgroups_gidarray in #(
! int:yes,gid:no) :
! ac_cv_type_getgroups=int ;; #(
! int:no,gid:yes) :
! ac_cv_type_getgroups=gid_t ;; #(
! int:yes,gid:yes) :
!
! # Both programs compiled - this means *either* that getgroups
! # was declared with no prototype, in which case we should use int,
! # or that it was declared prototyped but gid_t is a typedef for int,
! # in which case we should use gid_t. Distinguish the two cases
! # by testing if the compiler catches a blatantly incorrect function
! # signature for getgroups.
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! $ac_includes_default
! extern int getgroups(int, float);
! int
! main (void)
! {
! return !(getgroups(0, 0) >= 0);
! ;
! return 0;
! }
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
!
! # Compiler did not catch incorrect argument list;
! # getgroups is unprototyped.
! ac_cv_type_getgroups=int
!
! else case e in #(
! e)
! # Compiler caught incorrect argument list;
! # gid_t is a typedef for int.
! ac_cv_type_getgroups=gid_t
! ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;; #(
! *) :
+ # Both programs failed to compile - this probably means getgroups
+ # wasn't declared at all. Use 'int', as this is probably a very
+ # old system where the type _would have been_ int.
+ ac_cv_type_getgroups=int
+ ;;
+ esac
+ ;;
+ esac
fi
+ ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
! printf "%s\n" "$ac_cv_type_getgroups" >&6; }
! printf "%s\n" "#define GETGROUPS_T $ac_cv_type_getgroups" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
! printf %s "checking whether lstat correctly handles trailing slash... " >&6; }
! if test ${gl_cv_func_lstat_dereferences_slashed_symlink+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) rm -f conftest.sym conftest.file
echo >conftest.file
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
*-gnu* | gnu*)
# Guess yes on glibc systems.
***************
*** 8837,8848 ****
gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
! main ()
{
struct stat sbuf;
if (symlink ("conftest.file", "conftest.sym") != 0)
--- 9434,9445 ----
gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
! main (void)
{
struct stat sbuf;
if (symlink ("conftest.file", "conftest.sym") != 0)
***************
*** 8856,8895 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_lstat_dereferences_slashed_symlink=yes
! else
! gl_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
rm -f conftest.sym conftest.file
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
! $as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
*yes)
! cat >>confdefs.h <<_ACEOF
! #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
! _ACEOF
;;
esac
! ac_fn_c_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default"
! if test "x$ac_cv_have_decl_fchdir" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_FCHDIR $ac_have_decl
! _ACEOF
GNULIB_FCHMODAT=0;
--- 9453,9493 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_lstat_dereferences_slashed_symlink=yes
! else case e in #(
! e) gl_cv_func_lstat_dereferences_slashed_symlink=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -f conftest.sym conftest.file
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
! printf "%s\n" "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
*yes)
! printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h
;;
esac
! ac_fn_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_fchdir" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_FCHDIR $ac_have_decl" >>confdefs.h
GNULIB_FCHMODAT=0;
***************
*** 8949,8970 ****
!
!
! { $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 :
case "$host_os" in
# Guess 'no' on native Windows.
mingw*) gl_cv_header_working_fcntl_h='no' ;;
*) gl_cv_header_working_fcntl_h=cross-compiling ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
--- 9545,9566 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
! printf %s "checking for working fcntl.h... " >&6; }
! if test ${gl_cv_header_working_fcntl_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess 'no' on native Windows.
mingw*) gl_cv_header_working_fcntl_h='no' ;;
*) gl_cv_header_working_fcntl_h=cross-compiling ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
***************
*** 8989,8995 ****
};
int
! main ()
{
int result = !constants;
--- 9585,9591 ----
};
int
! main (void)
{
int result = !constants;
***************
*** 9059,9091 ****
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 #(
--- 9655,9689 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_header_working_fcntl_h=yes
! else case e in #(
! e) 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 ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
! printf "%s\n" "$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
! printf "%s\n" "#define HAVE_WORKING_O_NOATIME $ac_val" >>confdefs.h
case $gl_cv_header_working_fcntl_h in #(
***************
*** 9093,9133 ****
*) ac_val=1;;
esac
! cat >>confdefs.h <<_ACEOF
! #define HAVE_WORKING_O_NOFOLLOW $ac_val
! _ACEOF
- ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
- if test "x$ac_cv_type_pid_t" = xyes; then :
! else
! cat >>confdefs.h <<_ACEOF
! #define pid_t int
! _ACEOF
! fi
! 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
! { $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 <sys/types.h>
#include <sys/stat.h>
--- 9691,9757 ----
*) ac_val=1;;
esac
! printf "%s\n" "#define HAVE_WORKING_O_NOFOLLOW $ac_val" >>confdefs.h
! ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
! "
! if test "x$ac_cv_type_pid_t" = xyes
! then :
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! /* end confdefs.h. */
! #if defined _WIN64 && !defined __CYGWIN__
! LLP64
! #endif
! int
! main (void)
! {
! ;
! return 0;
! }
_ACEOF
+ if ac_fn_c_try_compile "$LINENO"
+ then :
+ ac_pid_type='int'
+ else case e in #(
+ e) ac_pid_type='__int64' ;;
+ esac
+ fi
+ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+
+ printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
+ ;;
+ esac
fi
+ 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 case e in #(
! e)
! printf "%s\n" "#define mode_t int" >>confdefs.h
! ;;
! esac
! fi
!
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
! printf %s "checking whether stat file-mode macros are broken... " >&6; }
! if test ${ac_cv_header_stat_broken+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
***************
*** 9149,9166 ****
#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
--- 9773,9793 ----
#endif
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_header_stat_broken=no
! else case e in #(
! e) ac_cv_header_stat_broken=yes ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
! printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
if test $ac_cv_header_stat_broken = yes; then
! printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
fi
***************
*** 9166,9237 ****
-
-
case "$host_os" in
mingw*)
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
! $as_echo_n "checking for 64-bit off_t... " >&6; }
! if ${gl_cv_type_off_t_64+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_type_off_t_64=yes
! else
! gl_cv_type_off_t_64=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_off_t_64" >&5
! $as_echo "$gl_cv_type_off_t_64" >&6; }
if test $gl_cv_type_off_t_64 = no; then
WINDOWS_64_BIT_OFF_T=1
else
WINDOWS_64_BIT_OFF_T=0
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5
! $as_echo_n "checking for 64-bit st_size... " >&6; }
! if ${gl_cv_member_st_size_64+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
struct stat buf;
int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_member_st_size_64=yes
! else
! gl_cv_member_st_size_64=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_member_st_size_64" >&5
! $as_echo "$gl_cv_member_st_size_64" >&6; }
if test $gl_cv_member_st_size_64 = no; then
WINDOWS_64_BIT_ST_SIZE=1
else
--- 9793,9870 ----
case "$host_os" in
mingw*)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
! printf %s "checking for 64-bit off_t... " >&6; }
! if test ${gl_cv_type_off_t_64+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_type_off_t_64=yes
! else case e in #(
! e) gl_cv_type_off_t_64=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5
! printf "%s\n" "$gl_cv_type_off_t_64" >&6; }
if test $gl_cv_type_off_t_64 = no; then
WINDOWS_64_BIT_OFF_T=1
else
WINDOWS_64_BIT_OFF_T=0
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5
! printf %s "checking for 64-bit st_size... " >&6; }
! if test ${gl_cv_member_st_size_64+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
struct stat buf;
int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_member_st_size_64=yes
! else case e in #(
! e) gl_cv_member_st_size_64=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_member_st_size_64" >&5
! printf "%s\n" "$gl_cv_member_st_size_64" >&6; }
if test $gl_cv_member_st_size_64 = no; then
WINDOWS_64_BIT_ST_SIZE=1
else
***************
*** 9261,9272 ****
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 <sys/stat.h>" >&5
! $as_echo_n "checking absolute name of <sys/stat.h>... " >&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
--- 9894,9906 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_sys_stat_h='<'sys/stat.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
! printf %s "checking absolute name of <sys/stat.h>... " >&6; }
! if test ${gl_cv_next_sys_stat_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_sys_stat_h = yes; then
***************
*** 9308,9317 ****
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
--- 9942,9952 ----
gl_cv_next_sys_stat_h='<'sys/stat.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
! printf "%s\n" "$gl_cv_next_sys_stat_h" >&6; }
fi
NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
***************
*** 9343,9371 ****
ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_type_nlink_t" = xyes; then :
!
! else
!
! $as_echo "#define nlink_t int" >>confdefs.h
fi
for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/stat.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 9978,10009 ----
ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_type_nlink_t" = xyes
! then :
+ else case e in #(
+ e)
+ printf "%s\n" "#define nlink_t int" >>confdefs.h
+ ;;
+ esac
fi
for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/stat.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 9373,9391 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 10011,10033 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 9396,9408 ****
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
! $as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
! if ${gl_cv_func_getcwd_null+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";;
--- 10038,10051 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
! printf %s "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
! if test ${gl_cv_func_getcwd_null+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";;
***************
*** 9412,9419 ****
*) gl_cv_func_getcwd_null="guessing no";;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdlib.h>
--- 10055,10062 ----
*) gl_cv_func_getcwd_null="guessing no";;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdlib.h>
***************
*** 9427,9433 ****
# endif
int
! main ()
{
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
--- 10070,10076 ----
# endif
int
! main (void)
{
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
***************
*** 9454,9483 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_getcwd_null=yes
! else
! gl_cv_func_getcwd_null=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_getcwd_null" >&5
! $as_echo "$gl_cv_func_getcwd_null" >&6; }
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
! $as_echo_n "checking for getcwd with POSIX signature... " >&6; }
! if ${gl_cv_func_getcwd_posix_signature+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main ()
{
extern
#ifdef __cplusplus
--- 10097,10131 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getcwd_null=yes
! else case e in #(
! e) gl_cv_func_getcwd_null=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5
! printf "%s\n" "$gl_cv_func_getcwd_null" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
! printf %s "checking for getcwd with POSIX signature... " >&6; }
! if test ${gl_cv_func_getcwd_posix_signature+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main (void)
{
extern
#ifdef __cplusplus
***************
*** 9490,9519 ****
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_func_getcwd_posix_signature=yes
! else
! gl_cv_func_getcwd_posix_signature=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_getcwd_posix_signature" >&5
! $as_echo "$gl_cv_func_getcwd_posix_signature" >&6; }
!
! ac_fn_c_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default"
! if test "x$ac_cv_have_decl_getdtablesize" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_GETDTABLESIZE $ac_have_decl
! _ACEOF
!
--- 10138,10167 ----
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_getcwd_posix_signature=yes
! else case e in #(
! e) gl_cv_func_getcwd_posix_signature=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5
! printf "%s\n" "$gl_cv_func_getcwd_posix_signature" >&6; }
! ac_fn_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_getdtablesize" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_GETDTABLESIZE $ac_have_decl" >>confdefs.h
***************
*** 9532,9543 ****
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 <getopt.h>" >&5
! $as_echo_n "checking absolute name of <getopt.h>... " >&6; }
! if ${gl_cv_next_getopt_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_getopt_h = yes; then
--- 10180,10192 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_getopt_h='<'getopt.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
! printf %s "checking absolute name of <getopt.h>... " >&6; }
! if test ${gl_cv_next_getopt_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_getopt_h = yes; then
***************
*** 9579,9588 ****
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
--- 10228,10238 ----
gl_cv_next_getopt_h='<'getopt.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5
! printf "%s\n" "$gl_cv_next_getopt_h" >&6; }
fi
NEXT_GETOPT_H=$gl_cv_next_getopt_h
***************
*** 9608,9623 ****
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
--- 10258,10273 ----
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_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
! if test "x$ac_cv_header_getopt_h" = xyes
! then :
! printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h
! else case e in #(
! e) gl_replace_getopt=yes ;;
! esac
fi
done
***************
*** 9621,9660 ****
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
!
if test $cross_compiling = no; 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. */
#include <unistd.h>
--- 10271,10312 ----
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 :
! printf "%s\n" "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
! else case e in #(
! e) gl_replace_getopt=yes ;;
! esac
fi
+ done
fi
if test -z "$gl_replace_getopt"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
! printf %s "checking whether getopt is POSIX compatible... " >&6; }
! if test ${gl_cv_func_getopt_posix+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $cross_compiling = no; then
! if test "$cross_compiling" = yes
! then :
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
***************
*** 9683,9705 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_getopt_posix=maybe
! 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
if test $gl_cv_func_getopt_posix = maybe; 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. */
#include <unistd.h>
--- 10335,10361 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getopt_posix=maybe
! else case e in #(
! e) gl_cv_func_getopt_posix=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
if test $gl_cv_func_getopt_posix = maybe; then
! if test "$cross_compiling" = yes
! then :
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
***************
*** 9742,9765 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_getopt_posix=maybe
! 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
fi
if test $gl_cv_func_getopt_posix = maybe; 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. */
#include <unistd.h>
--- 10398,10425 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getopt_posix=maybe
! else case e in #(
! e) gl_cv_func_getopt_posix=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
if test $gl_cv_func_getopt_posix = maybe; then
! if test "$cross_compiling" = yes
! then :
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
***************
*** 9784,9796 ****
}
_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
fi
--- 10444,10459 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getopt_posix=yes
! else case e in #(
! e) gl_cv_func_getopt_posix=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
***************
*** 9800,9821 ****
*) gl_cv_func_getopt_posix="guessing yes";;
esac
fi
!
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.
--- 10463,10486 ----
*) gl_cv_func_getopt_posix="guessing yes";;
esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
! printf "%s\n" "$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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
! printf %s "checking for working GNU getopt function... " >&6; }
! if test ${gl_cv_func_getopt_gnu+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # 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.
***************
*** 9829,9839 ****
esac
POSIXLY_CORRECT=1
export POSIXLY_CORRECT
! if test "$cross_compiling" = yes; then :
gl_cv_func_getopt_gnu="guessing no"
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <getopt.h>
#include <stddef.h>
--- 10494,10505 ----
esac
POSIXLY_CORRECT=1
export POSIXLY_CORRECT
! if test "$cross_compiling" = yes
! then :
gl_cv_func_getopt_gnu="guessing no"
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <getopt.h>
#include <stddef.h>
***************
*** 9954,9960 ****
int
! main ()
{
int result = 0;
--- 10620,10626 ----
int
! main (void)
{
int result = 0;
***************
*** 10032,10044 ****
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
--- 10698,10713 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getopt_gnu=yes
! else case e in #(
! e) gl_cv_func_getopt_gnu=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
case $gl_had_POSIXLY_CORRECT in
***************
*** 10046,10078 ****
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" != yes; then
gl_replace_getopt=yes
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5
! $as_echo_n "checking for working GNU getopt_long function... " >&6; }
! if ${gl_cv_func_getopt_long_gnu+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
*) gl_cv_func_getopt_long_gnu="guessing yes";;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <getopt.h>
#include <stddef.h>
#include <string.h>
int
! main ()
{
static const struct option long_options[] =
{
--- 10715,10750 ----
yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;;
*) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;;
esac
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
! printf "%s\n" "$gl_cv_func_getopt_gnu" >&6; }
if test "$gl_cv_func_getopt_gnu" != yes; then
gl_replace_getopt=yes
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5
! printf %s "checking for working GNU getopt_long function... " >&6; }
! if test ${gl_cv_func_getopt_long_gnu+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
*) gl_cv_func_getopt_long_gnu="guessing yes";;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <getopt.h>
#include <stddef.h>
#include <string.h>
int
! main (void)
{
static const struct option long_options[] =
{
***************
*** 10098,10116 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_getopt_long_gnu=yes
! else
! gl_cv_func_getopt_long_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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5
! $as_echo "$gl_cv_func_getopt_long_gnu" >&6; }
case "$gl_cv_func_getopt_long_gnu" in
*yes) ;;
*) gl_replace_getopt=yes ;;
--- 10770,10792 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getopt_long_gnu=yes
! else case e in #(
! e) gl_cv_func_getopt_long_gnu=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5
! printf "%s\n" "$gl_cv_func_getopt_long_gnu" >&6; }
case "$gl_cv_func_getopt_long_gnu" in
*yes) ;;
*) gl_replace_getopt=yes ;;
***************
*** 10137,10148 ****
REPLACE_GETTIMEOFDAY=0;
REPLACE_STRUCT_TIMEVAL=0;
! { $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
--- 10808,10820 ----
REPLACE_GETTIMEOFDAY=0;
REPLACE_STRUCT_TIMEVAL=0;
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
! printf %s "checking for C/C++ restrict keyword... " >&6; }
! if test ${ac_cv_c_restrict+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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
***************
*** 10153,10159 ****
int bar (int ip[$ac_kw]) { return ip[0]; }
int
! main ()
{
int s[1];
int *$ac_kw t = s;
--- 10825,10831 ----
int bar (int ip[$ac_kw]) { return ip[0]; }
int
! main (void)
{
int s[1];
int *$ac_kw t = s;
***************
*** 10164,10187 ****
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
--- 10836,10859 ----
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.beam conftest.$ac_ext
test "$ac_cv_c_restrict" != no && break
done
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
! printf "%s\n" "$ac_cv_c_restrict" >&6; }
case $ac_cv_c_restrict in
restrict) ;;
! no) printf "%s\n" "#define restrict /**/" >>confdefs.h
;;
! *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h
;;
esac
***************
*** 10199,10214 ****
-
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 <sys/time.h>" >&5
! $as_echo_n "checking absolute name of <sys/time.h>... " >&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
--- 10871,10886 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_sys_time_h='<'sys/time.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
! printf %s "checking absolute name of <sys/time.h>... " >&6; }
! if test ${gl_cv_next_sys_time_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_sys_time_h = yes; then
***************
*** 10250,10259 ****
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
--- 10922,10932 ----
gl_cv_next_sys_time_h='<'sys/time.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5
! printf "%s\n" "$gl_cv_next_sys_time_h" >&6; }
fi
NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h
***************
*** 10279,10296 ****
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
if test "$ac_cv_header_winsock2_h" = yes; then
HAVE_WINSOCK2_H=1
--- 10952,10964 ----
if test $ac_cv_header_sys_socket_h != yes; then
! ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
! if test "x$ac_cv_header_winsock2_h" = xyes
! then :
! printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h
fi
fi
if test "$ac_cv_header_winsock2_h" = yes; then
HAVE_WINSOCK2_H=1
***************
*** 10301,10312 ****
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 <sys/time.h>
--- 10969,10981 ----
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
! printf %s "checking for struct timeval... " >&6; }
! if test ${gl_cv_sys_struct_timeval+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_SYS_TIME_H
#include <sys/time.h>
***************
*** 10317,10348 ****
#endif
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
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wide-enough struct timeval.tv_sec member" >&5
! $as_echo_n "checking for wide-enough struct timeval.tv_sec member... " >&6; }
! if ${gl_cv_sys_struct_timeval_tv_sec+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_SYS_TIME_H
#include <sys/time.h>
--- 10986,11021 ----
#endif
int
! main (void)
{
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 case e in #(
! e) gl_cv_sys_struct_timeval=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5
! printf "%s\n" "$gl_cv_sys_struct_timeval" >&6; }
if test $gl_cv_sys_struct_timeval != yes; then
HAVE_STRUCT_TIMEVAL=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wide-enough struct timeval.tv_sec member" >&5
! printf %s "checking for wide-enough struct timeval.tv_sec member... " >&6; }
! if test ${gl_cv_sys_struct_timeval_tv_sec+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_SYS_TIME_H
#include <sys/time.h>
***************
*** 10353,10359 ****
#endif
int
! main ()
{
static struct timeval x;
typedef int verify_tv_sec_type[
--- 11026,11032 ----
#endif
int
! main (void)
{
static struct timeval x;
typedef int verify_tv_sec_type[
***************
*** 10364,10379 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_sys_struct_timeval_tv_sec=yes
! else
! gl_cv_sys_struct_timeval_tv_sec=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_tv_sec" >&5
! $as_echo "$gl_cv_sys_struct_timeval_tv_sec" >&6; }
if test $gl_cv_sys_struct_timeval_tv_sec != yes; then
REPLACE_STRUCT_TIMEVAL=1
fi
--- 11037,11055 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_sys_struct_timeval_tv_sec=yes
! else case e in #(
! e) gl_cv_sys_struct_timeval_tv_sec=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval_tv_sec" >&5
! printf "%s\n" "$gl_cv_sys_struct_timeval_tv_sec" >&6; }
if test $gl_cv_sys_struct_timeval_tv_sec != yes; then
REPLACE_STRUCT_TIMEVAL=1
fi
***************
*** 10381,10393 ****
for gl_func in gettimeofday; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_SYS_TIME_H
--- 11057,11070 ----
for gl_func in gettimeofday; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_SYS_TIME_H
***************
*** 10396,10402 ****
#include <time.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 11073,11079 ----
#include <time.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 10404,10422 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 11081,11103 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 10470,10485 ****
-
if test $gl_cv_have_include_next = yes; then
gl_cv_next_limits_h='<'limits.h'>'
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <limits.h>" >&5
! $as_echo_n "checking absolute name of <limits.h>... " >&6; }
! if ${gl_cv_next_limits_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_limits_h = yes; then
--- 11151,11166 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_limits_h='<'limits.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <limits.h>" >&5
! printf %s "checking absolute name of <limits.h>... " >&6; }
! if test ${gl_cv_next_limits_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_limits_h = yes; then
***************
*** 10521,10530 ****
gl_cv_next_limits_h='<'limits.h'>'
fi
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5
! $as_echo "$gl_cv_next_limits_h" >&6; }
fi
NEXT_LIMITS_H=$gl_cv_next_limits_h
--- 11202,11212 ----
gl_cv_next_limits_h='<'limits.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5
! printf "%s\n" "$gl_cv_next_limits_h" >&6; }
fi
NEXT_LIMITS_H=$gl_cv_next_limits_h
***************
*** 10541,10552 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h has ULLONG_WIDTH etc." >&5
! $as_echo_n "checking whether limits.h has ULLONG_WIDTH etc.... " >&6; }
! if ${gl_cv_header_limits_width+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
--- 11223,11235 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether limits.h has ULLONG_WIDTH etc." >&5
! printf %s "checking whether limits.h has ULLONG_WIDTH etc.... " >&6; }
! if test ${gl_cv_header_limits_width+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
***************
*** 10554,10575 ****
#include <limits.h>
int ullw = ULLONG_WIDTH;
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_header_limits_width=yes
! else
! gl_cv_header_limits_width=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_limits_width" >&5
! $as_echo "$gl_cv_header_limits_width" >&6; }
if test "$gl_cv_header_limits_width" = yes; then
LIMITS_H=
else
--- 11237,11261 ----
#include <limits.h>
int ullw = ULLONG_WIDTH;
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_header_limits_width=yes
! else case e in #(
! e) gl_cv_header_limits_width=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_width" >&5
! printf "%s\n" "$gl_cv_header_limits_width" >&6; }
if test "$gl_cv_header_limits_width" = yes; then
LIMITS_H=
else
***************
*** 10586,10597 ****
! { $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: <stdio.h> must be included before
--- 11272,11284 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
! printf %s "checking for wint_t... " >&6; }
! if test ${gt_cv_c_wint_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
***************
*** 10604,10636 ****
#include <wchar.h>
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
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wint_t is too small" >&5
! $as_echo_n "checking whether wint_t is too small... " >&6; }
! if ${gl_cv_type_wint_t_too_small+:} 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: <stdio.h> must be included before
--- 11291,11327 ----
#include <wchar.h>
wint_t foo = (wchar_t)'\0';
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_c_wint_t=yes
! else case e in #(
! e) gt_cv_c_wint_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
! printf "%s\n" "$gt_cv_c_wint_t" >&6; }
if test $gt_cv_c_wint_t = yes; then
! printf "%s\n" "#define HAVE_WINT_T 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wint_t is too small" >&5
! printf %s "checking whether wint_t is too small... " >&6; }
! if test ${gl_cv_type_wint_t_too_small+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
***************
*** 10646,10667 ****
int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_type_wint_t_too_small=no
! else
! gl_cv_type_wint_t_too_small=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wint_t_too_small" >&5
! $as_echo "$gl_cv_type_wint_t_too_small" >&6; }
if test $gl_cv_type_wint_t_too_small = yes; then
GNULIB_OVERRIDES_WINT_T=1
else
--- 11337,11361 ----
int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_type_wint_t_too_small=no
! else case e in #(
! e) gl_cv_type_wint_t_too_small=yes ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wint_t_too_small" >&5
! printf "%s\n" "$gl_cv_type_wint_t_too_small" >&6; }
if test $gl_cv_type_wint_t_too_small = yes; then
GNULIB_OVERRIDES_WINT_T=1
else
***************
*** 10673,10684 ****
! { $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. */
--- 11367,11379 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
! printf %s "checking for unsigned long long int... " >&6; }
! if test ${ac_cv_type_unsigned_long_long_int+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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. */
***************
*** 10698,10704 ****
? 1 : -1)];
int i = 63;
int
! main ()
{
/* Test availability of runtime routines for shift and division. */
long long int llmax = 9223372036854775807ll;
--- 11393,11399 ----
? 1 : -1)];
int i = 63;
int
! main (void)
{
/* Test availability of runtime routines for shift and division. */
long long int llmax = 9223372036854775807ll;
***************
*** 10712,10749 ****
}
_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 <limits.h>
#ifndef LLONG_MAX
--- 11407,11449 ----
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
! else case e in #(
! e) ac_cv_type_unsigned_long_long_int=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
! fi ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
! printf "%s\n" "$ac_cv_type_unsigned_long_long_int" >&6; }
if test $ac_cv_type_unsigned_long_long_int = yes; then
! printf "%s\n" "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
! printf %s "checking for long long int... " >&6; }
! if test ${ac_cv_type_long_long_int+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
#ifndef LLONG_MAX
***************
*** 10752,10758 ****
# define LLONG_MAX (HALF - 1 + HALF)
#endif
int
! main ()
{
long long int n = 1;
int i;
--- 11452,11458 ----
# define LLONG_MAX (HALF - 1 + HALF)
#endif
int
! main (void)
{
long long int n = 1;
int i;
***************
*** 10769,10791 ****
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
--- 11469,11495 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
! else case e in #(
! e) ac_cv_type_long_long_int=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! fi ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
! printf "%s\n" "$ac_cv_type_long_long_int" >&6; }
if test $ac_cv_type_long_long_int = yes; then
! printf "%s\n" "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
fi
***************
*** 10803,10809 ****
typedef int dummy;
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
arch=
prev=
--- 11504,11511 ----
typedef int dummy;
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
arch=
prev=
***************
*** 10827,10833 ****
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
--- 11529,11535 ----
done
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
if test $gl_cv_c_multiarch = yes; then
APPLE_UNIVERSAL_BUILD=1
else
***************
*** 10889,10900 ****
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 <stdint.h>" >&5
! $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
! if ${gl_cv_next_stdint_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_stdint_h = yes; then
--- 11591,11603 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_stdint_h='<'stdint.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
! printf %s "checking absolute name of <stdint.h>... " >&6; }
! if test ${gl_cv_next_stdint_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_stdint_h = yes; then
***************
*** 10936,10945 ****
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
--- 11639,11649 ----
gl_cv_next_stdint_h='<'stdint.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
! printf "%s\n" "$gl_cv_next_stdint_h" >&6; }
fi
NEXT_STDINT_H=$gl_cv_next_stdint_h
***************
*** 10963,10974 ****
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. */
--- 11667,11679 ----
if test $ac_cv_header_stdint_h = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
! printf %s "checking whether stdint.h conforms to C99... " >&6; }
! if test ${gl_cv_header_working_stdint_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) gl_cv_header_working_stdint_h=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 11136,11150 ****
};
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on native Windows.
mingw*) gl_cv_header_working_stdint_h="guessing yes" ;;
--- 11841,11857 ----
};
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on native Windows.
mingw*) gl_cv_header_working_stdint_h="guessing yes" ;;
***************
*** 11152,11159 ****
*) gl_cv_header_working_stdint_h="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 11859,11866 ----
*) gl_cv_header_working_stdint_h="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 11208,11214 ****
};
int
! main ()
{
const char **mv;
--- 11915,11921 ----
};
int
! main (void)
{
const char **mv;
***************
*** 11230,11249 ****
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
HAVE_C99_STDINT_H=0
--- 11937,11959 ----
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 ;;
! esac
fi
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
! printf "%s\n" "$gl_cv_header_working_stdint_h" >&6; }
fi
HAVE_C99_STDINT_H=0
***************
*** 11253,11264 ****
case "$gl_cv_header_working_stdint_h" in
*yes)
HAVE_C99_STDINT_H=1
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5
! $as_echo_n "checking whether stdint.h predates C++11... " >&6; }
! if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! gl_cv_header_stdint_predates_cxx11_h=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 11963,11975 ----
case "$gl_cv_header_working_stdint_h" in
*yes)
HAVE_C99_STDINT_H=1
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5
! printf %s "checking whether stdint.h predates C++11... " >&6; }
! if test ${gl_cv_header_stdint_predates_cxx11_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) gl_cv_header_stdint_predates_cxx11_h=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 11282,11316 ****
int32_t i32 = INT32_C (0x7fffffff);
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_header_stdint_predates_cxx11_h=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5
! $as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; }
if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then
! $as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h
! $as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5
! $as_echo_n "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; }
! if ${gl_cv_header_stdint_width+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! gl_cv_header_stdint_width=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 11993,12030 ----
int32_t i32 = INT32_C (0x7fffffff);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_header_stdint_predates_cxx11_h=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5
! printf "%s\n" "$gl_cv_header_stdint_predates_cxx11_h" >&6; }
if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then
! printf "%s\n" "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h
! printf "%s\n" "#define __STDC_LIMIT_MACROS 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5
! printf %s "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; }
! if test ${gl_cv_header_stdint_width+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) gl_cv_header_stdint_width=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 11334,11370 ****
int iw = UINTMAX_WIDTH;
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_header_stdint_width=yes
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_width" >&5
! $as_echo "$gl_cv_header_stdint_width" >&6; }
if test "$gl_cv_header_stdint_width" = yes; then
STDINT_H=
fi
;;
*)
! 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
--- 12048,12086 ----
int iw = UINTMAX_WIDTH;
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_header_stdint_width=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_width" >&5
! printf "%s\n" "$gl_cv_header_stdint_width" >&6; }
if test "$gl_cv_header_stdint_width" = yes; then
STDINT_H=
fi
;;
*)
! ac_fn_c_check_header_compile "$LINENO" "sys/inttypes.h" "ac_cv_header_sys_inttypes_h" "$ac_includes_default"
! if test "x$ac_cv_header_sys_inttypes_h" = xyes
! then :
! printf "%s\n" "#define HAVE_SYS_INTTYPES_H 1" >>confdefs.h
fi
+ ac_fn_c_check_header_compile "$LINENO" "sys/bitypes.h" "ac_cv_header_sys_bitypes_h" "$ac_includes_default"
+ if test "x$ac_cv_header_sys_bitypes_h" = xyes
+ then :
+ printf "%s\n" "#define HAVE_SYS_BITYPES_H 1" >>confdefs.h
! fi
if test $ac_cv_header_sys_inttypes_h = yes; then
HAVE_SYS_INTTYPES_H=1
***************
*** 11378,11389 ****
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: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>. */
#include <stddef.h>
--- 12094,12106 ----
for gltype in ptrdiff_t size_t ; do
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
! printf %s "checking for bit size of $gltype... " >&6; }
! if eval test \${gl_cv_bitsizeof_${gltype}+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
/* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>. */
#include <stddef.h>
***************
*** 11394,11419 ****
# include <wchar.h>
#endif
! #include <limits.h>"; 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
--- 12111,12137 ----
# include <wchar.h>
#endif
! #include <limits.h>"
! then :
! else case e in #(
! e) result=unknown ;;
! esac
fi
eval gl_cv_bitsizeof_${gltype}=\$result
! ;;
! esac
fi
eval ac_res=\$gl_cv_bitsizeof_${gltype}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval result=\$gl_cv_bitsizeof_${gltype}
if test $result = unknown; then
result=0
fi
GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
! printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h
eval BITSIZEOF_${GLTYPE}=\$result
done
***************
*** 11423,11434 ****
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: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>. */
#include <stddef.h>
--- 12141,12153 ----
for gltype in sig_atomic_t wchar_t wint_t ; do
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
! printf %s "checking for bit size of $gltype... " >&6; }
! if eval test \${gl_cv_bitsizeof_${gltype}+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
/* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>. */
#include <stddef.h>
***************
*** 11439,11464 ****
# include <wchar.h>
#endif
! #include <limits.h>"; 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
--- 12158,12184 ----
# include <wchar.h>
#endif
! #include <limits.h>"
! then :
! else case e in #(
! e) result=unknown ;;
! esac
fi
eval gl_cv_bitsizeof_${gltype}=\$result
! ;;
! esac
fi
eval ac_res=\$gl_cv_bitsizeof_${gltype}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval result=\$gl_cv_bitsizeof_${gltype}
if test $result = unknown; then
result=0
fi
GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
! printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h
eval BITSIZEOF_${GLTYPE}=\$result
done
***************
*** 11467,11478 ****
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: <stddef.h>, <stdio.h> and <time.h> must be
--- 12187,12199 ----
for gltype in sig_atomic_t wchar_t wint_t ; do
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
! printf %s "checking whether $gltype is signed... " >&6; }
! if eval test \${gl_cv_type_${gltype}_signed+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
***************
*** 11487,11517 ****
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
--- 12208,12239 ----
int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
result=yes
! else case e in #(
! e) result=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
eval gl_cv_type_${gltype}_signed=\$result
! ;;
! esac
fi
eval ac_res=\$gl_cv_type_${gltype}_signed
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
eval result=\$gl_cv_type_${gltype}_signed
GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
if test "$result" = yes; then
! printf "%s\n" "#define HAVE_SIGNED_${GLTYPE} 1" >>confdefs.h
eval HAVE_SIGNED_${GLTYPE}=1
else
***************
*** 11526,11537 ****
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=
--- 12248,12260 ----
for gltype in ptrdiff_t size_t ; do
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
! printf %s "checking for $gltype integer literal suffix... " >&6; }
! if eval test \${gl_cv_type_${gltype}_suffix+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) eval gl_cv_type_${gltype}_suffix=no
eval result=\$gl_cv_type_${gltype}_signed
if test "$result" = yes; then
glsufu=
***************
*** 11565,11595 ****
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
--- 12288,12318 ----
extern $gltype foo;
extern $gltype1 foo;
int
! main (void)
{
;
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.beam conftest.$ac_ext
eval result=\$gl_cv_type_${gltype}_suffix
test "$result" != no && break
! done ;;
! esac
fi
eval ac_res=\$gl_cv_type_${gltype}_suffix
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
eval result=\$gl_cv_type_${gltype}_suffix
test "$result" = no && result=
eval ${GLTYPE}_SUFFIX=\$result
! printf "%s\n" "#define ${GLTYPE}_SUFFIX $result" >>confdefs.h
done
***************
*** 11598,11609 ****
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=
--- 12321,12333 ----
for gltype in sig_atomic_t wchar_t wint_t ; do
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
! printf %s "checking for $gltype integer literal suffix... " >&6; }
! if eval test \${gl_cv_type_${gltype}_suffix+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) eval gl_cv_type_${gltype}_suffix=no
eval result=\$gl_cv_type_${gltype}_signed
if test "$result" = yes; then
glsufu=
***************
*** 11637,11667 ****
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
--- 12361,12391 ----
extern $gltype foo;
extern $gltype1 foo;
int
! main (void)
{
;
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.beam conftest.$ac_ext
eval result=\$gl_cv_type_${gltype}_suffix
test "$result" != no && break
! done ;;
! esac
fi
eval ac_res=\$gl_cv_type_${gltype}_suffix
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
eval result=\$gl_cv_type_${gltype}_suffix
test "$result" = no && result=
eval ${GLTYPE}_SUFFIX=\$result
! printf "%s\n" "#define ${GLTYPE}_SUFFIX $result" >>confdefs.h
done
***************
*** 11734,11745 ****
if test $gl_cv_have_include_next = yes; then
gl_cv_next_inttypes_h='<'inttypes.h'>'
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
! $as_echo_n "checking absolute name of <inttypes.h>... " >&6; }
! if ${gl_cv_next_inttypes_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_inttypes_h = yes; then
--- 12456,12468 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_inttypes_h='<'inttypes.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
! printf %s "checking absolute name of <inttypes.h>... " >&6; }
! if test ${gl_cv_next_inttypes_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_inttypes_h = yes; then
***************
*** 11781,11790 ****
gl_cv_next_inttypes_h='<'inttypes.h'>'
fi
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5
! $as_echo "$gl_cv_next_inttypes_h" >&6; }
fi
NEXT_INTTYPES_H=$gl_cv_next_inttypes_h
--- 12504,12514 ----
gl_cv_next_inttypes_h='<'inttypes.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5
! printf "%s\n" "$gl_cv_next_inttypes_h" >&6; }
fi
NEXT_INTTYPES_H=$gl_cv_next_inttypes_h
***************
*** 11805,11822 ****
for gl_func in imaxabs imaxdiv strtoimax strtoumax; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <inttypes.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 12529,12547 ----
for gl_func in imaxabs imaxdiv strtoimax strtoumax; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <inttypes.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 11824,11842 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 12549,12571 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 11845,11869 ****
! for ac_header in inttypes.h
! do :
! ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
! if test "x$ac_cv_header_inttypes_h" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_INTTYPES_H 1
! _ACEOF
fi
- done
-
if test $ac_cv_header_inttypes_h = yes; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
! $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
! if ${gt_cv_inttypes_pri_broken+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 12574,12594 ----
! ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
! if test "x$ac_cv_header_inttypes_h" = xyes
! then :
! printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
fi
if test $ac_cv_header_inttypes_h = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
! printf %s "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
! if test ${gt_cv_inttypes_pri_broken+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 11873,11901 ****
#endif
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gt_cv_inttypes_pri_broken=no
! else
! gt_cv_inttypes_pri_broken=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
! $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
fi
if test "$gt_cv_inttypes_pri_broken" = yes; then
! cat >>confdefs.h <<_ACEOF
! #define PRI_MACROS_BROKEN 1
! _ACEOF
PRI_MACROS_BROKEN=1
else
--- 12598,12627 ----
#endif
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_inttypes_pri_broken=no
! else case e in #(
! e) gt_cv_inttypes_pri_broken=yes ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
! printf "%s\n" "$gt_cv_inttypes_pri_broken" >&6; }
fi
if test "$gt_cv_inttypes_pri_broken" = yes; then
! printf "%s\n" "#define PRI_MACROS_BROKEN 1" >>confdefs.h
PRI_MACROS_BROKEN=1
else
***************
*** 11904,11960 ****
! { $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 <langinfo.h>
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
! 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 <features.h>
--- 12630,12690 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
! printf %s "checking for nl_langinfo and CODESET... " >&6; }
! if test ${am_cv_langinfo_codeset+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <langinfo.h>
int
! main (void)
{
char* cs = nl_langinfo(CODESET); return !cs;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
am_cv_langinfo_codeset=yes
! else case e in #(
! e) am_cv_langinfo_codeset=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
! printf "%s\n" "$am_cv_langinfo_codeset" >&6; }
if test $am_cv_langinfo_codeset = yes; then
! printf "%s\n" "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
fi
! ac_fn_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_getc_unlocked" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
+ printf "%s\n" "#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
! printf %s "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
! if test ${ac_cv_gnu_library_2_1+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <features.h>
***************
*** 11969,11998 ****
_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"
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
! $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! if ${ac_cv_path_SED+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
--- 12699,12731 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Lucky" >/dev/null 2>&1
! then :
ac_cv_gnu_library_2_1=yes
! else case e in #(
! e) ac_cv_gnu_library_2_1=no ;;
! esac
fi
! rm -rf conftest*
+ ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
! printf "%s\n" "$ac_cv_gnu_library_2_1" >&6; }
GLIBC21="$ac_cv_gnu_library_2_1"
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
! printf %s "checking for a sed that does not truncate output... " >&6; }
! if test ${ac_cv_path_SED+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
***************
*** 12005,12029 ****
for as_dir in $PATH
do
IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_prog in sed gsed; do
for ac_exec_ext in '' $ac_executable_extensions; do
! ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_SED" || continue
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
! case `"$ac_path_SED" --version 2>&1` in
*GNU*)
ac_cv_path_SED="$ac_path_SED" ac_path_SED_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 '' >> "conftest.nl"
"$ac_path_SED" -f conftest.sed < "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
--- 12738,12768 ----
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! for ac_prog in sed gsed
! do
for ac_exec_ext in '' $ac_executable_extensions; do
! ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_SED" || continue
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
! case `"$ac_path_SED" --version 2>&1` in #(
*GNU*)
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+ #(
*)
ac_count=0
! printf %s 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
! printf "%s\n" '' >> "conftest.nl"
"$ac_path_SED" -f conftest.sed < "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
***************
*** 12049,12073 ****
else
ac_cv_path_SED=$SED
fi
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
! $as_echo "$ac_cv_path_SED" >&6; }
SED="$ac_cv_path_SED"
rm -f conftest.sed
! { $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
--- 12788,12814 ----
else
ac_cv_path_SED=$SED
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
! printf "%s\n" "$ac_cv_path_SED" >&6; }
SED="$ac_cv_path_SED"
rm -f conftest.sed
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
! printf %s "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
! if test ${gl_cv_func_malloc_posix+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
choke me
***************
*** 12077,12138 ****
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 :
- case "$host_os" in
- # Guess yes on platforms where we know the result.
- *-gnu* | gnu* | freebsd* | netbsd* | openbsd* \
- | hpux* | solaris* | cygwin* | mingw*)
- ac_cv_func_malloc_0_nonnull=yes ;;
- # If we don't know, assume the worst.
- *) ac_cv_func_malloc_0_nonnull=no ;;
- esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! # include <stdlib.h>
! #else
! char *malloc ();
! #endif
int
! main ()
{
! char *p = malloc (0);
! int result = !p;
! free (p);
! return result;
;
return 0;
}
--- 12818,12866 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_malloc_posix=yes
! else case e in #(
! e) gl_cv_func_malloc_posix=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
+ printf "%s\n" "$gl_cv_func_malloc_posix" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
! printf %s "checking for GNU libc compatible malloc... " >&6; }
! if test ${ac_cv_func_malloc_0_nonnull+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
! case "$host_os" in # ((
! # Guess yes on platforms where we know the result.
! *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
! | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
! ac_cv_func_malloc_0_nonnull=yes ;;
! # If we don't know, assume the worst.
! *) ac_cv_func_malloc_0_nonnull=no ;;
! esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #include <stdlib.h>
int
! main (void)
{
! void *p = malloc (0);
! int result = !p;
! free (p);
! return result;
;
return 0;
}
***************
*** 12136,12166 ****
;
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
--- 12864,12896 ----
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
ac_cv_func_malloc_0_nonnull=yes
! else case e in #(
! e) ac_cv_func_malloc_0_nonnull=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
! printf "%s\n" "$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 case e in #(
! e) gl_cv_func_malloc_0_nonnull=0 ;;
! esac
fi
! printf "%s\n" "#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull" >>confdefs.h
***************
*** 12261,12272 ****
! { $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: <stdio.h> must be included before
--- 12991,13003 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
! printf %s "checking for mbstate_t... " >&6; }
! if test ${ac_cv_type_mbstate_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
***************
*** 12278,12306 ****
#include <time.h>
#include <wchar.h>
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
--- 13009,13040 ----
#include <time.h>
#include <wchar.h>
int
! main (void)
{
mbstate_t x; return sizeof x;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_type_mbstate_t=yes
! else case e in #(
! e) ac_cv_type_mbstate_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
! printf "%s\n" "$ac_cv_type_mbstate_t" >&6; }
if test $ac_cv_type_mbstate_t = yes; then
! printf "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h
else
! printf "%s\n" "#define mbstate_t int" >>confdefs.h
fi
***************
*** 12309,12322 ****
!
!
! { $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. */
--- 13043,13055 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
! printf %s "checking for a traditional japanese locale... " >&6; }
! if test ${gt_cv_locale_ja+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 12393,12399 ****
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
--- 13126,13132 ----
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
(eval $ac_link) 2>&5
ac_status=$?
! printf "%s\n" "$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
***************
*** 12449,12470 ****
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. */
--- 13182,13205 ----
esac
fi
rm -fr conftest*
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
! printf "%s\n" "$gt_cv_locale_ja" >&6; }
LOCALE_JA=$gt_cv_locale_ja
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
! printf %s "checking for a transitional chinese locale... " >&6; }
! if test ${gt_cv_locale_zh_CN+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 12542,12548 ****
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
--- 13277,13283 ----
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
(eval $ac_link) 2>&5
ac_status=$?
! printf "%s\n" "$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
***************
*** 12591,12611 ****
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. */
--- 13326,13348 ----
gt_cv_locale_zh_CN=none
fi
rm -fr conftest*
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
! printf "%s\n" "$gt_cv_locale_zh_CN" >&6; }
LOCALE_ZH_CN=$gt_cv_locale_zh_CN
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
! printf %s "checking for a french Unicode locale... " >&6; }
! if test ${gt_cv_locale_fr_utf8+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 12675,12681 ****
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
--- 13412,13418 ----
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
(eval $ac_link) 2>&5
ac_status=$?
! printf "%s\n" "$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
***************
*** 12719,12728 ****
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
--- 13456,13466 ----
esac
fi
rm -fr conftest*
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
! printf "%s\n" "$gt_cv_locale_fr_utf8" >&6; }
LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
***************
*** 12816,12833 ****
# 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. */
--- 13552,13571 ----
# 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 case e in #(
! e) gl_have_mmap=no ;;
! esac
fi
# Try to allow MAP_ANONYMOUS.
gl_have_mmap_anonymous=no
if test $gl_have_mmap = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
! printf %s "checking for MAP_ANONYMOUS... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 12838,12847 ****
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "I cannot 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
--- 13576,13586 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "I cannot identify this map" >/dev/null 2>&1
! then :
gl_have_mmap_anonymous=yes
fi
! rm -rf conftest*
if test $gl_have_mmap_anonymous != yes; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 12854,12873 ****
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "I cannot 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
--- 13593,13613 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "I cannot identify this map" >/dev/null 2>&1
! then :
! printf "%s\n" "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
gl_have_mmap_anonymous=yes
fi
! rm -rf conftest*
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
! printf "%s\n" "$gl_have_mmap_anonymous" >&6; }
if test $gl_have_mmap_anonymous = yes; then
! printf "%s\n" "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
fi
fi
***************
*** 12885,12896 ****
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
# https://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 :
case "$host_os" in
# Guess yes on native Windows.
mingw*) gl_cv_func_memchr_works="guessing yes" ;;
--- 13625,13638 ----
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
# https://sourceware.org/bugzilla/show_bug.cgi?id=10162
# Assume that memchr works on platforms that lack mprotect.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
! printf %s "checking whether memchr works... " >&6; }
! if test ${gl_cv_func_memchr_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on native Windows.
mingw*) gl_cv_func_memchr_works="guessing yes" ;;
***************
*** 12898,12905 ****
*) gl_cv_func_memchr_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
--- 13640,13647 ----
*) gl_cv_func_memchr_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
***************
*** 12914,12920 ****
#endif
int
! main ()
{
int result = 0;
--- 13656,13662 ----
#endif
int
! main (void)
{
int result = 0;
***************
*** 12954,13022 ****
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; }
case "$gl_cv_func_memchr_works" in
*yes) ;;
*) REPLACE_MEMCHR=1 ;;
esac
fi
! ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
! if test "x$ac_cv_have_decl_memrchr" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_MEMRCHR $ac_have_decl
! _ACEOF
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <limits.h> defines MIN and MAX" >&5
! $as_echo_n "checking whether <limits.h> defines MIN and MAX... " >&6; }
! if ${gl_cv_minmax_in_limits_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
int x = MIN (42, 17);
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_minmax_in_limits_h=yes
! else
! gl_cv_minmax_in_limits_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_minmax_in_limits_h" >&5
! $as_echo "$gl_cv_minmax_in_limits_h" >&6; }
if test $gl_cv_minmax_in_limits_h = yes; then
! $as_echo "#define HAVE_MINMAX_IN_LIMITS_H 1" >>confdefs.h
fi
--- 13696,13771 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_memchr_works=yes
! else case e in #(
! e) gl_cv_func_memchr_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
! printf "%s\n" "$gl_cv_func_memchr_works" >&6; }
case "$gl_cv_func_memchr_works" in
*yes) ;;
*) REPLACE_MEMCHR=1 ;;
esac
fi
! ac_fn_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_memrchr" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_MEMRCHR $ac_have_decl" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <limits.h> defines MIN and MAX" >&5
! printf %s "checking whether <limits.h> defines MIN and MAX... " >&6; }
! if test ${gl_cv_minmax_in_limits_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
int x = MIN (42, 17);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_minmax_in_limits_h=yes
! else case e in #(
! e) gl_cv_minmax_in_limits_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_limits_h" >&5
! printf "%s\n" "$gl_cv_minmax_in_limits_h" >&6; }
if test $gl_cv_minmax_in_limits_h = yes; then
! printf "%s\n" "#define HAVE_MINMAX_IN_LIMITS_H 1" >>confdefs.h
fi
***************
*** 13025,13059 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/param.h> defines MIN and MAX" >&5
! $as_echo_n "checking whether <sys/param.h> defines MIN and MAX... " >&6; }
! if ${gl_cv_minmax_in_sys_param_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/param.h>
int x = MIN (42, 17);
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_minmax_in_sys_param_h=yes
! else
! gl_cv_minmax_in_sys_param_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_minmax_in_sys_param_h" >&5
! $as_echo "$gl_cv_minmax_in_sys_param_h" >&6; }
if test $gl_cv_minmax_in_sys_param_h = yes; then
! $as_echo "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h
fi
--- 13774,13812 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <sys/param.h> defines MIN and MAX" >&5
! printf %s "checking whether <sys/param.h> defines MIN and MAX... " >&6; }
! if test ${gl_cv_minmax_in_sys_param_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/param.h>
int x = MIN (42, 17);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_minmax_in_sys_param_h=yes
! else case e in #(
! e) gl_cv_minmax_in_sys_param_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_sys_param_h" >&5
! printf "%s\n" "$gl_cv_minmax_in_sys_param_h" >&6; }
if test $gl_cv_minmax_in_sys_param_h = yes; then
! printf "%s\n" "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h
fi
***************
*** 13062,13111 ****
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time_t is signed" >&5
! $as_echo_n "checking whether time_t is signed... " >&6; }
! if ${gl_cv_time_t_is_signed+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
char time_t_signed[(time_t) -1 < 0 ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_time_t_is_signed=yes
! else
! gl_cv_time_t_is_signed=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_t_is_signed" >&5
! $as_echo "$gl_cv_time_t_is_signed" >&6; }
if test $gl_cv_time_t_is_signed = yes; then
! $as_echo "#define TIME_T_IS_SIGNED 1" >>confdefs.h
fi
! 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
!
--- 13815,13865 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether time_t is signed" >&5
! printf %s "checking whether time_t is signed... " >&6; }
! if test ${gl_cv_time_t_is_signed+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
char time_t_signed[(time_t) -1 < 0 ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_time_t_is_signed=yes
! else case e in #(
! e) gl_cv_time_t_is_signed=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_t_is_signed" >&5
! printf "%s\n" "$gl_cv_time_t_is_signed" >&6; }
if test $gl_cv_time_t_is_signed = yes; then
! printf "%s\n" "#define TIME_T_IS_SIGNED 1" >>confdefs.h
fi
! ac_fn_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_alarm" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h
***************
*** 13121,13140 ****
# But we need a configuration result that is valid in both modes.
gl_cv_func_working_mktime=no
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
! $as_echo_n "checking for working mktime... " >&6; }
! if ${gl_cv_func_working_mktime+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess no on native Windows.
mingw*) gl_cv_func_working_mktime="guessing no" ;;
*) gl_cv_func_working_mktime="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Test program from Paul Eggert and Tony Leneis. */
#include <limits.h>
--- 13875,13896 ----
# But we need a configuration result that is valid in both modes.
gl_cv_func_working_mktime=no
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
! printf %s "checking for working mktime... " >&6; }
! if test ${gl_cv_func_working_mktime+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess no on native Windows.
mingw*) gl_cv_func_working_mktime="guessing no" ;;
*) gl_cv_func_working_mktime="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Test program from Paul Eggert and Tony Leneis. */
#include <limits.h>
***************
*** 13337,13371 ****
return result;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_working_mktime=yes
! else
! gl_cv_func_working_mktime=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_mktime" >&5
! $as_echo "$gl_cv_func_working_mktime" >&6; }
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
! $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
! if ${ac_cv_struct_tm+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <time.h>
int
! main ()
{
struct tm tm;
int *p = &tm.tm_sec;
--- 14093,14132 ----
return result;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_working_mktime=yes
! else case e in #(
! e) gl_cv_func_working_mktime=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mktime" >&5
! printf "%s\n" "$gl_cv_func_working_mktime" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
! printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; }
! if test ${ac_cv_struct_tm+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <time.h>
int
! main (void)
{
struct tm tm;
int *p = &tm.tm_sec;
***************
*** 13374,13391 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_struct_tm=time.h
! else
! ac_cv_struct_tm=sys/time.h
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
! $as_echo "$ac_cv_struct_tm" >&6; }
if test $ac_cv_struct_tm = sys/time.h; then
! $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
fi
--- 14135,14155 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_struct_tm=time.h
! else case e in #(
! e) ac_cv_struct_tm=sys/time.h ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
! printf "%s\n" "$ac_cv_struct_tm" >&6; }
if test $ac_cv_struct_tm = sys/time.h; then
! printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h
fi
***************
*** 13393,13430 ****
#include <$ac_cv_struct_tm>
"
! if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_TM_TM_ZONE 1
! _ACEOF
fi
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
! $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
else
! ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
! "
! if test "x$ac_cv_have_decl_tzname" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_TZNAME $ac_have_decl
! _ACEOF
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
! $as_echo_n "checking for tzname... " >&6; }
! if ${ac_cv_var_tzname+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
#if !HAVE_DECL_TZNAME
--- 14157,14193 ----
#include <$ac_cv_struct_tm>
"
! if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_TM_TM_ZONE 1" >>confdefs.h
fi
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
! printf "%s\n" "#define HAVE_TM_ZONE 1" >>confdefs.h
else
! ac_fn_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_tzname" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
+ printf "%s\n" "#define HAVE_DECL_TZNAME $ac_have_decl" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
! printf %s "checking for tzname... " >&6; }
! if test ${ac_cv_var_tzname+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
#if !HAVE_DECL_TZNAME
***************
*** 13432,13457 ****
#endif
int
! main ()
{
return tzname[0][0];
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
ac_cv_var_tzname=yes
! else
! ac_cv_var_tzname=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_var_tzname" >&5
! $as_echo "$ac_cv_var_tzname" >&6; }
if test $ac_cv_var_tzname = yes; then
! $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
fi
fi
--- 14195,14223 ----
#endif
int
! main (void)
{
return tzname[0][0];
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_var_tzname=yes
! else case e in #(
! e) ac_cv_var_tzname=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
! printf "%s\n" "$ac_cv_var_tzname" >&6; }
if test $ac_cv_var_tzname = yes; then
! printf "%s\n" "#define HAVE_TZNAME 1" >>confdefs.h
fi
fi
***************
*** 13459,13478 ****
ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
"
! if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
! $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
! $as_echo_n "checking for O_CLOEXEC... " >&6; }
! if ${gl_cv_macro_O_CLOEXEC+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
#ifndef O_CLOEXEC
--- 14225,14246 ----
ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
"
! if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
! then :
! printf "%s\n" "#define HAVE_TM_GMTOFF 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
! printf %s "checking for O_CLOEXEC... " >&6; }
! if test ${gl_cv_macro_O_CLOEXEC+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
#ifndef O_CLOEXEC
***************
*** 13480,13545 ****
#endif
int
! main ()
{
return O_CLOEXEC;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_macro_O_CLOEXEC=yes
! else
! gl_cv_macro_O_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_macro_O_CLOEXEC" >&5
! $as_echo "$gl_cv_macro_O_CLOEXEC" >&6; }
! { $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 <sys/types.h>
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
! { $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 <stdbool.h>
--- 14248,14318 ----
#endif
int
! main (void)
{
return O_CLOEXEC;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_macro_O_CLOEXEC=yes
! else case e in #(
! e) gl_cv_macro_O_CLOEXEC=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_macro_O_CLOEXEC" >&5
! printf "%s\n" "$gl_cv_macro_O_CLOEXEC" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
! printf %s "checking for promoted mode_t type... " >&6; }
! if test ${gl_cv_promoted_mode_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
int
! main (void)
{
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 case e in #(
! e) gl_cv_promoted_mode_t='mode_t' ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5
! printf "%s\n" "$gl_cv_promoted_mode_t" >&6; }
+ printf "%s\n" "#define PROMOTED_MODE_T $gl_cv_promoted_mode_t" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
! printf %s "checking for stdbool.h that conforms to C99... " >&6; }
! if test ${ac_cv_header_stdbool_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdbool.h>
***************
*** 13595,13601 ****
bool *qq = &q;
int
! main ()
{
bool e = &s;
--- 14368,14374 ----
bool *qq = &q;
int
! main (void)
{
bool e = &s;
***************
*** 13609,13629 ****
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
--- 14382,14404 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_header_stdbool_h=yes
! else case e in #(
! e) ac_cv_header_stdbool_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
! printf "%s\n" "$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 :
! printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
fi
***************
*** 13661,13676 ****
: ${YACC='bison -y'}
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compound literals" >&5
! $as_echo_n "checking for compound literals... " >&6; }
! if ${gl_cv_compound_literals+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
struct s { int i, j; };
int
! main ()
{
struct s t = (struct s) { 3, 4 };
if (t.i != 0) return 0;
--- 14436,14452 ----
: ${YACC='bison -y'}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compound literals" >&5
! printf %s "checking for compound literals... " >&6; }
! if test ${gl_cv_compound_literals+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
struct s { int i, j; };
int
! main (void)
{
struct s t = (struct s) { 3, 4 };
if (t.i != 0) return 0;
***************
*** 13678,13695 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_compound_literals=yes
! else
! gl_cv_compound_literals=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compound_literals" >&5
! $as_echo "$gl_cv_compound_literals" >&6; }
if test $gl_cv_compound_literals = yes; then
! $as_echo "#define HAVE_COMPOUND_LITERALS 1" >>confdefs.h
fi
--- 14454,14474 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_compound_literals=yes
! else case e in #(
! e) gl_cv_compound_literals=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compound_literals" >&5
! printf "%s\n" "$gl_cv_compound_literals" >&6; }
if test $gl_cv_compound_literals = yes; then
! printf "%s\n" "#define HAVE_COMPOUND_LITERALS 1" >>confdefs.h
fi
***************
*** 13821,13838 ****
!
!
! { $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 <sys/types.h>
int
! main ()
{
int x = sizeof (ssize_t *) + sizeof (ssize_t);
return !x;
--- 14599,14615 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
! printf %s "checking for ssize_t... " >&6; }
! if test ${gt_cv_ssize_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
int
! main (void)
{
int x = sizeof (ssize_t *) + sizeof (ssize_t);
return !x;
***************
*** 13840,13871 ****
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
! 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
!
--- 14617,14649 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_ssize_t=yes
! else case e in #(
! e) gt_cv_ssize_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
! printf "%s\n" "$gt_cv_ssize_t" >&6; }
if test $gt_cv_ssize_t = no; then
! printf "%s\n" "#define ssize_t int" >>confdefs.h
fi
! ac_fn_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_setenv" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_SETENV $ac_have_decl" >>confdefs.h
***************
*** 13879,13906 ****
! 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
--- 14657,14675 ----
! ac_fn_c_check_header_compile "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
! if test "x$ac_cv_header_search_h" = xyes
! then :
! printf "%s\n" "#define HAVE_SEARCH_H 1" >>confdefs.h
fi
ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
! if test "x$ac_cv_func_tsearch" = xyes
! then :
! printf "%s\n" "#define HAVE_TSEARCH 1" >>confdefs.h
fi
***************
*** 13911,13925 ****
#include <sys/types.h>
"
! 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
--- 14680,14694 ----
#include <sys/types.h>
"
! if test "x$ac_cv_type_sigset_t" = xyes
! then :
! printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
gl_cv_type_sigset_t=yes
! else case e in #(
! e) gl_cv_type_sigset_t=no ;;
! esac
fi
if test $gl_cv_type_sigset_t != yes; then
***************
*** 13932,13990 ****
HAVE_WCHAR_T=1;
! { $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 <stddef.h>
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
!
! 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
REPLACE_STRERROR_0=0
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
! $as_echo_n "checking whether strerror(0) succeeds... " >&6; }
! if ${gl_cv_func_strerror_0_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
--- 14701,14763 ----
HAVE_WCHAR_T=1;
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
! printf %s "checking for wchar_t... " >&6; }
! if test ${gt_cv_c_wchar_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stddef.h>
wchar_t foo = (wchar_t)'\0';
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_c_wchar_t=yes
! else case e in #(
! e) gt_cv_c_wchar_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
! printf "%s\n" "$gt_cv_c_wchar_t" >&6; }
if test $gt_cv_c_wchar_t = yes; then
! printf "%s\n" "#define HAVE_WCHAR_T 1" >>confdefs.h
fi
! ac_fn_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_strdup" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_STRDUP $ac_have_decl" >>confdefs.h
REPLACE_STRERROR_0=0
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
! printf %s "checking whether strerror(0) succeeds... " >&6; }
! if test ${gl_cv_func_strerror_0_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
***************
*** 13994,14007 ****
*) gl_cv_func_strerror_0_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
#include <errno.h>
int
! main ()
{
int result = 0;
char *str;
--- 14767,14780 ----
*) gl_cv_func_strerror_0_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
#include <errno.h>
int
! main (void)
{
int result = 0;
char *str;
***************
*** 14016,14040 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_strerror_0_works=yes
! else
! gl_cv_func_strerror_0_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_strerror_0_works" >&5
! $as_echo "$gl_cv_func_strerror_0_works" >&6; }
case "$gl_cv_func_strerror_0_works" in
*yes) ;;
*)
REPLACE_STRERROR_0=1
! $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
;;
esac
--- 14789,14817 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_strerror_0_works=yes
! else case e in #(
! e) gl_cv_func_strerror_0_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
! printf "%s\n" "$gl_cv_func_strerror_0_works" >&6; }
case "$gl_cv_func_strerror_0_works" in
*yes) ;;
*)
REPLACE_STRERROR_0=1
! printf "%s\n" "#define REPLACE_STRERROR_0 1" >>confdefs.h
;;
esac
***************
*** 14053,14064 ****
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 <string.h>" >&5
! $as_echo_n "checking absolute name of <string.h>... " >&6; }
! if ${gl_cv_next_string_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 14830,14842 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_string_h='<'string.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
! printf %s "checking absolute name of <string.h>... " >&6; }
! if test ${gl_cv_next_string_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 14094,14103 ****
gl_header=$gl_cv_absolute_string_h
gl_cv_next_string_h='"'$gl_header'"'
!
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
--- 14872,14882 ----
gl_header=$gl_cv_absolute_string_h
gl_cv_next_string_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
! printf "%s\n" "$gl_cv_next_string_h" >&6; }
fi
NEXT_STRING_H=$gl_cv_next_string_h
***************
*** 14116,14133 ****
for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 14895,14913 ----
for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 14135,14153 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 14915,14937 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 14155,14183 ****
done
! 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
--- 14939,14964 ----
done
! ac_fn_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_strndup" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_STRNDUP $ac_have_decl" >>confdefs.h
! ac_fn_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_strnlen" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_STRNLEN $ac_have_decl" >>confdefs.h
***************
*** 14190,14197 ****
!
! $as_echo "#define _USE_STD_STAT 1" >>confdefs.h
--- 14971,14977 ----
! printf "%s\n" "#define _USE_STD_STAT 1" >>confdefs.h
***************
*** 14206,14217 ****
if test $gl_cv_have_include_next = yes; then
gl_cv_next_sys_types_h='<'sys/types.h'>'
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
! $as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
! if ${gl_cv_next_sys_types_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 14986,14998 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_sys_types_h='<'sys/types.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
! printf %s "checking absolute name of <sys/types.h>... " >&6; }
! if test ${gl_cv_next_sys_types_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 14247,14256 ****
gl_header=$gl_cv_absolute_sys_types_h
gl_cv_next_sys_types_h='"'$gl_header'"'
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
! $as_echo "$gl_cv_next_sys_types_h" >&6; }
fi
NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
--- 15028,15038 ----
gl_header=$gl_cv_absolute_sys_types_h
gl_cv_next_sys_types_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
! printf "%s\n" "$gl_cv_next_sys_types_h" >&6; }
fi
NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
***************
*** 14280,14311 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
! $as_echo_n "checking for struct timespec in <time.h>... " >&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 <time.h>
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
--- 15062,15097 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
! printf %s "checking for struct timespec in <time.h>... " >&6; }
! if test ${gl_cv_sys_struct_timespec_in_time_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
int
! main (void)
{
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 case e in #(
! e) gl_cv_sys_struct_timespec_in_time_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
! printf "%s\n" "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
TIME_H_DEFINES_STRUCT_TIMESPEC=0
SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
***************
*** 14314,14403 ****
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 <sys/time.h>" >&5
! $as_echo_n "checking for struct timespec in <sys/time.h>... " >&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 <sys/time.h>
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 <pthread.h>" >&5
! $as_echo_n "checking for struct timespec in <pthread.h>... " >&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 <pthread.h>
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
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <unistd.h>" >&5
! $as_echo_n "checking for struct timespec in <unistd.h>... " >&6; }
! if ${gl_cv_sys_struct_timespec_in_unistd_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
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_unistd_h=yes
! else
! gl_cv_sys_struct_timespec_in_unistd_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_unistd_h" >&5
! $as_echo "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; }
if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then
UNISTD_H_DEFINES_STRUCT_TIMESPEC=1
fi
--- 15100,15201 ----
if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
TIME_H_DEFINES_STRUCT_TIMESPEC=1
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
! printf %s "checking for struct timespec in <sys/time.h>... " >&6; }
! if test ${gl_cv_sys_struct_timespec_in_sys_time_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/time.h>
int
! main (void)
{
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 case e in #(
! e) gl_cv_sys_struct_timespec_in_sys_time_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
! printf "%s\n" "$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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
! printf %s "checking for struct timespec in <pthread.h>... " >&6; }
! if test ${gl_cv_sys_struct_timespec_in_pthread_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <pthread.h>
int
! main (void)
{
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 case e in #(
! e) gl_cv_sys_struct_timespec_in_pthread_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
! printf "%s\n" "$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
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <unistd.h>" >&5
! printf %s "checking for struct timespec in <unistd.h>... " >&6; }
! if test ${gl_cv_sys_struct_timespec_in_unistd_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main (void)
{
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_unistd_h=yes
! else case e in #(
! e) gl_cv_sys_struct_timespec_in_unistd_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5
! printf "%s\n" "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; }
if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then
UNISTD_H_DEFINES_STRUCT_TIMESPEC=1
fi
***************
*** 14423,14434 ****
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 <time.h>" >&5
! $as_echo_n "checking absolute name of <time.h>... " >&6; }
! if ${gl_cv_next_time_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 15221,15233 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_time_h='<'time.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
! printf %s "checking absolute name of <time.h>... " >&6; }
! if test ${gl_cv_next_time_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 14464,14473 ****
gl_header=$gl_cv_absolute_time_h
gl_cv_next_time_h='"'$gl_header'"'
!
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
--- 15263,15273 ----
gl_header=$gl_cv_absolute_time_h
gl_cv_next_time_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
! printf "%s\n" "$gl_cv_next_time_h" >&6; }
fi
NEXT_TIME_H=$gl_cv_next_time_h
***************
*** 14489,14508 ****
!
!
!
!
! 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
GNULIB_UTIME=0;
--- 15289,15303 ----
! ac_fn_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_unsetenv" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_UNSETENV $ac_have_decl" >>confdefs.h
GNULIB_UTIME=0;
***************
*** 14512,14533 ****
!
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the utimes function works" >&5
! $as_echo_n "checking whether the utimes function works... " >&6; }
! if ${gl_cv_func_working_utimes+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess no on native Windows.
mingw*) gl_cv_func_working_utimes="guessing no" ;;
*) gl_cv_func_working_utimes="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
--- 15307,15328 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the utimes function works" >&5
! printf %s "checking whether the utimes function works... " >&6; }
! if test ${gl_cv_func_working_utimes+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess no on native Windows.
mingw*) gl_cv_func_working_utimes="guessing no" ;;
*) gl_cv_func_working_utimes="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
***************
*** 14647,14670 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_working_utimes=yes
! else
! gl_cv_func_working_utimes=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_utimes" >&5
! $as_echo "$gl_cv_func_working_utimes" >&6; }
case "$gl_cv_func_working_utimes" in
*yes)
! $as_echo "#define HAVE_WORKING_UTIMES 1" >>confdefs.h
;;
esac
--- 15442,15469 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_working_utimes=yes
! else case e in #(
! e) gl_cv_func_working_utimes=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_utimes" >&5
! printf "%s\n" "$gl_cv_func_working_utimes" >&6; }
case "$gl_cv_func_working_utimes" in
*yes)
! printf "%s\n" "#define HAVE_WORKING_UTIMES 1" >>confdefs.h
;;
esac
***************
*** 14693,14778 ****
! { $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 <sys/types.h>
#include <inttypes.h>
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 <sys/types.h>
#include <stdint.h>
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 <stddef.h>
--- 15485,15575 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
! printf %s "checking for inttypes.h... " >&6; }
! if test ${gl_cv_header_inttypes_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <inttypes.h>
int
! main (void)
{
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 case e in #(
! e) gl_cv_header_inttypes_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
! printf "%s\n" "$gl_cv_header_inttypes_h" >&6; }
if test $gl_cv_header_inttypes_h = yes; then
! printf "%s\n" "#define HAVE_INTTYPES_H_WITH_UINTMAX 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
! printf %s "checking for stdint.h... " >&6; }
! if test ${gl_cv_header_stdint_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <stdint.h>
int
! main (void)
{
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 case e in #(
! e) gl_cv_header_stdint_h=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
! printf "%s\n" "$gl_cv_header_stdint_h" >&6; }
if test $gl_cv_header_stdint_h = yes; then
! printf "%s\n" "#define HAVE_STDINT_H_WITH_UINTMAX 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
! printf %s "checking for intmax_t... " >&6; }
! if test ${gt_cv_c_intmax_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stddef.h>
***************
*** 14785,14809 ****
#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
--- 15582,15609 ----
#endif
int
! main (void)
{
intmax_t x = -1; return !x;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_c_intmax_t=yes
! else case e in #(
! e) gt_cv_c_intmax_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
! printf "%s\n" "$gt_cv_c_intmax_t" >&6; }
if test $gt_cv_c_intmax_t = yes; then
! printf "%s\n" "#define HAVE_INTMAX_T 1" >>confdefs.h
else
***************
*** 14811,14830 ****
&& ac_type='long long' \
|| ac_type='long'
! cat >>confdefs.h <<_ACEOF
! #define intmax_t $ac_type
! _ACEOF
fi
! { $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. */
--- 15611,15630 ----
&& ac_type='long long' \
|| ac_type='long'
! printf "%s\n" "#define intmax_t $ac_type" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
! printf %s "checking where to find the exponent in a 'double'... " >&6; }
! if test ${gl_cv_cc_double_expbit0+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
! if test "$cross_compiling" = yes
! then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 14835,14849 ****
_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. */
--- 15635,15651 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "mixed_endianness" >/dev/null 2>&1
! then :
gl_cv_cc_double_expbit0="unknown"
! else case e in #(
! e)
:
! if test ${ac_cv_c_bigendian+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_cv_c_bigendian=unknown
# See if we're dealing with a universal compiler.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 14853,14859 ****
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.
--- 15655,15662 ----
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.
***************
*** 14877,14883 ****
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
--- 15680,15686 ----
fi
done
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam 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
***************
*** 14886,14895 ****
#include <sys/param.h>
int
! main ()
{
! #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
! && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
&& LITTLE_ENDIAN)
bogus endian macros
#endif
--- 15689,15698 ----
#include <sys/param.h>
int
! main (void)
{
! #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
! && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
&& LITTLE_ENDIAN)
bogus endian macros
#endif
***************
*** 14898,14904 ****
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. */
--- 15701,15708 ----
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. */
***************
*** 14906,14912 ****
#include <sys/param.h>
int
! main ()
{
#if BYTE_ORDER != BIG_ENDIAN
not big endian
--- 15710,15716 ----
#include <sys/param.h>
int
! main (void)
{
#if BYTE_ORDER != BIG_ENDIAN
not big endian
***************
*** 14916,14929 ****
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 <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
--- 15720,15735 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_c_bigendian=yes
! else case e in #(
! e) ac_cv_c_bigendian=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
if test $ac_cv_c_bigendian = unknown; then
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
***************
*** 14932,14938 ****
#include <limits.h>
int
! main ()
{
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
bogus endian macros
--- 15738,15744 ----
#include <limits.h>
int
! main (void)
{
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
bogus endian macros
***************
*** 14942,14955 ****
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 <limits.h>
int
! main ()
{
#ifndef _BIG_ENDIAN
not big endian
--- 15748,15762 ----
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 <limits.h>
int
! main (void)
{
#ifndef _BIG_ENDIAN
not big endian
***************
*** 14959,15008 ****
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
--- 15766,15820 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_c_bigendian=yes
! else case e in #(
! e) ac_cv_c_bigendian=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam 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. */
! unsigned short int ascii_mm[] =
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
! unsigned short int ascii_ii[] =
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
int use_ascii (int i) {
return ascii_mm[i] + ascii_ii[i];
}
! unsigned short int ebcdic_ii[] =
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
! unsigned short int ebcdic_mm[] =
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
int use_ebcdic (int i) {
return ebcdic_mm[i] + ebcdic_ii[i];
}
! int
! main (int argc, char **argv)
! {
! /* Intimidate the compiler so that it does not
! optimize the arrays away. */
! char *p = argv[0];
! ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
! ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
! return use_ascii (argc) == use_ebcdic (*p);
! }
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
! if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
ac_cv_c_bigendian=yes
fi
! if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
if test "$ac_cv_c_bigendian" = unknown; then
ac_cv_c_bigendian=no
else
***************
*** 15011,15023 ****
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. */
--- 15823,15836 ----
fi
fi
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
! main (void)
{
/* Are we little or big endian? From Harbison&Steele. */
***************
*** 15033,15048 ****
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 #(
--- 15846,15865 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
ac_cv_c_bigendian=no
! else case e in #(
! e) ac_cv_c_bigendian=yes ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! fi ;;
! esac
fi
:
case $ac_cv_c_bigendian in #(
***************
*** 15052,15071 ****
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 <float.h>
--- 15869,15889 ----
gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
universal)
! printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
;; #(
*)
gl_cv_cc_double_expbit0="unknown" ;;
esac
! ;;
! esac
fi
! rm -rf conftest*
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <float.h>
***************
*** 15132,15164 ****
}
_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
--- 15950,15982 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_cc_double_expbit0=`cat conftest.out`
! else case e in #(
! e) gl_cv_cc_double_expbit0="unknown" ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -f conftest.out
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
! printf "%s\n" "$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 //'`
! printf "%s\n" "#define DBL_EXPBIT0_WORD $word" >>confdefs.h
! printf "%s\n" "#define DBL_EXPBIT0_BIT $bit" >>confdefs.h
;;
esac
***************
*** 15170,15183 ****
!
! { $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* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";;
--- 15988,16002 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
! printf %s "checking whether snprintf returns a byte count as in C99... " >&6; }
! if test ${gl_cv_func_snprintf_retval_c99+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";;
***************
*** 15213,15232 ****
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "Known" >/dev/null 2>&1; then :
gl_cv_func_snprintf_retval_c99="guessing yes"
! else
! gl_cv_func_snprintf_retval_c99="guessing no"
fi
! rm -f conftest*
;;
# 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 <stdio.h>
--- 16032,16053 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Known" >/dev/null 2>&1
! then :
gl_cv_func_snprintf_retval_c99="guessing yes"
! else case e in #(
! e) gl_cv_func_snprintf_retval_c99="guessing no" ;;
! esac
fi
! rm -rf conftest*
;;
# If we don't know, assume the worst.
*) gl_cv_func_snprintf_retval_c99="guessing no";;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
***************
*** 15258,15323 ****
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; }
! 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 <stdio.h>
- "
- 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 <wchar.h> uses 'inline' correctly" >&5
! $as_echo_n "checking whether <wchar.h> 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. */
--- 16079,16173 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_snprintf_retval_c99=yes
! else case e in #(
! e) gl_cv_func_snprintf_retval_c99=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
! printf "%s\n" "$gl_cv_func_snprintf_retval_c99" >&6; }
! ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
! if test "x$ac_cv_func_snprintf" = xyes
! then :
! printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h
fi
! ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen"
! if test "x$ac_cv_func_strnlen" = xyes
! then :
! printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h
fi
+ ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
+ if test "x$ac_cv_func_wcslen" = xyes
+ then :
+ printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h
! fi
! ac_fn_c_check_func "$LINENO" "wcsnlen" "ac_cv_func_wcsnlen"
! if test "x$ac_cv_func_wcsnlen" = xyes
! then :
! printf "%s\n" "#define HAVE_WCSNLEN 1" >>confdefs.h
!
! fi
! ac_fn_c_check_func "$LINENO" "mbrtowc" "ac_cv_func_mbrtowc"
! if test "x$ac_cv_func_mbrtowc" = xyes
! then :
! printf "%s\n" "#define HAVE_MBRTOWC 1" >>confdefs.h
!
! fi
! ac_fn_c_check_func "$LINENO" "wcrtomb" "ac_cv_func_wcrtomb"
! if test "x$ac_cv_func_wcrtomb" = xyes
! then :
! printf "%s\n" "#define HAVE_WCRTOMB 1" >>confdefs.h
!
! fi
!
! ac_fn_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl__snprintf" = xyes
! then :
! ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
! fi
! printf "%s\n" "#define HAVE_DECL__SNPRINTF $ac_have_decl" >>confdefs.h
case "$gl_cv_func_snprintf_retval_c99" in
*yes)
! printf "%s\n" "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
! printf %s "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
! if test ${gl_cv_header_wchar_h_correct_inline+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) gl_cv_header_wchar_h_correct_inline=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 15339,15345 ****
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
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 16189,16195 ----
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 15360,15366 ****
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
if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
:
--- 16210,16216 ----
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
:
***************
*** 15371,15380 ****
fi
ac_compile="$save_ac_compile"
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 $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
--- 16221,16231 ----
fi
ac_compile="$save_ac_compile"
rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
! printf "%s\n" "$gl_cv_header_wchar_h_correct_inline" >&6; }
if test $gl_cv_header_wchar_h_correct_inline = no; then
as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
***************
*** 15444,15455 ****
# 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. */
--- 16292,16304 ----
# Define an additional variable used in the Makefile substitution.
if test $ac_cv_working_alloca_h = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
! printf %s "checking for alloca as a compiler built-in... " >&6; }
! if test ${gl_cv_rpl_alloca+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 15459,15478 ****
_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
--- 16308,16330 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Need own alloca" >/dev/null 2>&1
! then :
gl_cv_rpl_alloca=yes
! else case e in #(
! e) gl_cv_rpl_alloca=no ;;
! esac
fi
! rm -rf conftest*
+ ;;
+ esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
! printf "%s\n" "$gl_cv_rpl_alloca" >&6; }
if test $gl_cv_rpl_alloca = yes; then
! printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h
ALLOCA_H=alloca.h
else
***************
*** 15544,15552 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_CANONICALIZE_LGPL 1
! _ACEOF
--- 16396,16402 ----
fi
! printf "%s\n" "#define GNULIB_CANONICALIZE_LGPL 1" >>confdefs.h
***************
*** 15560,15566 ****
! $as_echo "#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
--- 16410,16416 ----
! printf "%s\n" "#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
***************
*** 15575,15581 ****
! $as_echo "#define GNULIB_TEST_REALPATH 1" >>confdefs.h
--- 16425,16431 ----
! printf "%s\n" "#define GNULIB_TEST_REALPATH 1" >>confdefs.h
***************
*** 15590,15607 ****
! $as_echo "#define GNULIB_TEST_CHDIR 1" >>confdefs.h
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this system has an arbitrary file name length limit" >&5
! $as_echo_n "checking whether this system has an arbitrary file name length limit... " >&6; }
! if ${gl_cv_have_arbitrary_file_name_length_limit+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Arrange to define PATH_MAX, like "pathmax.h" does. */
--- 16440,16458 ----
! printf "%s\n" "#define GNULIB_TEST_CHDIR 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether this system has an arbitrary file name length limit" >&5
! printf %s "checking whether this system has an arbitrary file name length limit... " >&6; }
! if test ${gl_cv_have_arbitrary_file_name_length_limit+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Arrange to define PATH_MAX, like "pathmax.h" does. */
***************
*** 15629,15644 ****
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "have_arbitrary_file_name_length_limit" >/dev/null 2>&1; then :
gl_cv_have_arbitrary_file_name_length_limit=yes
! else
! gl_cv_have_arbitrary_file_name_length_limit=no
fi
! rm -f conftest*
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_arbitrary_file_name_length_limit" >&5
! $as_echo "$gl_cv_have_arbitrary_file_name_length_limit" >&6; }
if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
--- 16480,16498 ----
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "have_arbitrary_file_name_length_limit" >/dev/null 2>&1
! then :
gl_cv_have_arbitrary_file_name_length_limit=yes
! else case e in #(
! e) gl_cv_have_arbitrary_file_name_length_limit=no ;;
! esac
fi
! rm -rf conftest*
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_arbitrary_file_name_length_limit" >&5
! printf "%s\n" "$gl_cv_have_arbitrary_file_name_length_limit" >&6; }
if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
***************
*** 15689,15695 ****
! $as_echo "#define GNULIB_TEST_CHOWN 1" >>confdefs.h
--- 16543,16549 ----
! printf "%s\n" "#define GNULIB_TEST_CHOWN 1" >>confdefs.h
***************
*** 15705,15784 ****
LIB_CLOCK_GETTIME=
gl_saved_libs=$LIBS
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
! $as_echo_n "checking for library containing clock_gettime... " >&6; }
! if ${ac_cv_search_clock_gettime+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_func_search_save_LIBS=$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 clock_gettime ();
int
! main ()
{
return clock_gettime ();
;
return 0;
}
_ACEOF
! for ac_lib in '' rt posix4; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
! if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_clock_gettime=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
! if ${ac_cv_search_clock_gettime+:} false; then :
break
fi
done
! if ${ac_cv_search_clock_gettime+:} false; then :
! else
! ac_cv_search_clock_gettime=no
fi
rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
! $as_echo "$ac_cv_search_clock_gettime" >&6; }
ac_res=$ac_cv_search_clock_gettime
! if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
test "$ac_cv_search_clock_gettime" = "none required" ||
LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
fi
! for ac_func in clock_gettime clock_settime
! 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
LIBS=$gl_saved_libs
! $as_echo "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
--- 16559,16650 ----
LIB_CLOCK_GETTIME=
gl_saved_libs=$LIBS
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
! printf %s "checking for library containing clock_gettime... " >&6; }
! if test ${ac_cv_search_clock_gettime+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_func_search_save_LIBS=$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.
! The 'extern "C"' is for builds by C++ compilers;
! although this is not generally supported in C code supporting it here
! has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
! char clock_gettime (void);
int
! main (void)
{
return clock_gettime ();
;
return 0;
}
_ACEOF
! for ac_lib in '' rt posix4
! do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_search_clock_gettime=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
! if test ${ac_cv_search_clock_gettime+y}
! then :
break
fi
done
! if test ${ac_cv_search_clock_gettime+y}
! then :
! else case e in #(
! e) ac_cv_search_clock_gettime=no ;;
! esac
fi
rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
! printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
ac_res=$ac_cv_search_clock_gettime
! if test "$ac_res" != no
! then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
test "$ac_cv_search_clock_gettime" = "none required" ||
LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
fi
! ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
! if test "x$ac_cv_func_clock_gettime" = xyes
! then :
! printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
!
! fi
! ac_fn_c_check_func "$LINENO" "clock_settime" "ac_cv_func_clock_settime"
! if test "x$ac_cv_func_clock_settime" = xyes
! then :
! printf "%s\n" "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
fi
LIBS=$gl_saved_libs
! printf "%s\n" "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
***************
*** 15795,15812 ****
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
if test "$ac_cv_header_winsock2_h" = yes; then
HAVE_WINSOCK2_H=1
--- 16661,16673 ----
if test $ac_cv_header_sys_socket_h != yes; then
! ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
! if test "x$ac_cv_header_winsock2_h" = xyes
! then :
! printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h
fi
fi
if test "$ac_cv_header_winsock2_h" = yes; then
HAVE_WINSOCK2_H=1
***************
*** 15859,15881 ****
! $as_echo "#define GNULIB_TEST_CLOSE 1" >>confdefs.h
- for ac_func in closedir
- do :
ac_fn_c_check_func "$LINENO" "closedir" "ac_cv_func_closedir"
! if test "x$ac_cv_func_closedir" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_CLOSEDIR 1
! _ACEOF
fi
- done
if test $ac_cv_func_closedir = no; then
HAVE_CLOSEDIR=0
--- 16720,16738 ----
! printf "%s\n" "#define GNULIB_TEST_CLOSE 1" >>confdefs.h
ac_fn_c_check_func "$LINENO" "closedir" "ac_cv_func_closedir"
! if test "x$ac_cv_func_closedir" = xyes
! then :
! printf "%s\n" "#define HAVE_CLOSEDIR 1" >>confdefs.h
fi
if test $ac_cv_func_closedir = no; then
HAVE_CLOSEDIR=0
***************
*** 15922,15928 ****
! $as_echo "#define GNULIB_TEST_CLOSEDIR 1" >>confdefs.h
--- 16779,16785 ----
! printf "%s\n" "#define GNULIB_TEST_CLOSEDIR 1" >>confdefs.h
***************
*** 15967,15978 ****
pkglibexecdir='${libexecdir}/${PACKAGE}'
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
! $as_echo_n "checking for d_ino member in directory struct... " >&6; }
! if ${gl_cv_struct_dirent_d_ino+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems with Linux kernel.
linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
--- 16824,16837 ----
pkglibexecdir='${libexecdir}/${PACKAGE}'
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
! printf %s "checking for d_ino member in directory struct... " >&6; }
! if test ${gl_cv_struct_dirent_d_ino+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems with Linux kernel.
linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
***************
*** 15982,15996 ****
*) gl_cv_struct_dirent_d_ino="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
int
! main ()
{
DIR *dp = opendir (".");
struct dirent *e;
--- 16841,16855 ----
*) gl_cv_struct_dirent_d_ino="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
int
! main (void)
{
DIR *dp = opendir (".");
struct dirent *e;
***************
*** 16011,16032 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_struct_dirent_d_ino=yes
! else
! gl_cv_struct_dirent_d_ino=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_struct_dirent_d_ino" >&5
! $as_echo "$gl_cv_struct_dirent_d_ino" >&6; }
case "$gl_cv_struct_dirent_d_ino" in
*yes)
! $as_echo "#define D_INO_IN_DIRENT 1" >>confdefs.h
;;
esac
--- 16870,16895 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_struct_dirent_d_ino=yes
! else case e in #(
! e) gl_cv_struct_dirent_d_ino=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5
! printf "%s\n" "$gl_cv_struct_dirent_d_ino" >&6; }
case "$gl_cv_struct_dirent_d_ino" in
*yes)
! printf "%s\n" "#define D_INO_IN_DIRENT 1" >>confdefs.h
;;
esac
***************
*** 16047,16058 ****
if test $gl_cv_have_include_next = yes; then
gl_cv_next_dirent_h='<'dirent.h'>'
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <dirent.h>" >&5
! $as_echo_n "checking absolute name of <dirent.h>... " >&6; }
! if ${gl_cv_next_dirent_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_dirent_h = yes; then
--- 16910,16922 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_dirent_h='<'dirent.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <dirent.h>" >&5
! printf %s "checking absolute name of <dirent.h>... " >&6; }
! if test ${gl_cv_next_dirent_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_dirent_h = yes; then
***************
*** 16094,16103 ****
gl_cv_next_dirent_h='<'dirent.h'>'
fi
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5
! $as_echo "$gl_cv_next_dirent_h" >&6; }
fi
NEXT_DIRENT_H=$gl_cv_next_dirent_h
--- 16958,16968 ----
gl_cv_next_dirent_h='<'dirent.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5
! printf "%s\n" "$gl_cv_next_dirent_h" >&6; }
fi
NEXT_DIRENT_H=$gl_cv_next_dirent_h
***************
*** 16122,16139 ****
for gl_func in alphasort closedir dirfd fdopendir opendir readdir rewinddir scandir; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <dirent.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 16987,17005 ----
for gl_func in alphasort closedir dirfd fdopendir opendir readdir rewinddir scandir; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <dirent.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 16141,16159 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 17007,17029 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 16166,16174 ****
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_DIRENT_SAFER 1
! _ACEOF
--- 17036,17042 ----
! printf "%s\n" "#define GNULIB_DIRENT_SAFER 1" >>confdefs.h
***************
*** 16176,16215 ****
- for ac_func in dirfd
- do :
ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
! if test "x$ac_cv_func_dirfd" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DIRFD 1
! _ACEOF
fi
- done
! ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
#include <dirent.h>
! "
! if test "x$ac_cv_have_decl_dirfd" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_DIRFD $ac_have_decl
! _ACEOF
if test $ac_cv_have_decl_dirfd = no; then
HAVE_DECL_DIRFD=0
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5
! $as_echo_n "checking whether dirfd is a macro... " >&6; }
! if ${gl_cv_func_dirfd_macro+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
--- 17044,17079 ----
ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
! if test "x$ac_cv_func_dirfd" = xyes
! then :
! printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h
fi
! ac_fn_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
#include <dirent.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_dirfd" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_DIRFD $ac_have_decl" >>confdefs.h
if test $ac_cv_have_decl_dirfd = no; then
HAVE_DECL_DIRFD=0
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5
! printf %s "checking whether dirfd is a macro... " >&6; }
! if test ${gl_cv_func_dirfd_macro+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
***************
*** 16219,16234 ****
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "dirent_header_defines_dirfd" >/dev/null 2>&1; then :
gl_cv_func_dirfd_macro=yes
! else
! gl_cv_func_dirfd_macro=no
fi
! rm -f conftest*
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5
! $as_echo "$gl_cv_func_dirfd_macro" >&6; }
# Use the replacement if we have no function or macro with that name,
# or if OS/2 kLIBC whose dirfd() does not work.
--- 17083,17101 ----
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "dirent_header_defines_dirfd" >/dev/null 2>&1
! then :
gl_cv_func_dirfd_macro=yes
! else case e in #(
! e) gl_cv_func_dirfd_macro=no ;;
! esac
fi
! rm -rf conftest*
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5
! printf "%s\n" "$gl_cv_func_dirfd_macro" >&6; }
# Use the replacement if we have no function or macro with that name,
# or if OS/2 kLIBC whose dirfd() does not work.
***************
*** 16237,16243 ****
no,no,*,yes | *,*,os2*,yes)
REPLACE_DIRFD=1
! $as_echo "#define REPLACE_DIRFD 1" >>confdefs.h
;;
esac
--- 17104,17110 ----
no,no,*,yes | *,*,os2*,yes)
REPLACE_DIRFD=1
! printf "%s\n" "#define REPLACE_DIRFD 1" >>confdefs.h
;;
esac
***************
*** 16254,16265 ****
gl_LIBOBJS="$gl_LIBOBJS dirfd.$ac_objext"
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5
! $as_echo_n "checking how to get the file descriptor associated with an open DIR*... " >&6; }
! if ${gl_cv_sys_dir_fd_member_name+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
dirfd_save_CFLAGS=$CFLAGS
for ac_expr in d_fd dd_fd; do
--- 17121,17133 ----
gl_LIBOBJS="$gl_LIBOBJS dirfd.$ac_objext"
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5
! printf %s "checking how to get the file descriptor associated with an open DIR*... " >&6; }
! if test ${gl_cv_sys_dir_fd_member_name+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
dirfd_save_CFLAGS=$CFLAGS
for ac_expr in d_fd dd_fd; do
***************
*** 16270,16287 ****
#include <sys/types.h>
#include <dirent.h>
int
! main ()
{
DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
dir_fd_found=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$dirfd_save_CFLAGS
test "$dir_fd_found" = yes && break
done
--- 17138,17156 ----
#include <sys/types.h>
#include <dirent.h>
int
! main (void)
{
DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
dir_fd_found=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS=$dirfd_save_CFLAGS
test "$dir_fd_found" = yes && break
done
***************
*** 16289,16303 ****
gl_cv_sys_dir_fd_member_name=$ac_expr
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5
! $as_echo "$gl_cv_sys_dir_fd_member_name" >&6; }
if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
! cat >>confdefs.h <<_ACEOF
! #define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name
! _ACEOF
fi
--- 17158,17171 ----
gl_cv_sys_dir_fd_member_name=$ac_expr
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5
! printf "%s\n" "$gl_cv_sys_dir_fd_member_name" >&6; }
if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
! printf "%s\n" "#define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name" >>confdefs.h
fi
***************
*** 16314,16320 ****
! $as_echo "#define GNULIB_TEST_DIRFD 1" >>confdefs.h
--- 17182,17188 ----
! printf "%s\n" "#define GNULIB_TEST_DIRFD 1" >>confdefs.h
***************
*** 16323,16331 ****
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_DIRNAME 1
! _ACEOF
--- 17191,17197 ----
! printf "%s\n" "#define GNULIB_DIRNAME 1" >>confdefs.h
***************
*** 16334,16345 ****
! { $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),
--- 17200,17212 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
! printf %s "checking whether // is distinct from /... " >&6; }
! if test ${gl_cv_double_slash_root+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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),
***************
*** 16361,16373 ****
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
--- 17228,17241 ----
else
gl_cv_double_slash_root=yes
fi
! fi ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
! printf "%s\n" "$gl_cv_double_slash_root" >&6; }
if test "$gl_cv_double_slash_root" = yes; then
! printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
fi
***************
*** 16376,16391 ****
! $as_echo "#define HAVE_DUP2 1" >>confdefs.h
if test $HAVE_DUP2 = 1; then
! { $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="guessing no" ;;
--- 17244,17261 ----
! printf "%s\n" "#define HAVE_DUP2 1" >>confdefs.h
if test $HAVE_DUP2 = 1; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
! printf %s "checking whether dup2 works... " >&6; }
! if test ${gl_cv_func_dup2_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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="guessing no" ;;
***************
*** 16403,16410 ****
gl_cv_func_dup2_works="guessing no" ;;
*) gl_cv_func_dup2_works="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <errno.h>
--- 17273,17280 ----
gl_cv_func_dup2_works="guessing no" ;;
*) gl_cv_func_dup2_works="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <errno.h>
***************
*** 16420,16426 ****
#endif
int
! main ()
{
int result = 0;
int bad_fd = INT_MAX;
--- 17290,17296 ----
#endif
int
! main (void)
{
int result = 0;
int bad_fd = INT_MAX;
***************
*** 16468,16500 ****
}
_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; }
case "$gl_cv_func_dup2_works" in
*yes) ;;
*)
REPLACE_DUP2=1
! for ac_func in setdtablesize
! do :
! ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize"
! if test "x$ac_cv_func_setdtablesize" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_SETDTABLESIZE 1
! _ACEOF
fi
- done
;;
esac
--- 17338,17370 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_dup2_works=yes
! else case e in #(
! e) gl_cv_func_dup2_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
! printf "%s\n" "$gl_cv_func_dup2_works" >&6; }
case "$gl_cv_func_dup2_works" in
*yes) ;;
*)
REPLACE_DUP2=1
! ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize"
! if test "x$ac_cv_func_setdtablesize" = xyes
! then :
! printf "%s\n" "#define HAVE_SETDTABLESIZE 1" >>confdefs.h
fi
;;
esac
***************
*** 16538,16544 ****
! $as_echo "#define GNULIB_TEST_DUP2 1" >>confdefs.h
--- 17408,17414 ----
! printf "%s\n" "#define GNULIB_TEST_DUP2 1" >>confdefs.h
***************
*** 16554,16591 ****
! $as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h
! { $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 <error.h>
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
--- 17424,17465 ----
! printf "%s\n" "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
! printf %s "checking for error_at_line... " >&6; }
! if test ${ac_cv_lib_error_at_line+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <error.h>
int
! main (void)
{
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 case e in #(
! e) ac_cv_lib_error_at_line=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
! printf "%s\n" "$ac_cv_lib_error_at_line" >&6; }
if test $ac_cv_lib_error_at_line = no; then
***************
*** 16616,16631 ****
- for ac_func in euidaccess
- do :
ac_fn_c_check_func "$LINENO" "euidaccess" "ac_cv_func_euidaccess"
! if test "x$ac_cv_func_euidaccess" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_EUIDACCESS 1
! _ACEOF
fi
- done
if test $ac_cv_func_euidaccess = no; then
HAVE_EUIDACCESS=0
--- 17490,17501 ----
ac_fn_c_check_func "$LINENO" "euidaccess" "ac_cv_func_euidaccess"
! if test "x$ac_cv_func_euidaccess" = xyes
! then :
! printf "%s\n" "#define HAVE_EUIDACCESS 1" >>confdefs.h
fi
if test $ac_cv_func_euidaccess = no; then
HAVE_EUIDACCESS=0
***************
*** 16644,16768 ****
! for ac_header in libgen.h
! do :
! ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
! if test "x$ac_cv_header_libgen_h" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBGEN_H 1
! _ACEOF
fi
- done
-
-
- ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups"
- if test "x$ac_cv_func_getgroups" = xyes; then :
! fi
!
!
! # If we don't yet have getgroups, see if it's in -lbsd.
! # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
! ac_save_LIBS=$LIBS
! if test $ac_cv_func_getgroups = no; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgroups in -lbsd" >&5
! $as_echo_n "checking for getgroups in -lbsd... " >&6; }
! if ${ac_cv_lib_bsd_getgroups+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lbsd $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 getgroups ();
int
! main ()
{
return getgroups ();
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
! ac_cv_lib_bsd_getgroups=yes
! else
! ac_cv_lib_bsd_getgroups=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_bsd_getgroups" >&5
! $as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
! if test "x$ac_cv_lib_bsd_getgroups" = xyes; then :
! GETGROUPS_LIB=-lbsd
fi
! fi
! # Run the program to test the functionality of the system-supplied
! # getgroups function only if there is such a function.
! if test $ac_cv_func_getgroups = yes; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
! $as_echo_n "checking for working getgroups... " >&6; }
! if ${ac_cv_func_getgroups_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
! case "$host_os" in # ((
! # Guess yes on glibc systems.
! *-gnu* | gnu*) ac_cv_func_getgroups_works="guessing yes" ;;
! # If we don't know, assume the worst.
! *) ac_cv_func_getgroups_works="guessing no" ;;
! esac
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- $ac_includes_default
- int
- main ()
- {
- /* On Ultrix 4.3, getgroups (0, 0) always fails. */
- return getgroups (0, 0) == -1;
- ;
- return 0;
- }
! _ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
! ac_cv_func_getgroups_works=yes
else
ac_cv_func_getgroups_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_func_getgroups_works" >&5
- $as_echo "$ac_cv_func_getgroups_works" >&6; }
- else
- ac_cv_func_getgroups_works=no
- fi
- case "$ac_cv_func_getgroups_works" in
- *yes)
-
- $as_echo "#define HAVE_GETGROUPS 1" >>confdefs.h
-
- ;;
- esac
- LIBS=$ac_save_LIBS
# Solaris 9 and 10 need -lgen to get the eaccess function.
--- 17514,17641 ----
! ac_fn_c_check_header_compile "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
! if test "x$ac_cv_header_libgen_h" = xyes
! then :
! printf "%s\n" "#define HAVE_LIBGEN_H 1" >>confdefs.h
fi
! # On older systems getgroups might be in -lbsd.
! # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
! ac_save_LIBS=$LIBS
! LIBS=
! GETGROUPS_LIB=
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getgroups" >&5
! printf %s "checking for library containing getgroups... " >&6; }
! if test ${ac_cv_search_getgroups+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_func_search_save_LIBS=$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.
! The 'extern "C"' is for builds by C++ compilers;
! although this is not generally supported in C code supporting it here
! has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
! char getgroups (void);
int
! main (void)
{
return getgroups ();
;
return 0;
}
_ACEOF
! for ac_lib in '' bsd
! do
! if test -z "$ac_lib"; then
! ac_res="none required"
! else
! ac_res=-l$ac_lib
! LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! fi
! if ac_fn_c_try_link "$LINENO"
! then :
! ac_cv_search_getgroups=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext
! if test ${ac_cv_search_getgroups+y}
! then :
! break
fi
+ done
+ if test ${ac_cv_search_getgroups+y}
+ then :
! else case e in #(
! e) ac_cv_search_getgroups=no ;;
! esac
! fi
! rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getgroups" >&5
! printf "%s\n" "$ac_cv_search_getgroups" >&6; }
! ac_res=$ac_cv_search_getgroups
! if test "$ac_res" != no
! then :
! test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! test "$ac_res" = "none required" || GETGROUPS_LIB="$ac_res"
! ac_cv_func_getgroups=yes
! else case e in #(
! e) ac_cv_func_getgroups=no ;;
! esac
! fi
! LIBS=$ac_save_LIBS
! # Known severe bugs in getgroups on particular systems.
! # - On Ultrix 4.3 and NextSTEP 3.2, getgroups (0, 0) is reported to
! # fail, rather than returning the number of supplementary groups as
! # it ought to. We do not know the exact range of releases affected
! # in either case.
! # We currently reject all versions of the systems with known bugs, and
! # no other systems. Please send corrections to bug-autoconf@gnu.org.
! if test $ac_cv_func_getgroups = yes; then
! # This AC_CACHE_CHECK exists so that one may override an incorrect
! # guess by setting ac_cv_func_getgroups_works in a config.site file.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
! printf %s "checking for working getgroups... " >&6; }
! if test ${ac_cv_func_getgroups_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) case $host_os in #(
! ultrix* | nextstep*) :
! ac_cv_func_getgroups_works=no # getgroups(0,0) fails
! ;; #(
! *) :
! ac_cv_func_getgroups_works=yes ;;
! esac ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getgroups_works" >&5
! printf "%s\n" "$ac_cv_func_getgroups_works" >&6; }
else
ac_cv_func_getgroups_works=no
fi
! if test $ac_cv_func_getgroups_works = yes; then
+ printf "%s\n" "#define HAVE_GETGROUPS 1" >>confdefs.h
fi
# Solaris 9 and 10 need -lgen to get the eaccess function.
***************
*** 16772,16844 ****
LIB_EACCESS=
gl_saved_libs=$LIBS
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing eaccess" >&5
! $as_echo_n "checking for library containing eaccess... " >&6; }
! if ${ac_cv_search_eaccess+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_func_search_save_LIBS=$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 eaccess ();
int
! main ()
{
return eaccess ();
;
return 0;
}
_ACEOF
! for ac_lib in '' gen; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
! if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_eaccess=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
! if ${ac_cv_search_eaccess+:} false; then :
break
fi
done
! if ${ac_cv_search_eaccess+:} false; then :
! else
! ac_cv_search_eaccess=no
fi
rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_eaccess" >&5
! $as_echo "$ac_cv_search_eaccess" >&6; }
ac_res=$ac_cv_search_eaccess
! if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
test "$ac_cv_search_eaccess" = "none required" ||
LIB_EACCESS=$ac_cv_search_eaccess
fi
! for ac_func in eaccess
! do :
! ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess"
! if test "x$ac_cv_func_eaccess" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_EACCESS 1
! _ACEOF
fi
- done
LIBS=$gl_saved_libs
--- 17645,17724 ----
LIB_EACCESS=
gl_saved_libs=$LIBS
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing eaccess" >&5
! printf %s "checking for library containing eaccess... " >&6; }
! if test ${ac_cv_search_eaccess+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_func_search_save_LIBS=$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.
! The 'extern "C"' is for builds by C++ compilers;
! although this is not generally supported in C code supporting it here
! has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
! char eaccess (void);
int
! main (void)
{
return eaccess ();
;
return 0;
}
_ACEOF
! for ac_lib in '' gen
! do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_search_eaccess=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
! if test ${ac_cv_search_eaccess+y}
! then :
break
fi
done
! if test ${ac_cv_search_eaccess+y}
! then :
! else case e in #(
! e) ac_cv_search_eaccess=no ;;
! esac
fi
rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_eaccess" >&5
! printf "%s\n" "$ac_cv_search_eaccess" >&6; }
ac_res=$ac_cv_search_eaccess
! if test "$ac_res" != no
! then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
test "$ac_cv_search_eaccess" = "none required" ||
LIB_EACCESS=$ac_cv_search_eaccess
fi
! ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess"
! if test "x$ac_cv_func_eaccess" = xyes
! then :
! printf "%s\n" "#define HAVE_EACCESS 1" >>confdefs.h
fi
LIBS=$gl_saved_libs
***************
*** 16854,16860 ****
! $as_echo "#define GNULIB_TEST_EUIDACCESS 1" >>confdefs.h
--- 17734,17740 ----
! printf "%s\n" "#define GNULIB_TEST_EUIDACCESS 1" >>confdefs.h
***************
*** 16887,16910 ****
gl_LIBOBJS="$gl_LIBOBJS faccessat.$ac_objext"
- for ac_func in access
- do :
ac_fn_c_check_func "$LINENO" "access" "ac_cv_func_access"
! if test "x$ac_cv_func_access" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_ACCESS 1
! _ACEOF
fi
- done
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_FACCESSAT 1
! _ACEOF
--- 17767,17784 ----
gl_LIBOBJS="$gl_LIBOBJS faccessat.$ac_objext"
ac_fn_c_check_func "$LINENO" "access" "ac_cv_func_access"
! if test "x$ac_cv_func_access" = xyes
! then :
! printf "%s\n" "#define HAVE_ACCESS 1" >>confdefs.h
fi
fi
! printf "%s\n" "#define GNULIB_FACCESSAT 1" >>confdefs.h
***************
*** 16918,16924 ****
! $as_echo "#define GNULIB_TEST_FACCESSAT 1" >>confdefs.h
--- 17792,17798 ----
! printf "%s\n" "#define GNULIB_TEST_FACCESSAT 1" >>confdefs.h
***************
*** 16945,16958 ****
:
! $as_echo "#define REPLACE_FCHDIR 1" >>confdefs.h
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5
! $as_echo_n "checking whether open can visit directories... " >&6; }
! if ${gl_cv_func_open_directory_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
--- 17819,17834 ----
:
! printf "%s\n" "#define REPLACE_FCHDIR 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5
! printf %s "checking whether open can visit directories... " >&6; }
! if test ${gl_cv_func_open_directory_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
***************
*** 16962,16997 ****
*) gl_cv_func_open_directory_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
int
! main ()
{
return open(".", O_RDONLY) < 0;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_open_directory_works=yes
! else
! gl_cv_func_open_directory_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_open_directory_works" >&5
! $as_echo "$gl_cv_func_open_directory_works" >&6; }
case "$gl_cv_func_open_directory_works" in
*yes) ;;
*)
! $as_echo "#define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h
;;
esac
--- 17838,17877 ----
*) gl_cv_func_open_directory_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
int
! main (void)
{
return open(".", O_RDONLY) < 0;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_open_directory_works=yes
! else case e in #(
! e) gl_cv_func_open_directory_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_directory_works" >&5
! printf "%s\n" "$gl_cv_func_open_directory_works" >&6; }
case "$gl_cv_func_open_directory_works" in
*yes) ;;
*)
! printf "%s\n" "#define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h
;;
esac
***************
*** 17008,17014 ****
! $as_echo "#define GNULIB_TEST_FCHDIR 1" >>confdefs.h
--- 17888,17894 ----
! printf "%s\n" "#define GNULIB_TEST_FCHDIR 1" >>confdefs.h
***************
*** 17034,17042 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_FCHMODAT 1
! _ACEOF
--- 17914,17920 ----
fi
! printf "%s\n" "#define GNULIB_FCHMODAT 1" >>confdefs.h
***************
*** 17049,17055 ****
! $as_echo "#define GNULIB_TEST_FCHMODAT 1" >>confdefs.h
--- 17927,17933 ----
! printf "%s\n" "#define GNULIB_TEST_FCHMODAT 1" >>confdefs.h
***************
*** 17058,17083 ****
ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
! if test "x$ac_cv_func_fchownat" = xyes; then :
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
! $as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
! if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_dangle=conftest.dangle
# Remove any remnants of a previous test.
rm -f $gl_dangle
# Arrange for deletion of the temporary file this test creates.
ac_clean_files="$ac_clean_files $gl_dangle"
ln -s conftest.no-such $gl_dangle
! if test "$cross_compiling" = yes; then :
gl_cv_func_fchownat_nofollow_works=no
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
--- 17936,17964 ----
ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
! if test "x$ac_cv_func_fchownat" = xyes
! then :
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
! printf %s "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
! if test ${gl_cv_func_fchownat_nofollow_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_dangle=conftest.dangle
# Remove any remnants of a previous test.
rm -f $gl_dangle
# Arrange for deletion of the temporary file this test creates.
ac_clean_files="$ac_clean_files $gl_dangle"
ln -s conftest.no-such $gl_dangle
! if test "$cross_compiling" = yes
! then :
gl_cv_func_fchownat_nofollow_works=no
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
***************
*** 17094,17116 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_fchownat_nofollow_works=yes
! else
! gl_cv_func_fchownat_nofollow_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_fchownat_nofollow_works" >&5
! $as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
! if test $gl_cv_func_fchownat_nofollow_works = no; then :
REPLACE_FCHOWNAT=1
! $as_echo "#define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
fi
--- 17975,18002 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_fchownat_nofollow_works=yes
! else case e in #(
! e) gl_cv_func_fchownat_nofollow_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
! printf "%s\n" "$gl_cv_func_fchownat_nofollow_works" >&6; }
! if test $gl_cv_func_fchownat_nofollow_works = no
! then :
REPLACE_FCHOWNAT=1
! printf "%s\n" "#define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
fi
***************
*** 17118,17138 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
! $as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
! if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
gl_cv_func_fchownat_empty_filename_works="guessing no"
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
#include <fcntl.h>
int
! main ()
{
int fd;
int ret;
--- 18004,18026 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
! printf %s "checking whether fchownat works with an empty file name... " >&6; }
! if test ${gl_cv_func_fchownat_empty_filename_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
gl_cv_func_fchownat_empty_filename_works="guessing no"
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
#include <fcntl.h>
int
! main (void)
{
int fd;
int ret;
***************
*** 17150,17172 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_fchownat_empty_filename_works=yes
! else
! gl_cv_func_fchownat_empty_filename_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_fchownat_empty_filename_works" >&5
! $as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
! if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
REPLACE_FCHOWNAT=1
! $as_echo "#define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
fi
--- 18038,18065 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_fchownat_empty_filename_works=yes
! else case e in #(
! e) gl_cv_func_fchownat_empty_filename_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
! printf "%s\n" "$gl_cv_func_fchownat_empty_filename_works" >&6; }
! if test "$gl_cv_func_fchownat_empty_filename_works" != yes
! then :
REPLACE_FCHOWNAT=1
! printf "%s\n" "#define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
fi
***************
*** 17174,17181 ****
if test $REPLACE_CHOWN = 1; then
REPLACE_FCHOWNAT=1
fi
! else
! HAVE_FCHOWNAT=0
fi
--- 18067,18075 ----
if test $REPLACE_CHOWN = 1; then
REPLACE_FCHOWNAT=1
fi
! else case e in #(
! e) HAVE_FCHOWNAT=0 ;;
! esac
fi
***************
*** 17193,17201 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_FCHOWNAT 1
! _ACEOF
--- 18087,18093 ----
fi
! printf "%s\n" "#define GNULIB_FCHOWNAT 1" >>confdefs.h
***************
*** 17208,17214 ****
! $as_echo "#define GNULIB_TEST_FCHOWNAT 1" >>confdefs.h
--- 18100,18106 ----
! printf "%s\n" "#define GNULIB_TEST_FCHOWNAT 1" >>confdefs.h
***************
*** 17228,17246 ****
fi
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 :
case $host_os in
aix* | cygwin* | haiku*)
gl_cv_func_fcntl_f_dupfd_works="guessing no" ;;
*) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <errno.h>
#include <fcntl.h>
--- 18120,18140 ----
fi
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
! printf %s "checking whether fcntl handles F_DUPFD correctly... " >&6; }
! if test ${gl_cv_func_fcntl_f_dupfd_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case $host_os in
aix* | cygwin* | haiku*)
gl_cv_func_fcntl_f_dupfd_works="guessing no" ;;
*) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <errno.h>
#include <fcntl.h>
***************
*** 17255,17261 ****
#endif
int
! main ()
{
int result = 0;
int bad_fd = INT_MAX;
--- 18149,18155 ----
#endif
int
! main (void)
{
int result = 0;
int bad_fd = INT_MAX;
***************
*** 17286,17303 ****
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) ;;
*)
--- 18180,18201 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_fcntl_f_dupfd_works=yes
! else case e in #(
! e) gl_cv_func_fcntl_f_dupfd_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5
! printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_works" >&6; }
case $gl_cv_func_fcntl_f_dupfd_works in
*yes) ;;
*)
***************
*** 17310,17325 ****
fi
! $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 <fcntl.h>
--- 18208,18224 ----
fi
! printf "%s\n" "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
! printf %s "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
! if test ${gl_cv_func_fcntl_f_dupfd_cloexec+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
***************
*** 17328,17341 ****
#endif
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
--- 18227,18241 ----
#endif
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 17346,17371 ****
#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
--- 18246,18275 ----
#endif
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_fcntl_f_dupfd_cloexec=yes
! else case e in #(
! e) gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! else case e in #(
! e) gl_cv_func_fcntl_f_dupfd_cloexec=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5
! printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
***************
*** 17422,17428 ****
! $as_echo "#define GNULIB_TEST_FCNTL 1" >>confdefs.h
--- 18326,18332 ----
! printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h
***************
*** 17440,17451 ****
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 <fcntl.h>" >&5
! $as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
! if ${gl_cv_next_fcntl_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 18344,18356 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_fcntl_h='<'fcntl.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
! printf %s "checking absolute name of <fcntl.h>... " >&6; }
! if test ${gl_cv_next_fcntl_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 17481,17490 ****
gl_header=$gl_cv_absolute_fcntl_h
gl_cv_next_fcntl_h='"'$gl_header'"'
!
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
--- 18386,18396 ----
gl_header=$gl_cv_absolute_fcntl_h
gl_cv_next_fcntl_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
! printf "%s\n" "$gl_cv_next_fcntl_h" >&6; }
fi
NEXT_FCNTL_H=$gl_cv_next_fcntl_h
***************
*** 17507,17524 ****
for gl_func in fcntl openat; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 18413,18431 ----
for gl_func in fcntl openat; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 17526,17544 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 18433,18455 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 17548,17568 ****
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_FD_SAFER_FLAG 1
! _ACEOF
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5
! $as_echo_n "checking for flexible array member... " >&6; }
! if ${ac_cv_c_flexmember+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
#include <stdio.h>
--- 18459,18478 ----
! printf "%s\n" "#define GNULIB_FD_SAFER_FLAG 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5
! printf %s "checking for flexible array member... " >&6; }
! if test ${ac_cv_c_flexmember+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
#include <stdio.h>
***************
*** 17570,17576 ****
struct m { struct m *next, **list; char name[]; };
struct s { struct s *p; struct m *m; int n; double d[]; };
int
! main ()
{
int m = getchar ();
size_t nbytes = offsetof (struct s, d) + m * sizeof (double);
--- 18480,18486 ----
struct m { struct m *next, **list; char name[]; };
struct s { struct s *p; struct m *m; int n; double d[]; };
int
! main (void)
{
int m = getchar ();
size_t nbytes = offsetof (struct s, d) + m * sizeof (double);
***************
*** 17585,17605 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_c_flexmember=yes
! else
! ac_cv_c_flexmember=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
! $as_echo "$ac_cv_c_flexmember" >&6; }
if test $ac_cv_c_flexmember = yes; then
! $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
else
! $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
fi
--- 18495,18518 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_c_flexmember=yes
! else case e in #(
! e) ac_cv_c_flexmember=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
! printf "%s\n" "$ac_cv_c_flexmember" >&6; }
if test $ac_cv_c_flexmember = yes; then
! printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
else
! printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
fi
***************
*** 17629,17640 ****
#endif
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
! else
! FLOAT_H=float.h
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
;;
esac
;;
--- 18542,18555 ----
#endif
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! else case e in #(
! e) FLOAT_H=float.h ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
;;
esac
;;
***************
*** 17655,17667 ****
esac
REPLACE_ITOLD=0
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5
! $as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; }
! if ${gl_cv_func_itold_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
! if test "$cross_compiling" = yes; then :
case "$host" in
sparc*-*-linux*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 18570,18584 ----
esac
REPLACE_ITOLD=0
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5
! printf %s "checking whether conversion from 'int' to 'long double' works... " >&6; }
! if test ${gl_cv_func_itold_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
! if test "$cross_compiling" = yes
! then :
case "$host" in
sparc*-*-linux*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 17673,17692 ****
#endif
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_func_itold_works="guessing no"
! else
! gl_cv_func_itold_works="guessing yes"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
;;
# Guess yes on native Windows.
mingw*) gl_cv_func_itold_works="guessing yes" ;;
*) gl_cv_func_itold_works="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int i = -1;
--- 18590,18611 ----
#endif
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_itold_works="guessing no"
! else case e in #(
! e) gl_cv_func_itold_works="guessing yes" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
;;
# Guess yes on native Windows.
mingw*) gl_cv_func_itold_works="guessing yes" ;;
*) gl_cv_func_itold_works="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int i = -1;
***************
*** 17699,17717 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_itold_works=yes
! else
! gl_cv_func_itold_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_itold_works" >&5
! $as_echo "$gl_cv_func_itold_works" >&6; }
case "$gl_cv_func_itold_works" in
*no)
REPLACE_ITOLD=1
--- 18618,18640 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_itold_works=yes
! else case e in #(
! e) gl_cv_func_itold_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5
! printf "%s\n" "$gl_cv_func_itold_works" >&6; }
case "$gl_cv_func_itold_works" in
*no)
REPLACE_ITOLD=1
***************
*** 17731,17742 ****
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 <float.h>" >&5
! $as_echo_n "checking absolute name of <float.h>... " >&6; }
! if ${gl_cv_next_float_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 18654,18666 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_float_h='<'float.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
! printf %s "checking absolute name of <float.h>... " >&6; }
! if test ${gl_cv_next_float_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 17772,17781 ****
gl_header=$gl_cv_absolute_float_h
gl_cv_next_float_h='"'$gl_header'"'
!
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
--- 18696,18706 ----
gl_header=$gl_cv_absolute_float_h
gl_cv_next_float_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
! printf "%s\n" "$gl_cv_next_float_h" >&6; }
fi
NEXT_FLOAT_H=$gl_cv_next_float_h
***************
*** 17896,17902 ****
! $as_echo "#define GNULIB_TEST_FSTAT 1" >>confdefs.h
--- 18821,18827 ----
! printf "%s\n" "#define GNULIB_TEST_FSTAT 1" >>confdefs.h
***************
*** 17910,17928 ****
if test $ac_cv_func_fstatat = no; then
HAVE_FSTATAT=0
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
! $as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
! if ${gl_cv_func_fstatat_zero_flag+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
aix*) gl_cv_func_fstatat_zero_flag="guessing no";;
*) gl_cv_func_fstatat_zero_flag="guessing yes";;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
--- 18835,18855 ----
if test $ac_cv_func_fstatat = no; then
HAVE_FSTATAT=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
! printf %s "checking whether fstatat (..., 0) works... " >&6; }
! if test ${gl_cv_func_fstatat_zero_flag+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
aix*) gl_cv_func_fstatat_zero_flag="guessing no";;
*) gl_cv_func_fstatat_zero_flag="guessing yes";;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
***************
*** 17935,17953 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_fstatat_zero_flag=yes
! else
! gl_cv_func_fstatat_zero_flag=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_fstatat_zero_flag" >&5
! $as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
*yes+*yes) ;;
--- 18862,18884 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_fstatat_zero_flag=yes
! else case e in #(
! e) gl_cv_func_fstatat_zero_flag=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
! printf "%s\n" "$gl_cv_func_fstatat_zero_flag" >&6; }
case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
*yes+*yes) ;;
***************
*** 17962,17968 ****
case $REPLACE_FSTATAT,$gl_cv_func_fstatat_zero_flag in
1,*yes)
! $as_echo "#define HAVE_WORKING_FSTATAT_ZERO_FLAG 1" >>confdefs.h
;;
esac
--- 18893,18899 ----
case $REPLACE_FSTATAT,$gl_cv_func_fstatat_zero_flag in
1,*yes)
! printf "%s\n" "#define HAVE_WORKING_FSTATAT_ZERO_FLAG 1" >>confdefs.h
;;
esac
***************
*** 17991,17997 ****
! $as_echo "#define GNULIB_TEST_FSTATAT 1" >>confdefs.h
--- 18922,18928 ----
! printf "%s\n" "#define GNULIB_TEST_FSTATAT 1" >>confdefs.h
***************
*** 18030,18036 ****
! $as_echo "#define GNULIB_TEST_GETCWD 1" >>confdefs.h
--- 18961,18967 ----
! printf "%s\n" "#define GNULIB_TEST_GETCWD 1" >>confdefs.h
***************
*** 18041,18068 ****
if test $ac_cv_func_getdtablesize = yes &&
test $ac_cv_have_decl_getdtablesize = yes; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5
! $as_echo_n "checking whether getdtablesize works... " >&6; }
! if ${gl_cv_func_getdtablesize_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! case "$host_os" in
vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;;
*)
! if test "$cross_compiling" = yes; then :
case "$host_os" in
cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows
gl_cv_func_getdtablesize_works="guessing no" ;;
*) gl_cv_func_getdtablesize_works="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main ()
{
int size = getdtablesize();
if (dup2 (0, getdtablesize()) != -1)
--- 18972,19001 ----
if test $ac_cv_func_getdtablesize = yes &&
test $ac_cv_have_decl_getdtablesize = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5
! printf %s "checking whether getdtablesize works... " >&6; }
! if test ${gl_cv_func_getdtablesize_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) case "$host_os" in
vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;;
*)
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows
gl_cv_func_getdtablesize_works="guessing no" ;;
*) gl_cv_func_getdtablesize_works="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main (void)
{
int size = getdtablesize();
if (dup2 (0, getdtablesize()) != -1)
***************
*** 18074,18094 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_getdtablesize_works=yes
! else
! gl_cv_func_getdtablesize_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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5
! $as_echo "$gl_cv_func_getdtablesize_works" >&6; }
case "$gl_cv_func_getdtablesize_works" in
*yes | "no (limitation)") ;;
*) REPLACE_GETDTABLESIZE=1 ;;
--- 19007,19031 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getdtablesize_works=yes
! else case e in #(
! e) gl_cv_func_getdtablesize_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
;;
esac
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5
! printf "%s\n" "$gl_cv_func_getdtablesize_works" >&6; }
case "$gl_cv_func_getdtablesize_works" in
*yes | "no (limitation)") ;;
*) REPLACE_GETDTABLESIZE=1 ;;
***************
*** 18121,18127 ****
! $as_echo "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
--- 19058,19064 ----
! printf "%s\n" "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
***************
*** 18130,18241 ****
! ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups"
! if test "x$ac_cv_func_getgroups" = xyes; then :
!
! fi
!
!
! # If we don't yet have getgroups, see if it's in -lbsd.
! # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
! ac_save_LIBS=$LIBS
! if test $ac_cv_func_getgroups = no; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgroups in -lbsd" >&5
! $as_echo_n "checking for getgroups in -lbsd... " >&6; }
! if ${ac_cv_lib_bsd_getgroups+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lbsd $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 getgroups ();
int
! main ()
{
return getgroups ();
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
! ac_cv_lib_bsd_getgroups=yes
! else
! ac_cv_lib_bsd_getgroups=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_bsd_getgroups" >&5
! $as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
! if test "x$ac_cv_lib_bsd_getgroups" = xyes; then :
! GETGROUPS_LIB=-lbsd
fi
! fi
! # Run the program to test the functionality of the system-supplied
! # getgroups function only if there is such a function.
! if test $ac_cv_func_getgroups = yes; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
! $as_echo_n "checking for working getgroups... " >&6; }
! if ${ac_cv_func_getgroups_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
! case "$host_os" in # ((
! # Guess yes on glibc systems.
! *-gnu* | gnu*) ac_cv_func_getgroups_works="guessing yes" ;;
! # If we don't know, assume the worst.
! *) ac_cv_func_getgroups_works="guessing no" ;;
! esac
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- $ac_includes_default
- int
- main ()
- {
- /* On Ultrix 4.3, getgroups (0, 0) always fails. */
- return getgroups (0, 0) == -1;
- ;
- return 0;
- }
! _ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
! ac_cv_func_getgroups_works=yes
else
ac_cv_func_getgroups_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_func_getgroups_works" >&5
- $as_echo "$ac_cv_func_getgroups_works" >&6; }
- else
- ac_cv_func_getgroups_works=no
- fi
- case "$ac_cv_func_getgroups_works" in
- *yes)
-
- $as_echo "#define HAVE_GETGROUPS 1" >>confdefs.h
-
- ;;
- esac
- LIBS=$ac_save_LIBS
if test $ac_cv_func_getgroups != yes; then
HAVE_GETGROUPS=0
--- 19067,19186 ----
! # On older systems getgroups might be in -lbsd.
! # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
! ac_save_LIBS=$LIBS
! LIBS=
! GETGROUPS_LIB=
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getgroups" >&5
! printf %s "checking for library containing getgroups... " >&6; }
! if test ${ac_cv_search_getgroups+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_func_search_save_LIBS=$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.
! The 'extern "C"' is for builds by C++ compilers;
! although this is not generally supported in C code supporting it here
! has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
! char getgroups (void);
int
! main (void)
{
return getgroups ();
;
return 0;
}
_ACEOF
! for ac_lib in '' bsd
! do
! if test -z "$ac_lib"; then
! ac_res="none required"
! else
! ac_res=-l$ac_lib
! LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! fi
! if ac_fn_c_try_link "$LINENO"
! then :
! ac_cv_search_getgroups=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext
! if test ${ac_cv_search_getgroups+y}
! then :
! break
fi
+ done
+ if test ${ac_cv_search_getgroups+y}
+ then :
! else case e in #(
! e) ac_cv_search_getgroups=no ;;
! esac
! fi
! rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getgroups" >&5
! printf "%s\n" "$ac_cv_search_getgroups" >&6; }
! ac_res=$ac_cv_search_getgroups
! if test "$ac_res" != no
! then :
! test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! test "$ac_res" = "none required" || GETGROUPS_LIB="$ac_res"
! ac_cv_func_getgroups=yes
! else case e in #(
! e) ac_cv_func_getgroups=no ;;
! esac
! fi
! LIBS=$ac_save_LIBS
! # Known severe bugs in getgroups on particular systems.
! # - On Ultrix 4.3 and NextSTEP 3.2, getgroups (0, 0) is reported to
! # fail, rather than returning the number of supplementary groups as
! # it ought to. We do not know the exact range of releases affected
! # in either case.
! # We currently reject all versions of the systems with known bugs, and
! # no other systems. Please send corrections to bug-autoconf@gnu.org.
! if test $ac_cv_func_getgroups = yes; then
! # This AC_CACHE_CHECK exists so that one may override an incorrect
! # guess by setting ac_cv_func_getgroups_works in a config.site file.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
! printf %s "checking for working getgroups... " >&6; }
! if test ${ac_cv_func_getgroups_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) case $host_os in #(
! ultrix* | nextstep*) :
! ac_cv_func_getgroups_works=no # getgroups(0,0) fails
! ;; #(
! *) :
! ac_cv_func_getgroups_works=yes ;;
! esac ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getgroups_works" >&5
! printf "%s\n" "$ac_cv_func_getgroups_works" >&6; }
else
ac_cv_func_getgroups_works=no
fi
! if test $ac_cv_func_getgroups_works = yes; then
+ printf "%s\n" "#define HAVE_GETGROUPS 1" >>confdefs.h
fi
if test $ac_cv_func_getgroups != yes; then
HAVE_GETGROUPS=0
***************
*** 18248,18262 ****
}; then
REPLACE_GETGROUPS=1
! $as_echo "#define GETGROUPS_ZERO_BUG 1" >>confdefs.h
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getgroups handles negative values" >&5
! $as_echo_n "checking whether getgroups handles negative values... " >&6; }
! if ${gl_cv_func_getgroups_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_getgroups_works="guessing yes" ;;
--- 19193,19209 ----
}; then
REPLACE_GETGROUPS=1
! printf "%s\n" "#define GETGROUPS_ZERO_BUG 1" >>confdefs.h
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getgroups handles negative values" >&5
! printf %s "checking whether getgroups handles negative values... " >&6; }
! if test ${gl_cv_func_getgroups_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_getgroups_works="guessing yes" ;;
***************
*** 18264,18275 ****
*) gl_cv_func_getgroups_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
! main ()
{
int size = getgroups (0, 0);
gid_t *list = malloc (size * sizeof *list);
--- 19211,19222 ----
*) gl_cv_func_getgroups_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
! main (void)
{
int size = getgroups (0, 0);
gid_t *list = malloc (size * sizeof *list);
***************
*** 18280,18297 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_getgroups_works=yes
! else
! gl_cv_func_getgroups_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_getgroups_works" >&5
! $as_echo "$gl_cv_func_getgroups_works" >&6; }
case "$gl_cv_func_getgroups_works" in
*yes) ;;
*) REPLACE_GETGROUPS=1 ;;
--- 19227,19248 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_getgroups_works=yes
! else case e in #(
! e) gl_cv_func_getgroups_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getgroups_works" >&5
! printf "%s\n" "$gl_cv_func_getgroups_works" >&6; }
case "$gl_cv_func_getgroups_works" in
*yes) ;;
*) REPLACE_GETGROUPS=1 ;;
***************
*** 18323,18329 ****
! $as_echo "#define GNULIB_TEST_GETGROUPS 1" >>confdefs.h
--- 19274,19280 ----
! printf "%s\n" "#define GNULIB_TEST_GETGROUPS 1" >>confdefs.h
***************
*** 18352,18358 ****
! $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
GETOPT_H=getopt.h
GETOPT_CDEFS_H=getopt-cdefs.h
--- 19303,19309 ----
! printf "%s\n" "#define __GETOPT_PREFIX rpl_" >>confdefs.h
GETOPT_H=getopt.h
GETOPT_CDEFS_H=getopt-cdefs.h
***************
*** 18389,18436 ****
ac_found=0
! ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
! "
! 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
! if test $ac_have_decl = 1; then :
ac_found=1
fi
! ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
! "
! 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
! if test $ac_have_decl = 1; then :
ac_found=1
fi
! ac_fn_c_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include <stdlib.h>
! "
! if test "x$ac_cv_have_decl___argv" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL___ARGV $ac_have_decl
! _ACEOF
! if test $ac_have_decl = 1; then :
ac_found=1
fi
--- 19340,19387 ----
ac_found=0
! ac_fn_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_program_invocation_name" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl" >>confdefs.h
! if test $ac_have_decl = 1
! then :
ac_found=1
fi
! ac_fn_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl" >>confdefs.h
! if test $ac_have_decl = 1
! then :
ac_found=1
fi
! ac_fn_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include <stdlib.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl___argv" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL___ARGV $ac_have_decl" >>confdefs.h
! if test $ac_have_decl = 1
! then :
ac_found=1
fi
***************
*** 18439,18456 ****
if test $ac_found = 0; then
# On OpenBSD 5.1, using the global __progname variable appears to be
# the only way to implement getprogname.
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5
! $as_echo_n "checking whether __progname is defined in default libraries... " >&6; }
! if ${gl_cv_var___progname+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_cv_var___progname=
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
extern char *__progname;
int
! main ()
{
return *__progname;
--- 19390,19408 ----
if test $ac_found = 0; then
# On OpenBSD 5.1, using the global __progname variable appears to be
# the only way to implement getprogname.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5
! printf %s "checking whether __progname is defined in default libraries... " >&6; }
! if test ${gl_cv_var___progname+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_cv_var___progname=
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
extern char *__progname;
int
! main (void)
{
return *__progname;
***************
*** 18458,18477 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_var___progname=yes
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___progname" >&5
! $as_echo "$gl_cv_var___progname" >&6; }
if test "$gl_cv_var___progname" = yes; then
! $as_echo "#define HAVE_VAR___PROGNAME 1" >>confdefs.h
fi
fi
--- 19410,19431 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_var___progname=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var___progname" >&5
! printf "%s\n" "$gl_cv_var___progname" >&6; }
if test "$gl_cv_var___progname" = yes; then
! printf "%s\n" "#define HAVE_VAR___PROGNAME 1" >>confdefs.h
fi
fi
***************
*** 18498,18509 ****
! { $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 :
# When cross-compiling:
case "$host_os" in
# Guess all is fine on glibc systems.
--- 19452,19465 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
! printf %s "checking whether gettimeofday clobbers localtime buffer... " >&6; }
! if test ${gl_cv_func_gettimeofday_clobber+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
# When cross-compiling:
case "$host_os" in
# Guess all is fine on glibc systems.
***************
*** 18514,18521 ****
*) gl_cv_func_gettimeofday_clobber="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
#include <sys/time.h>
--- 19470,19477 ----
*) gl_cv_func_gettimeofday_clobber="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
#include <sys/time.h>
***************
*** 18523,18529 ****
#include <stdlib.h>
int
! main ()
{
time_t t = 0;
--- 19479,19485 ----
#include <stdlib.h>
int
! main (void)
{
time_t t = 0;
***************
*** 18539,18562 ****
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; }
case "$gl_cv_func_gettimeofday_clobber" in
*yes)
REPLACE_GETTIMEOFDAY=1
! $as_echo "#define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
--- 19495,19522 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_gettimeofday_clobber=no
! else case e in #(
! e) gl_cv_func_gettimeofday_clobber=yes ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5
! printf "%s\n" "$gl_cv_func_gettimeofday_clobber" >&6; }
case "$gl_cv_func_gettimeofday_clobber" in
*yes)
REPLACE_GETTIMEOFDAY=1
! printf "%s\n" "#define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
***************
*** 18568,18586 ****
;;
esac
! { $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 <sys/time.h>
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
--- 19528,19547 ----
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
! printf %s "checking for gettimeofday with POSIX signature... " >&6; }
! if test ${gl_cv_func_gettimeofday_posix_signature+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/time.h>
struct timeval c;
int gettimeofday (struct timeval *restrict, void *restrict);
int
! main (void)
{
/* glibc uses struct timezone * rather than the POSIX void *
if _GNU_SOURCE is defined. However, since the only portable
***************
*** 18596,18628 ****
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 <sys/time.h>
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
--- 19557,19594 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_gettimeofday_posix_signature=yes
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/time.h>
int gettimeofday (struct timeval *restrict, struct timezone *restrict);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_gettimeofday_posix_signature=almost
! else case e in #(
! e) gl_cv_func_gettimeofday_posix_signature=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5
! printf "%s\n" "$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
***************
*** 18636,18644 ****
esac
fi
! cat >>confdefs.h <<_ACEOF
! #define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone
! _ACEOF
if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
--- 19602,19608 ----
esac
fi
! printf "%s\n" "#define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone" >>confdefs.h
if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
***************
*** 18665,18671 ****
! $as_echo "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
--- 19629,19635 ----
! printf "%s\n" "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
***************
*** 18683,18694 ****
ac_fn_c_check_func "$LINENO" "group_member" "ac_cv_func_group_member"
! if test "x$ac_cv_func_group_member" = xyes; then :
!
! else
HAVE_GROUP_MEMBER=0
!
fi
--- 19647,19660 ----
ac_fn_c_check_func "$LINENO" "group_member" "ac_cv_func_group_member"
! if test "x$ac_cv_func_group_member" = xyes
! then :
+ else case e in #(
+ e)
HAVE_GROUP_MEMBER=0
! ;;
! esac
fi
***************
*** 18718,18724 ****
! $as_echo "#define GNULIB_TEST_GROUP_MEMBER 1" >>confdefs.h
--- 19684,19690 ----
! printf "%s\n" "#define GNULIB_TEST_GROUP_MEMBER 1" >>confdefs.h
***************
*** 18747,18775 ****
extern intptr_t foo;
extern $gltype1 foo;
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
PRIPTR_PREFIX='"'$glpfx'"'
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
test -n "$PRIPTR_PREFIX" && break
done
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5
! $as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; }
! if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
--- 19713,19743 ----
extern intptr_t foo;
extern $gltype1 foo;
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
PRIPTR_PREFIX='"'$glpfx'"'
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
test -n "$PRIPTR_PREFIX" && break
done
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5
! printf %s "checking whether INT32_MAX < INTMAX_MAX... " >&6; }
! if test ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
***************
*** 18791,18812 ****
#endif
int test[CONDITION ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes
! else
! gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5
! $as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; }
if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then
INT32_MAX_LT_INTMAX_MAX=1;
else
--- 19759,19783 ----
#endif
int test[CONDITION ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes
! else case e in #(
! e) gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5
! printf "%s\n" "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; }
if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then
INT32_MAX_LT_INTMAX_MAX=1;
else
***************
*** 18816,18827 ****
if test $APPLE_UNIVERSAL_BUILD = 0; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5
! $as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; }
! if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
--- 19787,19799 ----
if test $APPLE_UNIVERSAL_BUILD = 0; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5
! printf %s "checking whether INT64_MAX == LONG_MAX... " >&6; }
! if test ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
***************
*** 18843,18864 ****
#endif
int test[CONDITION ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes
! else
! gl_cv_test_INT64_MAX_EQ_LONG_MAX=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5
! $as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; }
if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then
INT64_MAX_EQ_LONG_MAX=1;
else
--- 19815,19839 ----
#endif
int test[CONDITION ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes
! else case e in #(
! e) gl_cv_test_INT64_MAX_EQ_LONG_MAX=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5
! printf "%s\n" "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; }
if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then
INT64_MAX_EQ_LONG_MAX=1;
else
***************
*** 18870,18881 ****
INT64_MAX_EQ_LONG_MAX=-1
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5
! $as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; }
! if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
--- 19845,19857 ----
INT64_MAX_EQ_LONG_MAX=-1
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5
! printf %s "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; }
! if test ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
***************
*** 18897,18918 ****
#endif
int test[CONDITION ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes
! else
! gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5
! $as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; }
if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then
UINT32_MAX_LT_UINTMAX_MAX=1;
else
--- 19873,19897 ----
#endif
int test[CONDITION ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes
! else case e in #(
! e) gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5
! printf "%s\n" "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; }
if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then
UINT32_MAX_LT_UINTMAX_MAX=1;
else
***************
*** 18922,18933 ****
if test $APPLE_UNIVERSAL_BUILD = 0; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5
! $as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; }
! if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
--- 19901,19913 ----
if test $APPLE_UNIVERSAL_BUILD = 0; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5
! printf %s "checking whether UINT64_MAX == ULONG_MAX... " >&6; }
! if test ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Work also in C++ mode. */
#define __STDC_LIMIT_MACROS 1
***************
*** 18949,18970 ****
#endif
int test[CONDITION ? 1 : -1];
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes
! else
! gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5
! $as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; }
if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then
UINT64_MAX_EQ_ULONG_MAX=1;
else
--- 19929,19953 ----
#endif
int test[CONDITION ? 1 : -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes
! else case e in #(
! e) gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5
! printf "%s\n" "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; }
if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then
UINT64_MAX_EQ_ULONG_MAX=1;
else
***************
*** 18983,18998 ****
- for ac_func in lchown
- do :
ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown"
! if test "x$ac_cv_func_lchown" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LCHOWN 1
! _ACEOF
fi
- done
if test $ac_cv_func_lchown = no; then
HAVE_LCHOWN=0
--- 19966,19977 ----
ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown"
! if test "x$ac_cv_func_lchown" = xyes
! then :
! printf "%s\n" "#define HAVE_LCHOWN 1" >>confdefs.h
fi
if test $ac_cv_func_lchown = no; then
HAVE_LCHOWN=0
***************
*** 19034,19040 ****
! $as_echo "#define GNULIB_TEST_LCHOWN 1" >>confdefs.h
--- 20013,20019 ----
! printf "%s\n" "#define GNULIB_TEST_LCHOWN 1" >>confdefs.h
***************
*** 19099,19106 ****
! $as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h
!
--- 20078,20084 ----
! printf "%s\n" "#define GNULIB_TEST_LSTAT 1" >>confdefs.h
***************
*** 19108,19156 ****
! 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 :
! case "$host_os" in
! # Guess yes on platforms where we know the result.
! *-gnu* | gnu* | freebsd* | netbsd* | openbsd* \
! | hpux* | solaris* | cygwin* | mingw*)
! ac_cv_func_malloc_0_nonnull=yes ;;
! # If we don't know, assume the worst.
! *) ac_cv_func_malloc_0_nonnull=no ;;
! esac
!
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! # include <stdlib.h>
! #else
! char *malloc ();
! #endif
int
! main ()
{
! char *p = malloc (0);
! int result = !p;
! free (p);
! return result;
;
return 0;
}
--- 20086,20119 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
! printf %s "checking for GNU libc compatible malloc... " >&6; }
! if test ${ac_cv_func_malloc_0_nonnull+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
! case "$host_os" in # ((
! # Guess yes on platforms where we know the result.
! *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
! | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
! ac_cv_func_malloc_0_nonnull=yes ;;
! # If we don't know, assume the worst.
! *) ac_cv_func_malloc_0_nonnull=no ;;
! esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #include <stdlib.h>
int
! main (void)
{
! void *p = malloc (0);
! int result = !p;
! free (p);
! return result;
;
return 0;
}
***************
*** 19154,19183 ****
;
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
REPLACE_MALLOC=1
!
fi
--- 20117,20150 ----
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
ac_cv_func_malloc_0_nonnull=yes
! else case e in #(
! e) ac_cv_func_malloc_0_nonnull=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
! printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; }
! if test $ac_cv_func_malloc_0_nonnull = yes
! then :
! printf "%s\n" "#define HAVE_MALLOC_GNU 1" >>confdefs.h
! else case e in #(
! e) printf "%s\n" "#define HAVE_MALLOC_GNU 0" >>confdefs.h
REPLACE_MALLOC=1
! ;;
! esac
fi
***************
*** 19195,19203 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_MALLOC_GNU 1
! _ACEOF
--- 20162,20168 ----
fi
! printf "%s\n" "#define GNULIB_MALLOC_GNU 1" >>confdefs.h
***************
*** 19205,19211 ****
if test $gl_cv_func_malloc_posix = yes; then
! $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
else
REPLACE_MALLOC=1
--- 20170,20176 ----
if test $gl_cv_func_malloc_posix = yes; then
! printf "%s\n" "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
else
REPLACE_MALLOC=1
***************
*** 19234,19240 ****
! $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
--- 20199,20205 ----
! printf "%s\n" "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
***************
*** 19256,19267 ****
! { $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" ;;
--- 20221,20233 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
! printf %s "checking whether mbrtowc handles incomplete characters... " >&6; }
! if test ${gl_cv_func_mbrtowc_incomplete_state+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on AIX and OSF/1.
aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
***************
*** 19269,19278 ****
*) 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 <locale.h>
--- 20235,20245 ----
*) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
esac
if test $LOCALE_JA != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 19301,19330 ****
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" ;;
--- 20268,20302 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_incomplete_state=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_incomplete_state=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
! printf %s "checking whether mbrtowc works as well as mbtowc... " >&6; }
! if test ${gl_cv_func_mbrtowc_sanitycheck+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on Solaris 8.
solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
***************
*** 19332,19341 ****
*) 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 <locale.h>
--- 20304,20314 ----
*) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
esac
if test $LOCALE_ZH_CN != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 19368,19387 ****
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
--- 20341,20364 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_sanitycheck=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_sanitycheck=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
REPLACE_MBSTATE_T=0
case "$gl_cv_func_mbrtowc_incomplete_state" in
***************
*** 19400,19406 ****
if test $ac_cv_func_mbrtowc = no; then
HAVE_MBRTOWC=0
! ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
--- 20377,20383 ----
if test $ac_cv_func_mbrtowc = no; then
HAVE_MBRTOWC=0
! ac_fn_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
***************
*** 19410,19425 ****
#include <time.h>
#include <wchar.h>
! "
! if test "x$ac_cv_have_decl_mbrtowc" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_MBRTOWC $ac_have_decl
! _ACEOF
if test $ac_cv_have_decl_mbrtowc = yes; then
REPLACE_MBRTOWC=1
--- 20387,20401 ----
#include <time.h>
#include <wchar.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_mbrtowc" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_MBRTOWC $ac_have_decl" >>confdefs.h
if test $ac_cv_have_decl_mbrtowc = yes; then
REPLACE_MBRTOWC=1
***************
*** 19431,19442 ****
! { $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" ;;
--- 20407,20419 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
! printf %s "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
! if test ${gl_cv_func_mbrtowc_null_arg1+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on Solaris.
solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
***************
*** 19444,19453 ****
*) 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 <locale.h>
--- 20421,20431 ----
*) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
esac
if test $LOCALE_FR_UTF8 != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 19490,19519 ****
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" ;;
--- 20468,20502 ----
return result;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_null_arg1=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_null_arg1=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_null_arg1" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
! printf %s "checking whether mbrtowc handles a NULL string argument... " >&6; }
! if test ${gl_cv_func_mbrtowc_null_arg2+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on OSF/1.
osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
***************
*** 19521,19530 ****
*) 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 <locale.h>
--- 20504,20514 ----
*) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
esac
if test $LOCALE_FR_UTF8 != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 19555,19586 ****
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" ;;
--- 20539,20575 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_null_arg2=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_null_arg2=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_null_arg2" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
! printf %s "checking whether mbrtowc has a correct return value... " >&6; }
! if test ${gl_cv_func_mbrtowc_retval+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on HP-UX, Solaris, native Windows.
hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
***************
*** 19589,19598 ****
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 <locale.h>
--- 20578,20588 ----
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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 19690,19722 ****
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" ;;
--- 20680,20717 ----
return (found_some_locale ? result : 77);
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_retval=yes
! else case e in #(
! e) if test $? != 77; then
gl_cv_func_mbrtowc_retval=no
fi
! ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_retval" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
! printf %s "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
! if test ${gl_cv_func_mbrtowc_nul_retval+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on Solaris 8 and 9.
solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
***************
*** 19724,19733 ****
*) 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 <locale.h>
--- 20719,20729 ----
*) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
esac
if test $LOCALE_ZH_CN != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 19755,19783 ****
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; }
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5
! $as_echo_n "checking whether mbrtowc works on empty input... " >&6; }
! if ${gl_cv_func_mbrtowc_empty_input+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
case "$host_os" in
# Guess no on AIX and glibc systems.
aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;;
--- 20751,20784 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_nul_retval=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_nul_retval=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_nul_retval" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5
! printf %s "checking whether mbrtowc works on empty input... " >&6; }
! if test ${gl_cv_func_mbrtowc_empty_input+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on AIX and glibc systems.
aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;;
***************
*** 19785,19794 ****
mingw*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
esac
! if test "$cross_compiling" = yes; then :
:
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <wchar.h>
--- 20786,20796 ----
mingw*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
esac
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <wchar.h>
***************
*** 19800,19843 ****
return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_mbrtowc_empty_input=yes
! else
! gl_cv_func_mbrtowc_empty_input=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_mbrtowc_empty_input" >&5
! $as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; }
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5
! $as_echo_n "checking whether the C locale is free of encoding errors... " >&6; }
! if ${gl_cv_C_locale_sans_EILSEQ+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_cv_C_locale_sans_EILSEQ="guessing no"
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on native Windows.
mingw*) gl_cv_C_locale_sans_EILSEQ="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
#include <locale.h>
#include <wchar.h>
int
! main ()
{
int i;
--- 20802,20851 ----
return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_empty_input=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_empty_input=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_empty_input" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5
! printf %s "checking whether the C locale is free of encoding errors... " >&6; }
! if test ${gl_cv_C_locale_sans_EILSEQ+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_cv_C_locale_sans_EILSEQ="guessing no"
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on native Windows.
mingw*) gl_cv_C_locale_sans_EILSEQ="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
#include <locale.h>
#include <wchar.h>
int
! main (void)
{
int i;
***************
*** 19859,19882 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_C_locale_sans_EILSEQ=yes
! else
! gl_cv_C_locale_sans_EILSEQ=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_C_locale_sans_EILSEQ" >&5
! $as_echo "$gl_cv_C_locale_sans_EILSEQ" >&6; }
case "$gl_cv_func_mbrtowc_null_arg1" in
*yes) ;;
*)
! $as_echo "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
--- 20867,20894 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_C_locale_sans_EILSEQ=yes
! else case e in #(
! e) gl_cv_C_locale_sans_EILSEQ=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_C_locale_sans_EILSEQ" >&5
! printf "%s\n" "$gl_cv_C_locale_sans_EILSEQ" >&6; }
case "$gl_cv_func_mbrtowc_null_arg1" in
*yes) ;;
*)
! printf "%s\n" "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
***************
*** 19884,19890 ****
case "$gl_cv_func_mbrtowc_null_arg2" in
*yes) ;;
*)
! $as_echo "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
--- 20896,20902 ----
case "$gl_cv_func_mbrtowc_null_arg2" in
*yes) ;;
*)
! printf "%s\n" "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
***************
*** 19892,19898 ****
case "$gl_cv_func_mbrtowc_retval" in
*yes) ;;
*)
! $as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
--- 20904,20910 ----
case "$gl_cv_func_mbrtowc_retval" in
*yes) ;;
*)
! printf "%s\n" "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
***************
*** 19900,19906 ****
case "$gl_cv_func_mbrtowc_nul_retval" in
*yes) ;;
*)
! $as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
--- 20912,20918 ----
case "$gl_cv_func_mbrtowc_nul_retval" in
*yes) ;;
*)
! printf "%s\n" "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
***************
*** 19908,19914 ****
case "$gl_cv_func_mbrtowc_empty_input" in
*yes) ;;
*)
! $as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
--- 20920,20926 ----
case "$gl_cv_func_mbrtowc_empty_input" in
*yes) ;;
*)
! printf "%s\n" "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
***************
*** 19916,19922 ****
case $gl_cv_C_locale_sans_EILSEQ in
*yes) ;;
*)
! $as_echo "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
--- 20928,20934 ----
case $gl_cv_C_locale_sans_EILSEQ in
*yes) ;;
*)
! printf "%s\n" "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h
REPLACE_MBRTOWC=1
;;
***************
*** 19950,19956 ****
! $as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
--- 20962,20968 ----
! printf "%s\n" "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
***************
*** 19969,19980 ****
! { $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" ;;
--- 20981,20993 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
! printf %s "checking whether mbrtowc handles incomplete characters... " >&6; }
! if test ${gl_cv_func_mbrtowc_incomplete_state+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on AIX and OSF/1.
aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
***************
*** 19982,19991 ****
*) 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 <locale.h>
--- 20995,21005 ----
*) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
esac
if test $LOCALE_JA != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 20014,20043 ****
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" ;;
--- 21028,21062 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_incomplete_state=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_incomplete_state=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
! printf %s "checking whether mbrtowc works as well as mbtowc... " >&6; }
! if test ${gl_cv_func_mbrtowc_sanitycheck+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
case "$host_os" in
# Guess no on Solaris 8.
solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
***************
*** 20045,20054 ****
*) 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 <locale.h>
--- 21064,21074 ----
*) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
esac
if test $LOCALE_ZH_CN != none; then
! if test "$cross_compiling" = yes
! then :
:
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <locale.h>
***************
*** 20081,20100 ****
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
--- 21101,21124 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mbrtowc_sanitycheck=yes
! else case e in #(
! e) gl_cv_func_mbrtowc_sanitycheck=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
! printf "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
REPLACE_MBSTATE_T=0
case "$gl_cv_func_mbrtowc_incomplete_state" in
***************
*** 20113,20119 ****
if test $ac_cv_func_mbsinit = no; then
HAVE_MBSINIT=0
! ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" "
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
--- 21137,21143 ----
if test $ac_cv_func_mbsinit = no; then
HAVE_MBSINIT=0
! ac_fn_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" "
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
***************
*** 20123,20138 ****
#include <time.h>
#include <wchar.h>
! "
! if test "x$ac_cv_have_decl_mbsinit" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_MBSINIT $ac_have_decl
! _ACEOF
if test $ac_cv_have_decl_mbsinit = yes; then
REPLACE_MBSINIT=1
--- 21147,21161 ----
#include <time.h>
#include <wchar.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_mbsinit" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_MBSINIT $ac_have_decl" >>confdefs.h
if test $ac_cv_have_decl_mbsinit = yes; then
REPLACE_MBSINIT=1
***************
*** 20173,20179 ****
! $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h
--- 21196,21202 ----
! printf "%s\n" "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h
***************
*** 20190,20207 ****
gl_LIBOBJS="$gl_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
--- 21213,21225 ----
gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
! ac_fn_c_check_header_compile "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
! if test "x$ac_cv_header_bp_sym_h" = xyes
! then :
! printf "%s\n" "#define HAVE_BP_SYM_H 1" >>confdefs.h
fi
fi
***************
*** 20215,20221 ****
! $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
--- 21233,21239 ----
! printf "%s\n" "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
***************
*** 20225,20240 ****
- for ac_func in mempcpy
- do :
ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
! if test "x$ac_cv_func_mempcpy" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_MEMPCPY 1
! _ACEOF
fi
- done
if test $ac_cv_func_mempcpy = no; then
HAVE_MEMPCPY=0
--- 21243,21254 ----
ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
! if test "x$ac_cv_func_mempcpy" = xyes
! then :
! printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h
fi
if test $ac_cv_func_mempcpy = no; then
HAVE_MEMPCPY=0
***************
*** 20266,20272 ****
! $as_echo "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h
--- 21280,21286 ----
! printf "%s\n" "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h
***************
*** 20279,20294 ****
HAVE_DECL_MEMRCHR=0
fi
- for ac_func in memrchr
- do :
ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
! if test "x$ac_cv_func_memrchr" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_MEMRCHR 1
! _ACEOF
fi
- done
if test $ac_cv_func_memrchr = no; then
--- 21293,21304 ----
HAVE_DECL_MEMRCHR=0
fi
ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
! if test "x$ac_cv_func_memrchr" = xyes
! then :
! printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h
fi
if test $ac_cv_func_memrchr = no; then
***************
*** 20315,20321 ****
! $as_echo "#define GNULIB_TEST_MEMRCHR 1" >>confdefs.h
--- 21325,21331 ----
! printf "%s\n" "#define GNULIB_TEST_MEMRCHR 1" >>confdefs.h
***************
*** 20324,20336 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing slash" >&5
! $as_echo_n "checking whether mkdir handles trailing slash... " >&6; }
! if ${gl_cv_func_mkdir_trailing_slash_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! rm -rf conftest.dir
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
--- 21334,21348 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing slash" >&5
! printf %s "checking whether mkdir handles trailing slash... " >&6; }
! if test ${gl_cv_func_mkdir_trailing_slash_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) rm -rf conftest.dir
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
***************
*** 20344,20391 ****
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "Known" >/dev/null 2>&1; then :
gl_cv_func_mkdir_trailing_slash_works="guessing yes"
! else
! gl_cv_func_mkdir_trailing_slash_works="guessing no"
fi
! rm -f conftest*
;;
# If we don't know, assume the worst.
*) gl_cv_func_mkdir_trailing_slash_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <sys/types.h>
# include <sys/stat.h>
int
! main ()
{
return mkdir ("conftest.dir/", 0700);
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_mkdir_trailing_slash_works=yes
! else
! gl_cv_func_mkdir_trailing_slash_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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_slash_works" >&5
! $as_echo "$gl_cv_func_mkdir_trailing_slash_works" >&6; }
case "$gl_cv_func_mkdir_trailing_slash_works" in
*yes) ;;
*)
--- 21356,21409 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Known" >/dev/null 2>&1
! then :
gl_cv_func_mkdir_trailing_slash_works="guessing yes"
! else case e in #(
! e) gl_cv_func_mkdir_trailing_slash_works="guessing no" ;;
! esac
fi
! rm -rf conftest*
;;
# If we don't know, assume the worst.
*) gl_cv_func_mkdir_trailing_slash_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <sys/types.h>
# include <sys/stat.h>
int
! main (void)
{
return mkdir ("conftest.dir/", 0700);
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mkdir_trailing_slash_works=yes
! else case e in #(
! e) gl_cv_func_mkdir_trailing_slash_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -rf conftest.dir
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_slash_works" >&5
! printf "%s\n" "$gl_cv_func_mkdir_trailing_slash_works" >&6; }
case "$gl_cv_func_mkdir_trailing_slash_works" in
*yes) ;;
*)
***************
*** 20393,20405 ****
;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing dot" >&5
! $as_echo_n "checking whether mkdir handles trailing dot... " >&6; }
! if ${gl_cv_func_mkdir_trailing_dot_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! rm -rf conftest.dir
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
--- 21411,21425 ----
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing dot" >&5
! printf %s "checking whether mkdir handles trailing dot... " >&6; }
! if test ${gl_cv_func_mkdir_trailing_dot_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) rm -rf conftest.dir
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
***************
*** 20409,20450 ****
*) gl_cv_func_mkdir_trailing_dot_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <sys/types.h>
# include <sys/stat.h>
int
! main ()
{
return !mkdir ("conftest.dir/./", 0700);
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_mkdir_trailing_dot_works=yes
! else
! gl_cv_func_mkdir_trailing_dot_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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_dot_works" >&5
! $as_echo "$gl_cv_func_mkdir_trailing_dot_works" >&6; }
case "$gl_cv_func_mkdir_trailing_dot_works" in
*yes) ;;
*)
REPLACE_MKDIR=1
! $as_echo "#define FUNC_MKDIR_DOT_BUG 1" >>confdefs.h
;;
esac
--- 21429,21474 ----
*) gl_cv_func_mkdir_trailing_dot_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <sys/types.h>
# include <sys/stat.h>
int
! main (void)
{
return !mkdir ("conftest.dir/./", 0700);
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_mkdir_trailing_dot_works=yes
! else case e in #(
! e) gl_cv_func_mkdir_trailing_dot_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -rf conftest.dir
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_dot_works" >&5
! printf "%s\n" "$gl_cv_func_mkdir_trailing_dot_works" >&6; }
case "$gl_cv_func_mkdir_trailing_dot_works" in
*yes) ;;
*)
REPLACE_MKDIR=1
! printf "%s\n" "#define FUNC_MKDIR_DOT_BUG 1" >>confdefs.h
;;
esac
***************
*** 20495,20501 ****
! $as_echo "#define GNULIB_TEST_MKDIRAT 1" >>confdefs.h
--- 21519,21525 ----
! printf "%s\n" "#define GNULIB_TEST_MKDIRAT 1" >>confdefs.h
***************
*** 20508,20521 ****
if test "$gl_cv_func_working_mktime" != yes; then
REPLACE_MKTIME=1
! $as_echo "#define NEED_MKTIME_WORKING 1" >>confdefs.h
fi
case "$host_os" in
mingw*)
REPLACE_MKTIME=1
! $as_echo "#define NEED_MKTIME_WINDOWS 1" >>confdefs.h
;;
esac
--- 21532,21545 ----
if test "$gl_cv_func_working_mktime" != yes; then
REPLACE_MKTIME=1
! printf "%s\n" "#define NEED_MKTIME_WORKING 1" >>confdefs.h
fi
case "$host_os" in
mingw*)
REPLACE_MKTIME=1
! printf "%s\n" "#define NEED_MKTIME_WINDOWS 1" >>confdefs.h
;;
esac
***************
*** 20544,20550 ****
! $as_echo "#define GNULIB_TEST_MKTIME 1" >>confdefs.h
--- 21568,21574 ----
! printf "%s\n" "#define GNULIB_TEST_MKTIME 1" >>confdefs.h
***************
*** 20553,20569 ****
WANT_MKTIME_INTERNAL=0
ac_fn_c_check_func "$LINENO" "__mktime_internal" "ac_cv_func___mktime_internal"
! if test "x$ac_cv_func___mktime_internal" = xyes; then :
!
! $as_echo "#define mktime_internal __mktime_internal" >>confdefs.h
- else
- WANT_MKTIME_INTERNAL=1
! $as_echo "#define NEED_MKTIME_INTERNAL 1" >>confdefs.h
fi
--- 21577,21595 ----
WANT_MKTIME_INTERNAL=0
ac_fn_c_check_func "$LINENO" "__mktime_internal" "ac_cv_func___mktime_internal"
! if test "x$ac_cv_func___mktime_internal" = xyes
! then :
+ printf "%s\n" "#define mktime_internal __mktime_internal" >>confdefs.h
! else case e in #(
! e) WANT_MKTIME_INTERNAL=1
+ printf "%s\n" "#define NEED_MKTIME_INTERNAL 1" >>confdefs.h
+ ;;
+ esac
fi
***************
*** 20608,20616 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_MSVC_NOTHROW 1
! _ACEOF
--- 21634,21640 ----
fi
! printf "%s\n" "#define GNULIB_MSVC_NOTHROW 1" >>confdefs.h
***************
*** 20623,20629 ****
! $as_echo "#define my_strftime nstrftime" >>confdefs.h
--- 21647,21653 ----
! printf "%s\n" "#define my_strftime nstrftime" >>confdefs.h
***************
*** 20638,20654 ****
if test "$gl_cv_macro_O_CLOEXEC" != yes; then
REPLACE_OPEN=1
fi
! { $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].*)
--- 21662,21680 ----
if test "$gl_cv_macro_O_CLOEXEC" != yes; then
REPLACE_OPEN=1
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
! printf %s "checking whether open recognizes a trailing slash... " >&6; }
! if test ${gl_cv_func_open_slash+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # 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].*)
***************
*** 20657,20664 ****
gl_cv_func_open_slash="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
--- 21683,21690 ----
gl_cv_func_open_slash="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
***************
*** 20677,20700 ****
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
;;
--- 21703,21730 ----
return result;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_open_slash=yes
! else case e in #(
! e) gl_cv_func_open_slash=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -f conftest.sl conftest.tmp conftest.lnk
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5
! printf "%s\n" "$gl_cv_func_open_slash" >&6; }
case "$gl_cv_func_open_slash" in
*no)
! printf "%s\n" "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
REPLACE_OPEN=1
;;
***************
*** 20744,20750 ****
! $as_echo "#define GNULIB_TEST_OPEN 1" >>confdefs.h
--- 21774,21780 ----
! printf "%s\n" "#define GNULIB_TEST_OPEN 1" >>confdefs.h
***************
*** 20786,20794 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_OPENAT 1
! _ACEOF
--- 21816,21822 ----
fi
! printf "%s\n" "#define GNULIB_OPENAT 1" >>confdefs.h
***************
*** 20801,20823 ****
! $as_echo "#define GNULIB_TEST_OPENAT 1" >>confdefs.h
- for ac_func in opendir
- do :
ac_fn_c_check_func "$LINENO" "opendir" "ac_cv_func_opendir"
! if test "x$ac_cv_func_opendir" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_OPENDIR 1
! _ACEOF
fi
- done
if test $ac_cv_func_opendir = no; then
HAVE_OPENDIR=0
--- 21829,21847 ----
! printf "%s\n" "#define GNULIB_TEST_OPENAT 1" >>confdefs.h
ac_fn_c_check_func "$LINENO" "opendir" "ac_cv_func_opendir"
! if test "x$ac_cv_func_opendir" = xyes
! then :
! printf "%s\n" "#define HAVE_OPENDIR 1" >>confdefs.h
fi
if test $ac_cv_func_opendir = no; then
HAVE_OPENDIR=0
***************
*** 20864,20870 ****
! $as_echo "#define GNULIB_TEST_OPENDIR 1" >>confdefs.h
--- 21888,21894 ----
! printf "%s\n" "#define GNULIB_TEST_OPENDIR 1" >>confdefs.h
***************
*** 20878,20915 ****
#include <$ac_cv_struct_tm>
"
! if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_TM_TM_ZONE 1
! _ACEOF
fi
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
! $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
else
! ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
! "
! if test "x$ac_cv_have_decl_tzname" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_TZNAME $ac_have_decl
! _ACEOF
!
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
! $as_echo_n "checking for tzname... " >&6; }
! if ${ac_cv_var_tzname+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
#if !HAVE_DECL_TZNAME
--- 21902,21938 ----
#include <$ac_cv_struct_tm>
"
! if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_TM_TM_ZONE 1" >>confdefs.h
fi
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
! printf "%s\n" "#define HAVE_TM_ZONE 1" >>confdefs.h
else
! ac_fn_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_tzname" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
+ printf "%s\n" "#define HAVE_DECL_TZNAME $ac_have_decl" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
! printf %s "checking for tzname... " >&6; }
! if test ${ac_cv_var_tzname+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
#if !HAVE_DECL_TZNAME
***************
*** 20917,20942 ****
#endif
int
! main ()
{
return tzname[0][0];
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
ac_cv_var_tzname=yes
! else
! ac_cv_var_tzname=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_var_tzname" >&5
! $as_echo "$ac_cv_var_tzname" >&6; }
if test $ac_cv_var_tzname = yes; then
! $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
fi
fi
--- 21940,21968 ----
#endif
int
! main (void)
{
return tzname[0][0];
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_var_tzname=yes
! else case e in #(
! e) ac_cv_var_tzname=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
! printf "%s\n" "$ac_cv_var_tzname" >&6; }
if test $ac_cv_var_tzname = yes; then
! printf "%s\n" "#define HAVE_TZNAME 1" >>confdefs.h
fi
fi
***************
*** 20947,20975 ****
! ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
! "
! 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 <errno.h>
! "
! 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
:
--- 21973,21999 ----
! ac_fn_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_program_invocation_name" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
+ printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl" >>confdefs.h
! ac_fn_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl" >>confdefs.h
:
***************
*** 20980,20995 ****
- for ac_func in raise
- do :
ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise"
! if test "x$ac_cv_func_raise" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_RAISE 1
! _ACEOF
fi
- done
if test $ac_cv_func_raise = no; then
HAVE_RAISE=0
--- 22004,22015 ----
ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise"
! if test "x$ac_cv_func_raise" = xyes
! then :
! printf "%s\n" "#define HAVE_RAISE 1" >>confdefs.h
fi
if test $ac_cv_func_raise = no; then
HAVE_RAISE=0
***************
*** 21027,21049 ****
! $as_echo "#define GNULIB_TEST_RAISE 1" >>confdefs.h
- for ac_func in readdir
- do :
ac_fn_c_check_func "$LINENO" "readdir" "ac_cv_func_readdir"
! if test "x$ac_cv_func_readdir" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_READDIR 1
! _ACEOF
fi
- done
if test $ac_cv_func_readdir = no; then
HAVE_READDIR=0
--- 22047,22065 ----
! printf "%s\n" "#define GNULIB_TEST_RAISE 1" >>confdefs.h
ac_fn_c_check_func "$LINENO" "readdir" "ac_cv_func_readdir"
! if test "x$ac_cv_func_readdir" = xyes
! then :
! printf "%s\n" "#define HAVE_READDIR 1" >>confdefs.h
fi
if test $ac_cv_func_readdir = no; then
HAVE_READDIR=0
***************
*** 21072,21078 ****
! $as_echo "#define GNULIB_TEST_READDIR 1" >>confdefs.h
--- 22088,22094 ----
! printf "%s\n" "#define GNULIB_TEST_READDIR 1" >>confdefs.h
***************
*** 21082,21123 ****
if test $ac_cv_func_readlink = no; then
HAVE_READLINK=0
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 <unistd.h>
/* 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_readlink_works="guessing yes" ;;
--- 22098,22145 ----
if test $ac_cv_func_readlink = no; then
HAVE_READLINK=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
! printf %s "checking whether readlink signature is correct... " >&6; }
! if test ${gl_cv_decl_readlink_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
/* Cause compilation failure if original declaration has wrong type. */
ssize_t readlink (const char *, char *, size_t);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_decl_readlink_works=yes
! else case e in #(
! e) gl_cv_decl_readlink_works=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
! printf "%s\n" "$gl_cv_decl_readlink_works" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
! printf %s "checking whether readlink handles trailing slash correctly... " >&6; }
! if test ${gl_cv_func_readlink_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_readlink_works="guessing yes" ;;
***************
*** 21125,21137 ****
*) gl_cv_func_readlink_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main ()
{
char buf[20];
return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
--- 22147,22159 ----
*) gl_cv_func_readlink_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main (void)
{
char buf[20];
return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
***************
*** 21139,21157 ****
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; }
case "$gl_cv_func_readlink_works" in
*yes)
if test "$gl_cv_decl_readlink_works" != yes; then
--- 22161,22183 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_readlink_works=yes
! else case e in #(
! e) gl_cv_func_readlink_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.link conftest.lnk2 ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
! printf "%s\n" "$gl_cv_func_readlink_works" >&6; }
case "$gl_cv_func_readlink_works" in
*yes)
if test "$gl_cv_decl_readlink_works" != yes; then
***************
*** 21160,21166 ****
;;
*)
! $as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
REPLACE_READLINK=1
;;
--- 22186,22192 ----
;;
*)
! printf "%s\n" "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
REPLACE_READLINK=1
;;
***************
*** 21193,21199 ****
! $as_echo "#define GNULIB_TEST_READLINK 1" >>confdefs.h
--- 22219,22225 ----
! printf "%s\n" "#define GNULIB_TEST_READLINK 1" >>confdefs.h
***************
*** 21205,21237 ****
if test $ac_cv_func_readlinkat = no; then
HAVE_READLINKAT=0
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlinkat signature is correct" >&5
! $as_echo_n "checking whether readlinkat signature is correct... " >&6; }
! if ${gl_cv_decl_readlinkat_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
/* Check whether original declaration has correct type. */
ssize_t readlinkat (int, char const *, char *, size_t);
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_decl_readlinkat_works=yes
! else
! gl_cv_decl_readlinkat_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_readlinkat_works" >&5
! $as_echo "$gl_cv_decl_readlinkat_works" >&6; }
# Assume readinkat has the same trailing slash bug as readlink,
# as is the case on Mac Os X 10.10
case "$gl_cv_func_readlink_works" in
--- 22231,22267 ----
if test $ac_cv_func_readlinkat = no; then
HAVE_READLINKAT=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether readlinkat signature is correct" >&5
! printf %s "checking whether readlinkat signature is correct... " >&6; }
! if test ${gl_cv_decl_readlinkat_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
/* Check whether original declaration has correct type. */
ssize_t readlinkat (int, char const *, char *, size_t);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_decl_readlinkat_works=yes
! else case e in #(
! e) gl_cv_decl_readlinkat_works=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlinkat_works" >&5
! printf "%s\n" "$gl_cv_decl_readlinkat_works" >&6; }
# Assume readinkat has the same trailing slash bug as readlink,
# as is the case on Mac Os X 10.10
case "$gl_cv_func_readlink_works" in
***************
*** 21269,21324 ****
! $as_echo "#define GNULIB_TEST_READLINKAT 1" >>confdefs.h
!
!
!
!
!
- 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 realloc" >&5
- $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
- if ${ac_cv_func_realloc_0_nonnull+:} false; then :
- $as_echo_n "(cached) " >&6
- else
- if test "$cross_compiling" = yes; then :
- case "$host_os" in
- # Guess yes on platforms where we know the result.
- *-gnu* | gnu* | freebsd* | netbsd* | openbsd* \
- | hpux* | solaris* | cygwin* | mingw*)
- ac_cv_func_realloc_0_nonnull=yes ;;
- # If we don't know, assume the worst.
- *) ac_cv_func_realloc_0_nonnull=no ;;
- esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! # include <stdlib.h>
! #else
! char *realloc ();
! #endif
int
! main ()
{
! char *p = realloc (0, 0);
! int result = !p;
! free (p);
! return result;
;
return 0;
}
--- 22299,22338 ----
! printf "%s\n" "#define GNULIB_TEST_READLINKAT 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
! printf %s "checking for GNU libc compatible realloc... " >&6; }
! if test ${ac_cv_func_realloc_0_nonnull+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
! case "$host_os" in # ((
! # Guess yes on platforms where we know the result.
! *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
! | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
! ac_cv_func_realloc_0_nonnull=yes ;;
! # If we don't know, assume the worst.
! *) ac_cv_func_realloc_0_nonnull=no ;;
! esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
! #include <stdlib.h>
int
! main (void)
{
! void *p = realloc (0, 0);
! int result = !p;
! free (p);
! return result;
;
return 0;
}
***************
*** 21322,21351 ****
;
return 0;
}
-
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
ac_cv_func_realloc_0_nonnull=yes
! else
! ac_cv_func_realloc_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_realloc_0_nonnull" >&5
! $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
! if test $ac_cv_func_realloc_0_nonnull = yes; then :
! $as_echo "#define HAVE_REALLOC_GNU 1" >>confdefs.h
! else
! $as_echo "#define HAVE_REALLOC_GNU 0" >>confdefs.h
REPLACE_REALLOC=1
!
fi
--- 22336,22369 ----
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
ac_cv_func_realloc_0_nonnull=yes
! else case e in #(
! e) ac_cv_func_realloc_0_nonnull=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
! printf "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; }
! if test $ac_cv_func_realloc_0_nonnull = yes
! then :
! printf "%s\n" "#define HAVE_REALLOC_GNU 1" >>confdefs.h
! else case e in #(
! e) printf "%s\n" "#define HAVE_REALLOC_GNU 0" >>confdefs.h
REPLACE_REALLOC=1
! ;;
! esac
fi
***************
*** 21363,21371 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_REALLOC_GNU 1
! _ACEOF
--- 22381,22387 ----
fi
! printf "%s\n" "#define GNULIB_REALLOC_GNU 1" >>confdefs.h
***************
*** 21373,21379 ****
if test $gl_cv_func_malloc_posix = yes; then
! $as_echo "#define HAVE_REALLOC_POSIX 1" >>confdefs.h
else
REPLACE_REALLOC=1
--- 22389,22395 ----
if test $gl_cv_func_malloc_posix = yes; then
! printf "%s\n" "#define HAVE_REALLOC_POSIX 1" >>confdefs.h
else
REPLACE_REALLOC=1
***************
*** 21402,21408 ****
! $as_echo "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h
--- 22418,22424 ----
! printf "%s\n" "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h
***************
*** 21411,21429 ****
! { $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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
--- 22427,22447 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5
! printf %s "checking whether rename honors trailing slash on destination... " >&6; }
! if test ${gl_cv_func_rename_slash_dst_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
***************
*** 21433,21447 ****
*) gl_cv_func_rename_slash_dst_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdio.h>
# include <stdlib.h>
int
! main ()
{
int result = 0;
if (rename ("conftest.f1", "conftest.f2/") == 0)
--- 22451,22465 ----
*) gl_cv_func_rename_slash_dst_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdio.h>
# include <stdlib.h>
int
! main (void)
{
int result = 0;
if (rename ("conftest.f1", "conftest.f2/") == 0)
***************
*** 21458,21500 ****
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; }
case "$gl_cv_func_rename_slash_dst_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! $as_echo "#define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h
;;
esac
! { $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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
--- 22476,22524 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_rename_slash_dst_works=yes
! else case e in #(
! e) gl_cv_func_rename_slash_dst_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5
! printf "%s\n" "$gl_cv_func_rename_slash_dst_works" >&6; }
case "$gl_cv_func_rename_slash_dst_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! printf "%s\n" "#define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5
! printf %s "checking whether rename honors trailing slash on source... " >&6; }
! if test ${gl_cv_func_rename_slash_src_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
***************
*** 21504,21518 ****
*) gl_cv_func_rename_slash_src_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdio.h>
# include <stdlib.h>
int
! main ()
{
int result = 0;
if (rename ("conftest.f1/", "conftest.d3") == 0)
--- 22528,22542 ----
*) gl_cv_func_rename_slash_src_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdio.h>
# include <stdlib.h>
int
! main (void)
{
int result = 0;
if (rename ("conftest.f1/", "conftest.d3") == 0)
***************
*** 21529,21569 ****
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; }
case "$gl_cv_func_rename_slash_src_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! $as_echo "#define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h
;;
esac
! { $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
! if test $ac_cv_func_link = yes; then
rm -rf conftest.f conftest.f1 conftest.f2
if touch conftest.f conftest.f2 && ln conftest.f conftest.f1 &&
set x `ls -i conftest.f conftest.f1` && test "" = ""; then
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_link_works="guessing yes" ;;
--- 22553,22599 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_rename_slash_src_works=yes
! else case e in #(
! e) gl_cv_func_rename_slash_src_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5
! printf "%s\n" "$gl_cv_func_rename_slash_src_works" >&6; }
case "$gl_cv_func_rename_slash_src_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! printf "%s\n" "#define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5
! printf %s "checking whether rename manages hard links correctly... " >&6; }
! if test ${gl_cv_func_rename_link_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test $ac_cv_func_link = yes; then
rm -rf conftest.f conftest.f1 conftest.f2
if touch conftest.f conftest.f2 && ln conftest.f conftest.f1 &&
set x `ls -i conftest.f conftest.f1` && test "" = ""; then
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_link_works="guessing yes" ;;
***************
*** 21573,21580 ****
*) gl_cv_func_rename_link_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <errno.h>
--- 22603,22610 ----
*) gl_cv_func_rename_link_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <errno.h>
***************
*** 21583,21589 ****
# include <unistd.h>
int
! main ()
{
int result = 0;
if (rename ("conftest.f", "conftest.f1"))
--- 22613,22619 ----
# include <unistd.h>
int
! main (void)
{
int result = 0;
if (rename ("conftest.f", "conftest.f1"))
***************
*** 21608,21620 ****
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
--- 22638,22653 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_rename_link_works=yes
! else case e in #(
! e) gl_cv_func_rename_link_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
else
***************
*** 21624,21652 ****
else
gl_cv_func_rename_link_works=yes
fi
!
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; }
case "$gl_cv_func_rename_link_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! $as_echo "#define RENAME_HARD_LINK_BUG 1" >>confdefs.h
;;
esac
! { $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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_dest_works="guessing yes" ;;
--- 22657,22688 ----
else
gl_cv_func_rename_link_works=yes
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5
! printf "%s\n" "$gl_cv_func_rename_link_works" >&6; }
case "$gl_cv_func_rename_link_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! printf "%s\n" "#define RENAME_HARD_LINK_BUG 1" >>confdefs.h
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5
! printf %s "checking whether rename manages existing destinations correctly... " >&6; }
! if test ${gl_cv_func_rename_dest_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_dest_works="guessing yes" ;;
***************
*** 21656,21670 ****
*) gl_cv_func_rename_dest_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdio.h>
# include <stdlib.h>
int
! main ()
{
int result = 0;
if (rename ("conftest.d1", "conftest.d2") != 0)
--- 22692,22706 ----
*) gl_cv_func_rename_dest_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
# include <stdio.h>
# include <stdlib.h>
int
! main (void)
{
int result = 0;
if (rename ("conftest.d1", "conftest.d2") != 0)
***************
*** 21677,21702 ****
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; }
case "$gl_cv_func_rename_dest_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! $as_echo "#define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
;;
esac
--- 22713,22742 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_rename_dest_works=yes
! else case e in #(
! e) gl_cv_func_rename_dest_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
rm -rf conftest.f conftest.d1 conftest.d2
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5
! printf "%s\n" "$gl_cv_func_rename_dest_works" >&6; }
case "$gl_cv_func_rename_dest_works" in
*yes) ;;
*)
REPLACE_RENAME=1
! printf "%s\n" "#define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
;;
esac
***************
*** 21724,21730 ****
! $as_echo "#define GNULIB_TEST_RENAME 1" >>confdefs.h
--- 22764,22770 ----
! printf "%s\n" "#define GNULIB_TEST_RENAME 1" >>confdefs.h
***************
*** 21733,21750 ****
! for ac_header in linux/fs.h
! do :
! ac_fn_c_check_header_mongrel "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
! if test "x$ac_cv_header_linux_fs_h" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LINUX_FS_H 1
! _ACEOF
fi
- done
-
if test $ac_cv_func_renameat = no; then
HAVE_RENAMEAT=0
--- 22773,22785 ----
! ac_fn_c_check_header_compile "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
! if test "x$ac_cv_header_linux_fs_h" = xyes
! then :
! printf "%s\n" "#define HAVE_LINUX_FS_H 1" >>confdefs.h
fi
if test $ac_cv_func_renameat = no; then
HAVE_RENAMEAT=0
***************
*** 21787,21793 ****
! $as_echo "#define GNULIB_TEST_RENAMEAT 1" >>confdefs.h
--- 22822,22828 ----
! printf "%s\n" "#define GNULIB_TEST_RENAMEAT 1" >>confdefs.h
***************
*** 21796,21813 ****
! for ac_header in linux/fs.h
! do :
! ac_fn_c_check_header_mongrel "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
! if test "x$ac_cv_header_linux_fs_h" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LINUX_FS_H 1
! _ACEOF
fi
- done
-
if test $ac_cv_func_renameat = no; then
HAVE_RENAMEAT=0
--- 22831,22843 ----
! ac_fn_c_check_header_compile "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
! if test "x$ac_cv_header_linux_fs_h" = xyes
! then :
! printf "%s\n" "#define HAVE_LINUX_FS_H 1" >>confdefs.h
fi
if test $ac_cv_func_renameat = no; then
HAVE_RENAMEAT=0
***************
*** 21830,21843 ****
! { $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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
--- 22860,22875 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
! printf %s "checking whether rmdir works... " >&6; }
! if test ${gl_cv_func_rmdir_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) mkdir conftest.dir
touch conftest.file
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
***************
*** 21847,21854 ****
*) gl_cv_func_rmdir_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
#include <errno.h>
--- 22879,22886 ----
*) gl_cv_func_rmdir_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
#include <errno.h>
***************
*** 21859,21865 ****
#endif
int
! main ()
{
int result = 0;
if (!rmdir ("conftest.file/"))
--- 22891,22897 ----
#endif
int
! main (void)
{
int result = 0;
if (!rmdir ("conftest.file/"))
***************
*** 21874,21892 ****
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; }
case "$gl_cv_func_rmdir_works" in
*yes) ;;
*)
--- 22906,22928 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_rmdir_works=yes
! else case e in #(
! e) gl_cv_func_rmdir_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -rf conftest.dir conftest.file ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
! printf "%s\n" "$gl_cv_func_rmdir_works" >&6; }
case "$gl_cv_func_rmdir_works" in
*yes) ;;
*)
***************
*** 21917,21923 ****
! $as_echo "#define GNULIB_TEST_RMDIR 1" >>confdefs.h
--- 22953,22959 ----
! printf "%s\n" "#define GNULIB_TEST_RMDIR 1" >>confdefs.h
***************
*** 21934,21945 ****
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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;;
--- 22970,22983 ----
if test $ac_cv_func_setenv = no; then
HAVE_SETENV=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
! printf %s "checking whether setenv validates arguments... " >&6; }
! if test ${gl_cv_func_setenv_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;;
***************
*** 21947,21954 ****
*) gl_cv_func_setenv_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
--- 22985,22992 ----
*) gl_cv_func_setenv_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
***************
*** 21956,21962 ****
#include <string.h>
int
! main ()
{
int result = 0;
--- 22994,23000 ----
#include <string.h>
int
! main (void)
{
int result = 0;
***************
*** 21978,21995 ****
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; }
case "$gl_cv_func_setenv_works" in
*yes) ;;
*)
--- 23016,23037 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_setenv_works=yes
! else case e in #(
! e) gl_cv_func_setenv_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
! printf "%s\n" "$gl_cv_func_setenv_works" >&6; }
case "$gl_cv_func_setenv_works" in
*yes) ;;
*)
***************
*** 22021,22027 ****
! $as_echo "#define GNULIB_TEST_SETENV 1" >>confdefs.h
--- 23063,23069 ----
! printf "%s\n" "#define GNULIB_TEST_SETENV 1" >>confdefs.h
***************
*** 22039,22050 ****
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 <signal.h>" >&5
! $as_echo_n "checking absolute name of <signal.h>... " >&6; }
! if ${gl_cv_next_signal_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 23081,23093 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_signal_h='<'signal.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
! printf %s "checking absolute name of <signal.h>... " >&6; }
! if test ${gl_cv_next_signal_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 22080,22089 ****
gl_header=$gl_cv_absolute_signal_h
gl_cv_next_signal_h='"'$gl_header'"'
!
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
--- 23123,23133 ----
gl_header=$gl_cv_absolute_signal_h
gl_cv_next_signal_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
! printf "%s\n" "$gl_cv_next_signal_h" >&6; }
fi
NEXT_SIGNAL_H=$gl_cv_next_signal_h
***************
*** 22106,22115 ****
#include <signal.h>
"
! if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
! else
! HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
fi
--- 23150,23161 ----
#include <signal.h>
"
! if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes
! then :
! else case e in #(
! e) HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 ;;
! esac
fi
***************
*** 22122,22148 ****
#include <signal.h>
"
! if test "x$ac_cv_type_sighandler_t" = xyes; then :
! else
! HAVE_SIGHANDLER_T=0
fi
for gl_func in pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <signal.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 23168,23197 ----
#include <signal.h>
"
! if test "x$ac_cv_type_sighandler_t" = xyes
! then :
! else case e in #(
! e) HAVE_SIGHANDLER_T=0 ;;
! esac
fi
for gl_func in pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <signal.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 22150,22168 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 23199,23221 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 22171,22194 ****
! 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. */
--- 23224,23243 ----
! ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
! if test "x$ac_cv_header_stdint_h" = xyes
! then :
! printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
! printf %s "checking for SIZE_MAX... " >&6; }
! if test ${gl_cv_size_max+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_cv_size_max=
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 22203,22225 ****
_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 <stddef.h>
! #include <limits.h>"; 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 <stddef.h>"; then :
! else
! fits_in_uint=
fi
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
--- 23252,23279 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Found it" >/dev/null 2>&1
! then :
gl_cv_size_max=yes
fi
! rm -rf 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 <stddef.h>
! #include <limits.h>"
! then :
! else case e in #(
! e) size_t_bits_minus_1= ;;
! esac
fi
! if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"
! then :
! else case e in #(
! e) fits_in_uint= ;;
! esac
fi
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
***************
*** 22231,22247 ****
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)"
--- 23285,23302 ----
extern unsigned long foo;
int
! main (void)
{
;
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.beam conftest.$ac_ext
fi
if test $fits_in_uint = 1; then
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
***************
*** 22252,22281 ****
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
! { $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 <sys/types.h>
int
! main ()
{
int x = sizeof (ssize_t *) + sizeof (ssize_t);
return !x;
--- 23307,23336 ----
gl_cv_size_max='((size_t)~(size_t)0)'
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
! printf "%s\n" "$gl_cv_size_max" >&6; }
if test "$gl_cv_size_max" != yes; then
! printf "%s\n" "#define SIZE_MAX $gl_cv_size_max" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
! printf %s "checking for ssize_t... " >&6; }
! if test ${gt_cv_ssize_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
int
! main (void)
{
int x = sizeof (ssize_t *) + sizeof (ssize_t);
return !x;
***************
*** 22283,22300 ****
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
--- 23338,23358 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_ssize_t=yes
! else case e in #(
! e) gt_cv_ssize_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
! printf "%s\n" "$gt_cv_ssize_t" >&6; }
if test $gt_cv_ssize_t = no; then
! printf "%s\n" "#define ssize_t int" >>confdefs.h
fi
***************
*** 22307,22323 ****
REPLACE_STAT=1
;;
*)
! { $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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
--- 23365,23383 ----
REPLACE_STAT=1
;;
*)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
! printf %s "checking whether stat handles trailing slashes on files... " >&6; }
! if test ${gl_cv_func_stat_file_slash+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
***************
*** 22325,22337 ****
*) gl_cv_func_stat_file_slash="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/stat.h>
int
! main ()
{
int result = 0;
struct stat st;
--- 23385,23397 ----
*) gl_cv_func_stat_file_slash="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/stat.h>
int
! main (void)
{
int result = 0;
struct stat st;
***************
*** 22347,22370 ****
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_file_slash in
*no)
REPLACE_STAT=1
! $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
;;
esac
case $host_os in
--- 23407,23434 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_stat_file_slash=yes
! else case e in #(
! e) gl_cv_func_stat_file_slash=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.tmp conftest.lnk ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
! printf "%s\n" "$gl_cv_func_stat_file_slash" >&6; }
case $gl_cv_func_stat_file_slash in
*no)
REPLACE_STAT=1
! printf "%s\n" "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
;;
esac
case $host_os in
***************
*** 22415,22421 ****
! $as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h
--- 23479,23485 ----
! printf "%s\n" "#define GNULIB_TEST_STAT 1" >>confdefs.h
***************
*** 22426,22443 ****
ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
! _ACEOF
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5
! $as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; }
! if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
--- 23490,23507 ----
ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1" >>confdefs.h
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5
! printf %s "checking whether struct stat.st_atim is of type struct timespec... " >&6; }
! if test ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
***************
*** 22450,22456 ****
struct stat st;
int
! main ()
{
st.st_atim = ts;
--- 23514,23520 ----
struct stat st;
int
! main (void)
{
st.st_atim = ts;
***************
*** 22459,22517 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes
! else
! ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5
! $as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
! $as_echo "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h
fi
! else
! ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
! _ACEOF
! else
! ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
! _ACEOF
! else
! ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1
! _ACEOF
fi
!
fi
!
fi
!
fi
--- 23523,23584 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes
! else case e in #(
! e) ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5
! printf "%s\n" "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
! printf "%s\n" "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h
fi
! else case e in #(
! e) ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1" >>confdefs.h
! else case e in #(
! e) ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMENSEC 1" >>confdefs.h
! else case e in #(
! e) ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1" >>confdefs.h
fi
! ;;
! esac
fi
! ;;
! esac
fi
! ;;
! esac
fi
***************
*** 22521,22582 ****
ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
! _ACEOF
! else
! ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
! _ACEOF
! else
! ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1
! _ACEOF
fi
!
fi
!
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_STATAT 1
! _ACEOF
STDARG_H=''
NEXT_STDARG_H='<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 <stdarg.h>
int
! main ()
{
#ifndef va_copy
--- 23588,23647 ----
ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1" >>confdefs.h
! else case e in #(
! e) ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1" >>confdefs.h
! else case e in #(
! e) ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes
! then :
! printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1" >>confdefs.h
fi
! ;;
! esac
fi
! ;;
! esac
fi
! printf "%s\n" "#define GNULIB_STATAT 1" >>confdefs.h
STDARG_H=''
NEXT_STDARG_H='<stdarg.h>'
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
! printf %s "checking for va_copy... " >&6; }
! if test ${gl_cv_func_va_copy+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
int
! main (void)
{
#ifndef va_copy
***************
*** 22587,22602 ****
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. */
--- 23652,23670 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_va_copy=yes
! else case e in #(
! e) gl_cv_func_va_copy=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5
! printf "%s\n" "$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. */
***************
*** 22606,22617 ****
_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
--- 23674,23687 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "vaccine" >/dev/null 2>&1
! then :
gl_aixcc=yes
! else case e in #(
! e) gl_aixcc=no ;;
! esac
fi
! rm -rf conftest*
if test $gl_aixcc = yes; then
STDARG_H=stdarg.h
***************
*** 22626,22637 ****
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 <stdarg.h>" >&5
! $as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
! if ${gl_cv_next_stdarg_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 23696,23708 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_stdarg_h='<'stdarg.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
! printf %s "checking absolute name of <stdarg.h>... " >&6; }
! if test ${gl_cv_next_stdarg_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 22667,22676 ****
gl_header=$gl_cv_absolute_stdarg_h
gl_cv_next_stdarg_h='"'$gl_header'"'
!
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
--- 23738,23748 ----
gl_header=$gl_cv_absolute_stdarg_h
gl_cv_next_stdarg_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5
! printf "%s\n" "$gl_cv_next_stdarg_h" >&6; }
fi
NEXT_STDARG_H=$gl_cv_next_stdarg_h
***************
*** 22694,22708 ****
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 <stdarg.h>
int
! main ()
{
#ifndef __va_copy
--- 23766,23781 ----
saved_as_echo_n="$as_echo_n"
as_echo_n=':'
! if test ${gl_cv_func___va_copy+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
int
! main (void)
{
#ifndef __va_copy
***************
*** 22713,22736 ****
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
--- 23786,23812 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func___va_copy=yes
! else case e in #(
! e) gl_cv_func___va_copy=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
as_echo_n="$saved_as_echo_n"
if test $gl_cv_func___va_copy = yes; then
! printf "%s\n" "#define va_copy __va_copy" >>confdefs.h
else
! printf "%s\n" "#define va_copy gl_va_copy" >>confdefs.h
fi
fi
***************
*** 22780,22822 ****
ac_fn_c_check_type "$LINENO" "max_align_t" "ac_cv_type_max_align_t" "#include <stddef.h>
"
! if test "x$ac_cv_type_max_align_t" = xyes; then :
! else
! HAVE_MAX_ALIGN_T=0; STDDEF_H=stddef.h
fi
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 <stddef.h>
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
--- 23856,23904 ----
ac_fn_c_check_type "$LINENO" "max_align_t" "ac_cv_type_max_align_t" "#include <stddef.h>
"
! if test "x$ac_cv_type_max_align_t" = xyes
! then :
! else case e in #(
! e) HAVE_MAX_ALIGN_T=0; STDDEF_H=stddef.h ;;
! esac
fi
if test $gt_cv_c_wchar_t = no; then
HAVE_WCHAR_T=0
STDDEF_H=stddef.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
! printf %s "checking whether NULL can be used in arbitrary expressions... " >&6; }
! if test ${gl_cv_decl_null_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stddef.h>
int test[2 * (sizeof NULL == sizeof (void *)) -1];
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_decl_null_works=yes
! else case e in #(
! e) gl_cv_decl_null_works=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
! printf "%s\n" "$gl_cv_decl_null_works" >&6; }
if test $gl_cv_decl_null_works = no; then
REPLACE_NULL=1
STDDEF_H=stddef.h
***************
*** 22842,22853 ****
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 <stddef.h>" >&5
! $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
! if ${gl_cv_next_stddef_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 23924,23936 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_stddef_h='<'stddef.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
! printf %s "checking absolute name of <stddef.h>... " >&6; }
! if test ${gl_cv_next_stddef_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 22883,22892 ****
gl_header=$gl_cv_absolute_stddef_h
gl_cv_next_stddef_h='"'$gl_header'"'
!
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
--- 23966,23976 ----
gl_header=$gl_cv_absolute_stddef_h
gl_cv_next_stddef_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
! printf "%s\n" "$gl_cv_next_stddef_h" >&6; }
fi
NEXT_STDDEF_H=$gl_cv_next_stddef_h
***************
*** 22907,22913 ****
! $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
--- 23991,23997 ----
! printf "%s\n" "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
***************
*** 22921,22932 ****
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 <stdio.h>" >&5
! $as_echo_n "checking absolute name of <stdio.h>... " >&6; }
! if ${gl_cv_next_stdio_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 24005,24017 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_stdio_h='<'stdio.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
! printf %s "checking absolute name of <stdio.h>... " >&6; }
! if test ${gl_cv_next_stdio_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 22962,22971 ****
gl_header=$gl_cv_absolute_stdio_h
gl_cv_next_stdio_h='"'$gl_header'"'
!
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
--- 24047,24057 ----
gl_header=$gl_cv_absolute_stdio_h
gl_cv_next_stdio_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
! printf "%s\n" "$gl_cv_next_stdio_h" >&6; }
fi
NEXT_STDIO_H=$gl_cv_next_stdio_h
***************
*** 22982,22993 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5
! $as_echo_n "checking which flavor of printf attribute matches inttypes macros... " >&6; }
! if ${gl_cv_func_printf_attribute_flavor+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define __STDC_FORMAT_MACROS 1
--- 24068,24080 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5
! printf %s "checking which flavor of printf attribute matches inttypes macros... " >&6; }
! if test ${gl_cv_func_printf_attribute_flavor+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define __STDC_FORMAT_MACROS 1
***************
*** 23002,23043 ****
#endif
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_func_printf_attribute_flavor=system
! else
! gl_cv_func_printf_attribute_flavor=gnu
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5
! $as_echo "$gl_cv_func_printf_attribute_flavor" >&6; }
if test "$gl_cv_func_printf_attribute_flavor" = gnu; then
! $as_echo "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h
fi
GNULIB_FSCANF=1
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_FSCANF 1
! _ACEOF
GNULIB_SCANF=1
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_SCANF 1
! _ACEOF
GNULIB_FGETC=1
--- 24089,24129 ----
#endif
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_printf_attribute_flavor=system
! else case e in #(
! e) gl_cv_func_printf_attribute_flavor=gnu ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5
! printf "%s\n" "$gl_cv_func_printf_attribute_flavor" >&6; }
if test "$gl_cv_func_printf_attribute_flavor" = gnu; then
! printf "%s\n" "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h
fi
GNULIB_FSCANF=1
! printf "%s\n" "#define GNULIB_FSCANF 1" >>confdefs.h
GNULIB_SCANF=1
! printf "%s\n" "#define GNULIB_SCANF 1" >>confdefs.h
GNULIB_FGETC=1
***************
*** 23062,23079 ****
for gl_func in dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 24148,24166 ----
for gl_func in dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 23081,23099 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 24168,24190 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 23114,23125 ****
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 <stdlib.h>" >&5
! $as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
! if ${gl_cv_next_stdlib_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 24205,24217 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_stdlib_h='<'stdlib.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
! printf %s "checking absolute name of <stdlib.h>... " >&6; }
! if test ${gl_cv_next_stdlib_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 23155,23164 ****
gl_header=$gl_cv_absolute_stdlib_h
gl_cv_next_stdlib_h='"'$gl_header'"'
!
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
--- 24247,24257 ----
gl_header=$gl_cv_absolute_stdlib_h
gl_cv_next_stdlib_h='"'$gl_header'"'
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
! printf "%s\n" "$gl_cv_next_stdlib_h" >&6; }
fi
NEXT_STDLIB_H=$gl_cv_next_stdlib_h
***************
*** 23177,23189 ****
for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r qsort_r random random_r reallocarray realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtoll strtoull unlockpt unsetenv; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
#if HAVE_SYS_LOADAVG_H
--- 24270,24283 ----
for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r qsort_r random random_r reallocarray realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtoll strtoull unlockpt unsetenv; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
#if HAVE_SYS_LOADAVG_H
***************
*** 23194,23200 ****
#endif
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 24288,24294 ----
#endif
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 23202,23220 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 24296,24318 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 23260,23266 ****
! $as_echo "#define GNULIB_TEST_STRDUP 1" >>confdefs.h
--- 24358,24364 ----
! printf "%s\n" "#define GNULIB_TEST_STRDUP 1" >>confdefs.h
***************
*** 23270,23281 ****
if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; 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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;;
--- 24368,24381 ----
if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
! printf %s "checking for working strerror function... " >&6; }
! if test ${gl_cv_func_working_strerror+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;;
***************
*** 23283,23314 ****
*) gl_cv_func_working_strerror="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
int
! main ()
{
if (!*strerror (-2)) return 1;
;
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; }
case "$gl_cv_func_working_strerror" in
*yes) ;;
*)
--- 24383,24418 ----
*) gl_cv_func_working_strerror="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
int
! main (void)
{
if (!*strerror (-2)) return 1;
;
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_working_strerror=yes
! else case e in #(
! e) gl_cv_func_working_strerror=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
! printf "%s\n" "$gl_cv_func_working_strerror" >&6; }
case "$gl_cv_func_working_strerror" in
*yes) ;;
*)
***************
*** 23334,23342 ****
fi
! cat >>confdefs.h <<_ACEOF
! #define GNULIB_STRERROR 1
! _ACEOF
--- 24438,24444 ----
fi
! printf "%s\n" "#define GNULIB_STRERROR 1" >>confdefs.h
***************
*** 23350,23356 ****
! $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
--- 24452,24458 ----
! printf "%s\n" "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
***************
*** 23372,23389 ****
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
if test "$ac_cv_header_winsock2_h" = yes; then
HAVE_WINSOCK2_H=1
--- 24474,24486 ----
if test $ac_cv_header_sys_socket_h != yes; then
! ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
! if test "x$ac_cv_header_winsock2_h" = xyes
! then :
! printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h
fi
fi
if test "$ac_cv_header_winsock2_h" = yes; then
HAVE_WINSOCK2_H=1
***************
*** 23411,23436 ****
if test $ac_cv_func_strndup = yes; then
HAVE_STRNDUP=1
# 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 <string.h>
#include <stdlib.h>
int
! main ()
{
#if !HAVE_DECL_STRNDUP
--- 24508,24535 ----
if test $ac_cv_func_strndup = yes; then
HAVE_STRNDUP=1
# AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
! printf %s "checking for working strndup... " >&6; }
! if test ${gl_cv_func_strndup_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <string.h>
#include <stdlib.h>
int
! main (void)
{
#if !HAVE_DECL_STRNDUP
***************
*** 23452,23469 ****
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 ;;
esac
--- 24551,24572 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_strndup_works=yes
! else case e in #(
! e) gl_cv_func_strndup_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5
! printf "%s\n" "$gl_cv_func_strndup_works" >&6; }
case $gl_cv_func_strndup_works in
*no) REPLACE_STRNDUP=1 ;;
esac
***************
*** 23494,23500 ****
! $as_echo "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h
--- 24597,24603 ----
! printf "%s\n" "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h
***************
*** 23508,23530 ****
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"
--- 24611,24635 ----
HAVE_DECL_STRNLEN=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
! printf %s "checking for working strnlen... " >&6; }
! if test ${ac_cv_func_strnlen_working+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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 case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
! main (void)
{
#define S "foobar"
***************
*** 23546,23563 ****
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 && :
--- 24651,24672 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
ac_cv_func_strnlen_working=yes
! else case e in #(
! e) ac_cv_func_strnlen_working=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
! printf "%s\n" "$ac_cv_func_strnlen_working" >&6; }
test $ac_cv_func_strnlen_working = no && :
***************
*** 23590,23596 ****
! $as_echo "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h
--- 24699,24705 ----
! printf "%s\n" "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h
***************
*** 23600,23611 ****
if test $ac_cv_func_symlink = no; then
HAVE_SYMLINK=0
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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;;
--- 24709,24722 ----
if test $ac_cv_func_symlink = no; then
HAVE_SYMLINK=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
! printf %s "checking whether symlink handles trailing slash correctly... " >&6; }
! if test ${gl_cv_func_symlink_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;;
***************
*** 23613,23625 ****
*) gl_cv_func_symlink_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main ()
{
int result = 0;
if (!symlink ("a", "conftest.link/"))
--- 24724,24736 ----
*) gl_cv_func_symlink_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
! main (void)
{
int result = 0;
if (!symlink ("a", "conftest.link/"))
***************
*** 23634,23652 ****
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; }
case "$gl_cv_func_symlink_works" in
*yes) ;;
*)
--- 24745,24767 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_symlink_works=yes
! else case e in #(
! e) gl_cv_func_symlink_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.f conftest.link conftest.lnk2 ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
! printf "%s\n" "$gl_cv_func_symlink_works" >&6; }
case "$gl_cv_func_symlink_works" in
*yes) ;;
*)
***************
*** 23678,23684 ****
! $as_echo "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h
--- 24793,24799 ----
! printf "%s\n" "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h
***************
*** 23690,23701 ****
if test $ac_cv_func_symlinkat = no; then
HAVE_SYMLINKAT=0
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlinkat handles trailing slash correctly" >&5
! $as_echo_n "checking whether symlinkat handles trailing slash correctly... " >&6; }
! if ${gl_cv_func_symlinkat_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlinkat_works="guessing yes" ;;
--- 24805,24818 ----
if test $ac_cv_func_symlinkat = no; then
HAVE_SYMLINKAT=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether symlinkat handles trailing slash correctly" >&5
! printf %s "checking whether symlinkat handles trailing slash correctly... " >&6; }
! if test ${gl_cv_func_symlinkat_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlinkat_works="guessing yes" ;;
***************
*** 23703,23716 ****
*) gl_cv_func_symlinkat_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
#include <unistd.h>
int
! main ()
{
int result = 0;
if (!symlinkat ("a", AT_FDCWD, "conftest.link/"))
--- 24820,24833 ----
*) gl_cv_func_symlinkat_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
#include <unistd.h>
int
! main (void)
{
int result = 0;
if (!symlinkat ("a", AT_FDCWD, "conftest.link/"))
***************
*** 23725,23743 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_symlinkat_works=yes
! else
! gl_cv_func_symlinkat_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_symlinkat_works" >&5
! $as_echo "$gl_cv_func_symlinkat_works" >&6; }
case "$gl_cv_func_symlinkat_works" in
*yes) ;;
*)
--- 24842,24864 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_symlinkat_works=yes
! else case e in #(
! e) gl_cv_func_symlinkat_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.f conftest.link conftest.lnk2 ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlinkat_works" >&5
! printf "%s\n" "$gl_cv_func_symlinkat_works" >&6; }
case "$gl_cv_func_symlinkat_works" in
*yes) ;;
*)
***************
*** 23769,23775 ****
! $as_echo "#define GNULIB_TEST_SYMLINKAT 1" >>confdefs.h
--- 24890,24896 ----
! printf "%s\n" "#define GNULIB_TEST_SYMLINKAT 1" >>confdefs.h
***************
*** 23790,23801 ****
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 <sys/stat.h>" >&5
! $as_echo_n "checking absolute name of <sys/stat.h>... " >&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
--- 24911,24923 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_sys_stat_h='<'sys/stat.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
! printf %s "checking absolute name of <sys/stat.h>... " >&6; }
! if test ${gl_cv_next_sys_stat_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_sys_stat_h = yes; then
***************
*** 23837,23846 ****
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
--- 24959,24969 ----
gl_cv_next_sys_stat_h='<'sys/stat.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
! printf "%s\n" "$gl_cv_next_sys_stat_h" >&6; }
fi
NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
***************
*** 23872,23900 ****
ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_type_nlink_t" = xyes; then :
!
! else
!
! $as_echo "#define nlink_t int" >>confdefs.h
fi
for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/stat.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 24995,25026 ----
ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
#include <sys/stat.h>
"
! if test "x$ac_cv_type_nlink_t" = xyes
! then :
+ else case e in #(
+ e)
+ printf "%s\n" "#define nlink_t int" >>confdefs.h
+ ;;
+ esac
fi
for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/stat.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 23902,23920 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 25028,25050 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 23943,23959 ****
! ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include <time.h>
! "
! if test "x$ac_cv_have_decl_localtime_r" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_LOCALTIME_R $ac_have_decl
! _ACEOF
if test $ac_cv_have_decl_localtime_r = no; then
HAVE_DECL_LOCALTIME_R=0
--- 25073,25088 ----
! ac_fn_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include <time.h>
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_localtime_r" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_LOCALTIME_R $ac_have_decl" >>confdefs.h
if test $ac_cv_have_decl_localtime_r = no; then
HAVE_DECL_LOCALTIME_R=0
***************
*** 23962,23977 ****
if test $ac_cv_func_localtime_r = yes; then
HAVE_LOCALTIME_R=1
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
! $as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
! if ${gl_cv_time_r_posix+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
int
! main ()
{
/* We don't need to append 'restrict's to the argument types,
even though the POSIX signature has the 'restrict's,
--- 25091,25107 ----
if test $ac_cv_func_localtime_r = yes; then
HAVE_LOCALTIME_R=1
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
! printf %s "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
! if test ${gl_cv_time_r_posix+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
int
! main (void)
{
/* We don't need to append 'restrict's to the argument types,
even though the POSIX signature has the 'restrict's,
***************
*** 23986,24001 ****
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_time_r_posix=yes
! else
! gl_cv_time_r_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_time_r_posix" >&5
! $as_echo "$gl_cv_time_r_posix" >&6; }
if test $gl_cv_time_r_posix = yes; then
REPLACE_LOCALTIME_R=0
else
--- 25116,25134 ----
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_time_r_posix=yes
! else case e in #(
! e) gl_cv_time_r_posix=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5
! printf "%s\n" "$gl_cv_time_r_posix" >&6; }
if test $gl_cv_time_r_posix = yes; then
REPLACE_LOCALTIME_R=0
else
***************
*** 24031,24037 ****
! $as_echo "#define GNULIB_TEST_TIME_R 1" >>confdefs.h
--- 25164,25170 ----
! printf "%s\n" "#define GNULIB_TEST_TIME_R 1" >>confdefs.h
***************
*** 24042,24052 ****
ac_fn_c_check_type "$LINENO" "timezone_t" "ac_cv_type_timezone_t" "#include <time.h>
"
! if test "x$ac_cv_type_timezone_t" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_TIMEZONE_T 1
! _ACEOF
fi
--- 25175,25184 ----
ac_fn_c_check_type "$LINENO" "timezone_t" "ac_cv_type_timezone_t" "#include <time.h>
"
! if test "x$ac_cv_type_timezone_t" = xyes
! then :
! printf "%s\n" "#define HAVE_TIMEZONE_T 1" >>confdefs.h
fi
***************
*** 24078,24084 ****
! $as_echo "#define GNULIB_TEST_TIME_RZ 1" >>confdefs.h
--- 25210,25216 ----
! printf "%s\n" "#define GNULIB_TEST_TIME_RZ 1" >>confdefs.h
***************
*** 24122,24128 ****
! $as_echo "#define GNULIB_TEST_TIMEGM 1" >>confdefs.h
--- 25254,25260 ----
! printf "%s\n" "#define GNULIB_TEST_TIMEGM 1" >>confdefs.h
***************
*** 24136,24147 ****
HAVE_TZSET=0
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tzset clobbers localtime buffer" >&5
! $as_echo_n "checking whether tzset clobbers localtime buffer... " >&6; }
! if ${gl_cv_func_tzset_clobber+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess all is fine on glibc systems.
*-gnu* | gnu*) gl_cv_func_tzset_clobber="guessing no" ;;
--- 25268,25281 ----
HAVE_TZSET=0
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether tzset clobbers localtime buffer" >&5
! printf %s "checking whether tzset clobbers localtime buffer... " >&6; }
! if test ${gl_cv_func_tzset_clobber+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess all is fine on glibc systems.
*-gnu* | gnu*) gl_cv_func_tzset_clobber="guessing no" ;;
***************
*** 24151,24158 ****
*) gl_cv_func_tzset_clobber="guessing yes" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
--- 25285,25292 ----
*) gl_cv_func_tzset_clobber="guessing yes" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <time.h>
***************
*** 24177,24198 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_tzset_clobber=no
! else
! gl_cv_func_tzset_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_tzset_clobber" >&5
! $as_echo "$gl_cv_func_tzset_clobber" >&6; }
! $as_echo "#define HAVE_RUN_TZSET_TEST 1" >>confdefs.h
REPLACE_TZSET=0
--- 25311,25336 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_tzset_clobber=no
! else case e in #(
! e) gl_cv_func_tzset_clobber=yes ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tzset_clobber" >&5
! printf "%s\n" "$gl_cv_func_tzset_clobber" >&6; }
! printf "%s\n" "#define HAVE_RUN_TZSET_TEST 1" >>confdefs.h
REPLACE_TZSET=0
***************
*** 24200,24206 ****
*yes)
REPLACE_TZSET=1
! $as_echo "#define TZSET_CLOBBERS_LOCALTIME 1" >>confdefs.h
--- 25338,25344 ----
*yes)
REPLACE_TZSET=1
! printf "%s\n" "#define TZSET_CLOBBERS_LOCALTIME 1" >>confdefs.h
***************
*** 24238,24244 ****
! $as_echo "#define GNULIB_TEST_TZSET 1" >>confdefs.h
--- 25376,25382 ----
! printf "%s\n" "#define GNULIB_TEST_TZSET 1" >>confdefs.h
***************
*** 24257,24268 ****
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 <unistd.h>" >&5
! $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
! if ${gl_cv_next_unistd_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_unistd_h = yes; then
--- 25395,25407 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_unistd_h='<'unistd.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
! printf %s "checking absolute name of <unistd.h>... " >&6; }
! if test ${gl_cv_next_unistd_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_unistd_h = yes; then
***************
*** 24304,24313 ****
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
--- 25443,25453 ----
gl_cv_next_unistd_h='<'unistd.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
! printf "%s\n" "$gl_cv_next_unistd_h" >&6; }
fi
NEXT_UNISTD_H=$gl_cv_next_unistd_h
***************
*** 24336,24348 ****
for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat truncate ttyname_r unlink unlinkat usleep; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_UNISTD_H
--- 25476,25489 ----
for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat truncate ttyname_r unlink unlinkat usleep; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_UNISTD_H
***************
*** 24359,24365 ****
#endif
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 25500,25506 ----
#endif
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 24367,24385 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 25508,25530 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 24395,24411 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
! $as_echo_n "checking whether unlink honors trailing slashes... " >&6; }
! if ${gl_cv_func_unlink_honors_slashes+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! touch conftest.file
# Assume that if we have lstat, we can also check symlinks.
if test $ac_cv_func_lstat = yes; then
ln -s conftest.file conftest.lnk
fi
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
--- 25540,25558 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
! printf %s "checking whether unlink honors trailing slashes... " >&6; }
! if test ${gl_cv_func_unlink_honors_slashes+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) touch conftest.file
# Assume that if we have lstat, we can also check symlinks.
if test $ac_cv_func_lstat = yes; then
ln -s conftest.file conftest.lnk
fi
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
***************
*** 24415,24422 ****
*) gl_cv_func_unlink_honors_slashes="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_UNISTD_H
# include <unistd.h>
--- 25562,25569 ----
*) gl_cv_func_unlink_honors_slashes="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#if HAVE_UNISTD_H
# include <unistd.h>
***************
*** 24426,24432 ****
#include <errno.h>
int
! main ()
{
int result = 0;
if (!unlink ("conftest.file/"))
--- 25573,25579 ----
#include <errno.h>
int
! main (void)
{
int result = 0;
if (!unlink ("conftest.file/"))
***************
*** 24445,24475 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_unlink_honors_slashes=yes
! else
! gl_cv_func_unlink_honors_slashes=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.file conftest.lnk
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
! $as_echo "$gl_cv_func_unlink_honors_slashes" >&6; }
case "$gl_cv_func_unlink_honors_slashes" in
*no)
REPLACE_UNLINK=1
;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
! $as_echo_n "checking whether unlink of a parent directory fails as it should... " >&6; }
! if ${gl_cv_func_unlink_parent_fails+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! case "$host_os" in
darwin*)
if {
# Use the mktemp program if available. If not available, hide the error
--- 25592,25627 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_unlink_honors_slashes=yes
! else case e in #(
! e) gl_cv_func_unlink_honors_slashes=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.file conftest.lnk ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
! printf "%s\n" "$gl_cv_func_unlink_honors_slashes" >&6; }
case "$gl_cv_func_unlink_honors_slashes" in
*no)
REPLACE_UNLINK=1
;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
! printf %s "checking whether unlink of a parent directory fails as it should... " >&6; }
! if test ${gl_cv_func_unlink_parent_fails+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) case "$host_os" in
darwin*)
if {
# Use the mktemp program if available. If not available, hide the error
***************
*** 24489,24500 ****
mkdir "$tmp/subdir"
GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
export GL_SUBDIR_FOR_UNLINK
! if test "$cross_compiling" = yes; then :
# If we don't know, assume the worst.
gl_cv_func_unlink_parent_fails="guessing no"
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
--- 25641,25653 ----
mkdir "$tmp/subdir"
GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
export GL_SUBDIR_FOR_UNLINK
! if test "$cross_compiling" = yes
! then :
# If we don't know, assume the worst.
gl_cv_func_unlink_parent_fails="guessing no"
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
***************
*** 24515,24527 ****
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_unlink_parent_fails=yes
! else
! gl_cv_func_unlink_parent_fails=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
unset GL_SUBDIR_FOR_UNLINK
--- 25668,25683 ----
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_unlink_parent_fails=yes
! else case e in #(
! e) gl_cv_func_unlink_parent_fails=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
unset GL_SUBDIR_FOR_UNLINK
***************
*** 24534,24548 ****
gl_cv_func_unlink_parent_fails="guessing yes"
;;
esac
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_parent_fails" >&5
! $as_echo "$gl_cv_func_unlink_parent_fails" >&6; }
case "$gl_cv_func_unlink_parent_fails" in
*no)
REPLACE_UNLINK=1
! $as_echo "#define UNLINK_PARENT_BUG 1" >>confdefs.h
;;
esac
--- 25690,25705 ----
gl_cv_func_unlink_parent_fails="guessing yes"
;;
esac
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_parent_fails" >&5
! printf "%s\n" "$gl_cv_func_unlink_parent_fails" >&6; }
case "$gl_cv_func_unlink_parent_fails" in
*no)
REPLACE_UNLINK=1
! printf "%s\n" "#define UNLINK_PARENT_BUG 1" >>confdefs.h
;;
esac
***************
*** 24570,24576 ****
! $as_echo "#define GNULIB_TEST_UNLINK 1" >>confdefs.h
--- 25727,25733 ----
! printf "%s\n" "#define GNULIB_TEST_UNLINK 1" >>confdefs.h
***************
*** 24622,24628 ****
! $as_echo "#define GNULIB_TEST_UNLINKAT 1" >>confdefs.h
--- 25779,25785 ----
! printf "%s\n" "#define GNULIB_TEST_UNLINKAT 1" >>confdefs.h
***************
*** 24632,24658 ****
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
HAVE_UNSETENV=0
else
HAVE_UNSETENV=1
! { $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
--- 25789,25812 ----
if test $ac_cv_have_decl_unsetenv = no; then
HAVE_DECL_UNSETENV=0
fi
ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
! if test "x$ac_cv_func_unsetenv" = xyes
! then :
! printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h
fi
if test $ac_cv_func_unsetenv = no; then
HAVE_UNSETENV=0
else
HAVE_UNSETENV=1
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
! printf %s "checking for unsetenv() return type... " >&6; }
! if test ${gt_cv_func_unsetenv_ret+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#undef _BSD
***************
*** 24665,24699 ****
int unsetenv (const char *name);
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
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 :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
--- 25819,25858 ----
int unsetenv (const char *name);
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gt_cv_func_unsetenv_ret='int'
! else case e in #(
! e) gt_cv_func_unsetenv_ret='void' ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5
! printf "%s\n" "$gt_cv_func_unsetenv_ret" >&6; }
if test $gt_cv_func_unsetenv_ret = 'void'; then
! printf "%s\n" "#define VOID_UNSETENV 1" >>confdefs.h
REPLACE_UNSETENV=1
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
! printf %s "checking whether unsetenv obeys POSIX... " >&6; }
! if test ${gl_cv_func_unsetenv_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
***************
*** 24701,24708 ****
*) gl_cv_func_unsetenv_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
--- 25860,25867 ----
*) gl_cv_func_unsetenv_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
***************
*** 24710,24716 ****
extern char **environ;
int
! main ()
{
char entry1[] = "a=1";
--- 25869,25875 ----
extern char **environ;
int
! main (void)
{
char entry1[] = "a=1";
***************
*** 24733,24750 ****
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; }
case "$gl_cv_func_unsetenv_works" in
*yes) ;;
*)
--- 25892,25913 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_unsetenv_works=yes
! else case e in #(
! e) gl_cv_func_unsetenv_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
! printf "%s\n" "$gl_cv_func_unsetenv_works" >&6; }
case "$gl_cv_func_unsetenv_works" in
*yes) ;;
*)
***************
*** 24780,24786 ****
! $as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h
--- 25943,25949 ----
! printf "%s\n" "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h
***************
*** 24822,24828 ****
! $as_echo "#define GNULIB_TEST_UTIME 1" >>confdefs.h
--- 25985,25991 ----
! printf "%s\n" "#define GNULIB_TEST_UTIME 1" >>confdefs.h
***************
*** 24842,24853 ****
if test $gl_cv_have_include_next = yes; then
gl_cv_next_utime_h='<'utime.h'>'
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <utime.h>" >&5
! $as_echo_n "checking absolute name of <utime.h>... " >&6; }
! if ${gl_cv_next_utime_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_utime_h = yes; then
--- 26005,26017 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_utime_h='<'utime.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <utime.h>" >&5
! printf %s "checking absolute name of <utime.h>... " >&6; }
! if test ${gl_cv_next_utime_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_utime_h = yes; then
***************
*** 24889,24898 ****
gl_cv_next_utime_h='<'utime.h'>'
fi
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_utime_h" >&5
! $as_echo "$gl_cv_next_utime_h" >&6; }
fi
NEXT_UTIME_H=$gl_cv_next_utime_h
--- 26053,26063 ----
gl_cv_next_utime_h='<'utime.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_utime_h" >&5
! printf "%s\n" "$gl_cv_next_utime_h" >&6; }
fi
NEXT_UTIME_H=$gl_cv_next_utime_h
***************
*** 24937,24954 ****
for gl_func in utime; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <utime.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 26102,26120 ----
for gl_func in utime; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <utime.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 24956,24974 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 26122,26144 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 24982,24994 ****
if test $ac_cv_func_futimens = no && test $ac_cv_func_futimesat = yes; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether futimesat handles NULL file" >&5
! $as_echo_n "checking whether futimesat handles NULL file... " >&6; }
! if ${gl_cv_func_futimesat_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! touch conftest.file
! if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_futimesat_works="guessing yes" ;;
--- 26152,26166 ----
if test $ac_cv_func_futimens = no && test $ac_cv_func_futimesat = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether futimesat handles NULL file" >&5
! printf %s "checking whether futimesat handles NULL file... " >&6; }
! if test ${gl_cv_func_futimesat_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) touch conftest.file
! if test "$cross_compiling" = yes
! then :
case "$host_os" in
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_futimesat_works="guessing yes" ;;
***************
*** 24996,25003 ****
*) gl_cv_func_futimesat_works="guessing no" ;;
esac
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stddef.h>
--- 26168,26175 ----
*) gl_cv_func_futimesat_works="guessing no" ;;
esac
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stddef.h>
***************
*** 25005,25011 ****
#include <fcntl.h>
int
! main ()
{
int fd = open ("conftest.file", O_RDWR);
if (fd < 0) return 1;
--- 26177,26183 ----
#include <fcntl.h>
int
! main (void)
{
int fd = open ("conftest.file", O_RDWR);
if (fd < 0) return 1;
***************
*** 25015,25038 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_futimesat_works=yes
! else
! gl_cv_func_futimesat_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.file
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_futimesat_works" >&5
! $as_echo "$gl_cv_func_futimesat_works" >&6; }
case "$gl_cv_func_futimesat_works" in
*yes) ;;
*)
! $as_echo "#define FUTIMESAT_NULL_BUG 1" >>confdefs.h
;;
esac
--- 26187,26214 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_futimesat_works=yes
! else case e in #(
! e) gl_cv_func_futimesat_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! rm -f conftest.file ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_futimesat_works" >&5
! printf "%s\n" "$gl_cv_func_futimesat_works" >&6; }
case "$gl_cv_func_futimesat_works" in
*yes) ;;
*)
! printf "%s\n" "#define FUTIMESAT_NULL_BUG 1" >>confdefs.h
;;
esac
***************
*** 25045,25059 ****
if test $ac_cv_func_utimensat = no; then
HAVE_UTIMENSAT=0
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utimensat works" >&5
! $as_echo_n "checking whether utimensat works... " >&6; }
! if ${gl_cv_func_utimensat_works+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test "$cross_compiling" = yes; then :
gl_cv_func_utimensat_works="guessing yes"
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
--- 26221,26237 ----
if test $ac_cv_func_utimensat = no; then
HAVE_UTIMENSAT=0
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether utimensat works" >&5
! printf %s "checking whether utimensat works... " >&6; }
! if test ${gl_cv_func_utimensat_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test "$cross_compiling" = yes
! then :
gl_cv_func_utimensat_works="guessing yes"
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fcntl.h>
***************
*** 25061,25067 ****
#include <unistd.h>
int
! main ()
{
int result = 0;
const char *f = "conftest.file";
--- 26239,26245 ----
#include <unistd.h>
int
! main (void)
{
int result = 0;
const char *f = "conftest.file";
***************
*** 25103,25120 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"; then :
gl_cv_func_utimensat_works=yes
! else
! gl_cv_func_utimensat_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_utimensat_works" >&5
! $as_echo "$gl_cv_func_utimensat_works" >&6; }
if test "$gl_cv_func_utimensat_works" = no; then
REPLACE_UTIMENSAT=1
fi
--- 26281,26302 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_utimensat_works=yes
! else case e in #(
! e) gl_cv_func_utimensat_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_utimensat_works" >&5
! printf "%s\n" "$gl_cv_func_utimensat_works" >&6; }
if test "$gl_cv_func_utimensat_works" = no; then
REPLACE_UTIMENSAT=1
fi
***************
*** 25143,25149 ****
! $as_echo "#define GNULIB_TEST_UTIMENSAT 1" >>confdefs.h
--- 26325,26331 ----
! printf "%s\n" "#define GNULIB_TEST_UTIMENSAT 1" >>confdefs.h
***************
*** 25194,25200 ****
if test $ac_cv_func_vasnprintf = yes; then
! $as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h
fi
--- 26376,26382 ----
if test $ac_cv_func_vasnprintf = yes; then
! printf "%s\n" "#define REPLACE_VASNPRINTF 1" >>confdefs.h
fi
***************
*** 25209,25221 ****
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
--- 26391,26405 ----
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 case e in #(
+ e)
+ printf "%s\n" "#define ptrdiff_t long" >>confdefs.h
+ ;;
+ esac
fi
***************
*** 25227,25242 ****
fi
- 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
--- 26411,26422 ----
fi
ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
! if test "x$ac_cv_func_vasprintf" = xyes
! then :
! printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
fi
if test $ac_cv_func_vasprintf = no; then
***************
*** 25287,25293 ****
! $as_echo "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h
--- 26467,26473 ----
! printf "%s\n" "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h
***************
*** 25322,25333 ****
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 <wchar.h>" >&5
! $as_echo_n "checking absolute name of <wchar.h>... " >&6; }
! if ${gl_cv_next_wchar_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_wchar_h = yes; then
--- 26502,26514 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_wchar_h='<'wchar.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
! printf %s "checking absolute name of <wchar.h>... " >&6; }
! if test ${gl_cv_next_wchar_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_wchar_h = yes; then
***************
*** 25369,25378 ****
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
--- 26550,26560 ----
gl_cv_next_wchar_h='<'wchar.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
! printf "%s\n" "$gl_cv_next_wchar_h" >&6; }
fi
NEXT_WCHAR_H=$gl_cv_next_wchar_h
***************
*** 25409,25421 ****
for gl_func in 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 wcsftime ; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} 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: <stdio.h> must be included before
--- 26591,26604 ----
for gl_func in 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 wcsftime ; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
***************
*** 25430,25436 ****
#include <wchar.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 26613,26619 ----
#include <wchar.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 25438,25456 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 26621,26643 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 25492,25503 ****
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 <wctype.h>" >&5
! $as_echo_n "checking absolute name of <wctype.h>... " >&6; }
! if ${gl_cv_next_wctype_h+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
if test $ac_cv_header_wctype_h = yes; then
--- 26679,26691 ----
if test $gl_cv_have_include_next = yes; then
gl_cv_next_wctype_h='<'wctype.h'>'
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
! printf %s "checking absolute name of <wctype.h>... " >&6; }
! if test ${gl_cv_next_wctype_h+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
if test $ac_cv_header_wctype_h = yes; then
***************
*** 25539,25548 ****
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
--- 26727,26737 ----
gl_cv_next_wctype_h='<'wctype.h'>'
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
! printf "%s\n" "$gl_cv_next_wctype_h" >&6; }
fi
NEXT_WCTYPE_H=$gl_cv_next_wctype_h
***************
*** 25560,25572 ****
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 <stdlib.h>
--- 26749,26763 ----
if test $ac_cv_header_wctype_h = yes; then
if test $ac_cv_func_iswcntrl = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
! printf %s "checking whether iswcntrl works... " >&6; }
! if test ${gl_cv_func_iswcntrl_works+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
! if test "$cross_compiling" = yes
! then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
***************
*** 25574,25595 ****
Linux libc5 i18n is broken.
#endif
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_func_iswcntrl_works="guessing yes"
! else
! gl_cv_func_iswcntrl_works="guessing 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: <stdio.h> must be
--- 26765,26788 ----
Linux libc5 i18n is broken.
#endif
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_func_iswcntrl_works="guessing yes"
! else case e in #(
! e) gl_cv_func_iswcntrl_works="guessing no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
***************
*** 25604,25622 ****
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
--- 26797,26819 ----
int main () { return iswprint ('x') == 0; }
_ACEOF
! if ac_fn_c_try_run "$LINENO"
! then :
gl_cv_func_iswcntrl_works=yes
! else case e in #(
! e) gl_cv_func_iswcntrl_works=no ;;
! esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
! printf "%s\n" "$gl_cv_func_iswcntrl_works" >&6; }
fi
HAVE_WCTYPE_H=1
else
***************
*** 25637,25657 ****
if test $REPLACE_ISWCNTRL = 1; then
REPLACE_TOWLOWER=1
else
! for ac_func in towlower
! do :
! ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
! if test "x$ac_cv_func_towlower" = xyes; then :
! cat >>confdefs.h <<_ACEOF
! #define HAVE_TOWLOWER 1
! _ACEOF
fi
- done
if test $ac_cv_func_towlower = yes; then
REPLACE_TOWLOWER=0
else
! ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
included before <wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
must be included before <wchar.h>. */
--- 26834,26850 ----
if test $REPLACE_ISWCNTRL = 1; then
REPLACE_TOWLOWER=1
else
! ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
! if test "x$ac_cv_func_towlower" = xyes
! then :
! printf "%s\n" "#define HAVE_TOWLOWER 1" >>confdefs.h
fi
if test $ac_cv_func_towlower = yes; then
REPLACE_TOWLOWER=0
else
! ac_fn_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
included before <wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
must be included before <wchar.h>. */
***************
*** 25663,25678 ****
# include <wctype.h>
#endif
! "
! if test "x$ac_cv_have_decl_towlower" = xyes; then :
ac_have_decl=1
! else
! ac_have_decl=0
fi
!
! cat >>confdefs.h <<_ACEOF
! #define HAVE_DECL_TOWLOWER $ac_have_decl
! _ACEOF
if test $ac_cv_have_decl_towlower = yes; then
REPLACE_TOWLOWER=1
--- 26856,26870 ----
# include <wctype.h>
#endif
! " "$ac_c_undeclared_builtin_options" "CFLAGS"
! if test "x$ac_cv_have_decl_towlower" = xyes
! then :
ac_have_decl=1
! else case e in #(
! e) ac_have_decl=0 ;;
! esac
fi
! printf "%s\n" "#define HAVE_DECL_TOWLOWER $ac_have_decl" >>confdefs.h
if test $ac_cv_have_decl_towlower = yes; then
REPLACE_TOWLOWER=1
***************
*** 25687,25698 ****
:
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: <stdio.h> must be
included before <wchar.h>.
--- 26879,26891 ----
:
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
! printf %s "checking for wctype_t... " >&6; }
! if test ${gl_cv_type_wctype_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
included before <wchar.h>.
***************
*** 25708,25740 ****
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: <stdio.h> must be
included before <wchar.h>.
--- 26901,26937 ----
wctype_t a;
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_type_wctype_t=yes
! else case e in #(
! e) gl_cv_type_wctype_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
! printf "%s\n" "$gl_cv_type_wctype_t" >&6; }
if test $gl_cv_type_wctype_t = no; then
HAVE_WCTYPE_T=0
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
! printf %s "checking for wctrans_t... " >&6; }
! if test ${gl_cv_type_wctrans_t+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
included before <wchar.h>.
***************
*** 25748,25783 ****
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
for gl_func in wctype iswctype wctrans towctrans ; do
! as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
! if eval \${$as_gl_Symbol+:} 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: <stdio.h> must be included before
--- 26945,26984 ----
wctrans_t a;
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_type_wctrans_t=yes
! else case e in #(
! e) gl_cv_type_wctrans_t=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
! printf "%s\n" "$gl_cv_type_wctrans_t" >&6; }
if test $gl_cv_type_wctrans_t = no; then
HAVE_WCTRANS_T=0
fi
for gl_func in wctype iswctype wctrans towctrans ; do
! as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | sed "$as_sed_sh"`
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
! printf %s "checking whether $gl_func is declared without a macro... " >&6; }
! if eval test \${$as_gl_Symbol+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
***************
*** 25793,25799 ****
#include <wctype.h>
int
! main ()
{
#undef $gl_func
(void) $gl_func;
--- 26994,27000 ----
#include <wctype.h>
int
! main (void)
{
#undef $gl_func
(void) $gl_func;
***************
*** 25801,25819 ****
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
eval "$as_gl_Symbol=yes"
! else
! eval "$as_gl_Symbol=no"
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$as_gl_Symbol
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! $as_echo "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
! #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
--- 27002,27024 ----
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
eval "$as_gl_Symbol=yes"
! else case e in #(
! e) eval "$as_gl_Symbol=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
! esac
fi
eval ac_res=\$$as_gl_Symbol
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Symbol"\" = x"yes"
! then :
cat >>confdefs.h <<_ACEOF
! #define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | sed "$as_sed_cpp"` 1
_ACEOF
eval ac_cv_have_decl_$gl_func=yes
***************
*** 25856,25862 ****
! $as_echo "#define GNULIB_TEST_WRITE 1" >>confdefs.h
--- 27061,27067 ----
! printf "%s\n" "#define GNULIB_TEST_WRITE 1" >>confdefs.h
***************
*** 25873,25890 ****
! 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
-
--- 27078,27090 ----
! ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
! if test "x$ac_cv_header_stdint_h" = xyes
! then :
! printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
fi
***************
*** 25935,25977 ****
LIBPATCH_LTLIBDEPS="$gl_ltlibdeps"
! if test -n "$ac_tool_prefix"; then
for ac_prog in ar lib "link -lib"
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_AR+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test -n "$AR"; then
ac_cv_prog_AR="$AR" # 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_AR="$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
AR=$ac_cv_prog_AR
if test -n "$AR"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! $as_echo "$AR" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
--- 27135,27184 ----
LIBPATCH_LTLIBDEPS="$gl_ltlibdeps"
!
! if test -n "$ac_tool_prefix"; then
for ac_prog in ar lib "link -lib"
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_AR+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_AR="$ac_tool_prefix$ac_prog"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! printf "%s\n" "$AR" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 25984,26021 ****
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_AR+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="$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_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! $as_echo "$ac_ct_AR" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
--- 27191,27234 ----
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_prog_ac_ct_AR+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
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_AR="$ac_prog"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
! fi ;;
! esac
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! printf "%s\n" "$ac_ct_AR" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
***************
*** 26027,26034 ****
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
AR=$ac_ct_AR
--- 27240,27247 ----
else
case $cross_compiling:$ac_tool_warned in
yes:)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
***************
*** 26036,26048 ****
fi
: ${AR=ar}
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
! $as_echo_n "checking the archiver ($AR) interface... " >&6; }
! if ${am_cv_ar_interface+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! 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'
--- 27249,27263 ----
fi
: ${AR=ar}
+ : ${ARFLAGS=cr}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
! printf %s "checking the archiver ($AR) interface... " >&6; }
! if test ${am_cv_ar_interface+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) 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'
***************
*** 26053,26064 ****
/* end confdefs.h. */
int some_variable = 0;
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
! am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
--- 27268,27280 ----
/* end confdefs.h. */
int some_variable = 0;
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
! am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
***************
*** 26067,26073 ****
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=lib
--- 27283,27289 ----
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
(eval $am_ar_try) 2>&5
ac_status=$?
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
am_cv_ar_interface=lib
***************
*** 26078,26093 ****
rm -f conftest.lib libconftest.a
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
! $as_echo "$am_cv_ar_interface" >&6; }
case $am_cv_ar_interface in
ar)
--- 27294,27310 ----
rm -f conftest.lib libconftest.a
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
! printf "%s\n" "$am_cv_ar_interface" >&6; }
case $am_cv_ar_interface in
ar)
***************
*** 26108,26122 ****
# 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
--- 27325,27341 ----
# Check whether --enable-gcc-warnings was given.
! if test ${enable_gcc_warnings+y}
! 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 case e in #(
! e) gl_gcc_warnings=no
! ;;
! esac
fi
***************
*** 26129,26169 ****
ac_compiler_gnu=$ac_cv_c_compiler_gnu
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror -Wunknown-warning-option" >&5
! $as_echo_n "checking whether C compiler handles -Werror -Wunknown-warning-option... " >&6; }
! if ${gl_cv_warn_c__Werror__Wunknown_warning_option+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Werror__Wunknown_warning_option=yes
! else
! gl_cv_warn_c__Werror__Wunknown_warning_option=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror__Wunknown_warning_option" >&5
! $as_echo "$gl_cv_warn_c__Werror__Wunknown_warning_option" >&6; }
! if test "x$gl_cv_warn_c__Werror__Wunknown_warning_option" = xyes; then :
gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
! else
! gl_unknown_warnings_are_errors=
fi
ac_ext=c
--- 27348,27394 ----
ac_compiler_gnu=$ac_cv_c_compiler_gnu
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror -Wunknown-warning-option" >&5
! printf %s "checking whether C compiler handles -Werror -Wunknown-warning-option... " >&6; }
! if test ${gl_cv_warn_c__Werror__Wunknown_warning_option+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Werror__Wunknown_warning_option=yes
! else case e in #(
! e) gl_cv_warn_c__Werror__Wunknown_warning_option=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror__Wunknown_warning_option" >&5
! printf "%s\n" "$gl_cv_warn_c__Werror__Wunknown_warning_option" >&6; }
! if test "x$gl_cv_warn_c__Werror__Wunknown_warning_option" = xyes
! then :
gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
! else case e in #(
! e) gl_unknown_warnings_are_errors= ;;
! esac
fi
ac_ext=c
***************
*** 26175,26212 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5
! $as_echo_n "checking whether C compiler handles -Werror... " >&6; }
! if ${gl_cv_warn_c__Werror+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Werror=yes
! else
! gl_cv_warn_c__Werror=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5
! $as_echo "$gl_cv_warn_c__Werror" >&6; }
! if test "x$gl_cv_warn_c__Werror" = xyes; then :
as_fn_append WERROR_CFLAGS " -Werror"
fi
--- 27400,27442 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5
! printf %s "checking whether C compiler handles -Werror... " >&6; }
! if test ${gl_cv_warn_c__Werror+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Werror=yes
! else case e in #(
! e) gl_cv_warn_c__Werror=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5
! printf "%s\n" "$gl_cv_warn_c__Werror" >&6; }
! if test "x$gl_cv_warn_c__Werror" = xyes
! then :
as_fn_append WERROR_CFLAGS " -Werror"
fi
***************
*** 26258,26301 ****
if test -n "$GCC"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5
! $as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; }
! if ${gl_cv_cc_nomfi_supported+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_cc_nomfi_supported=yes
! else
! gl_cv_cc_nomfi_supported=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! CFLAGS="$gl_save_CFLAGS"
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5
! $as_echo "$gl_cv_cc_nomfi_supported" >&6; }
if test "$gl_cv_cc_nomfi_supported" = yes; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5
! $as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; }
! if ${gl_cv_cc_nomfi_needed+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -W -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 27488,27536 ----
if test -n "$GCC"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5
! printf %s "checking whether -Wno-missing-field-initializers is supported... " >&6; }
! if test ${gl_cv_cc_nomfi_supported+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_cc_nomfi_supported=yes
! else case e in #(
! e) gl_cv_cc_nomfi_supported=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! CFLAGS="$gl_save_CFLAGS" ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5
! printf "%s\n" "$gl_cv_cc_nomfi_supported" >&6; }
if test "$gl_cv_cc_nomfi_supported" = yes; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5
! printf %s "checking whether -Wno-missing-field-initializers is needed... " >&6; }
! if test ${gl_cv_cc_nomfi_needed+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -W -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 26308,26364 ****
}
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_cc_nomfi_needed=no
! else
! gl_cv_cc_nomfi_needed=yes
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$gl_save_CFLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5
! $as_echo "$gl_cv_cc_nomfi_needed" >&6; }
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wuninitialized is supported" >&5
! $as_echo_n "checking whether -Wuninitialized is supported... " >&6; }
! if ${gl_cv_cc_uninitialized_supported+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror -Wuninitialized"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_cc_uninitialized_supported=yes
! else
! gl_cv_cc_uninitialized_supported=no
fi
! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! CFLAGS="$gl_save_CFLAGS"
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_uninitialized_supported" >&5
! $as_echo "$gl_cv_cc_uninitialized_supported" >&6; }
fi
--- 27543,27606 ----
}
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_cc_nomfi_needed=no
! else case e in #(
! e) gl_cv_cc_nomfi_needed=yes ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="$gl_save_CFLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5
! printf "%s\n" "$gl_cv_cc_nomfi_needed" >&6; }
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wuninitialized is supported" >&5
! printf %s "checking whether -Wuninitialized is supported... " >&6; }
! if test ${gl_cv_cc_uninitialized_supported+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror -Wuninitialized"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_compile "$LINENO"
! then :
gl_cv_cc_uninitialized_supported=yes
! else case e in #(
! e) gl_cv_cc_uninitialized_supported=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
! CFLAGS="$gl_save_CFLAGS" ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_uninitialized_supported" >&5
! printf "%s\n" "$gl_cv_cc_uninitialized_supported" >&6; }
fi
***************
*** 26531,26554 ****
# Also, AC_COMPUTE_INT requires it to fit in a long; it is 2**63 on
# the only platforms where it does not fit in a long, so make that
# a special case.
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking max safe object size" >&5
! $as_echo_n "checking max safe object size... " >&6; }
if ac_fn_c_compute_int "$LINENO" "LONG_MAX < (PTRDIFF_MAX < (size_t) -1 ? PTRDIFF_MAX : (size_t) -1)
? -1
: PTRDIFF_MAX < (size_t) -1 ? (long) PTRDIFF_MAX : (long) (size_t) -1" "gl_alloc_max" "#include <limits.h>
#include <stddef.h>
#include <stdint.h>
! "; then :
! else
! gl_alloc_max=2147483647
fi
case $gl_alloc_max in
-1) gl_alloc_max=9223372036854775807;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_alloc_max" >&5
! $as_echo "$gl_alloc_max" >&6; }
gl_manywarn_set="$gl_manywarn_set -Walloc-size-larger-than=$gl_alloc_max"
gl_manywarn_set="$gl_manywarn_set -Warray-bounds=2"
gl_manywarn_set="$gl_manywarn_set -Wformat-overflow=2"
--- 27773,27798 ----
# Also, AC_COMPUTE_INT requires it to fit in a long; it is 2**63 on
# the only platforms where it does not fit in a long, so make that
# a special case.
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking max safe object size" >&5
! printf %s "checking max safe object size... " >&6; }
if ac_fn_c_compute_int "$LINENO" "LONG_MAX < (PTRDIFF_MAX < (size_t) -1 ? PTRDIFF_MAX : (size_t) -1)
? -1
: PTRDIFF_MAX < (size_t) -1 ? (long) PTRDIFF_MAX : (long) (size_t) -1" "gl_alloc_max" "#include <limits.h>
#include <stddef.h>
#include <stdint.h>
! "
! then :
! else case e in #(
! e) gl_alloc_max=2147483647 ;;
! esac
fi
case $gl_alloc_max in
-1) gl_alloc_max=9223372036854775807;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_alloc_max" >&5
! printf "%s\n" "$gl_alloc_max" >&6; }
gl_manywarn_set="$gl_manywarn_set -Walloc-size-larger-than=$gl_alloc_max"
gl_manywarn_set="$gl_manywarn_set -Warray-bounds=2"
gl_manywarn_set="$gl_manywarn_set -Wformat-overflow=2"
***************
*** 26607,26650 ****
for w in $ws; do
! as_gl_Warn=`$as_echo "gl_cv_warn_c_$w" | $as_tr_sh`
gl_positive="$w"
case $gl_positive in
-Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;;
esac
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5
! $as_echo_n "checking whether C compiler handles $w... " >&6; }
! if eval \${$as_gl_Warn+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors $gl_positive"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
eval "$as_gl_Warn=yes"
! else
! eval "$as_gl_Warn=no"
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
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
--- 27851,27899 ----
for w in $ws; do
! as_gl_Warn=`printf "%s\n" "gl_cv_warn_c_$w" | sed "$as_sed_sh"`
gl_positive="$w"
case $gl_positive in
-Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;;
esac
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5
! printf %s "checking whether C compiler handles $w... " >&6; }
! if eval test \${$as_gl_Warn+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors $gl_positive"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
eval "$as_gl_Warn=yes"
! else case e in #(
! e) eval "$as_gl_Warn=no" ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
eval ac_res=\$$as_gl_Warn
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! printf "%s\n" "$ac_res" >&6; }
! if eval test \"x\$"$as_gl_Warn"\" = x"yes"
! then :
as_fn_append WARN_CFLAGS " $w"
fi
***************
*** 26652,26765 ****
done
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5
! $as_echo_n "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; }
! if ${gl_cv_warn_c__Wno_missing_field_initializers+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-field-initializers"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Wno_missing_field_initializers=yes
! else
! gl_cv_warn_c__Wno_missing_field_initializers=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_missing_field_initializers" >&5
! $as_echo "$gl_cv_warn_c__Wno_missing_field_initializers" >&6; }
! if test "x$gl_cv_warn_c__Wno_missing_field_initializers" = xyes; then :
as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers"
fi
# We need this one
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5
! $as_echo_n "checking whether C compiler handles -Wno-sign-compare... " >&6; }
! if ${gl_cv_warn_c__Wno_sign_compare+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Wno_sign_compare=yes
! else
! gl_cv_warn_c__Wno_sign_compare=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_sign_compare" >&5
! $as_echo "$gl_cv_warn_c__Wno_sign_compare" >&6; }
! if test "x$gl_cv_warn_c__Wno_sign_compare" = xyes; then :
as_fn_append WARN_CFLAGS " -Wno-sign-compare"
fi
# Too many warnings for now
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5
! $as_echo_n "checking whether C compiler handles -Wno-unused-parameter... " >&6; }
! if ${gl_cv_warn_c__Wno_unused_parameter+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-parameter"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Wno_unused_parameter=yes
! else
! gl_cv_warn_c__Wno_unused_parameter=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_parameter" >&5
! $as_echo "$gl_cv_warn_c__Wno_unused_parameter" >&6; }
! if test "x$gl_cv_warn_c__Wno_unused_parameter" = xyes; then :
as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
fi
--- 27901,28029 ----
done
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5
! printf %s "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; }
! if test ${gl_cv_warn_c__Wno_missing_field_initializers+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-field-initializers"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Wno_missing_field_initializers=yes
! else case e in #(
! e) gl_cv_warn_c__Wno_missing_field_initializers=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_missing_field_initializers" >&5
! printf "%s\n" "$gl_cv_warn_c__Wno_missing_field_initializers" >&6; }
! if test "x$gl_cv_warn_c__Wno_missing_field_initializers" = xyes
! then :
as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers"
fi
# We need this one
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5
! printf %s "checking whether C compiler handles -Wno-sign-compare... " >&6; }
! if test ${gl_cv_warn_c__Wno_sign_compare+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Wno_sign_compare=yes
! else case e in #(
! e) gl_cv_warn_c__Wno_sign_compare=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_sign_compare" >&5
! printf "%s\n" "$gl_cv_warn_c__Wno_sign_compare" >&6; }
! if test "x$gl_cv_warn_c__Wno_sign_compare" = xyes
! then :
as_fn_append WARN_CFLAGS " -Wno-sign-compare"
fi
# Too many warnings for now
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5
! printf %s "checking whether C compiler handles -Wno-unused-parameter... " >&6; }
! if test ${gl_cv_warn_c__Wno_unused_parameter+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-parameter"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Wno_unused_parameter=yes
! else case e in #(
! e) gl_cv_warn_c__Wno_unused_parameter=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_parameter" >&5
! printf "%s\n" "$gl_cv_warn_c__Wno_unused_parameter" >&6; }
! if test "x$gl_cv_warn_c__Wno_unused_parameter" = xyes
! then :
as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
fi
***************
*** 26769,26806 ****
# gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-logical-op" >&5
! $as_echo_n "checking whether C compiler handles -Wno-logical-op... " >&6; }
! if ${gl_cv_warn_c__Wno_logical_op+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Wno_logical_op=yes
! else
! gl_cv_warn_c__Wno_logical_op=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_logical_op" >&5
! $as_echo "$gl_cv_warn_c__Wno_logical_op" >&6; }
! if test "x$gl_cv_warn_c__Wno_logical_op" = xyes; then :
as_fn_append WARN_CFLAGS " -Wno-logical-op"
fi
--- 28033,28075 ----
# gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-logical-op" >&5
! printf %s "checking whether C compiler handles -Wno-logical-op... " >&6; }
! if test ${gl_cv_warn_c__Wno_logical_op+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Wno_logical_op=yes
! else case e in #(
! e) gl_cv_warn_c__Wno_logical_op=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_logical_op" >&5
! printf "%s\n" "$gl_cv_warn_c__Wno_logical_op" >&6; }
! if test "x$gl_cv_warn_c__Wno_logical_op" = xyes
! then :
as_fn_append WARN_CFLAGS " -Wno-logical-op"
fi
***************
*** 26808,26921 ****
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5
! $as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; }
! if ${gl_cv_warn_c__fdiagnostics_show_option+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -fdiagnostics-show-option"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__fdiagnostics_show_option=yes
! else
! gl_cv_warn_c__fdiagnostics_show_option=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__fdiagnostics_show_option" >&5
! $as_echo "$gl_cv_warn_c__fdiagnostics_show_option" >&6; }
! if test "x$gl_cv_warn_c__fdiagnostics_show_option" = xyes; then :
as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -funit-at-a-time" >&5
! $as_echo_n "checking whether C compiler handles -funit-at-a-time... " >&6; }
! if ${gl_cv_warn_c__funit_at_a_time+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -funit-at-a-time"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__funit_at_a_time=yes
! else
! gl_cv_warn_c__funit_at_a_time=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__funit_at_a_time" >&5
! $as_echo "$gl_cv_warn_c__funit_at_a_time" >&6; }
! if test "x$gl_cv_warn_c__funit_at_a_time" = xyes; then :
as_fn_append WARN_CFLAGS " -funit-at-a-time"
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-format-nonliteral" >&5
! $as_echo_n "checking whether C compiler handles -Wno-format-nonliteral... " >&6; }
! if ${gl_cv_warn_c__Wno_format_nonliteral+:} false; then :
! $as_echo_n "(cached) " >&6
! else
!
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-nonliteral"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main ()
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
gl_cv_warn_c__Wno_format_nonliteral=yes
! else
! gl_cv_warn_c__Wno_format_nonliteral=no
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
!
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_format_nonliteral" >&5
! $as_echo "$gl_cv_warn_c__Wno_format_nonliteral" >&6; }
! if test "x$gl_cv_warn_c__Wno_format_nonliteral" = xyes; then :
as_fn_append WARN_CFLAGS " -Wno-format-nonliteral"
fi
--- 28077,28205 ----
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5
! printf %s "checking whether C compiler handles -fdiagnostics-show-option... " >&6; }
! if test ${gl_cv_warn_c__fdiagnostics_show_option+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -fdiagnostics-show-option"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__fdiagnostics_show_option=yes
! else case e in #(
! e) gl_cv_warn_c__fdiagnostics_show_option=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__fdiagnostics_show_option" >&5
! printf "%s\n" "$gl_cv_warn_c__fdiagnostics_show_option" >&6; }
! if test "x$gl_cv_warn_c__fdiagnostics_show_option" = xyes
! then :
as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -funit-at-a-time" >&5
! printf %s "checking whether C compiler handles -funit-at-a-time... " >&6; }
! if test ${gl_cv_warn_c__funit_at_a_time+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -funit-at-a-time"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__funit_at_a_time=yes
! else case e in #(
! e) gl_cv_warn_c__funit_at_a_time=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__funit_at_a_time" >&5
! printf "%s\n" "$gl_cv_warn_c__funit_at_a_time" >&6; }
! if test "x$gl_cv_warn_c__funit_at_a_time" = xyes
! then :
as_fn_append WARN_CFLAGS " -funit-at-a-time"
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-format-nonliteral" >&5
! printf %s "checking whether C compiler handles -Wno-format-nonliteral... " >&6; }
! if test ${gl_cv_warn_c__Wno_format_nonliteral+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_save_compiler_FLAGS="$CFLAGS"
as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-nonliteral"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
! main (void)
{
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
gl_cv_warn_c__Wno_format_nonliteral=yes
! else case e in #(
! e) gl_cv_warn_c__Wno_format_nonliteral=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$gl_save_compiler_FLAGS"
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_format_nonliteral" >&5
! printf "%s\n" "$gl_cv_warn_c__Wno_format_nonliteral" >&6; }
! if test "x$gl_cv_warn_c__Wno_format_nonliteral" = xyes
! then :
as_fn_append WARN_CFLAGS " -Wno-format-nonliteral"
fi
***************
*** 26924,26936 ****
! $as_echo "#define lint 1" >>confdefs.h
! $as_echo "#define _FORTIFY_SOURCE 2" >>confdefs.h
! $as_echo "#define GNULIB_PORTCHECK 1" >>confdefs.h
# We use a slightly smaller set of warning options for lib/.
--- 28208,28220 ----
! printf "%s\n" "#define lint 1" >>confdefs.h
! printf "%s\n" "#define _FORTIFY_SOURCE 2" >>confdefs.h
! printf "%s\n" "#define GNULIB_PORTCHECK 1" >>confdefs.h
# We use a slightly smaller set of warning options for lib/.
***************
*** 26979,27025 ****
fi
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" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
! if test "x$ac_cv_type_off_t" = xyes; then :
!
! else
!
! cat >>confdefs.h <<_ACEOF
! #define off_t long int
! _ACEOF
fi
! 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. */
--- 28263,28305 ----
fi
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 case e in #(
+ e)
+ printf "%s\n" "#define mode_t int" >>confdefs.h
+ ;;
+ esac
fi
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
! if test "x$ac_cv_type_off_t" = xyes
! then :
+ else case e in #(
+ e)
+ printf "%s\n" "#define off_t long int" >>confdefs.h
+ ;;
+ esac
fi
! ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
! if test "x$ac_cv_header_stdint_h" = xyes
! then :
! printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
! printf %s "checking for SIZE_MAX... " >&6; }
! if test ${gl_cv_size_max+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e)
gl_cv_size_max=
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
***************
*** 27034,27056 ****
_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 <stddef.h>
! #include <limits.h>"; 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 <stddef.h>"; then :
! else
! fits_in_uint=
fi
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
--- 28314,28341 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP_TRADITIONAL "Found it" >/dev/null 2>&1
! then :
gl_cv_size_max=yes
fi
! rm -rf 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 <stddef.h>
! #include <limits.h>"
! then :
! else case e in #(
! e) size_t_bits_minus_1= ;;
! esac
fi
! if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"
! then :
! else case e in #(
! e) fits_in_uint= ;;
! esac
fi
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
***************
*** 27062,27078 ****
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)"
--- 28347,28364 ----
extern unsigned long foo;
int
! main (void)
{
;
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.beam conftest.$ac_ext
fi
if test $fits_in_uint = 1; then
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
***************
*** 27083,27107 ****
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
# Check whether --enable-xattr was given.
! if test "${enable_xattr+set}" = set; then :
enableval=$enable_xattr; use_xattr=$enableval
! else
! use_xattr=yes
fi
--- 28369,28394 ----
gl_cv_size_max='((size_t)~(size_t)0)'
fi
fi
! ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
! printf "%s\n" "$gl_cv_size_max" >&6; }
if test "$gl_cv_size_max" != yes; then
! printf "%s\n" "#define SIZE_MAX $gl_cv_size_max" >>confdefs.h
fi
# Check whether --enable-xattr was given.
! if test ${enable_xattr+y}
! then :
enableval=$enable_xattr; use_xattr=$enableval
! else case e in #(
! e) use_xattr=yes ;;
! esac
fi
***************
*** 27109,27199 ****
if test "$use_xattr" = "yes"; then
! for ac_header in attr/error_context.h attr/libattr.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
use_xattr=no
if test $ac_cv_header_attr_libattr_h = yes \
&& test $ac_cv_header_attr_error_context_h = yes; then
xattr_saved_LIBS=$LIBS
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing attr_copy_file" >&5
! $as_echo_n "checking for library containing attr_copy_file... " >&6; }
! if ${ac_cv_search_attr_copy_file+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! ac_func_search_save_LIBS=$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 attr_copy_file ();
int
! main ()
{
return attr_copy_file ();
;
return 0;
}
_ACEOF
! for ac_lib in '' attr; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
! if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_attr_copy_file=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
! if ${ac_cv_search_attr_copy_file+:} false; then :
break
fi
done
! if ${ac_cv_search_attr_copy_file+:} false; then :
! else
! ac_cv_search_attr_copy_file=no
fi
rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS
fi
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_attr_copy_file" >&5
! $as_echo "$ac_cv_search_attr_copy_file" >&6; }
ac_res=$ac_cv_search_attr_copy_file
! if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
test "$ac_cv_search_attr_copy_file" = "none required" ||
LIB_XATTR=$ac_cv_search_attr_copy_file
fi
! for ac_func in attr_copy_file attr_copy_action
! 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
LIBS=$xattr_saved_LIBS
if test $ac_cv_func_attr_copy_file = yes \
--- 28396,28498 ----
if test "$use_xattr" = "yes"; then
! ac_fn_c_check_header_compile "$LINENO" "attr/error_context.h" "ac_cv_header_attr_error_context_h" "$ac_includes_default"
! if test "x$ac_cv_header_attr_error_context_h" = xyes
! then :
! printf "%s\n" "#define HAVE_ATTR_ERROR_CONTEXT_H 1" >>confdefs.h
fi
+ ac_fn_c_check_header_compile "$LINENO" "attr/libattr.h" "ac_cv_header_attr_libattr_h" "$ac_includes_default"
+ if test "x$ac_cv_header_attr_libattr_h" = xyes
+ then :
+ printf "%s\n" "#define HAVE_ATTR_LIBATTR_H 1" >>confdefs.h
! fi
use_xattr=no
if test $ac_cv_header_attr_libattr_h = yes \
&& test $ac_cv_header_attr_error_context_h = yes; then
xattr_saved_LIBS=$LIBS
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing attr_copy_file" >&5
! printf %s "checking for library containing attr_copy_file... " >&6; }
! if test ${ac_cv_search_attr_copy_file+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) ac_func_search_save_LIBS=$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.
! The 'extern "C"' is for builds by C++ compilers;
! although this is not generally supported in C code supporting it here
! has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
! char attr_copy_file (void);
int
! main (void)
{
return attr_copy_file ();
;
return 0;
}
_ACEOF
! for ac_lib in '' attr
! do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_search_attr_copy_file=$ac_res
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
! if test ${ac_cv_search_attr_copy_file+y}
! then :
break
fi
done
! if test ${ac_cv_search_attr_copy_file+y}
! then :
! else case e in #(
! e) ac_cv_search_attr_copy_file=no ;;
! esac
fi
rm conftest.$ac_ext
! LIBS=$ac_func_search_save_LIBS ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_attr_copy_file" >&5
! printf "%s\n" "$ac_cv_search_attr_copy_file" >&6; }
ac_res=$ac_cv_search_attr_copy_file
! if test "$ac_res" != no
! then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
test "$ac_cv_search_attr_copy_file" = "none required" ||
LIB_XATTR=$ac_cv_search_attr_copy_file
fi
! ac_fn_c_check_func "$LINENO" "attr_copy_file" "ac_cv_func_attr_copy_file"
! if test "x$ac_cv_func_attr_copy_file" = xyes
! then :
! printf "%s\n" "#define HAVE_ATTR_COPY_FILE 1" >>confdefs.h
!
! fi
! ac_fn_c_check_func "$LINENO" "attr_copy_action" "ac_cv_func_attr_copy_action"
! if test "x$ac_cv_func_attr_copy_action" = xyes
! then :
! printf "%s\n" "#define HAVE_ATTR_COPY_ACTION 1" >>confdefs.h
fi
LIBS=$xattr_saved_LIBS
if test $ac_cv_func_attr_copy_file = yes \
***************
*** 27202,27211 ****
fi
fi
if test $use_xattr = no; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libattr development library was not found or not usable." >&5
! $as_echo "$as_me: WARNING: libattr development library was not found or not usable." >&2;}
! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU patch will be built without xattr support." >&5
! $as_echo "$as_me: WARNING: GNU patch will be built without xattr support." >&2;}
fi
fi
--- 28501,28510 ----
fi
fi
if test $use_xattr = no; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libattr development library was not found or not usable." >&5
! printf "%s\n" "$as_me: WARNING: libattr development library was not found or not usable." >&2;}
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GNU patch will be built without xattr support." >&5
! printf "%s\n" "$as_me: WARNING: GNU patch will be built without xattr support." >&2;}
fi
fi
***************
*** 27215,27251 ****
! for ac_func in geteuid getuid raise sigaction sigprocmask sigsetmask
! 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
! for ac_header in fcntl.h unistd.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
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DOS-style setmode" >&5
! $as_echo_n "checking for DOS-style setmode... " >&6; }
! if ${ac_cv_func_setmode_dos+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <io.h>
#if HAVE_FCNTL_H
--- 28514,28576 ----
! ac_fn_c_check_func "$LINENO" "geteuid" "ac_cv_func_geteuid"
! if test "x$ac_cv_func_geteuid" = xyes
! then :
! printf "%s\n" "#define HAVE_GETEUID 1" >>confdefs.h
fi
! ac_fn_c_check_func "$LINENO" "getuid" "ac_cv_func_getuid"
! if test "x$ac_cv_func_getuid" = xyes
! then :
! printf "%s\n" "#define HAVE_GETUID 1" >>confdefs.h
! fi
! ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise"
! if test "x$ac_cv_func_raise" = xyes
! then :
! printf "%s\n" "#define HAVE_RAISE 1" >>confdefs.h
fi
+ ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
+ if test "x$ac_cv_func_sigaction" = xyes
+ then :
+ printf "%s\n" "#define HAVE_SIGACTION 1" >>confdefs.h
! fi
! ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
! if test "x$ac_cv_func_sigprocmask" = xyes
! then :
! printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
! fi
! ac_fn_c_check_func "$LINENO" "sigsetmask" "ac_cv_func_sigsetmask"
! if test "x$ac_cv_func_sigsetmask" = xyes
! then :
! printf "%s\n" "#define HAVE_SIGSETMASK 1" >>confdefs.h
!
! fi
!
! ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
! if test "x$ac_cv_header_fcntl_h" = xyes
! then :
! printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
!
! fi
! ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
! if test "x$ac_cv_header_unistd_h" = xyes
! then :
! printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
!
! fi
!
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DOS-style setmode" >&5
! printf %s "checking for DOS-style setmode... " >&6; }
! if test ${ac_cv_func_setmode_dos+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <io.h>
#if HAVE_FCNTL_H
***************
*** 27255,27291 ****
# include <unistd.h>
#endif
int
! main ()
{
int ret = setmode && setmode (1, O_BINARY);
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"; then :
ac_cv_func_setmode_dos=yes
! else
! ac_cv_func_setmode_dos=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_setmode_dos" >&5
! $as_echo "$ac_cv_func_setmode_dos" >&6; }
if test $ac_cv_func_setmode_dos = yes; then
! $as_echo "#define HAVE_SETMODE_DOS 1" >>confdefs.h
fi
# Extract the first word of "ed", so it can be a program name with args.
set dummy ed; 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_path_ED+:} false; then :
! $as_echo_n "(cached) " >&6
! else
! case $ED in
[\\/]* | ?:[\\/]*)
ac_cv_path_ED="$ED" # Let the user override the test with a path.
;;
--- 28580,28620 ----
# include <unistd.h>
#endif
int
! main (void)
{
int ret = setmode && setmode (1, O_BINARY);
;
return 0;
}
_ACEOF
! if ac_fn_c_try_link "$LINENO"
! then :
ac_cv_func_setmode_dos=yes
! else case e in #(
! e) ac_cv_func_setmode_dos=no ;;
! esac
fi
! rm -f core conftest.err conftest.$ac_objext conftest.beam \
! conftest$ac_exeext conftest.$ac_ext ;;
! esac
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setmode_dos" >&5
! printf "%s\n" "$ac_cv_func_setmode_dos" >&6; }
if test $ac_cv_func_setmode_dos = yes; then
! printf "%s\n" "#define HAVE_SETMODE_DOS 1" >>confdefs.h
fi
# Extract the first word of "ed", so it can be a program name with args.
set dummy ed; ac_word=$2
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! printf %s "checking for $ac_word... " >&6; }
! if test ${ac_cv_path_ED+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) case $ED in
[\\/]* | ?:[\\/]*)
ac_cv_path_ED="$ED" # Let the user override the test with a path.
;;
***************
*** 27294,27304 ****
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_path_ED="$as_dir/$ac_word$ac_exec_ext"
! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
--- 28623,28637 ----
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
for ac_exec_ext in '' $ac_executable_extensions; do
! if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
! ac_cv_path_ED="$as_dir$ac_word$ac_exec_ext"
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
***************
*** 27307,27328 ****
test -z "$ac_cv_path_ED" && ac_cv_path_ED="ed"
;;
esac
fi
ED=$ac_cv_path_ED
if test -n "$ED"; then
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ED" >&5
! $as_echo "$ED" >&6; }
else
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! $as_echo "no" >&6; }
fi
! cat >>confdefs.h <<_ACEOF
! #define EDITOR_PROGRAM "$ED"
! _ACEOF
ac_config_files="$ac_config_files Makefile lib/Makefile src/Makefile tests/Makefile"
--- 28640,28660 ----
test -z "$ac_cv_path_ED" && ac_cv_path_ED="ed"
;;
+ esac ;;
esac
fi
ED=$ac_cv_path_ED
if test -n "$ED"; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ED" >&5
! printf "%s\n" "$ED" >&6; }
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
! printf "%s\n" "no" >&6; }
fi
! printf "%s\n" "#define EDITOR_PROGRAM \"$ED\"" >>confdefs.h
ac_config_files="$ac_config_files Makefile lib/Makefile src/Makefile tests/Makefile"
***************
*** 27337,27344 ****
# 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
--- 28669,28676 ----
# 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
***************
*** 27354,27361 ****
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) ;; #(
--- 28686,28693 ----
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
! *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
***************
*** 27368,27381 ****
(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 |
--- 28700,28713 ----
(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 |
***************
*** 27385,27399 ****
/^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
--- 28717,28731 ----
/^ac_cv_env_/b end
t clear
:clear
! s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
if test ! -f "$cache_file" || test -h "$cache_file"; then
cat confcache >"$cache_file"
else
***************
*** 27407,27414 ****
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
--- 28739,28746 ----
fi
fi
else
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
fi
fi
rm -f confcache
***************
*** 27425,27431 ****
for ac_i in : $LIBOBJS; 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"
--- 28757,28763 ----
for ac_i in : $LIBOBJS; 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=`printf "%s\n" "$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"
***************
*** 27444,27457 ****
as_fn_error $? "conditional \"ALPHA_VERSION\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
! { $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='#'
--- 28776,28801 ----
as_fn_error $? "conditional \"ALPHA_VERSION\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
! printf %s "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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
! printf "%s\n" "done" >&6; }
! case $enable_silent_rules in # (((
! yes) AM_DEFAULT_VERBOSITY=0;;
! no) AM_DEFAULT_VERBOSITY=1;;
! esac
! 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
!
if test -n "$EXEEXT"; then
am__EXEEXT_TRUE=
am__EXEEXT_FALSE='#'
***************
*** 27468,27473 ****
--- 28812,28823 ----
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+ # Check whether --enable-year2038 was given.
+ if test ${enable_year2038+y}
+ then :
+ enableval=$enable_year2038;
+ 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
***************
*** 27556,27563 ****
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
--- 28906,28913 ----
ac_write_fail=0
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
as_write_fail=0
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
#! $SHELL
***************
*** 27580,27642 ****
# 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 ||
--- 28930,28994 ----
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
! if test ${ZSH_VERSION+y} && (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 e in #(
! e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+ esac ;;
esac
fi
+
+ # Reset variables that may have inherited troublesome values from
+ # the environment.
+
+ # IFS needs to be set, to space, tab, and newline, in precisely that order.
+ # (If _AS_PATH_WALK were called with IFS unset, it would have the
+ # side effect of setting IFS to empty, thus disabling word splitting.)
+ # Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
! IFS=" "" $as_nl"
!
! PS1='$ '
! PS2='> '
! PS4='+ '
!
! # Ensure predictable behavior from utilities with locale-dependent output.
! LC_ALL=C
! export LC_ALL
! LANGUAGE=C
! export LANGUAGE
!
! # We cannot yet rely on "unset" to work, but we need these variables
! # to be unset--not just set to an empty or harmless value--now, to
! # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
! # also avoids known problems related to "unset" and subshell syntax
! # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
! for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
! do eval test \${$as_var+y} \
! && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! done
!
! # Ensure that fds 0, 1, and 2 are open.
! if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
! if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
! if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
# The user is always right.
! if ${PATH_SEPARATOR+false} :; 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 ||
***************
*** 27645,27657 ****
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 #((
--- 28997,29002 ----
***************
*** 27660,27702 ****
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]
--- 29005,29031 ----
for as_dir in $PATH
do
IFS=$as_save_IFS
! case $as_dir in #(((
! '') as_dir=./ ;;
! */) ;;
! *) as_dir=$as_dir/ ;;
! esac
! 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
! printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# as_fn_error STATUS ERROR [LINENO LOG_FD]
***************
*** 27709,27717 ****
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
--- 29038,29046 ----
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
! printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
! printf "%s\n" "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
***************
*** 27742,27763 ****
{ 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...
--- 29071,29095 ----
{ 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 case e in #(
! e) as_fn_append ()
{
eval $1=\$$1\$2
! } ;;
! esac
fi # as_fn_append
# as_fn_arith ARG...
***************
*** 27765,27780 ****
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) 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
--- 29097,29114 ----
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
! if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
! then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
! else case e in #(
! e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
! } ;;
! esac
fi # as_fn_arith
***************
*** 27801,27807 ****
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! $as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
--- 29135,29141 ----
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
***************
*** 27823,27828 ****
--- 29157,29166 ----
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ # Determine whether it's possible to make 'echo' print without a newline.
+ # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
+ # for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
***************
*** 27836,27841 ****
--- 29174,29185 ----
ECHO_N='-n';;
esac
+ # For backward compatibility with old third-party macros, we provide
+ # the shell variables $as_echo and $as_echo_n. New code should use
+ # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
***************
*** 27847,27855 ****
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
--- 29191,29199 ----
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
***************
*** 27877,27883 ****
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"
--- 29221,29227 ----
as_dirs=
while :; do
case $as_dir in #(
! *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
***************
*** 27886,27892 ****
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
--- 29230,29236 ----
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
***************
*** 27930,27939 ****
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
--- 29274,29285 ----
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
! as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
! as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! as_tr_sh="eval sed '$as_sed_sh'" # deprecated
exec 6>&1
***************
*** 27949,27955 ****
# values after options handling.
ac_log="
This file was extended by GNU patch $as_me 2.7.6, which was
! generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
--- 29295,29301 ----
# values after options handling.
ac_log="
This file was extended by GNU patch $as_me 2.7.6, which was
! generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
***************
*** 27982,27988 ****
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.
--- 29328,29334 ----
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.
***************
*** 28013,28030 ****
$config_commands
Report bugs to <bug-patch@gnu.org>.
! GNU patch home page: <http://www.gnu.org/software/patch/>.
! General help using GNU software: <http://www.gnu.org/gethelp/>."
_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 patch config.status 2.7.6
! 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."
--- 29359,29378 ----
$config_commands
Report bugs to <bug-patch@gnu.org>.
! GNU patch home page: <https://www.gnu.org/software/patch/>.
! General help using GNU software: <https://www.gnu.org/gethelp/>."
_ACEOF
+ ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
+ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
GNU patch config.status 2.7.6
! configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
! Copyright (C) 2023 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
***************
*** 28064,28078 ****
-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'"
--- 29412,29426 ----
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! printf "%s\n" "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c )
! printf "%s\n" "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
case $ac_optarg in
! *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
'') as_fn_error $? "missing file argument" ;;
esac
as_fn_append CONFIG_FILES " '$ac_optarg'"
***************
*** 28080,28102 ****
--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 ;;
--- 29428,29450 ----
--header | --heade | --head | --hea )
$ac_shift
case $ac_optarg in
! *\'*) ac_optarg=`printf "%s\n" "$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 )
! printf "%s\n" "$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 ;;
***************
*** 28117,28123 ****
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 "\$@"
--- 29465,29471 ----
if \$ac_cs_recheck; then
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
shift
! \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
export CONFIG_SHELL
exec "\$@"
***************
*** 28131,28137 ****
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
! $as_echo "$ac_log"
} >&5
_ACEOF
--- 29479,29485 ----
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
! printf "%s\n" "$ac_log"
} >&5
_ACEOF
***************
*** 28139,28145 ****
#
# INIT-COMMANDS
#
! AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
GNUmakefile=$GNUmakefile
_ACEOF
--- 29487,29493 ----
#
# INIT-COMMANDS
#
! AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
GNUmakefile=$GNUmakefile
_ACEOF
***************
*** 28158,28164 ****
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
! *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
done
--- 29506,29512 ----
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
! *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
esac
done
***************
*** 28168,28177 ****
# 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
--- 29516,29525 ----
# 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+y} || CONFIG_FILES=$config_files
! test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
! test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
! test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
fi
# Have a temporary directory for convenience. Make it in the build tree
***************
*** 28179,28185 ****
# 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=
--- 29527,29533 ----
# 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=
***************
*** 28203,28209 ****
# 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
--- 29551,29557 ----
# 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
***************
*** 28361,28373 ****
# 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.
--- 29709,29721 ----
# 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.
***************
*** 28477,28483 ****
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
--- 29825,29831 ----
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
***************
*** 28499,28531 ****
-) 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
--- 29847,29879 ----
-) 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=`printf "%s\n" "$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 '`
! printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
`' by configure.'
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! printf "%s\n" "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
case $configure_input in #(
*\&* | *\|* | *\\* )
! ac_sed_conf_input=`printf "%s\n" "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;;
esac
***************
*** 28542,28548 ****
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
--- 29890,29896 ----
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
***************
*** 28566,28574 ****
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/ ;;
--- 29914,29922 ----
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
! ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
! ac_top_builddir_sub=`printf "%s\n" "$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/ ;;
***************
*** 28630,28637 ****
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='
--- 29978,29985 ----
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! printf "%s\n" "$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='
***************
*** 28644,28650 ****
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
--- 29992,29998 ----
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
***************
*** 28675,28683 ****
{ 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"
--- 30023,30031 ----
{ 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"; } &&
! { printf "%s\n" "$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
! printf "%s\n" "$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"
***************
*** 28693,28712 ****
#
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
--- 30041,30060 ----
#
if test x"$ac_file" != x-; then
{
! printf "%s\n" "/* $configure_input */" >&1 \
&& 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
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
! printf "%s\n" "$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
! printf "%s\n" "/* $configure_input */" >&1 \
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|| as_fn_error $? "could not create -" "$LINENO" 5
fi
***************
*** 28726,28732 ****
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
--- 30074,30080 ----
X"$_am_arg" : 'X\(//\)[^/]' \| \
X"$_am_arg" : 'X\(//\)$' \| \
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X"$_am_arg" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
***************
*** 28758,28765 ****
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
--- 30106,30113 ----
ac_source=$srcdir/$ac_source
fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
! printf "%s\n" "$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
***************
*** 28777,28784 ****
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
--- 30125,30132 ----
as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
fi
;;
! :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
! printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
;;
esac
***************
*** 28788,28816 ****
# 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
--- 30136,30170 ----
# 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.
! # TODO: see whether this extra hack can be removed once we start
! # requiring Autoconf 2.70 or later.
! case $CONFIG_FILES in #(
! *\'*) :
! eval set x "$CONFIG_FILES" ;; #(
! *) :
! set x $CONFIG_FILES ;; #(
! *) :
! ;;
! esac
shift
! # Used to flag and report bootstrapping failures.
! am_rc=0
! for am_mf
do
# Strip MF so we end up with the name of the file.
! am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
! # Check whether this is an Automake generated Makefile which includes
! # dependency-tracking related rules and includes.
! # Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
! sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
! || continue
! am_dirpart=`$as_dirname -- "$am_mf" ||
! $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$am_mf" : 'X\(//\)[^/]' \| \
! X"$am_mf" : 'X\(//\)$' \| \
! X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X"$am_mf" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
***************
*** 28828,28880 ****
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
}
;;
--- 30182,30231 ----
q
}
s/.*/./; q'`
! am_filepart=`$as_basename -- "$am_mf" ||
! $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
! X"$am_mf" : 'X\(//\)$' \| \
! X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
! printf "%s\n" X/"$am_mf" |
! sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
! /^X\/\(\/\/\)$/{
s//\1/
q
}
! /^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
! { echo "$as_me:$LINENO: cd "$am_dirpart" \
! && sed -e '/# am--include-marker/d' "$am_filepart" \
! | $MAKE -f - am--depfiles" >&5
! (cd "$am_dirpart" \
! && sed -e '/# am--include-marker/d' "$am_filepart" \
! | $MAKE -f - am--depfiles) >&5 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } || am_rc=$?
done
+ if test $am_rc -ne 0; then
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+ printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
+ as_fn_error $? "Something went wrong bootstrapping makefile fragments
+ for automatic dependency tracking. If GNU make was not used, consider
+ re-running the configure script with MAKE=\"gmake\" (or whatever is
+ necessary). You can also try re-running configure with the
+ '--disable-dependency-tracking' option to at least be able to build
+ the package (albeit without support for automatic dependency tracking).
+ See 'config.log' for more details" "$LINENO" 5; }
+ fi
+ { am_dirpart=; unset am_dirpart;}
+ { am_filepart=; unset am_filepart;}
+ { am_mf=; unset am_mf;}
+ { am_rc=; unset am_rc;}
+ rm -f conftest-deps.mk
}
;;
***************
*** 28911,28917 ****
$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
--- 30262,30269 ----
$ac_cs_success || as_fn_exit 1
fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
+
Only in patch-2.7.6: configure~
diff -x '*.o' -crB patch-2.7.6-orig/lib/Makefile.in patch-2.7.6/lib/Makefile.in
*** patch-2.7.6-orig/lib/Makefile.in 2018-02-03 15:33:56.000000000 +0200
--- patch-2.7.6/lib/Makefile.in 2025-03-08 23:58:49.573989767 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 93,98 ****
--- 93,100 ----
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))
+ am__rm_f = rm -f $(am__rm_f_notfound)
+ am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
***************
*** 213,218 ****
--- 215,221 ----
am__v_AR_0 = @echo " AR " $@;
am__v_AR_1 =
libpatch_a_AR = $(AR) $(ARFLAGS)
+ libpatch_a_RANLIB = $(RANLIB)
am__DEPENDENCIES_1 =
am_libpatch_a_OBJECTS = argmatch.$(OBJEXT) backupfile.$(OBJEXT) \
backup-find.$(OBJEXT) bitrotate.$(OBJEXT) c-ctype.$(OBJEXT) \
***************
*** 250,256 ****
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
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)
--- 253,328 ----
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
! am__maybe_remake_depfiles = depfiles
! am__depfiles_remade = ./$(DEPDIR)/argmatch.Po ./$(DEPDIR)/asnprintf.Po \
! ./$(DEPDIR)/asprintf.Po ./$(DEPDIR)/at-func.Po \
! ./$(DEPDIR)/at-func2.Po ./$(DEPDIR)/backup-find.Po \
! ./$(DEPDIR)/backupfile.Po ./$(DEPDIR)/basename-lgpl.Po \
! ./$(DEPDIR)/basename.Po ./$(DEPDIR)/bitrotate.Po \
! ./$(DEPDIR)/c-ctype.Po ./$(DEPDIR)/c-strcasecmp.Po \
! ./$(DEPDIR)/c-strncasecmp.Po ./$(DEPDIR)/canonicalize-lgpl.Po \
! ./$(DEPDIR)/chdir-long.Po ./$(DEPDIR)/chmodat.Po \
! ./$(DEPDIR)/chown.Po ./$(DEPDIR)/chownat.Po \
! ./$(DEPDIR)/cloexec.Po ./$(DEPDIR)/close.Po \
! ./$(DEPDIR)/closedir.Po ./$(DEPDIR)/dirfd.Po \
! ./$(DEPDIR)/dirname-lgpl.Po ./$(DEPDIR)/dirname.Po \
! ./$(DEPDIR)/dup-safer-flag.Po ./$(DEPDIR)/dup-safer.Po \
! ./$(DEPDIR)/dup2.Po ./$(DEPDIR)/error.Po \
! ./$(DEPDIR)/euidaccess.Po ./$(DEPDIR)/exitfail.Po \
! ./$(DEPDIR)/faccessat.Po ./$(DEPDIR)/fchdir.Po \
! ./$(DEPDIR)/fchmodat.Po ./$(DEPDIR)/fchown-stub.Po \
! ./$(DEPDIR)/fchownat.Po ./$(DEPDIR)/fcntl.Po \
! ./$(DEPDIR)/fd-hook.Po ./$(DEPDIR)/fd-safer-flag.Po \
! ./$(DEPDIR)/fd-safer.Po ./$(DEPDIR)/filenamecat-lgpl.Po \
! ./$(DEPDIR)/float.Po ./$(DEPDIR)/fstat.Po \
! ./$(DEPDIR)/fstatat.Po ./$(DEPDIR)/full-write.Po \
! ./$(DEPDIR)/getcwd-lgpl.Po ./$(DEPDIR)/getdtablesize.Po \
! ./$(DEPDIR)/getgroups.Po ./$(DEPDIR)/getopt.Po \
! ./$(DEPDIR)/getopt1.Po ./$(DEPDIR)/getprogname.Po \
! ./$(DEPDIR)/gettime.Po ./$(DEPDIR)/gettimeofday.Po \
! ./$(DEPDIR)/gl_linked_list.Po ./$(DEPDIR)/gl_list.Po \
! ./$(DEPDIR)/gl_xlist.Po ./$(DEPDIR)/group-member.Po \
! ./$(DEPDIR)/hard-locale.Po ./$(DEPDIR)/hash.Po \
! ./$(DEPDIR)/itold.Po ./$(DEPDIR)/lchown.Po \
! ./$(DEPDIR)/localcharset.Po ./$(DEPDIR)/localtime-buffer.Po \
! ./$(DEPDIR)/lstat.Po ./$(DEPDIR)/malloc.Po \
! ./$(DEPDIR)/malloca.Po ./$(DEPDIR)/mbrtowc.Po \
! ./$(DEPDIR)/mbsinit.Po ./$(DEPDIR)/memchr.Po \
! ./$(DEPDIR)/mempcpy.Po ./$(DEPDIR)/memrchr.Po \
! ./$(DEPDIR)/mkdir.Po ./$(DEPDIR)/mkdirat.Po \
! ./$(DEPDIR)/mktime.Po ./$(DEPDIR)/msvc-inval.Po \
! ./$(DEPDIR)/msvc-nothrow.Po ./$(DEPDIR)/nstrftime.Po \
! ./$(DEPDIR)/open.Po ./$(DEPDIR)/openat-die.Po \
! ./$(DEPDIR)/openat-proc.Po ./$(DEPDIR)/openat.Po \
! ./$(DEPDIR)/opendir-safer.Po ./$(DEPDIR)/opendir.Po \
! ./$(DEPDIR)/parse-datetime.Po ./$(DEPDIR)/pipe-safer.Po \
! ./$(DEPDIR)/printf-args.Po ./$(DEPDIR)/printf-parse.Po \
! ./$(DEPDIR)/progname.Po ./$(DEPDIR)/quotearg.Po \
! ./$(DEPDIR)/raise.Po ./$(DEPDIR)/readdir.Po \
! ./$(DEPDIR)/readlink.Po ./$(DEPDIR)/readlinkat.Po \
! ./$(DEPDIR)/realloc.Po ./$(DEPDIR)/rename.Po \
! ./$(DEPDIR)/renameat.Po ./$(DEPDIR)/renameat2.Po \
! ./$(DEPDIR)/rmdir.Po ./$(DEPDIR)/safe-read.Po \
! ./$(DEPDIR)/safe-write.Po ./$(DEPDIR)/save-cwd.Po \
! ./$(DEPDIR)/setenv.Po ./$(DEPDIR)/stat-time.Po \
! ./$(DEPDIR)/stat-w32.Po ./$(DEPDIR)/stat.Po \
! ./$(DEPDIR)/statat.Po ./$(DEPDIR)/strdup.Po \
! ./$(DEPDIR)/strerror-override.Po ./$(DEPDIR)/strerror.Po \
! ./$(DEPDIR)/stripslash.Po ./$(DEPDIR)/strndup.Po \
! ./$(DEPDIR)/strnlen.Po ./$(DEPDIR)/symlink.Po \
! ./$(DEPDIR)/symlinkat.Po ./$(DEPDIR)/tempname.Po \
! ./$(DEPDIR)/time_r.Po ./$(DEPDIR)/time_rz.Po \
! ./$(DEPDIR)/timegm.Po ./$(DEPDIR)/timespec.Po \
! ./$(DEPDIR)/tzset.Po ./$(DEPDIR)/unistd.Po \
! ./$(DEPDIR)/unlink.Po ./$(DEPDIR)/unlinkat.Po \
! ./$(DEPDIR)/unsetenv.Po ./$(DEPDIR)/utime.Po \
! ./$(DEPDIR)/utimens.Po ./$(DEPDIR)/utimensat.Po \
! ./$(DEPDIR)/vasnprintf.Po ./$(DEPDIR)/vasprintf.Po \
! ./$(DEPDIR)/verror.Po ./$(DEPDIR)/wctype-h.Po \
! ./$(DEPDIR)/write.Po ./$(DEPDIR)/xalloc-die.Po \
! ./$(DEPDIR)/xasprintf.Po ./$(DEPDIR)/xmalloc.Po \
! ./$(DEPDIR)/xmemdup0.Po ./$(DEPDIR)/xsize.Po \
! ./$(DEPDIR)/xstrndup.Po ./$(DEPDIR)/xvasprintf.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
***************
*** 296,303 ****
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
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gnulib.mk \
$(top_srcdir)/build-aux/depcomp $(top_srcdir)/build-aux/ylwrap \
parse-datetime.c
--- 368,373 ----
***************
*** 326,331 ****
--- 396,403 ----
CONFIG_INCLUDE = @CONFIG_INCLUDE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+ CSCOPE = @CSCOPE@
+ CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
***************
*** 341,348 ****
--- 413,422 ----
EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
ERRNO_H = @ERRNO_H@
+ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FLOAT_H = @FLOAT_H@
+ GETGROUPS_LIB = @GETGROUPS_LIB@
GETOPT_CDEFS_H = @GETOPT_CDEFS_H@
GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
***************
*** 1119,1126 ****
--- 1193,1202 ----
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
+ am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
+ am__xargs_n = @am__xargs_n@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
***************
*** 1325,1332 ****
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
! 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 $(am__empty):
--- 1401,1408 ----
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac;
$(srcdir)/gnulib.mk $(am__empty):
***************
*** 1340,1351 ****
$(am__aclocal_m4_deps):
clean-noinstLIBRARIES:
! -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
libpatch.a: $(libpatch_a_OBJECTS) $(libpatch_a_DEPENDENCIES) $(EXTRA_libpatch_a_DEPENDENCIES)
$(AM_V_at)-rm -f libpatch.a
$(AM_V_AR)$(libpatch_a_AR) libpatch.a $(libpatch_a_OBJECTS) $(libpatch_a_LIBADD)
! $(AM_V_at)$(RANLIB) libpatch.a
mostlyclean-compile:
-rm -f *.$(OBJEXT)
--- 1416,1427 ----
$(am__aclocal_m4_deps):
clean-noinstLIBRARIES:
! -$(am__rm_f) $(noinst_LIBRARIES)
libpatch.a: $(libpatch_a_OBJECTS) $(libpatch_a_DEPENDENCIES) $(EXTRA_libpatch_a_DEPENDENCIES)
$(AM_V_at)-rm -f libpatch.a
$(AM_V_AR)$(libpatch_a_AR) libpatch.a $(libpatch_a_OBJECTS) $(libpatch_a_LIBADD)
! $(AM_V_at)$(libpatch_a_RANLIB) libpatch.a
mostlyclean-compile:
-rm -f *.$(OBJEXT)
***************
*** 1353,1496 ****
distclean-compile:
-rm -f *.tab.c
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argmatch.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asnprintf.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asprintf.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at-func.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at-func2.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/backup-find.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/backupfile.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename-lgpl.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bitrotate.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-ctype.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-strcasecmp.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-strncasecmp.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canonicalize-lgpl.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir-long.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmodat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chownat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cloexec.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/close.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/closedir.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirfd.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname-lgpl.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup-safer-flag.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup-safer.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/euidaccess.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exitfail.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchdir.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown-stub.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-hook.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-safer-flag.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-safer.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filenamecat-lgpl.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/float.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstatat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/full-write.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getcwd-lgpl.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdtablesize.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getgroups.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getprogname.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettime.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettimeofday.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_linked_list.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_list.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_xlist.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/group-member.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hard-locale.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itold.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localcharset.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localtime-buffer.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloca.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbrtowc.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbsinit.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mempcpy.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memrchr.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkdir.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkdirat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mktime.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-inval.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-nothrow.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nstrftime.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat-die.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat-proc.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opendir-safer.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opendir.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse-datetime.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe-safer.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-args.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-parse.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progname.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quotearg.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/raise.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readdir.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlinkat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realloc.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rename.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renameat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renameat2.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmdir.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-read.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-write.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/save-cwd.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setenv.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-time.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-w32.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror-override.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripslash.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strndup.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlinkat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tempname.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_r.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_rz.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timegm.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timespec.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tzset.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlinkat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unsetenv.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utime.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utimens.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utimensat.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasnprintf.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasprintf.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/verror.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wctype-h.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/write.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xalloc-die.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xasprintf.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmemdup0.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsize.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrndup.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xvasprintf.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
--- 1429,1578 ----
distclean-compile:
-rm -f *.tab.c
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argmatch.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asnprintf.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asprintf.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at-func.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at-func2.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/backup-find.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/backupfile.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename-lgpl.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bitrotate.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-ctype.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-strcasecmp.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-strncasecmp.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canonicalize-lgpl.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir-long.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmodat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chownat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cloexec.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/close.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/closedir.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirfd.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname-lgpl.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup-safer-flag.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup-safer.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/euidaccess.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exitfail.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchdir.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown-stub.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-hook.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-safer-flag.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-safer.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filenamecat-lgpl.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/float.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstatat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/full-write.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getcwd-lgpl.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdtablesize.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getgroups.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getprogname.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettime.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettimeofday.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_linked_list.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_list.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_xlist.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/group-member.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hard-locale.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itold.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localcharset.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localtime-buffer.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloca.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbrtowc.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbsinit.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mempcpy.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memrchr.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkdir.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkdirat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mktime.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-inval.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-nothrow.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nstrftime.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat-die.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat-proc.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opendir-safer.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opendir.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse-datetime.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe-safer.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-args.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-parse.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progname.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quotearg.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/raise.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readdir.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlinkat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realloc.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rename.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renameat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/renameat2.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmdir.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-read.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-write.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/save-cwd.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setenv.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-time.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-w32.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror-override.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripslash.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strndup.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlinkat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tempname.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_r.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_rz.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timegm.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timespec.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tzset.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlinkat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unsetenv.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utime.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utimens.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utimensat.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasnprintf.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasprintf.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/verror.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wctype-h.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/write.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xalloc-die.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xasprintf.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmemdup0.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsize.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrndup.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xvasprintf.Po@am__quote@ # am--include-marker
!
! $(am__depfiles_remade):
! @$(MKDIR_P) $(@D)
! @: >>$@
!
! am--depfiles: $(am__depfiles_remade)
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
***************
*** 1560,1567 ****
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
! distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
--- 1642,1651 ----
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
! distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
***************
*** 1598,1604 ****
installdirs:
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-am
! install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
--- 1682,1689 ----
installdirs:
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-am
! install-exec: $(BUILT_SOURCES)
! $(MAKE) $(AM_MAKEFLAGS) install-exec-am
install-data: install-data-am
uninstall: uninstall-am
***************
*** 1617,1643 ****
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
! -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
clean-generic:
! -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
! -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
! -rm -f parse-datetime.c
! -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
! -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
distclean: distclean-am
! -rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-local distclean-tags
--- 1702,1865 ----
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
! -$(am__rm_f) $(MOSTLYCLEANFILES)
clean-generic:
! -$(am__rm_f) $(CLEANFILES)
distclean-generic:
! -$(am__rm_f) $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
! -$(am__rm_f) $(BUILT_SOURCES)
! -$(am__rm_f) $(MAINTAINERCLEANFILES)
! -$(am__rm_f) parse-datetime.c
clean: clean-am
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
distclean: distclean-am
! -rm -f ./$(DEPDIR)/argmatch.Po
! -rm -f ./$(DEPDIR)/asnprintf.Po
! -rm -f ./$(DEPDIR)/asprintf.Po
! -rm -f ./$(DEPDIR)/at-func.Po
! -rm -f ./$(DEPDIR)/at-func2.Po
! -rm -f ./$(DEPDIR)/backup-find.Po
! -rm -f ./$(DEPDIR)/backupfile.Po
! -rm -f ./$(DEPDIR)/basename-lgpl.Po
! -rm -f ./$(DEPDIR)/basename.Po
! -rm -f ./$(DEPDIR)/bitrotate.Po
! -rm -f ./$(DEPDIR)/c-ctype.Po
! -rm -f ./$(DEPDIR)/c-strcasecmp.Po
! -rm -f ./$(DEPDIR)/c-strncasecmp.Po
! -rm -f ./$(DEPDIR)/canonicalize-lgpl.Po
! -rm -f ./$(DEPDIR)/chdir-long.Po
! -rm -f ./$(DEPDIR)/chmodat.Po
! -rm -f ./$(DEPDIR)/chown.Po
! -rm -f ./$(DEPDIR)/chownat.Po
! -rm -f ./$(DEPDIR)/cloexec.Po
! -rm -f ./$(DEPDIR)/close.Po
! -rm -f ./$(DEPDIR)/closedir.Po
! -rm -f ./$(DEPDIR)/dirfd.Po
! -rm -f ./$(DEPDIR)/dirname-lgpl.Po
! -rm -f ./$(DEPDIR)/dirname.Po
! -rm -f ./$(DEPDIR)/dup-safer-flag.Po
! -rm -f ./$(DEPDIR)/dup-safer.Po
! -rm -f ./$(DEPDIR)/dup2.Po
! -rm -f ./$(DEPDIR)/error.Po
! -rm -f ./$(DEPDIR)/euidaccess.Po
! -rm -f ./$(DEPDIR)/exitfail.Po
! -rm -f ./$(DEPDIR)/faccessat.Po
! -rm -f ./$(DEPDIR)/fchdir.Po
! -rm -f ./$(DEPDIR)/fchmodat.Po
! -rm -f ./$(DEPDIR)/fchown-stub.Po
! -rm -f ./$(DEPDIR)/fchownat.Po
! -rm -f ./$(DEPDIR)/fcntl.Po
! -rm -f ./$(DEPDIR)/fd-hook.Po
! -rm -f ./$(DEPDIR)/fd-safer-flag.Po
! -rm -f ./$(DEPDIR)/fd-safer.Po
! -rm -f ./$(DEPDIR)/filenamecat-lgpl.Po
! -rm -f ./$(DEPDIR)/float.Po
! -rm -f ./$(DEPDIR)/fstat.Po
! -rm -f ./$(DEPDIR)/fstatat.Po
! -rm -f ./$(DEPDIR)/full-write.Po
! -rm -f ./$(DEPDIR)/getcwd-lgpl.Po
! -rm -f ./$(DEPDIR)/getdtablesize.Po
! -rm -f ./$(DEPDIR)/getgroups.Po
! -rm -f ./$(DEPDIR)/getopt.Po
! -rm -f ./$(DEPDIR)/getopt1.Po
! -rm -f ./$(DEPDIR)/getprogname.Po
! -rm -f ./$(DEPDIR)/gettime.Po
! -rm -f ./$(DEPDIR)/gettimeofday.Po
! -rm -f ./$(DEPDIR)/gl_linked_list.Po
! -rm -f ./$(DEPDIR)/gl_list.Po
! -rm -f ./$(DEPDIR)/gl_xlist.Po
! -rm -f ./$(DEPDIR)/group-member.Po
! -rm -f ./$(DEPDIR)/hard-locale.Po
! -rm -f ./$(DEPDIR)/hash.Po
! -rm -f ./$(DEPDIR)/itold.Po
! -rm -f ./$(DEPDIR)/lchown.Po
! -rm -f ./$(DEPDIR)/localcharset.Po
! -rm -f ./$(DEPDIR)/localtime-buffer.Po
! -rm -f ./$(DEPDIR)/lstat.Po
! -rm -f ./$(DEPDIR)/malloc.Po
! -rm -f ./$(DEPDIR)/malloca.Po
! -rm -f ./$(DEPDIR)/mbrtowc.Po
! -rm -f ./$(DEPDIR)/mbsinit.Po
! -rm -f ./$(DEPDIR)/memchr.Po
! -rm -f ./$(DEPDIR)/mempcpy.Po
! -rm -f ./$(DEPDIR)/memrchr.Po
! -rm -f ./$(DEPDIR)/mkdir.Po
! -rm -f ./$(DEPDIR)/mkdirat.Po
! -rm -f ./$(DEPDIR)/mktime.Po
! -rm -f ./$(DEPDIR)/msvc-inval.Po
! -rm -f ./$(DEPDIR)/msvc-nothrow.Po
! -rm -f ./$(DEPDIR)/nstrftime.Po
! -rm -f ./$(DEPDIR)/open.Po
! -rm -f ./$(DEPDIR)/openat-die.Po
! -rm -f ./$(DEPDIR)/openat-proc.Po
! -rm -f ./$(DEPDIR)/openat.Po
! -rm -f ./$(DEPDIR)/opendir-safer.Po
! -rm -f ./$(DEPDIR)/opendir.Po
! -rm -f ./$(DEPDIR)/parse-datetime.Po
! -rm -f ./$(DEPDIR)/pipe-safer.Po
! -rm -f ./$(DEPDIR)/printf-args.Po
! -rm -f ./$(DEPDIR)/printf-parse.Po
! -rm -f ./$(DEPDIR)/progname.Po
! -rm -f ./$(DEPDIR)/quotearg.Po
! -rm -f ./$(DEPDIR)/raise.Po
! -rm -f ./$(DEPDIR)/readdir.Po
! -rm -f ./$(DEPDIR)/readlink.Po
! -rm -f ./$(DEPDIR)/readlinkat.Po
! -rm -f ./$(DEPDIR)/realloc.Po
! -rm -f ./$(DEPDIR)/rename.Po
! -rm -f ./$(DEPDIR)/renameat.Po
! -rm -f ./$(DEPDIR)/renameat2.Po
! -rm -f ./$(DEPDIR)/rmdir.Po
! -rm -f ./$(DEPDIR)/safe-read.Po
! -rm -f ./$(DEPDIR)/safe-write.Po
! -rm -f ./$(DEPDIR)/save-cwd.Po
! -rm -f ./$(DEPDIR)/setenv.Po
! -rm -f ./$(DEPDIR)/stat-time.Po
! -rm -f ./$(DEPDIR)/stat-w32.Po
! -rm -f ./$(DEPDIR)/stat.Po
! -rm -f ./$(DEPDIR)/statat.Po
! -rm -f ./$(DEPDIR)/strdup.Po
! -rm -f ./$(DEPDIR)/strerror-override.Po
! -rm -f ./$(DEPDIR)/strerror.Po
! -rm -f ./$(DEPDIR)/stripslash.Po
! -rm -f ./$(DEPDIR)/strndup.Po
! -rm -f ./$(DEPDIR)/strnlen.Po
! -rm -f ./$(DEPDIR)/symlink.Po
! -rm -f ./$(DEPDIR)/symlinkat.Po
! -rm -f ./$(DEPDIR)/tempname.Po
! -rm -f ./$(DEPDIR)/time_r.Po
! -rm -f ./$(DEPDIR)/time_rz.Po
! -rm -f ./$(DEPDIR)/timegm.Po
! -rm -f ./$(DEPDIR)/timespec.Po
! -rm -f ./$(DEPDIR)/tzset.Po
! -rm -f ./$(DEPDIR)/unistd.Po
! -rm -f ./$(DEPDIR)/unlink.Po
! -rm -f ./$(DEPDIR)/unlinkat.Po
! -rm -f ./$(DEPDIR)/unsetenv.Po
! -rm -f ./$(DEPDIR)/utime.Po
! -rm -f ./$(DEPDIR)/utimens.Po
! -rm -f ./$(DEPDIR)/utimensat.Po
! -rm -f ./$(DEPDIR)/vasnprintf.Po
! -rm -f ./$(DEPDIR)/vasprintf.Po
! -rm -f ./$(DEPDIR)/verror.Po
! -rm -f ./$(DEPDIR)/wctype-h.Po
! -rm -f ./$(DEPDIR)/write.Po
! -rm -f ./$(DEPDIR)/xalloc-die.Po
! -rm -f ./$(DEPDIR)/xasprintf.Po
! -rm -f ./$(DEPDIR)/xmalloc.Po
! -rm -f ./$(DEPDIR)/xmemdup0.Po
! -rm -f ./$(DEPDIR)/xsize.Po
! -rm -f ./$(DEPDIR)/xstrndup.Po
! -rm -f ./$(DEPDIR)/xvasprintf.Po
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-local distclean-tags
***************
*** 1683,1689 ****
installcheck-am:
maintainer-clean: maintainer-clean-am
! -rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
--- 1905,2048 ----
installcheck-am:
maintainer-clean: maintainer-clean-am
! -rm -f ./$(DEPDIR)/argmatch.Po
! -rm -f ./$(DEPDIR)/asnprintf.Po
! -rm -f ./$(DEPDIR)/asprintf.Po
! -rm -f ./$(DEPDIR)/at-func.Po
! -rm -f ./$(DEPDIR)/at-func2.Po
! -rm -f ./$(DEPDIR)/backup-find.Po
! -rm -f ./$(DEPDIR)/backupfile.Po
! -rm -f ./$(DEPDIR)/basename-lgpl.Po
! -rm -f ./$(DEPDIR)/basename.Po
! -rm -f ./$(DEPDIR)/bitrotate.Po
! -rm -f ./$(DEPDIR)/c-ctype.Po
! -rm -f ./$(DEPDIR)/c-strcasecmp.Po
! -rm -f ./$(DEPDIR)/c-strncasecmp.Po
! -rm -f ./$(DEPDIR)/canonicalize-lgpl.Po
! -rm -f ./$(DEPDIR)/chdir-long.Po
! -rm -f ./$(DEPDIR)/chmodat.Po
! -rm -f ./$(DEPDIR)/chown.Po
! -rm -f ./$(DEPDIR)/chownat.Po
! -rm -f ./$(DEPDIR)/cloexec.Po
! -rm -f ./$(DEPDIR)/close.Po
! -rm -f ./$(DEPDIR)/closedir.Po
! -rm -f ./$(DEPDIR)/dirfd.Po
! -rm -f ./$(DEPDIR)/dirname-lgpl.Po
! -rm -f ./$(DEPDIR)/dirname.Po
! -rm -f ./$(DEPDIR)/dup-safer-flag.Po
! -rm -f ./$(DEPDIR)/dup-safer.Po
! -rm -f ./$(DEPDIR)/dup2.Po
! -rm -f ./$(DEPDIR)/error.Po
! -rm -f ./$(DEPDIR)/euidaccess.Po
! -rm -f ./$(DEPDIR)/exitfail.Po
! -rm -f ./$(DEPDIR)/faccessat.Po
! -rm -f ./$(DEPDIR)/fchdir.Po
! -rm -f ./$(DEPDIR)/fchmodat.Po
! -rm -f ./$(DEPDIR)/fchown-stub.Po
! -rm -f ./$(DEPDIR)/fchownat.Po
! -rm -f ./$(DEPDIR)/fcntl.Po
! -rm -f ./$(DEPDIR)/fd-hook.Po
! -rm -f ./$(DEPDIR)/fd-safer-flag.Po
! -rm -f ./$(DEPDIR)/fd-safer.Po
! -rm -f ./$(DEPDIR)/filenamecat-lgpl.Po
! -rm -f ./$(DEPDIR)/float.Po
! -rm -f ./$(DEPDIR)/fstat.Po
! -rm -f ./$(DEPDIR)/fstatat.Po
! -rm -f ./$(DEPDIR)/full-write.Po
! -rm -f ./$(DEPDIR)/getcwd-lgpl.Po
! -rm -f ./$(DEPDIR)/getdtablesize.Po
! -rm -f ./$(DEPDIR)/getgroups.Po
! -rm -f ./$(DEPDIR)/getopt.Po
! -rm -f ./$(DEPDIR)/getopt1.Po
! -rm -f ./$(DEPDIR)/getprogname.Po
! -rm -f ./$(DEPDIR)/gettime.Po
! -rm -f ./$(DEPDIR)/gettimeofday.Po
! -rm -f ./$(DEPDIR)/gl_linked_list.Po
! -rm -f ./$(DEPDIR)/gl_list.Po
! -rm -f ./$(DEPDIR)/gl_xlist.Po
! -rm -f ./$(DEPDIR)/group-member.Po
! -rm -f ./$(DEPDIR)/hard-locale.Po
! -rm -f ./$(DEPDIR)/hash.Po
! -rm -f ./$(DEPDIR)/itold.Po
! -rm -f ./$(DEPDIR)/lchown.Po
! -rm -f ./$(DEPDIR)/localcharset.Po
! -rm -f ./$(DEPDIR)/localtime-buffer.Po
! -rm -f ./$(DEPDIR)/lstat.Po
! -rm -f ./$(DEPDIR)/malloc.Po
! -rm -f ./$(DEPDIR)/malloca.Po
! -rm -f ./$(DEPDIR)/mbrtowc.Po
! -rm -f ./$(DEPDIR)/mbsinit.Po
! -rm -f ./$(DEPDIR)/memchr.Po
! -rm -f ./$(DEPDIR)/mempcpy.Po
! -rm -f ./$(DEPDIR)/memrchr.Po
! -rm -f ./$(DEPDIR)/mkdir.Po
! -rm -f ./$(DEPDIR)/mkdirat.Po
! -rm -f ./$(DEPDIR)/mktime.Po
! -rm -f ./$(DEPDIR)/msvc-inval.Po
! -rm -f ./$(DEPDIR)/msvc-nothrow.Po
! -rm -f ./$(DEPDIR)/nstrftime.Po
! -rm -f ./$(DEPDIR)/open.Po
! -rm -f ./$(DEPDIR)/openat-die.Po
! -rm -f ./$(DEPDIR)/openat-proc.Po
! -rm -f ./$(DEPDIR)/openat.Po
! -rm -f ./$(DEPDIR)/opendir-safer.Po
! -rm -f ./$(DEPDIR)/opendir.Po
! -rm -f ./$(DEPDIR)/parse-datetime.Po
! -rm -f ./$(DEPDIR)/pipe-safer.Po
! -rm -f ./$(DEPDIR)/printf-args.Po
! -rm -f ./$(DEPDIR)/printf-parse.Po
! -rm -f ./$(DEPDIR)/progname.Po
! -rm -f ./$(DEPDIR)/quotearg.Po
! -rm -f ./$(DEPDIR)/raise.Po
! -rm -f ./$(DEPDIR)/readdir.Po
! -rm -f ./$(DEPDIR)/readlink.Po
! -rm -f ./$(DEPDIR)/readlinkat.Po
! -rm -f ./$(DEPDIR)/realloc.Po
! -rm -f ./$(DEPDIR)/rename.Po
! -rm -f ./$(DEPDIR)/renameat.Po
! -rm -f ./$(DEPDIR)/renameat2.Po
! -rm -f ./$(DEPDIR)/rmdir.Po
! -rm -f ./$(DEPDIR)/safe-read.Po
! -rm -f ./$(DEPDIR)/safe-write.Po
! -rm -f ./$(DEPDIR)/save-cwd.Po
! -rm -f ./$(DEPDIR)/setenv.Po
! -rm -f ./$(DEPDIR)/stat-time.Po
! -rm -f ./$(DEPDIR)/stat-w32.Po
! -rm -f ./$(DEPDIR)/stat.Po
! -rm -f ./$(DEPDIR)/statat.Po
! -rm -f ./$(DEPDIR)/strdup.Po
! -rm -f ./$(DEPDIR)/strerror-override.Po
! -rm -f ./$(DEPDIR)/strerror.Po
! -rm -f ./$(DEPDIR)/stripslash.Po
! -rm -f ./$(DEPDIR)/strndup.Po
! -rm -f ./$(DEPDIR)/strnlen.Po
! -rm -f ./$(DEPDIR)/symlink.Po
! -rm -f ./$(DEPDIR)/symlinkat.Po
! -rm -f ./$(DEPDIR)/tempname.Po
! -rm -f ./$(DEPDIR)/time_r.Po
! -rm -f ./$(DEPDIR)/time_rz.Po
! -rm -f ./$(DEPDIR)/timegm.Po
! -rm -f ./$(DEPDIR)/timespec.Po
! -rm -f ./$(DEPDIR)/tzset.Po
! -rm -f ./$(DEPDIR)/unistd.Po
! -rm -f ./$(DEPDIR)/unlink.Po
! -rm -f ./$(DEPDIR)/unlinkat.Po
! -rm -f ./$(DEPDIR)/unsetenv.Po
! -rm -f ./$(DEPDIR)/utime.Po
! -rm -f ./$(DEPDIR)/utimens.Po
! -rm -f ./$(DEPDIR)/utimensat.Po
! -rm -f ./$(DEPDIR)/vasnprintf.Po
! -rm -f ./$(DEPDIR)/vasprintf.Po
! -rm -f ./$(DEPDIR)/verror.Po
! -rm -f ./$(DEPDIR)/wctype-h.Po
! -rm -f ./$(DEPDIR)/write.Po
! -rm -f ./$(DEPDIR)/xalloc-die.Po
! -rm -f ./$(DEPDIR)/xasprintf.Po
! -rm -f ./$(DEPDIR)/xmalloc.Po
! -rm -f ./$(DEPDIR)/xmemdup0.Po
! -rm -f ./$(DEPDIR)/xsize.Po
! -rm -f ./$(DEPDIR)/xstrndup.Po
! -rm -f ./$(DEPDIR)/xvasprintf.Po
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
***************
*** 1702,1722 ****
uninstall-am: uninstall-local
! .MAKE: all check install install-am install-strip
! .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-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
.PRECIOUS: Makefile
--- 2061,2082 ----
uninstall-am: uninstall-local
! .MAKE: all check install install-am install-exec install-strip
! .PHONY: CTAGS GTAGS TAGS all all-am all-local am--depfiles check \
! check-am clean clean-generic clean-noinstLIBRARIES \
! cscopelist-am ctags ctags-am distclean distclean-compile \
! distclean-generic 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
.PRECIOUS: Makefile
***************
*** 2931,2933 ****
--- 3291,3300 ----
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+ # Tell GNU make to disable its built-in pattern rules.
+ %:: %,v
+ %:: RCS/%,v
+ %:: RCS/%
+ %:: s.%
+ %:: SCCS/s.%
diff -x '*.o' -crB patch-2.7.6-orig/Makefile.in patch-2.7.6/Makefile.in
*** patch-2.7.6-orig/Makefile.in 2018-02-03 15:41:39.000000000 +0200
--- patch-2.7.6/Makefile.in 2025-03-08 23:58:49.529783206 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 85,90 ****
--- 85,92 ----
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))
+ am__rm_f = rm -f $(am__rm_f_notfound)
+ am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
***************
*** 252,261 ****
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
am__installdirs = "$(DESTDIR)$(man1dir)"
--- 254,262 ----
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 ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
! || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
! $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
}
man1dir = $(mandir)/man1
am__installdirs = "$(DESTDIR)$(man1dir)"
***************
*** 268,276 ****
$(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)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.
--- 269,277 ----
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
! cscope distdir distdir-am dist dist-all distcheck
! 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.
***************
*** 287,295 ****
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)
am__DIST_COMMON = $(dist_man1_MANS) $(srcdir)/Makefile.in \
$(srcdir)/config.hin $(top_srcdir)/build-aux/ar-lib \
--- 288,293 ----
***************
*** 307,314 ****
top_distdir = $(distdir)
am__remove_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)
--- 305,312 ----
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
! find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
! ; rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
***************
*** 338,349 ****
done; \
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@
ALLOCA = @ALLOCA@
--- 336,351 ----
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.xz
! GZIP_ENV = -9
DIST_TARGETS = dist-xz dist-bzip2 dist-gzip
+ # Exists only to be overridden by the user if desired.
+ AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
! distcleancheck_listfiles = \
! find . \( -type f -a \! \
! \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print
pkglibexecdir = @pkglibexecdir@
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
***************
*** 368,373 ****
--- 370,377 ----
CONFIG_INCLUDE = @CONFIG_INCLUDE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+ CSCOPE = @CSCOPE@
+ CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
***************
*** 383,390 ****
--- 387,396 ----
EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
ERRNO_H = @ERRNO_H@
+ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FLOAT_H = @FLOAT_H@
+ GETGROUPS_LIB = @GETGROUPS_LIB@
GETOPT_CDEFS_H = @GETOPT_CDEFS_H@
GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
***************
*** 1161,1168 ****
--- 1167,1176 ----
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
+ am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
+ am__xargs_n = @am__xargs_n@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
***************
*** 1246,1253 ****
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
--- 1254,1261 ----
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
***************
*** 1264,1275 ****
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status
! @rm -f stamp-h1
! cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.hin: $(am__configure_deps)
! ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
! rm -f stamp-h1
! touch $@
distclean-hdr:
-rm -f config.h stamp-h1
--- 1272,1283 ----
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status
! $(AM_V_at)rm -f stamp-h1
! $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.hin: $(am__configure_deps)
! $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER))
! $(AM_V_at)rm -f stamp-h1
! $(AM_V_at)touch $@
distclean-hdr:
-rm -f config.h stamp-h1
***************
*** 1420,1429 ****
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)
! test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
--- 1428,1439 ----
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+ distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
! distdir-am: $(DISTFILES)
$(am__remove_distdir)
! $(AM_V_at)$(MKDIR_P) "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
***************
*** 1502,1507 ****
--- 1512,1521 ----
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
+ dist-zstd: distdir
+ tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+ $(am__post_remove_distdir)
+
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
***************
*** 1531,1537 ****
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
! eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
--- 1545,1551 ----
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
! eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
***************
*** 1541,1549 ****
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
! eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
--- 1555,1565 ----
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
! eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
+ *.tar.zst*) \
+ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
***************
*** 1559,1565 ****
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
! && $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
--- 1575,1581 ----
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
! && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
***************
*** 1621,1627 ****
done
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-recursive
! install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
--- 1637,1644 ----
done
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-recursive
! install-exec: $(BUILT_SOURCES)
! $(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
***************
*** 1644,1656 ****
clean-generic:
distclean-generic:
! -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
! -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
--- 1661,1673 ----
clean-generic:
distclean-generic:
! -$(am__rm_f) $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
! -$(am__rm_f) $(BUILT_SOURCES)
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
***************
*** 1723,1745 ****
uninstall-man: uninstall-man1
.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-hdr \
! 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 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 \
! installdirs-am maintainer-clean maintainer-clean-generic \
! mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
! tags-am uninstall uninstall-am uninstall-man uninstall-man1
.PRECIOUS: Makefile
--- 1740,1763 ----
uninstall-man: uninstall-man1
.MAKE: $(am__recursive_targets) all check install install-am \
! install-exec 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 dist-zstd distcheck distclean distclean-generic \
! distclean-hdr 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 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 installdirs-am maintainer-clean \
! maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
! pdf-am ps ps-am tags tags-am uninstall uninstall-am \
! uninstall-man uninstall-man1
.PRECIOUS: Makefile
***************
*** 1759,1761 ****
--- 1777,1786 ----
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+ # Tell GNU make to disable its built-in pattern rules.
+ %:: %,v
+ %:: RCS/%,v
+ %:: RCS/%
+ %:: s.%
+ %:: SCCS/s.%
diff -x '*.o' -crB patch-2.7.6-orig/src/Makefile.in patch-2.7.6/src/Makefile.in
*** patch-2.7.6-orig/src/Makefile.in 2018-02-03 15:33:56.000000000 +0200
--- patch-2.7.6/src/Makefile.in 2025-03-08 23:58:49.600692713 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 86,91 ****
--- 86,93 ----
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))
+ am__rm_f = rm -f $(am__rm_f_notfound)
+ am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
***************
*** 231,237 ****
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
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)
--- 233,242 ----
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
! am__maybe_remake_depfiles = depfiles
! am__depfiles_remade = ./$(DEPDIR)/inp.Po ./$(DEPDIR)/merge.Po \
! ./$(DEPDIR)/patch.Po ./$(DEPDIR)/pch.Po ./$(DEPDIR)/safe.Po \
! ./$(DEPDIR)/util.Po ./$(DEPDIR)/version.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
***************
*** 269,276 ****
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
am__DIST_COMMON = $(srcdir)/Makefile.in \
$(top_srcdir)/build-aux/depcomp
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
--- 274,279 ----
***************
*** 298,303 ****
--- 301,308 ----
CONFIG_INCLUDE = @CONFIG_INCLUDE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+ CSCOPE = @CSCOPE@
+ CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
***************
*** 313,320 ****
--- 318,327 ----
EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
ERRNO_H = @ERRNO_H@
+ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FLOAT_H = @FLOAT_H@
+ GETGROUPS_LIB = @GETGROUPS_LIB@
GETOPT_CDEFS_H = @GETOPT_CDEFS_H@
GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
***************
*** 1091,1098 ****
--- 1098,1107 ----
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
+ am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
+ am__xargs_n = @am__xargs_n@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
***************
*** 1170,1177 ****
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
--- 1179,1186 ----
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
***************
*** 1220,1229 ****
`; \
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)
patch$(EXEEXT): $(patch_OBJECTS) $(patch_DEPENDENCIES) $(EXTRA_patch_DEPENDENCIES)
@rm -f patch$(EXEEXT)
--- 1229,1238 ----
`; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
! cd "$(DESTDIR)$(bindir)" && $(am__rm_f) $$files
clean-binPROGRAMS:
! -$(am__rm_f) $(bin_PROGRAMS)
patch$(EXEEXT): $(patch_OBJECTS) $(patch_DEPENDENCIES) $(EXTRA_patch_DEPENDENCIES)
@rm -f patch$(EXEEXT)
***************
*** 1235,1247 ****
distclean-compile:
-rm -f *.tab.c
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inp.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/patch.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pch.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
--- 1244,1262 ----
distclean-compile:
-rm -f *.tab.c
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inp.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/patch.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pch.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@ # am--include-marker
! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ # am--include-marker
!
! $(am__depfiles_remade):
! @$(MKDIR_P) $(@D)
! @: >>$@
!
! am--depfiles: $(am__depfiles_remade)
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
***************
*** 1308,1315 ****
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
! distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
--- 1323,1332 ----
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
! distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
***************
*** 1370,1377 ****
clean-generic:
distclean-generic:
! -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
--- 1387,1394 ----
clean-generic:
distclean-generic:
! -$(am__rm_f) $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
***************
*** 1381,1387 ****
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
! -rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
--- 1398,1410 ----
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
! -rm -f ./$(DEPDIR)/inp.Po
! -rm -f ./$(DEPDIR)/merge.Po
! -rm -f ./$(DEPDIR)/patch.Po
! -rm -f ./$(DEPDIR)/pch.Po
! -rm -f ./$(DEPDIR)/safe.Po
! -rm -f ./$(DEPDIR)/util.Po
! -rm -f ./$(DEPDIR)/version.Po
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
***************
*** 1427,1433 ****
installcheck-am:
maintainer-clean: maintainer-clean-am
! -rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
--- 1450,1462 ----
installcheck-am:
maintainer-clean: maintainer-clean-am
! -rm -f ./$(DEPDIR)/inp.Po
! -rm -f ./$(DEPDIR)/merge.Po
! -rm -f ./$(DEPDIR)/patch.Po
! -rm -f ./$(DEPDIR)/pch.Po
! -rm -f ./$(DEPDIR)/safe.Po
! -rm -f ./$(DEPDIR)/util.Po
! -rm -f ./$(DEPDIR)/version.Po
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
***************
*** 1447,1453 ****
.MAKE: install-am install-strip
! .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 \
--- 1476,1482 ----
.MAKE: install-am install-strip
! .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles 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 \
***************
*** 1467,1469 ****
--- 1496,1505 ----
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+ # Tell GNU make to disable its built-in pattern rules.
+ %:: %,v
+ %:: RCS/%,v
+ %:: RCS/%
+ %:: s.%
+ %:: SCCS/s.%
diff -x '*.o' -crB patch-2.7.6-orig/tests/Makefile.in patch-2.7.6/tests/Makefile.in
*** patch-2.7.6-orig/tests/Makefile.in 2018-02-03 15:33:56.000000000 +0200
--- patch-2.7.6/tests/Makefile.in 2025-03-08 23:58:49.631652707 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 85,90 ****
--- 85,92 ----
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))
+ am__rm_f = rm -f $(am__rm_f_notfound)
+ am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
***************
*** 263,272 ****
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; }; \
}
am__recheck_rx = ^[ ]*:recheck:[ ]*
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
--- 265,273 ----
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 ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
! || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
! $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
}
am__recheck_rx = ^[ ]*:recheck:[ ]*
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
***************
*** 354,359 ****
--- 355,361 ----
# Default flags passed to test drivers.
am__common_driver_flags = \
--color-tests "$$am__color_tests" \
+ $$am__collect_skipped_logs \
--enable-hard-errors "$$am__enable_hard_errors" \
--expect-failure "$$am__expect_failure"
# To be inserted before the command running the test. Creates the
***************
*** 378,383 ****
--- 380,390 ----
elif test -f "$$f"; then dir=; \
else dir="$(srcdir)/"; fi; \
tst=$$dir$$f; log='$@'; \
+ if test -n '$(IGNORE_SKIPPED_LOGS)'; then \
+ am__collect_skipped_logs='--collect-skipped-logs no'; \
+ else \
+ am__collect_skipped_logs=''; \
+ fi; \
if test -n '$(DISABLE_HARD_ERRORS)'; then \
am__enable_hard_errors=no; \
else \
***************
*** 401,406 ****
--- 408,414 ----
bases='$(TEST_LOGS)'; \
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
bases=`echo $$bases`
+ AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
RECHECK_LOGS = $(TEST_LOGS)
AM_RECURSIVE_TARGETS = check recheck
TEST_SUITE_LOG = test-suite.log
***************
*** 450,455 ****
--- 458,465 ----
CONFIG_INCLUDE = @CONFIG_INCLUDE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+ CSCOPE = @CSCOPE@
+ CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
***************
*** 465,472 ****
--- 475,484 ----
EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
ERRNO_H = @ERRNO_H@
+ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FLOAT_H = @FLOAT_H@
+ GETGROUPS_LIB = @GETGROUPS_LIB@
GETOPT_CDEFS_H = @GETOPT_CDEFS_H@
GETOPT_H = @GETOPT_H@
GLIBC21 = @GLIBC21@
***************
*** 1243,1250 ****
--- 1255,1264 ----
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
+ am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
+ am__xargs_n = @am__xargs_n@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
***************
*** 1374,1381 ****
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
--- 1388,1395 ----
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
! echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
***************
*** 1482,1491 ****
--- 1495,1531 ----
result_count $$1 "XPASS:" $$xpass "$$red"; \
result_count $$1 "ERROR:" $$error "$$mgn"; \
}; \
+ output_system_information () \
+ { \
+ echo; \
+ { uname -a | $(AWK) '{ \
+ printf "System information (uname -a):"; \
+ for (i = 1; i < NF; ++i) \
+ { \
+ if (i != 2) \
+ printf " %s", $$i; \
+ } \
+ printf "\n"; \
+ }'; } 2>&1; \
+ if test -r /etc/os-release; then \
+ echo "Distribution information (/etc/os-release):"; \
+ sed 8q /etc/os-release; \
+ elif test -r /etc/issue; then \
+ echo "Distribution information (/etc/issue):"; \
+ cat /etc/issue; \
+ fi; \
+ }; \
+ please_report () \
+ { \
+ echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \
+ echo "together with the test-suite.log file (gzipped) and your system"; \
+ echo "information. Thanks."; \
+ }; \
{ \
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
$(am__rst_title); \
create_testsuite_report --no-color; \
+ output_system_information; \
echo; \
echo ".. contents:: :depth: 2"; \
echo; \
***************
*** 1500,1530 ****
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 \
! echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
fi; \
echo "$$col$$br$$std"; \
fi; \
$$success || exit 1
! check-TESTS:
! @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)
@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
! @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; \
--- 1540,1569 ----
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
fi; \
echo "$${col}$$br$${std}"; \
! echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${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) for debugging.$${std}";\
if test -n "$(PACKAGE_BUGREPORT)"; then \
! please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \
fi; \
echo "$$col$$br$$std"; \
fi; \
$$success || exit 1
! check-TESTS:
! @$(am__rm_f) $(RECHECK_LOGS)
! @$(am__rm_f) $(RECHECK_LOGS:.log=.trs)
! @$(am__rm_f) $(TEST_SUITE_LOG)
@set +e; $(am__set_TESTS_bases); \
log_list=`for i in $$bases; do echo $$i.log; done`; \
! log_list=`echo $$log_list`; \
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
exit $$?;
recheck: all
! @$(am__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; \
***************
*** 1856,1863 ****
@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'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
--- 1895,1904 ----
@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: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
! distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
***************
*** 1912,1926 ****
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
! -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
! -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
! -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
distclean-generic:
! -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
--- 1953,1967 ----
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
! -$(am__rm_f) $(TEST_LOGS)
! -$(am__rm_f) $(TEST_LOGS:.log=.trs)
! -$(am__rm_f) $(TEST_SUITE_LOG)
clean-generic:
distclean-generic:
! -$(am__rm_f) $(CONFIG_CLEAN_FILES)
! -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
***************
*** 2010,2012 ****
--- 2051,2060 ----
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+ # Tell GNU make to disable its built-in pattern rules.
+ %:: %,v
+ %:: RCS/%,v
+ %:: RCS/%
+ %:: s.%
+ %:: SCCS/s.%