~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2006-11-29 16:53:44 UTC
  • Revision ID: james.westby@ubuntu.com-20061129165344-0qimyyyhh135a7mf
Tags: 1.4.8-1
New upstream release. Lots of fixes, see the NEWS file for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.60 for GNU M4 1.4.7.
 
3
# Generated by GNU Autoconf 2.61 for GNU M4 1.4.8.
4
4
#
5
5
# Report bugs to <bug-m4@gnu.org>.
6
6
#
12
12
## M4sh Initialization.  ##
13
13
## --------------------- ##
14
14
 
15
 
# Be Bourne compatible
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
16
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
18
  emulate sh
18
19
  NULLCMD=:
21
22
  alias -g '${1+"$@"}'='"$@"'
22
23
  setopt NO_GLOB_SUBST
23
24
else
24
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
25
29
fi
26
 
BIN_SH=xpg4; export BIN_SH # for Tru64
27
 
DUALCASE=1; export DUALCASE # for MKS sh
 
30
 
 
31
 
28
32
 
29
33
 
30
34
# PATH needs CR
217
221
else
218
222
  as_candidate_shells=
219
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
 
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
225
do
222
226
  IFS=$as_save_IFS
223
227
  test -z "$as_dir" && as_dir=.
235
239
         # Try only shells that exist, to save several forks.
236
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
238
 
# Be Bourne compatible
239
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
243
  emulate sh
241
244
  NULLCMD=:
244
247
  alias -g '${1+"$@"}'='"$@"'
245
248
  setopt NO_GLOB_SUBST
246
249
else
247
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
248
254
fi
249
 
BIN_SH=xpg4; export BIN_SH # for Tru64
250
 
DUALCASE=1; export DUALCASE # for MKS sh
 
255
 
251
256
 
252
257
:
253
258
_ASEOF
255
260
  CONFIG_SHELL=$as_shell
256
261
               as_have_required=yes
257
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
258
 
# Be Bourne compatible
259
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
264
  emulate sh
261
265
  NULLCMD=:
264
268
  alias -g '${1+"$@"}'='"$@"'
265
269
  setopt NO_GLOB_SUBST
266
270
else
267
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
268
275
fi
269
 
BIN_SH=xpg4; export BIN_SH # for Tru64
270
 
DUALCASE=1; export DUALCASE # for MKS sh
 
276
 
271
277
 
272
278
:
273
279
(as_func_return () {
514
520
  as_mkdir_p=false
515
521
fi
516
522
 
517
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
518
 
# systems may use methods other than mode bits to determine executability.
519
 
cat >conf$$.file <<_ASEOF
520
 
#! /bin/sh
521
 
exit 0
522
 
_ASEOF
523
 
chmod +x conf$$.file
524
 
if test -x conf$$.file >/dev/null 2>&1; then
525
 
  as_executable_p="test -x"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
526
525
else
527
 
  as_executable_p=:
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
528
543
fi
529
 
rm -f conf$$.file
 
544
as_executable_p=$as_test_x
530
545
 
531
546
# Sed expression to map a string onto a valid CPP name.
532
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
559
574
# Identity of this package.
560
575
PACKAGE_NAME='GNU M4'
561
576
PACKAGE_TARNAME='m4'
562
 
PACKAGE_VERSION='1.4.7'
563
 
PACKAGE_STRING='GNU M4 1.4.7'
 
577
PACKAGE_VERSION='1.4.8'
 
578
PACKAGE_STRING='GNU M4 1.4.8'
564
579
PACKAGE_BUGREPORT='bug-m4@gnu.org'
565
580
 
566
581
ac_unique_file="src/m4.h"
567
582
# Factoring default headers for most tests.
568
583
ac_includes_default="\
569
584
#include <stdio.h>
570
 
#if HAVE_SYS_TYPES_H
 
585
#ifdef HAVE_SYS_TYPES_H
571
586
# include <sys/types.h>
572
587
#endif
573
 
#if HAVE_SYS_STAT_H
 
588
#ifdef HAVE_SYS_STAT_H
574
589
# include <sys/stat.h>
575
590
#endif
576
 
#if STDC_HEADERS
 
591
#ifdef STDC_HEADERS
577
592
# include <stdlib.h>
578
593
# include <stddef.h>
579
594
#else
580
 
# if HAVE_STDLIB_H
 
595
# ifdef HAVE_STDLIB_H
581
596
#  include <stdlib.h>
582
597
# endif
583
598
#endif
584
 
#if HAVE_STRING_H
585
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
599
#ifdef HAVE_STRING_H
 
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586
601
#  include <memory.h>
587
602
# endif
588
603
# include <string.h>
589
604
#endif
590
 
#if HAVE_STRINGS_H
 
605
#ifdef HAVE_STRINGS_H
591
606
# include <strings.h>
592
607
#endif
593
 
#if HAVE_INTTYPES_H
 
608
#ifdef HAVE_INTTYPES_H
594
609
# include <inttypes.h>
595
610
#endif
596
 
#if HAVE_STDINT_H
 
611
#ifdef HAVE_STDINT_H
597
612
# include <stdint.h>
598
613
#endif
599
 
#if HAVE_UNISTD_H
 
614
#ifdef HAVE_UNISTD_H
600
615
# include <unistd.h>
601
616
#endif"
602
617
 
642
657
INSTALL_PROGRAM
643
658
INSTALL_SCRIPT
644
659
INSTALL_DATA
 
660
am__isrc
645
661
CYGPATH_W
646
662
PACKAGE
647
663
VERSION
692
708
GL_COND_LIBTOOL_FALSE
693
709
ALLOCA
694
710
ALLOCA_H
695
 
LIBOBJS
696
711
GETOPT_H
697
712
STDBOOL_H
698
713
HAVE__BOOL
699
714
HAVE_LONG_LONG_INT
 
715
HAVE_UNSIGNED_LONG_LONG_INT
700
716
HAVE_WCHAR_H
701
717
HAVE_INTTYPES_H
702
718
HAVE_SYS_TYPES_H
726
742
LIBM4_LTLIBDEPS
727
743
STACKOVF_TRUE
728
744
STACKOVF_FALSE
729
 
LTLIBOBJS'
 
745
LIBOBJS
 
746
LTLIBOBJS
 
747
M4_LIBOBJS
 
748
M4_LTLIBOBJS'
730
749
ac_subst_files=''
731
750
      ac_precious_vars='build_alias
732
751
host_alias
734
753
CC
735
754
CFLAGS
736
755
LDFLAGS
 
756
LIBS
737
757
CPPFLAGS
738
758
CPP'
739
759
 
841
861
  -disable-* | --disable-*)
842
862
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843
863
    # Reject names that are not valid shell variable names.
844
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
864
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
845
865
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
846
866
   { (exit 1); exit 1; }; }
847
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
867
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
848
868
    eval enable_$ac_feature=no ;;
849
869
 
850
870
  -docdir | --docdir | --docdi | --doc | --do)
860
880
  -enable-* | --enable-*)
861
881
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862
882
    # Reject names that are not valid shell variable names.
863
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
883
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
864
884
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
865
885
   { (exit 1); exit 1; }; }
866
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
886
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
867
887
    eval enable_$ac_feature=\$ac_optarg ;;
868
888
 
869
889
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057
1077
  -with-* | --with-*)
1058
1078
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059
1079
    # Reject names that are not valid shell variable names.
1060
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1080
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1061
1081
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1062
1082
   { (exit 1); exit 1; }; }
1063
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
1083
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1064
1084
    eval with_$ac_package=\$ac_optarg ;;
1065
1085
 
1066
1086
  -without-* | --without-*)
1067
1087
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1068
1088
    # Reject names that are not valid shell variable names.
1069
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1089
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1070
1090
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1071
1091
   { (exit 1); exit 1; }; }
1072
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
1092
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1073
1093
    eval with_$ac_package=no ;;
1074
1094
 
1075
1095
  --x)
1238
1258
  # Omit some internal or obsolete options to make the list less imposing.
1239
1259
  # This message is too long to be a string in the A/UX 3.1 sh.
1240
1260
  cat <<_ACEOF
1241
 
\`configure' configures GNU M4 1.4.7 to adapt to many kinds of systems.
 
1261
\`configure' configures GNU M4 1.4.8 to adapt to many kinds of systems.
1242
1262
 
1243
1263
Usage: $0 [OPTION]... [VAR=VALUE]...
1244
1264
 
1308
1328
 
1309
1329
if test -n "$ac_init_help"; then
1310
1330
  case $ac_init_help in
1311
 
     short | recursive ) echo "Configuration of GNU M4 1.4.7:";;
 
1331
     short | recursive ) echo "Configuration of GNU M4 1.4.8:";;
1312
1332
   esac
1313
1333
  cat <<\_ACEOF
1314
1334
 
1335
1355
  CFLAGS      C compiler flags
1336
1356
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1337
1357
              nonstandard directory <lib dir>
 
1358
  LIBS        libraries to pass to the linker, e.g. -l<library>
1338
1359
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1339
1360
              you have headers in a nonstandard directory <include dir>
1340
1361
  CPP         C preprocessor
1403
1424
test -n "$ac_init_help" && exit $ac_status
1404
1425
if $ac_init_version; then
1405
1426
  cat <<\_ACEOF
1406
 
GNU M4 configure 1.4.7
1407
 
generated by GNU Autoconf 2.60
 
1427
GNU M4 configure 1.4.8
 
1428
generated by GNU Autoconf 2.61
1408
1429
 
1409
1430
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1410
1431
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1417
1438
This file contains any messages produced by compilers while
1418
1439
running configure, to aid debugging if configure makes a mistake.
1419
1440
 
1420
 
It was created by GNU M4 $as_me 1.4.7, which was
1421
 
generated by GNU Autoconf 2.60.  Invocation command line was
 
1441
It was created by GNU M4 $as_me 1.4.8, which was
 
1442
generated by GNU Autoconf 2.61.  Invocation command line was
1422
1443
 
1423
1444
  $ $0 $@
1424
1445
 
1698
1719
ac_func_list="$ac_func_list sigstack"
1699
1720
ac_func_list="$ac_func_list sigvec"
1700
1721
ac_func_list="$ac_func_list strerror"
 
1722
ac_header_list="$ac_header_list unistd.h"
 
1723
ac_func_list="$ac_func_list raise"
 
1724
ac_header_list="$ac_header_list stdio_ext.h"
1701
1725
ac_header_list="$ac_header_list wchar.h"
1702
1726
ac_header_list="$ac_header_list wctype.h"
1703
 
ac_header_list="$ac_header_list sys/time.h"
 
1727
ac_header_list="$ac_header_list sys/param.h"
 
1728
ac_func_list="$ac_func_list iswprint"
 
1729
ac_func_list="$ac_func_list mbsinit"
1704
1730
ac_header_list="$ac_header_list locale.h"
1705
1731
ac_func_list="$ac_func_list mbrtowc"
1706
1732
ac_func_list="$ac_func_list mempcpy"
1709
1735
ac_header_list="$ac_header_list stdint.h"
1710
1736
ac_func_list="$ac_func_list lstat"
1711
1737
ac_header_list="$ac_header_list sys/stat.h"
 
1738
ac_header_list="$ac_header_list sys/time.h"
 
1739
ac_func_list="$ac_func_list gettimeofday"
1712
1740
ac_func_list="$ac_func_list pipe"
1713
 
ac_func_list="$ac_func_list iswprint"
1714
1741
ac_func_list="$ac_func_list wcwidth"
1715
1742
# Check that the precious variables saved in the cache have kept the same
1716
1743
# value.
1792
1819
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793
1820
 
1794
1821
 
1795
 
am__api_version="1.9"
 
1822
am__api_version='1.10'
 
1823
 
1796
1824
ac_aux_dir=
1797
1825
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1798
1826
  if test -f "$ac_dir/install-sh"; then
1860
1888
    # by default.
1861
1889
    for ac_prog in ginstall scoinst install; do
1862
1890
      for ac_exec_ext in '' $ac_executable_extensions; do
1863
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1891
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1864
1892
          if test $ac_prog = install &&
1865
1893
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1866
1894
            # AIX install.  It has an incompatible calling convention.
1975
2003
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1976
2004
fi
1977
2005
 
1978
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1979
 
  # We used to keeping the `.' as first argument, in order to
1980
 
  # allow $(mkdir_p) to be used without argument.  As in
1981
 
  #   $(mkdir_p) $(somedir)
1982
 
  # where $(somedir) is conditionally defined.  However this is wrong
1983
 
  # for two reasons:
1984
 
  #  1. if the package is installed by a user who cannot write `.'
1985
 
  #     make install will fail,
1986
 
  #  2. the above comment should most certainly read
1987
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1988
 
  #     so it does not work when $(somedir) is undefined and
1989
 
  #     $(DESTDIR) is not.
1990
 
  #  To support the latter case, we have to write
1991
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1992
 
  #  so the `.' trick is pointless.
1993
 
  mkdir_p='mkdir -p --'
 
2006
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2007
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2008
if test -z "$MKDIR_P"; then
 
2009
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2010
  echo $ECHO_N "(cached) $ECHO_C" >&6
1994
2011
else
1995
 
  # On NextStep and OpenStep, the `mkdir' command does not
1996
 
  # recognize any option.  It will interpret all options as
1997
 
  # directories to create, and then abort because `.' already
1998
 
  # exists.
1999
 
  for d in ./-p ./--version;
2000
 
  do
2001
 
    test -d $d && rmdir $d
2002
 
  done
2003
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2004
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2005
 
    mkdir_p='$(mkinstalldirs)'
 
2012
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2013
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2014
do
 
2015
  IFS=$as_save_IFS
 
2016
  test -z "$as_dir" && as_dir=.
 
2017
  for ac_prog in mkdir gmkdir; do
 
2018
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2019
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2020
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2021
             'mkdir (GNU coreutils) '* | \
 
2022
             'mkdir (coreutils) '* | \
 
2023
             'mkdir (fileutils) '4.1*)
 
2024
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2025
               break 3;;
 
2026
           esac
 
2027
         done
 
2028
       done
 
2029
done
 
2030
IFS=$as_save_IFS
 
2031
 
 
2032
fi
 
2033
 
 
2034
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2035
    MKDIR_P="$ac_cv_path_mkdir -p"
2006
2036
  else
2007
 
    mkdir_p='$(install_sh) -d'
 
2037
    # As a last resort, use the slow shell script.  Don't cache a
 
2038
    # value for MKDIR_P within a source directory, because that will
 
2039
    # break other packages using the cache if that directory is
 
2040
    # removed, or if the value is a relative name.
 
2041
    test -d ./--version && rmdir ./--version
 
2042
    MKDIR_P="$ac_install_sh -d"
2008
2043
  fi
2009
2044
fi
 
2045
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2046
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2047
 
 
2048
mkdir_p="$MKDIR_P"
 
2049
case $mkdir_p in
 
2050
  [\\/$]* | ?:[\\/]*) ;;
 
2051
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2052
esac
2010
2053
 
2011
2054
for ac_prog in gawk mawk nawk awk
2012
2055
do
2026
2069
  IFS=$as_save_IFS
2027
2070
  test -z "$as_dir" && as_dir=.
2028
2071
  for ac_exec_ext in '' $ac_executable_extensions; do
2029
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2072
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2030
2073
    ac_cv_prog_AWK="$ac_prog"
2031
2074
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032
2075
    break 2
2089
2132
fi
2090
2133
rmdir .tst 2>/dev/null
2091
2134
 
2092
 
# test to see if srcdir already configured
2093
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2094
 
   test -f $srcdir/config.status; then
2095
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2135
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2136
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2137
  # is not polluted with repeated "-I."
 
2138
  am__isrc=' -I$(srcdir)'
 
2139
  # test to see if srcdir already configured
 
2140
  if test -f $srcdir/config.status; then
 
2141
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2096
2142
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2097
2143
   { (exit 1); exit 1; }; }
 
2144
  fi
2098
2145
fi
2099
2146
 
2100
2147
# test whether we have cygpath
2109
2156
 
2110
2157
# Define the identity of the package.
2111
2158
 PACKAGE='m4'
2112
 
 VERSION='1.4.7'
 
2159
 VERSION='1.4.8'
2113
2160
 
2114
2161
 
2115
2162
cat >>confdefs.h <<_ACEOF
2137
2184
 
2138
2185
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2139
2186
 
2140
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2187
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2141
2188
 
2142
2189
# Installed binaries are usually stripped using `strip' when the user
2143
2190
# run `make install-strip'.  However `strip' might not be the right
2161
2208
  IFS=$as_save_IFS
2162
2209
  test -z "$as_dir" && as_dir=.
2163
2210
  for ac_exec_ext in '' $ac_executable_extensions; do
2164
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165
2212
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2166
2213
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167
2214
    break 2
2201
2248
  IFS=$as_save_IFS
2202
2249
  test -z "$as_dir" && as_dir=.
2203
2250
  for ac_exec_ext in '' $ac_executable_extensions; do
2204
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2251
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205
2252
    ac_cv_prog_ac_ct_STRIP="strip"
2206
2253
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207
2254
    break 2
2241
2288
fi
2242
2289
 
2243
2290
fi
2244
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2291
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2245
2292
 
2246
2293
# We need awk for the "check" target.  The system "awk" is bad on
2247
2294
# some platforms.
2261
2308
 
2262
2309
 
2263
2310
 
2264
 
 
2265
 
ac_config_headers="$ac_config_headers config.h:config-h.in"
 
2311
ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
2266
2312
 
2267
2313
 
2268
2314
# Make sure we can run config.sub.
2370
2416
  IFS=$as_save_IFS
2371
2417
  test -z "$as_dir" && as_dir=.
2372
2418
  for ac_exec_ext in '' $ac_executable_extensions; do
2373
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374
2420
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2375
2421
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376
2422
    break 2
2410
2456
  IFS=$as_save_IFS
2411
2457
  test -z "$as_dir" && as_dir=.
2412
2458
  for ac_exec_ext in '' $ac_executable_extensions; do
2413
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414
2460
    ac_cv_prog_ac_ct_CC="gcc"
2415
2461
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416
2462
    break 2
2467
2513
  IFS=$as_save_IFS
2468
2514
  test -z "$as_dir" && as_dir=.
2469
2515
  for ac_exec_ext in '' $ac_executable_extensions; do
2470
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2516
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471
2517
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2472
2518
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473
2519
    break 2
2508
2554
  IFS=$as_save_IFS
2509
2555
  test -z "$as_dir" && as_dir=.
2510
2556
  for ac_exec_ext in '' $ac_executable_extensions; do
2511
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512
2558
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2513
2559
       ac_prog_rejected=yes
2514
2560
       continue
2566
2612
  IFS=$as_save_IFS
2567
2613
  test -z "$as_dir" && as_dir=.
2568
2614
  for ac_exec_ext in '' $ac_executable_extensions; do
2569
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2615
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570
2616
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2571
2617
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2572
2618
    break 2
2610
2656
  IFS=$as_save_IFS
2611
2657
  test -z "$as_dir" && as_dir=.
2612
2658
  for ac_exec_ext in '' $ac_executable_extensions; do
2613
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614
2660
    ac_cv_prog_ac_ct_CC="$ac_prog"
2615
2661
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616
2662
    break 2
2751
2797
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2752
2798
# so that the user can short-circuit this test for compilers unknown to
2753
2799
# Autoconf.
2754
 
for ac_file in $ac_files
 
2800
for ac_file in $ac_files ''
2755
2801
do
2756
2802
  test -f "$ac_file" || continue
2757
2803
  case $ac_file in
2779
2825
test "$ac_cv_exeext" = no && ac_cv_exeext=
2780
2826
 
2781
2827
else
 
2828
  ac_file=''
 
2829
fi
 
2830
 
 
2831
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2832
echo "${ECHO_T}$ac_file" >&6; }
 
2833
if test -z "$ac_file"; then
2782
2834
  echo "$as_me: failed program was:" >&5
2783
2835
sed 's/^/| /' conftest.$ac_ext >&5
2784
2836
 
2790
2842
fi
2791
2843
 
2792
2844
ac_exeext=$ac_cv_exeext
2793
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2794
 
echo "${ECHO_T}$ac_file" >&6; }
2795
2845
 
2796
2846
# Check that the compiler produces executables we can run.  If not, either
2797
2847
# the compiler is broken, or we cross compile.
2969
3019
  rm -f conftest.er1
2970
3020
  cat conftest.err >&5
2971
3021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972
 
  (exit $ac_status); } &&
2973
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2974
 
  { (case "(($ac_try" in
2975
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976
 
  *) ac_try_echo=$ac_try;;
2977
 
esac
2978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979
 
  (eval "$ac_try") 2>&5
2980
 
  ac_status=$?
2981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982
 
  (exit $ac_status); }; } &&
2983
 
         { ac_try='test -s conftest.$ac_objext'
2984
 
  { (case "(($ac_try" in
2985
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986
 
  *) ac_try_echo=$ac_try;;
2987
 
esac
2988
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989
 
  (eval "$ac_try") 2>&5
2990
 
  ac_status=$?
2991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
 
  (exit $ac_status); }; }; then
 
3022
  (exit $ac_status); } && {
 
3023
         test -z "$ac_c_werror_flag" ||
 
3024
         test ! -s conftest.err
 
3025
       } && test -s conftest.$ac_objext; then
2993
3026
  ac_compiler_gnu=yes
2994
3027
else
2995
3028
  echo "$as_me: failed program was:" >&5
3044
3077
  rm -f conftest.er1
3045
3078
  cat conftest.err >&5
3046
3079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
 
  (exit $ac_status); } &&
3048
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3049
 
  { (case "(($ac_try" in
3050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051
 
  *) ac_try_echo=$ac_try;;
3052
 
esac
3053
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054
 
  (eval "$ac_try") 2>&5
3055
 
  ac_status=$?
3056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
 
  (exit $ac_status); }; } &&
3058
 
         { ac_try='test -s conftest.$ac_objext'
3059
 
  { (case "(($ac_try" in
3060
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061
 
  *) ac_try_echo=$ac_try;;
3062
 
esac
3063
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3064
 
  (eval "$ac_try") 2>&5
3065
 
  ac_status=$?
3066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067
 
  (exit $ac_status); }; }; then
 
3080
  (exit $ac_status); } && {
 
3081
         test -z "$ac_c_werror_flag" ||
 
3082
         test ! -s conftest.err
 
3083
       } && test -s conftest.$ac_objext; then
3068
3084
  ac_cv_prog_cc_g=yes
3069
3085
else
3070
3086
  echo "$as_me: failed program was:" >&5
3099
3115
  rm -f conftest.er1
3100
3116
  cat conftest.err >&5
3101
3117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102
 
  (exit $ac_status); } &&
3103
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3104
 
  { (case "(($ac_try" in
3105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106
 
  *) ac_try_echo=$ac_try;;
3107
 
esac
3108
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3109
 
  (eval "$ac_try") 2>&5
3110
 
  ac_status=$?
3111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112
 
  (exit $ac_status); }; } &&
3113
 
         { ac_try='test -s conftest.$ac_objext'
3114
 
  { (case "(($ac_try" in
3115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116
 
  *) ac_try_echo=$ac_try;;
3117
 
esac
3118
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119
 
  (eval "$ac_try") 2>&5
3120
 
  ac_status=$?
3121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122
 
  (exit $ac_status); }; }; then
 
3118
  (exit $ac_status); } && {
 
3119
         test -z "$ac_c_werror_flag" ||
 
3120
         test ! -s conftest.err
 
3121
       } && test -s conftest.$ac_objext; then
3123
3122
  :
3124
3123
else
3125
3124
  echo "$as_me: failed program was:" >&5
3155
3154
  rm -f conftest.er1
3156
3155
  cat conftest.err >&5
3157
3156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158
 
  (exit $ac_status); } &&
3159
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3160
 
  { (case "(($ac_try" in
3161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162
 
  *) ac_try_echo=$ac_try;;
3163
 
esac
3164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3165
 
  (eval "$ac_try") 2>&5
3166
 
  ac_status=$?
3167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168
 
  (exit $ac_status); }; } &&
3169
 
         { ac_try='test -s conftest.$ac_objext'
3170
 
  { (case "(($ac_try" in
3171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172
 
  *) ac_try_echo=$ac_try;;
3173
 
esac
3174
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3175
 
  (eval "$ac_try") 2>&5
3176
 
  ac_status=$?
3177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
 
  (exit $ac_status); }; }; then
 
3157
  (exit $ac_status); } && {
 
3158
         test -z "$ac_c_werror_flag" ||
 
3159
         test ! -s conftest.err
 
3160
       } && test -s conftest.$ac_objext; then
3179
3161
  ac_cv_prog_cc_g=yes
3180
3162
else
3181
3163
  echo "$as_me: failed program was:" >&5
3291
3273
  rm -f conftest.er1
3292
3274
  cat conftest.err >&5
3293
3275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294
 
  (exit $ac_status); } &&
3295
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3296
 
  { (case "(($ac_try" in
3297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298
 
  *) ac_try_echo=$ac_try;;
3299
 
esac
3300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3301
 
  (eval "$ac_try") 2>&5
3302
 
  ac_status=$?
3303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
 
  (exit $ac_status); }; } &&
3305
 
         { ac_try='test -s conftest.$ac_objext'
3306
 
  { (case "(($ac_try" in
3307
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
 
  *) ac_try_echo=$ac_try;;
3309
 
esac
3310
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3311
 
  (eval "$ac_try") 2>&5
3312
 
  ac_status=$?
3313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314
 
  (exit $ac_status); }; }; then
 
3276
  (exit $ac_status); } && {
 
3277
         test -z "$ac_c_werror_flag" ||
 
3278
         test ! -s conftest.err
 
3279
       } && test -s conftest.$ac_objext; then
3315
3280
  ac_cv_prog_cc_c89=$ac_arg
3316
3281
else
3317
3282
  echo "$as_me: failed program was:" >&5
3400
3365
  am_depcomp="$ac_aux_dir/depcomp"
3401
3366
  AMDEPBACKSLASH='\'
3402
3367
fi
3403
 
 
3404
 
 
3405
 
if test "x$enable_dependency_tracking" != xno; then
 
3368
 if test "x$enable_dependency_tracking" != xno; then
3406
3369
  AMDEP_TRUE=
3407
3370
  AMDEP_FALSE='#'
3408
3371
else
3412
3375
 
3413
3376
 
3414
3377
 
3415
 
 
3416
3378
depcc="$CC"   am_compiler_list=
3417
3379
 
3418
3380
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3480
3442
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3481
3443
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3482
3444
         >/dev/null 2>conftest.err &&
 
3445
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3483
3446
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3484
3447
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3485
3448
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3509
3472
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3510
3473
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3511
3474
 
3512
 
 
3513
 
 
3514
 
if
 
3475
 if
3515
3476
  test "x$enable_dependency_tracking" != xno \
3516
3477
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3517
3478
  am__fastdepCC_TRUE=
3539
3500
  IFS=$as_save_IFS
3540
3501
  test -z "$as_dir" && as_dir=.
3541
3502
  for ac_exec_ext in '' $ac_executable_extensions; do
3542
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543
3504
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3544
3505
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3545
3506
    break 2
3579
3540
  IFS=$as_save_IFS
3580
3541
  test -z "$as_dir" && as_dir=.
3581
3542
  for ac_exec_ext in '' $ac_executable_extensions; do
3582
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3543
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583
3544
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3584
3545
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3585
3546
    break 2
3677
3638
  rm -f conftest.er1
3678
3639
  cat conftest.err >&5
3679
3640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680
 
  (exit $ac_status); } >/dev/null; then
3681
 
  if test -s conftest.err; then
3682
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3683
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3684
 
  else
3685
 
    ac_cpp_err=
3686
 
  fi
3687
 
else
3688
 
  ac_cpp_err=yes
3689
 
fi
3690
 
if test -z "$ac_cpp_err"; then
 
3641
  (exit $ac_status); } >/dev/null && {
 
3642
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3643
         test ! -s conftest.err
 
3644
       }; then
3691
3645
  :
3692
3646
else
3693
3647
  echo "$as_me: failed program was:" >&5
3721
3675
  rm -f conftest.er1
3722
3676
  cat conftest.err >&5
3723
3677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724
 
  (exit $ac_status); } >/dev/null; then
3725
 
  if test -s conftest.err; then
3726
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3727
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3728
 
  else
3729
 
    ac_cpp_err=
3730
 
  fi
3731
 
else
3732
 
  ac_cpp_err=yes
3733
 
fi
3734
 
if test -z "$ac_cpp_err"; then
 
3678
  (exit $ac_status); } >/dev/null && {
 
3679
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3680
         test ! -s conftest.err
 
3681
       }; then
3735
3682
  # Broken: success on invalid input.
3736
3683
continue
3737
3684
else
3796
3743
  rm -f conftest.er1
3797
3744
  cat conftest.err >&5
3798
3745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799
 
  (exit $ac_status); } >/dev/null; then
3800
 
  if test -s conftest.err; then
3801
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3802
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3803
 
  else
3804
 
    ac_cpp_err=
3805
 
  fi
3806
 
else
3807
 
  ac_cpp_err=yes
3808
 
fi
3809
 
if test -z "$ac_cpp_err"; then
 
3746
  (exit $ac_status); } >/dev/null && {
 
3747
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3748
         test ! -s conftest.err
 
3749
       }; then
3810
3750
  :
3811
3751
else
3812
3752
  echo "$as_me: failed program was:" >&5
3840
3780
  rm -f conftest.er1
3841
3781
  cat conftest.err >&5
3842
3782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843
 
  (exit $ac_status); } >/dev/null; then
3844
 
  if test -s conftest.err; then
3845
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3846
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3847
 
  else
3848
 
    ac_cpp_err=
3849
 
  fi
3850
 
else
3851
 
  ac_cpp_err=yes
3852
 
fi
3853
 
if test -z "$ac_cpp_err"; then
 
3783
  (exit $ac_status); } >/dev/null && {
 
3784
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3785
         test ! -s conftest.err
 
3786
       }; then
3854
3787
  # Broken: success on invalid input.
3855
3788
continue
3856
3789
else
3905
3838
  for ac_prog in grep ggrep; do
3906
3839
  for ac_exec_ext in '' $ac_executable_extensions; do
3907
3840
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3908
 
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3841
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3909
3842
    # Check for GNU ac_path_GREP and select it if it is found.
3910
3843
  # Check for GNU $ac_path_GREP
3911
3844
case `"$ac_path_GREP" --version 2>&1` in
3987
3920
  for ac_prog in egrep; do
3988
3921
  for ac_exec_ext in '' $ac_executable_extensions; do
3989
3922
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3990
 
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
3923
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3991
3924
    # Check for GNU ac_path_EGREP and select it if it is found.
3992
3925
  # Check for GNU $ac_path_EGREP
3993
3926
case `"$ac_path_EGREP" --version 2>&1` in
4112
4045
  rm -f conftest.er1
4113
4046
  cat conftest.err >&5
4114
4047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115
 
  (exit $ac_status); } &&
4116
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4117
 
  { (case "(($ac_try" in
4118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119
 
  *) ac_try_echo=$ac_try;;
4120
 
esac
4121
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122
 
  (eval "$ac_try") 2>&5
4123
 
  ac_status=$?
4124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125
 
  (exit $ac_status); }; } &&
4126
 
         { ac_try='test -s conftest.$ac_objext'
4127
 
  { (case "(($ac_try" in
4128
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129
 
  *) ac_try_echo=$ac_try;;
4130
 
esac
4131
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132
 
  (eval "$ac_try") 2>&5
4133
 
  ac_status=$?
4134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135
 
  (exit $ac_status); }; }; then
 
4048
  (exit $ac_status); } && {
 
4049
         test -z "$ac_c_werror_flag" ||
 
4050
         test ! -s conftest.err
 
4051
       } && test -s conftest.$ac_objext; then
4136
4052
  ac_cv_header_stdc=yes
4137
4053
else
4138
4054
  echo "$as_me: failed program was:" >&5
4308
4224
  rm -f conftest.er1
4309
4225
  cat conftest.err >&5
4310
4226
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311
 
  (exit $ac_status); } &&
4312
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4313
 
  { (case "(($ac_try" in
4314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315
 
  *) ac_try_echo=$ac_try;;
4316
 
esac
4317
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4318
 
  (eval "$ac_try") 2>&5
4319
 
  ac_status=$?
4320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321
 
  (exit $ac_status); }; } &&
4322
 
         { ac_try='test -s conftest.$ac_objext'
4323
 
  { (case "(($ac_try" in
4324
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325
 
  *) ac_try_echo=$ac_try;;
4326
 
esac
4327
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4328
 
  (eval "$ac_try") 2>&5
4329
 
  ac_status=$?
4330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331
 
  (exit $ac_status); }; }; then
 
4227
  (exit $ac_status); } && {
 
4228
         test -z "$ac_c_werror_flag" ||
 
4229
         test ! -s conftest.err
 
4230
       } && test -s conftest.$ac_objext; then
4332
4231
  eval "$as_ac_Header=yes"
4333
4232
else
4334
4233
  echo "$as_me: failed program was:" >&5
4386
4285
  rm -f conftest.er1
4387
4286
  cat conftest.err >&5
4388
4287
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389
 
  (exit $ac_status); } &&
4390
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4391
 
  { (case "(($ac_try" in
4392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4393
 
  *) ac_try_echo=$ac_try;;
4394
 
esac
4395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4396
 
  (eval "$ac_try") 2>&5
4397
 
  ac_status=$?
4398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
 
  (exit $ac_status); }; } &&
4400
 
         { ac_try='test -s conftest.$ac_objext'
4401
 
  { (case "(($ac_try" in
4402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403
 
  *) ac_try_echo=$ac_try;;
4404
 
esac
4405
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4406
 
  (eval "$ac_try") 2>&5
4407
 
  ac_status=$?
4408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409
 
  (exit $ac_status); }; }; then
 
4288
  (exit $ac_status); } && {
 
4289
         test -z "$ac_c_werror_flag" ||
 
4290
         test ! -s conftest.err
 
4291
       } && test -s conftest.$ac_objext; then
4410
4292
  ac_header_compiler=yes
4411
4293
else
4412
4294
  echo "$as_me: failed program was:" >&5
4442
4324
  rm -f conftest.er1
4443
4325
  cat conftest.err >&5
4444
4326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445
 
  (exit $ac_status); } >/dev/null; then
4446
 
  if test -s conftest.err; then
4447
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4448
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4449
 
  else
4450
 
    ac_cpp_err=
4451
 
  fi
4452
 
else
4453
 
  ac_cpp_err=yes
4454
 
fi
4455
 
if test -z "$ac_cpp_err"; then
 
4327
  (exit $ac_status); } >/dev/null && {
 
4328
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4329
         test ! -s conftest.err
 
4330
       }; then
4456
4331
  ac_header_preproc=yes
4457
4332
else
4458
4333
  echo "$as_me: failed program was:" >&5
4553
4428
cat >>conftest.$ac_ext <<_ACEOF
4554
4429
/* end confdefs.h.  */
4555
4430
 
4556
 
          #define __EXTENSIONS__ 1
 
4431
#         define __EXTENSIONS__ 1
4557
4432
          $ac_includes_default
4558
4433
int
4559
4434
main ()
4576
4451
  rm -f conftest.er1
4577
4452
  cat conftest.err >&5
4578
4453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579
 
  (exit $ac_status); } &&
4580
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4581
 
  { (case "(($ac_try" in
4582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583
 
  *) ac_try_echo=$ac_try;;
4584
 
esac
4585
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586
 
  (eval "$ac_try") 2>&5
4587
 
  ac_status=$?
4588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589
 
  (exit $ac_status); }; } &&
4590
 
         { ac_try='test -s conftest.$ac_objext'
4591
 
  { (case "(($ac_try" in
4592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593
 
  *) ac_try_echo=$ac_try;;
4594
 
esac
4595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596
 
  (eval "$ac_try") 2>&5
4597
 
  ac_status=$?
4598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
 
  (exit $ac_status); }; }; then
 
4454
  (exit $ac_status); } && {
 
4455
         test -z "$ac_c_werror_flag" ||
 
4456
         test ! -s conftest.err
 
4457
       } && test -s conftest.$ac_objext; then
4600
4458
  ac_cv_safe_to_define___extensions__=yes
4601
4459
else
4602
4460
  echo "$as_me: failed program was:" >&5
4618
4476
#define _POSIX_PTHREAD_SEMANTICS 1
4619
4477
_ACEOF
4620
4478
 
 
4479
  cat >>confdefs.h <<\_ACEOF
 
4480
#define _TANDEM_SOURCE 1
 
4481
_ACEOF
 
4482
 
 
4483
 
4621
4484
 
4622
4485
 
4623
4486
 
4667
4530
  rm -f conftest.er1
4668
4531
  cat conftest.err >&5
4669
4532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670
 
  (exit $ac_status); } &&
4671
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4672
 
  { (case "(($ac_try" in
4673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674
 
  *) ac_try_echo=$ac_try;;
4675
 
esac
4676
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677
 
  (eval "$ac_try") 2>&5
4678
 
  ac_status=$?
4679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
 
  (exit $ac_status); }; } &&
4681
 
         { ac_try='test -s conftest.$ac_objext'
4682
 
  { (case "(($ac_try" in
4683
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4684
 
  *) ac_try_echo=$ac_try;;
4685
 
esac
4686
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4687
 
  (eval "$ac_try") 2>&5
4688
 
  ac_status=$?
4689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690
 
  (exit $ac_status); }; }; then
 
4533
  (exit $ac_status); } && {
 
4534
         test -z "$ac_c_werror_flag" ||
 
4535
         test ! -s conftest.err
 
4536
       } && test -s conftest.$ac_objext; then
4691
4537
  ac_header_compiler=yes
4692
4538
else
4693
4539
  echo "$as_me: failed program was:" >&5
4723
4569
  rm -f conftest.er1
4724
4570
  cat conftest.err >&5
4725
4571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726
 
  (exit $ac_status); } >/dev/null; then
4727
 
  if test -s conftest.err; then
4728
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4729
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4730
 
  else
4731
 
    ac_cpp_err=
4732
 
  fi
4733
 
else
4734
 
  ac_cpp_err=yes
4735
 
fi
4736
 
if test -z "$ac_cpp_err"; then
 
4572
  (exit $ac_status); } >/dev/null && {
 
4573
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4574
         test ! -s conftest.err
 
4575
       }; then
4737
4576
  ac_header_preproc=yes
4738
4577
else
4739
4578
  echo "$as_me: failed program was:" >&5
4855
4694
  rm -f conftest.er1
4856
4695
  cat conftest.err >&5
4857
4696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
 
  (exit $ac_status); } &&
4859
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4860
 
  { (case "(($ac_try" in
4861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862
 
  *) ac_try_echo=$ac_try;;
4863
 
esac
4864
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4865
 
  (eval "$ac_try") 2>&5
4866
 
  ac_status=$?
4867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868
 
  (exit $ac_status); }; } &&
4869
 
         { ac_try='test -s conftest.$ac_objext'
4870
 
  { (case "(($ac_try" in
4871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4872
 
  *) ac_try_echo=$ac_try;;
4873
 
esac
4874
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4875
 
  (eval "$ac_try") 2>&5
4876
 
  ac_status=$?
4877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878
 
  (exit $ac_status); }; }; then
 
4697
  (exit $ac_status); } && {
 
4698
         test -z "$ac_c_werror_flag" ||
 
4699
         test ! -s conftest.err
 
4700
       } && test -s conftest.$ac_objext; then
4879
4701
  ac_cv_type_siginfo_t=yes
4880
4702
else
4881
4703
  echo "$as_me: failed program was:" >&5
4934
4756
  rm -f conftest.er1
4935
4757
  cat conftest.err >&5
4936
4758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937
 
  (exit $ac_status); } &&
4938
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4939
 
  { (case "(($ac_try" in
4940
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941
 
  *) ac_try_echo=$ac_try;;
4942
 
esac
4943
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4944
 
  (eval "$ac_try") 2>&5
4945
 
  ac_status=$?
4946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947
 
  (exit $ac_status); }; } &&
4948
 
         { ac_try='test -s conftest.$ac_objext'
4949
 
  { (case "(($ac_try" in
4950
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951
 
  *) ac_try_echo=$ac_try;;
4952
 
esac
4953
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954
 
  (eval "$ac_try") 2>&5
4955
 
  ac_status=$?
4956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957
 
  (exit $ac_status); }; }; then
 
4759
  (exit $ac_status); } && {
 
4760
         test -z "$ac_c_werror_flag" ||
 
4761
         test ! -s conftest.err
 
4762
       } && test -s conftest.$ac_objext; then
4958
4763
  ac_cv_member_struct_sigaction_sa_sigaction=yes
4959
4764
else
4960
4765
  echo "$as_me: failed program was:" >&5
4992
4797
  rm -f conftest.er1
4993
4798
  cat conftest.err >&5
4994
4799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995
 
  (exit $ac_status); } &&
4996
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4997
 
  { (case "(($ac_try" in
4998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999
 
  *) ac_try_echo=$ac_try;;
5000
 
esac
5001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002
 
  (eval "$ac_try") 2>&5
5003
 
  ac_status=$?
5004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
 
  (exit $ac_status); }; } &&
5006
 
         { ac_try='test -s conftest.$ac_objext'
5007
 
  { (case "(($ac_try" in
5008
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5009
 
  *) ac_try_echo=$ac_try;;
5010
 
esac
5011
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5012
 
  (eval "$ac_try") 2>&5
5013
 
  ac_status=$?
5014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
 
  (exit $ac_status); }; }; then
 
4800
  (exit $ac_status); } && {
 
4801
         test -z "$ac_c_werror_flag" ||
 
4802
         test ! -s conftest.err
 
4803
       } && test -s conftest.$ac_objext; then
5016
4804
  ac_cv_member_struct_sigaction_sa_sigaction=yes
5017
4805
else
5018
4806
  echo "$as_me: failed program was:" >&5
5073
4861
  rm -f conftest.er1
5074
4862
  cat conftest.err >&5
5075
4863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076
 
  (exit $ac_status); } &&
5077
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5078
 
  { (case "(($ac_try" in
5079
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080
 
  *) ac_try_echo=$ac_try;;
5081
 
esac
5082
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5083
 
  (eval "$ac_try") 2>&5
5084
 
  ac_status=$?
5085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086
 
  (exit $ac_status); }; } &&
5087
 
         { ac_try='test -s conftest.$ac_objext'
5088
 
  { (case "(($ac_try" in
5089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090
 
  *) ac_try_echo=$ac_try;;
5091
 
esac
5092
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5093
 
  (eval "$ac_try") 2>&5
5094
 
  ac_status=$?
5095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
 
  (exit $ac_status); }; }; then
 
4864
  (exit $ac_status); } && {
 
4865
         test -z "$ac_c_werror_flag" ||
 
4866
         test ! -s conftest.err
 
4867
       } && test -s conftest.$ac_objext; then
5097
4868
  ac_cv_type_signal=int
5098
4869
else
5099
4870
  echo "$as_me: failed program was:" >&5
5149
4920
  rm -f conftest.er1
5150
4921
  cat conftest.err >&5
5151
4922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152
 
  (exit $ac_status); } &&
5153
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5154
 
  { (case "(($ac_try" in
5155
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156
 
  *) ac_try_echo=$ac_try;;
5157
 
esac
5158
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5159
 
  (eval "$ac_try") 2>&5
5160
 
  ac_status=$?
5161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162
 
  (exit $ac_status); }; } &&
5163
 
         { ac_try='test -s conftest.$ac_objext'
5164
 
  { (case "(($ac_try" in
5165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5166
 
  *) ac_try_echo=$ac_try;;
5167
 
esac
5168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5169
 
  (eval "$ac_try") 2>&5
5170
 
  ac_status=$?
5171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172
 
  (exit $ac_status); }; }; then
 
4923
  (exit $ac_status); } && {
 
4924
         test -z "$ac_c_werror_flag" ||
 
4925
         test ! -s conftest.err
 
4926
       } && test -s conftest.$ac_objext; then
5173
4927
  ac_cv_type_size_t=yes
5174
4928
else
5175
4929
  echo "$as_me: failed program was:" >&5
5263
5017
  rm -f conftest.er1
5264
5018
  cat conftest.err >&5
5265
5019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266
 
  (exit $ac_status); } &&
5267
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5268
 
  { (case "(($ac_try" in
5269
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270
 
  *) ac_try_echo=$ac_try;;
5271
 
esac
5272
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5273
 
  (eval "$ac_try") 2>&5
5274
 
  ac_status=$?
5275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276
 
  (exit $ac_status); }; } &&
5277
 
         { ac_try='test -s conftest$ac_exeext'
5278
 
  { (case "(($ac_try" in
5279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280
 
  *) ac_try_echo=$ac_try;;
5281
 
esac
5282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5283
 
  (eval "$ac_try") 2>&5
5284
 
  ac_status=$?
5285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286
 
  (exit $ac_status); }; }; then
 
5020
  (exit $ac_status); } && {
 
5021
         test -z "$ac_c_werror_flag" ||
 
5022
         test ! -s conftest.err
 
5023
       } && test -s conftest$ac_exeext &&
 
5024
       $as_test_x conftest$ac_exeext; then
5287
5025
  eval "$as_ac_var=yes"
5288
5026
else
5289
5027
  echo "$as_me: failed program was:" >&5
5292
5030
        eval "$as_ac_var=no"
5293
5031
fi
5294
5032
 
5295
 
rm -f core conftest.err conftest.$ac_objext \
 
5033
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5296
5034
      conftest$ac_exeext conftest.$ac_ext
5297
5035
fi
5298
5036
ac_res=`eval echo '${'$as_ac_var'}'`
5367
5105
  rm -f conftest.er1
5368
5106
  cat conftest.err >&5
5369
5107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370
 
  (exit $ac_status); } &&
5371
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5372
 
  { (case "(($ac_try" in
5373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5374
 
  *) ac_try_echo=$ac_try;;
5375
 
esac
5376
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5377
 
  (eval "$ac_try") 2>&5
5378
 
  ac_status=$?
5379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380
 
  (exit $ac_status); }; } &&
5381
 
         { ac_try='test -s conftest$ac_exeext'
5382
 
  { (case "(($ac_try" in
5383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384
 
  *) ac_try_echo=$ac_try;;
5385
 
esac
5386
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387
 
  (eval "$ac_try") 2>&5
5388
 
  ac_status=$?
5389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390
 
  (exit $ac_status); }; }; then
 
5108
  (exit $ac_status); } && {
 
5109
         test -z "$ac_c_werror_flag" ||
 
5110
         test ! -s conftest.err
 
5111
       } && test -s conftest$ac_exeext &&
 
5112
       $as_test_x conftest$ac_exeext; then
5391
5113
  ac_cv_working_alloca_h=yes
5392
5114
else
5393
5115
  echo "$as_me: failed program was:" >&5
5396
5118
        ac_cv_working_alloca_h=no
5397
5119
fi
5398
5120
 
5399
 
rm -f core conftest.err conftest.$ac_objext \
 
5121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5400
5122
      conftest$ac_exeext conftest.$ac_ext
5401
5123
fi
5402
5124
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5427
5149
#  include <malloc.h>
5428
5150
#  define alloca _alloca
5429
5151
# else
5430
 
#  if HAVE_ALLOCA_H
 
5152
#  ifdef HAVE_ALLOCA_H
5431
5153
#   include <alloca.h>
5432
5154
#  else
5433
5155
#   ifdef _AIX
5463
5185
  rm -f conftest.er1
5464
5186
  cat conftest.err >&5
5465
5187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466
 
  (exit $ac_status); } &&
5467
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5468
 
  { (case "(($ac_try" in
5469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470
 
  *) ac_try_echo=$ac_try;;
5471
 
esac
5472
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5473
 
  (eval "$ac_try") 2>&5
5474
 
  ac_status=$?
5475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476
 
  (exit $ac_status); }; } &&
5477
 
         { ac_try='test -s conftest$ac_exeext'
5478
 
  { (case "(($ac_try" in
5479
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5480
 
  *) ac_try_echo=$ac_try;;
5481
 
esac
5482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5483
 
  (eval "$ac_try") 2>&5
5484
 
  ac_status=$?
5485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
 
  (exit $ac_status); }; }; then
 
5188
  (exit $ac_status); } && {
 
5189
         test -z "$ac_c_werror_flag" ||
 
5190
         test ! -s conftest.err
 
5191
       } && test -s conftest$ac_exeext &&
 
5192
       $as_test_x conftest$ac_exeext; then
5487
5193
  ac_cv_func_alloca_works=yes
5488
5194
else
5489
5195
  echo "$as_me: failed program was:" >&5
5492
5198
        ac_cv_func_alloca_works=no
5493
5199
fi
5494
5200
 
5495
 
rm -f core conftest.err conftest.$ac_objext \
 
5201
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5496
5202
      conftest$ac_exeext conftest.$ac_ext
5497
5203
fi
5498
5204
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5612
5318
  rm -f conftest.er1
5613
5319
  cat conftest.err >&5
5614
5320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615
 
  (exit $ac_status); } &&
5616
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5617
 
  { (case "(($ac_try" in
5618
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5619
 
  *) ac_try_echo=$ac_try;;
5620
 
esac
5621
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5622
 
  (eval "$ac_try") 2>&5
5623
 
  ac_status=$?
5624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625
 
  (exit $ac_status); }; } &&
5626
 
         { ac_try='test -s conftest$ac_exeext'
5627
 
  { (case "(($ac_try" in
5628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5629
 
  *) ac_try_echo=$ac_try;;
5630
 
esac
5631
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632
 
  (eval "$ac_try") 2>&5
5633
 
  ac_status=$?
5634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635
 
  (exit $ac_status); }; }; then
 
5321
  (exit $ac_status); } && {
 
5322
         test -z "$ac_c_werror_flag" ||
 
5323
         test ! -s conftest.err
 
5324
       } && test -s conftest$ac_exeext &&
 
5325
       $as_test_x conftest$ac_exeext; then
5636
5326
  eval "$as_ac_var=yes"
5637
5327
else
5638
5328
  echo "$as_me: failed program was:" >&5
5641
5331
        eval "$as_ac_var=no"
5642
5332
fi
5643
5333
 
5644
 
rm -f core conftest.err conftest.$ac_objext \
 
5334
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5645
5335
      conftest$ac_exeext conftest.$ac_ext
5646
5336
fi
5647
5337
ac_res=`eval echo '${'$as_ac_var'}'`
5738
5428
 
5739
5429
fi
5740
5430
 
 
5431
 
 
5432
 
 
5433
for ac_header in stdlib.h
 
5434
do
 
5435
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5436
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5437
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5438
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5439
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5440
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5441
fi
 
5442
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5443
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5444
echo "${ECHO_T}$ac_res" >&6; }
 
5445
else
 
5446
  # Is the header compilable?
 
5447
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5448
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5449
cat >conftest.$ac_ext <<_ACEOF
 
5450
/* confdefs.h.  */
 
5451
_ACEOF
 
5452
cat confdefs.h >>conftest.$ac_ext
 
5453
cat >>conftest.$ac_ext <<_ACEOF
 
5454
/* end confdefs.h.  */
 
5455
$ac_includes_default
 
5456
#include <$ac_header>
 
5457
_ACEOF
 
5458
rm -f conftest.$ac_objext
 
5459
if { (ac_try="$ac_compile"
 
5460
case "(($ac_try" in
 
5461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5462
  *) ac_try_echo=$ac_try;;
 
5463
esac
 
5464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5465
  (eval "$ac_compile") 2>conftest.er1
 
5466
  ac_status=$?
 
5467
  grep -v '^ *+' conftest.er1 >conftest.err
 
5468
  rm -f conftest.er1
 
5469
  cat conftest.err >&5
 
5470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5471
  (exit $ac_status); } && {
 
5472
         test -z "$ac_c_werror_flag" ||
 
5473
         test ! -s conftest.err
 
5474
       } && test -s conftest.$ac_objext; then
 
5475
  ac_header_compiler=yes
 
5476
else
 
5477
  echo "$as_me: failed program was:" >&5
 
5478
sed 's/^/| /' conftest.$ac_ext >&5
 
5479
 
 
5480
        ac_header_compiler=no
 
5481
fi
 
5482
 
 
5483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5484
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5485
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5486
 
 
5487
# Is the header present?
 
5488
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5489
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5490
cat >conftest.$ac_ext <<_ACEOF
 
5491
/* confdefs.h.  */
 
5492
_ACEOF
 
5493
cat confdefs.h >>conftest.$ac_ext
 
5494
cat >>conftest.$ac_ext <<_ACEOF
 
5495
/* end confdefs.h.  */
 
5496
#include <$ac_header>
 
5497
_ACEOF
 
5498
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5499
case "(($ac_try" in
 
5500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5501
  *) ac_try_echo=$ac_try;;
 
5502
esac
 
5503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5504
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5505
  ac_status=$?
 
5506
  grep -v '^ *+' conftest.er1 >conftest.err
 
5507
  rm -f conftest.er1
 
5508
  cat conftest.err >&5
 
5509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5510
  (exit $ac_status); } >/dev/null && {
 
5511
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5512
         test ! -s conftest.err
 
5513
       }; then
 
5514
  ac_header_preproc=yes
 
5515
else
 
5516
  echo "$as_me: failed program was:" >&5
 
5517
sed 's/^/| /' conftest.$ac_ext >&5
 
5518
 
 
5519
  ac_header_preproc=no
 
5520
fi
 
5521
 
 
5522
rm -f conftest.err conftest.$ac_ext
 
5523
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5524
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5525
 
 
5526
# So?  What about this header?
 
5527
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5528
  yes:no: )
 
5529
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5530
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5531
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5532
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5533
    ac_header_preproc=yes
 
5534
    ;;
 
5535
  no:yes:* )
 
5536
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5537
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5538
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5539
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5540
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5541
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5542
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5543
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5544
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5545
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5546
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5547
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5548
    ( cat <<\_ASBOX
 
5549
## ----------------------------- ##
 
5550
## Report this to bug-m4@gnu.org ##
 
5551
## ----------------------------- ##
 
5552
_ASBOX
 
5553
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5554
    ;;
 
5555
esac
 
5556
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5557
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5558
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5559
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5560
else
 
5561
  eval "$as_ac_Header=\$ac_header_preproc"
 
5562
fi
 
5563
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5564
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5565
echo "${ECHO_T}$ac_res" >&6; }
 
5566
 
 
5567
fi
 
5568
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5569
  cat >>confdefs.h <<_ACEOF
 
5570
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5571
_ACEOF
 
5572
 
 
5573
fi
 
5574
 
 
5575
done
 
5576
 
 
5577
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
5578
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
 
5579
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
 
5580
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5581
else
 
5582
  if test "$cross_compiling" = yes; then
 
5583
  ac_cv_func_malloc_0_nonnull=no
 
5584
else
 
5585
  cat >conftest.$ac_ext <<_ACEOF
 
5586
/* confdefs.h.  */
 
5587
_ACEOF
 
5588
cat confdefs.h >>conftest.$ac_ext
 
5589
cat >>conftest.$ac_ext <<_ACEOF
 
5590
/* end confdefs.h.  */
 
5591
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
 
5592
# include <stdlib.h>
 
5593
#else
 
5594
char *malloc ();
 
5595
#endif
 
5596
 
 
5597
int
 
5598
main ()
 
5599
{
 
5600
return ! malloc (0);
 
5601
  ;
 
5602
  return 0;
 
5603
}
 
5604
_ACEOF
 
5605
rm -f conftest$ac_exeext
 
5606
if { (ac_try="$ac_link"
 
5607
case "(($ac_try" in
 
5608
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5609
  *) ac_try_echo=$ac_try;;
 
5610
esac
 
5611
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5612
  (eval "$ac_link") 2>&5
 
5613
  ac_status=$?
 
5614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5615
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
5616
  { (case "(($ac_try" in
 
5617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5618
  *) ac_try_echo=$ac_try;;
 
5619
esac
 
5620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5621
  (eval "$ac_try") 2>&5
 
5622
  ac_status=$?
 
5623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5624
  (exit $ac_status); }; }; then
 
5625
  ac_cv_func_malloc_0_nonnull=yes
 
5626
else
 
5627
  echo "$as_me: program exited with status $ac_status" >&5
 
5628
echo "$as_me: failed program was:" >&5
 
5629
sed 's/^/| /' conftest.$ac_ext >&5
 
5630
 
 
5631
( exit $ac_status )
 
5632
ac_cv_func_malloc_0_nonnull=no
 
5633
fi
 
5634
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5635
fi
 
5636
 
 
5637
 
 
5638
fi
 
5639
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
5640
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
 
5641
if test $ac_cv_func_malloc_0_nonnull = yes; then
 
5642
  gl_cv_func_malloc_0_nonnull=1
 
5643
else
 
5644
  gl_cv_func_malloc_0_nonnull=0
 
5645
fi
 
5646
 
 
5647
 
 
5648
 
 
5649
cat >>confdefs.h <<_ACEOF
 
5650
#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
 
5651
_ACEOF
 
5652
 
 
5653
 
 
5654
 
 
5655
  { echo "$as_me:$LINENO: checking for long long int" >&5
 
5656
echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
 
5657
if test "${ac_cv_type_long_long_int+set}" = set; then
 
5658
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5659
else
 
5660
  cat >conftest.$ac_ext <<_ACEOF
 
5661
/* confdefs.h.  */
 
5662
_ACEOF
 
5663
cat confdefs.h >>conftest.$ac_ext
 
5664
cat >>conftest.$ac_ext <<_ACEOF
 
5665
/* end confdefs.h.  */
 
5666
long long int ll = 9223372036854775807ll;
 
5667
            long long int nll = -9223372036854775807LL;
 
5668
            typedef int a[((-9223372036854775807LL < 0
 
5669
                            && 0 < 9223372036854775807ll)
 
5670
                           ? 1 : -1)];
 
5671
            int i = 63;
 
5672
int
 
5673
main ()
 
5674
{
 
5675
long long int llmax = 9223372036854775807ll;
 
5676
            return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
 
5677
                    | (llmax / ll) | (llmax % ll));
 
5678
  ;
 
5679
  return 0;
 
5680
}
 
5681
_ACEOF
 
5682
rm -f conftest.$ac_objext conftest$ac_exeext
 
5683
if { (ac_try="$ac_link"
 
5684
case "(($ac_try" in
 
5685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5686
  *) ac_try_echo=$ac_try;;
 
5687
esac
 
5688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5689
  (eval "$ac_link") 2>conftest.er1
 
5690
  ac_status=$?
 
5691
  grep -v '^ *+' conftest.er1 >conftest.err
 
5692
  rm -f conftest.er1
 
5693
  cat conftest.err >&5
 
5694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5695
  (exit $ac_status); } && {
 
5696
         test -z "$ac_c_werror_flag" ||
 
5697
         test ! -s conftest.err
 
5698
       } && test -s conftest$ac_exeext &&
 
5699
       $as_test_x conftest$ac_exeext; then
 
5700
                        if test "$cross_compiling" = yes; then
 
5701
  ac_cv_type_long_long_int=yes
 
5702
else
 
5703
  cat >conftest.$ac_ext <<_ACEOF
 
5704
/* confdefs.h.  */
 
5705
_ACEOF
 
5706
cat confdefs.h >>conftest.$ac_ext
 
5707
cat >>conftest.$ac_ext <<_ACEOF
 
5708
/* end confdefs.h.  */
 
5709
#include <limits.h>
 
5710
               #ifndef LLONG_MAX
 
5711
               # define HALF \
 
5712
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
 
5713
               # define LLONG_MAX (HALF - 1 + HALF)
 
5714
               #endif
 
5715
int
 
5716
main ()
 
5717
{
 
5718
long long int n = 1;
 
5719
               int i;
 
5720
               for (i = 0; ; i++)
 
5721
                 {
 
5722
                   long long int m = n << i;
 
5723
                   if (m >> i != n)
 
5724
                     return 1;
 
5725
                   if (LLONG_MAX / 2 < m)
 
5726
                     break;
 
5727
                 }
 
5728
               return 0;
 
5729
  ;
 
5730
  return 0;
 
5731
}
 
5732
_ACEOF
 
5733
rm -f conftest$ac_exeext
 
5734
if { (ac_try="$ac_link"
 
5735
case "(($ac_try" in
 
5736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5737
  *) ac_try_echo=$ac_try;;
 
5738
esac
 
5739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5740
  (eval "$ac_link") 2>&5
 
5741
  ac_status=$?
 
5742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5743
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
5744
  { (case "(($ac_try" in
 
5745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5746
  *) ac_try_echo=$ac_try;;
 
5747
esac
 
5748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5749
  (eval "$ac_try") 2>&5
 
5750
  ac_status=$?
 
5751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5752
  (exit $ac_status); }; }; then
 
5753
  ac_cv_type_long_long_int=yes
 
5754
else
 
5755
  echo "$as_me: program exited with status $ac_status" >&5
 
5756
echo "$as_me: failed program was:" >&5
 
5757
sed 's/^/| /' conftest.$ac_ext >&5
 
5758
 
 
5759
( exit $ac_status )
 
5760
ac_cv_type_long_long_int=no
 
5761
fi
 
5762
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5763
fi
 
5764
 
 
5765
 
 
5766
else
 
5767
  echo "$as_me: failed program was:" >&5
 
5768
sed 's/^/| /' conftest.$ac_ext >&5
 
5769
 
 
5770
        ac_cv_type_long_long_int=no
 
5771
fi
 
5772
 
 
5773
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5774
      conftest$ac_exeext conftest.$ac_ext
 
5775
fi
 
5776
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
 
5777
echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
 
5778
  if test $ac_cv_type_long_long_int = yes; then
 
5779
 
 
5780
cat >>confdefs.h <<\_ACEOF
 
5781
#define HAVE_LONG_LONG_INT 1
 
5782
_ACEOF
 
5783
 
 
5784
  fi
 
5785
 
 
5786
 
 
5787
  { echo "$as_me:$LINENO: checking for long double" >&5
 
5788
echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
 
5789
if test "${gt_cv_c_long_double+set}" = set; then
 
5790
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5791
else
 
5792
  if test "$GCC" = yes; then
 
5793
       gt_cv_c_long_double=yes
 
5794
     else
 
5795
       cat >conftest.$ac_ext <<_ACEOF
 
5796
/* confdefs.h.  */
 
5797
_ACEOF
 
5798
cat confdefs.h >>conftest.$ac_ext
 
5799
cat >>conftest.$ac_ext <<_ACEOF
 
5800
/* end confdefs.h.  */
 
5801
 
 
5802
         /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
 
5803
         long double foo = 0.0;
 
5804
         /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
 
5805
         int array [2*(sizeof(long double) >= sizeof(double)) - 1];
 
5806
 
 
5807
int
 
5808
main ()
 
5809
{
 
5810
 
 
5811
  ;
 
5812
  return 0;
 
5813
}
 
5814
_ACEOF
 
5815
rm -f conftest.$ac_objext
 
5816
if { (ac_try="$ac_compile"
 
5817
case "(($ac_try" in
 
5818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5819
  *) ac_try_echo=$ac_try;;
 
5820
esac
 
5821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5822
  (eval "$ac_compile") 2>conftest.er1
 
5823
  ac_status=$?
 
5824
  grep -v '^ *+' conftest.er1 >conftest.err
 
5825
  rm -f conftest.er1
 
5826
  cat conftest.err >&5
 
5827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5828
  (exit $ac_status); } && {
 
5829
         test -z "$ac_c_werror_flag" ||
 
5830
         test ! -s conftest.err
 
5831
       } && test -s conftest.$ac_objext; then
 
5832
  gt_cv_c_long_double=yes
 
5833
else
 
5834
  echo "$as_me: failed program was:" >&5
 
5835
sed 's/^/| /' conftest.$ac_ext >&5
 
5836
 
 
5837
        gt_cv_c_long_double=no
 
5838
fi
 
5839
 
 
5840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5841
     fi
 
5842
fi
 
5843
{ echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
 
5844
echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
 
5845
  if test $gt_cv_c_long_double = yes; then
 
5846
 
 
5847
cat >>confdefs.h <<\_ACEOF
 
5848
#define HAVE_LONG_DOUBLE 1
 
5849
_ACEOF
 
5850
 
 
5851
  fi
 
5852
 
5741
5853
{ echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
5742
5854
echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
5743
5855
if test "${ac_cv_have_decl_strerror_r+set}" = set; then
5754
5866
main ()
5755
5867
{
5756
5868
#ifndef strerror_r
5757
 
  char *p = (char *) strerror_r;
5758
 
  return !p;
 
5869
  (void) strerror_r;
5759
5870
#endif
5760
5871
 
5761
5872
  ;
5775
5886
  rm -f conftest.er1
5776
5887
  cat conftest.err >&5
5777
5888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778
 
  (exit $ac_status); } &&
5779
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5780
 
  { (case "(($ac_try" in
5781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5782
 
  *) ac_try_echo=$ac_try;;
5783
 
esac
5784
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5785
 
  (eval "$ac_try") 2>&5
5786
 
  ac_status=$?
5787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788
 
  (exit $ac_status); }; } &&
5789
 
         { ac_try='test -s conftest.$ac_objext'
5790
 
  { (case "(($ac_try" in
5791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5792
 
  *) ac_try_echo=$ac_try;;
5793
 
esac
5794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5795
 
  (eval "$ac_try") 2>&5
5796
 
  ac_status=$?
5797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798
 
  (exit $ac_status); }; }; then
 
5889
  (exit $ac_status); } && {
 
5890
         test -z "$ac_c_werror_flag" ||
 
5891
         test ! -s conftest.err
 
5892
       } && test -s conftest.$ac_objext; then
5799
5893
  ac_cv_have_decl_strerror_r=yes
5800
5894
else
5801
5895
  echo "$as_me: failed program was:" >&5
5891
5985
  rm -f conftest.er1
5892
5986
  cat conftest.err >&5
5893
5987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894
 
  (exit $ac_status); } &&
5895
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5896
 
  { (case "(($ac_try" in
5897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5898
 
  *) ac_try_echo=$ac_try;;
5899
 
esac
5900
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5901
 
  (eval "$ac_try") 2>&5
5902
 
  ac_status=$?
5903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904
 
  (exit $ac_status); }; } &&
5905
 
         { ac_try='test -s conftest$ac_exeext'
5906
 
  { (case "(($ac_try" in
5907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5908
 
  *) ac_try_echo=$ac_try;;
5909
 
esac
5910
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5911
 
  (eval "$ac_try") 2>&5
5912
 
  ac_status=$?
5913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914
 
  (exit $ac_status); }; }; then
 
5988
  (exit $ac_status); } && {
 
5989
         test -z "$ac_c_werror_flag" ||
 
5990
         test ! -s conftest.err
 
5991
       } && test -s conftest$ac_exeext &&
 
5992
       $as_test_x conftest$ac_exeext; then
5915
5993
  eval "$as_ac_var=yes"
5916
5994
else
5917
5995
  echo "$as_me: failed program was:" >&5
5920
5998
        eval "$as_ac_var=no"
5921
5999
fi
5922
6000
 
5923
 
rm -f core conftest.err conftest.$ac_objext \
 
6001
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5924
6002
      conftest$ac_exeext conftest.$ac_ext
5925
6003
fi
5926
6004
ac_res=`eval echo '${'$as_ac_var'}'`
5975
6053
  rm -f conftest.er1
5976
6054
  cat conftest.err >&5
5977
6055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978
 
  (exit $ac_status); } &&
5979
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5980
 
  { (case "(($ac_try" in
5981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5982
 
  *) ac_try_echo=$ac_try;;
5983
 
esac
5984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5985
 
  (eval "$ac_try") 2>&5
5986
 
  ac_status=$?
5987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988
 
  (exit $ac_status); }; } &&
5989
 
         { ac_try='test -s conftest.$ac_objext'
5990
 
  { (case "(($ac_try" in
5991
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5992
 
  *) ac_try_echo=$ac_try;;
5993
 
esac
5994
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5995
 
  (eval "$ac_try") 2>&5
5996
 
  ac_status=$?
5997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998
 
  (exit $ac_status); }; }; then
 
6056
  (exit $ac_status); } && {
 
6057
         test -z "$ac_c_werror_flag" ||
 
6058
         test ! -s conftest.err
 
6059
       } && test -s conftest.$ac_objext; then
5999
6060
  ac_cv_func_strerror_r_char_p=yes
6000
6061
else
6001
6062
  echo "$as_me: failed program was:" >&5
6078
6139
fi
6079
6140
 
6080
6141
 
 
6142
  { echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
 
6143
echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; }
 
6144
if test "${ac_cv_type_sig_atomic_t+set}" = set; then
 
6145
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6146
else
 
6147
  cat >conftest.$ac_ext <<_ACEOF
 
6148
/* confdefs.h.  */
 
6149
_ACEOF
 
6150
cat confdefs.h >>conftest.$ac_ext
 
6151
cat >>conftest.$ac_ext <<_ACEOF
 
6152
/* end confdefs.h.  */
 
6153
#include <signal.h>
 
6154
 
 
6155
typedef sig_atomic_t ac__type_new_;
 
6156
int
 
6157
main ()
 
6158
{
 
6159
if ((ac__type_new_ *) 0)
 
6160
  return 0;
 
6161
if (sizeof (ac__type_new_))
 
6162
  return 0;
 
6163
  ;
 
6164
  return 0;
 
6165
}
 
6166
_ACEOF
 
6167
rm -f conftest.$ac_objext
 
6168
if { (ac_try="$ac_compile"
 
6169
case "(($ac_try" in
 
6170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6171
  *) ac_try_echo=$ac_try;;
 
6172
esac
 
6173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6174
  (eval "$ac_compile") 2>conftest.er1
 
6175
  ac_status=$?
 
6176
  grep -v '^ *+' conftest.er1 >conftest.err
 
6177
  rm -f conftest.er1
 
6178
  cat conftest.err >&5
 
6179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6180
  (exit $ac_status); } && {
 
6181
         test -z "$ac_c_werror_flag" ||
 
6182
         test ! -s conftest.err
 
6183
       } && test -s conftest.$ac_objext; then
 
6184
  ac_cv_type_sig_atomic_t=yes
 
6185
else
 
6186
  echo "$as_me: failed program was:" >&5
 
6187
sed 's/^/| /' conftest.$ac_ext >&5
 
6188
 
 
6189
        ac_cv_type_sig_atomic_t=no
 
6190
fi
 
6191
 
 
6192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6193
fi
 
6194
{ echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
 
6195
echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; }
 
6196
if test $ac_cv_type_sig_atomic_t = yes; then
 
6197
 
 
6198
cat >>confdefs.h <<_ACEOF
 
6199
#define HAVE_SIG_ATOMIC_T 1
 
6200
_ACEOF
 
6201
 
 
6202
 
 
6203
else
 
6204
 
 
6205
cat >>confdefs.h <<\_ACEOF
 
6206
#define sig_atomic_t int
 
6207
_ACEOF
 
6208
 
 
6209
fi
 
6210
 
 
6211
 
 
6212
 
 
6213
 
 
6214
 
 
6215
 
 
6216
 
 
6217
 
 
6218
 
6081
6219
  if test -z "$GETOPT_H"; then
6082
6220
 
6083
6221
for ac_header in getopt.h
6118
6256
  rm -f conftest.er1
6119
6257
  cat conftest.err >&5
6120
6258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121
 
  (exit $ac_status); } &&
6122
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6123
 
  { (case "(($ac_try" in
6124
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6125
 
  *) ac_try_echo=$ac_try;;
6126
 
esac
6127
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6128
 
  (eval "$ac_try") 2>&5
6129
 
  ac_status=$?
6130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131
 
  (exit $ac_status); }; } &&
6132
 
         { ac_try='test -s conftest.$ac_objext'
6133
 
  { (case "(($ac_try" in
6134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6135
 
  *) ac_try_echo=$ac_try;;
6136
 
esac
6137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6138
 
  (eval "$ac_try") 2>&5
6139
 
  ac_status=$?
6140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141
 
  (exit $ac_status); }; }; then
 
6259
  (exit $ac_status); } && {
 
6260
         test -z "$ac_c_werror_flag" ||
 
6261
         test ! -s conftest.err
 
6262
       } && test -s conftest.$ac_objext; then
6142
6263
  ac_header_compiler=yes
6143
6264
else
6144
6265
  echo "$as_me: failed program was:" >&5
6174
6295
  rm -f conftest.er1
6175
6296
  cat conftest.err >&5
6176
6297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177
 
  (exit $ac_status); } >/dev/null; then
6178
 
  if test -s conftest.err; then
6179
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6180
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6181
 
  else
6182
 
    ac_cpp_err=
6183
 
  fi
6184
 
else
6185
 
  ac_cpp_err=yes
6186
 
fi
6187
 
if test -z "$ac_cpp_err"; then
 
6298
  (exit $ac_status); } >/dev/null && {
 
6299
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6300
         test ! -s conftest.err
 
6301
       }; then
6188
6302
  ac_header_preproc=yes
6189
6303
else
6190
6304
  echo "$as_me: failed program was:" >&5
6320
6434
  rm -f conftest.er1
6321
6435
  cat conftest.err >&5
6322
6436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
 
  (exit $ac_status); } &&
6324
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6325
 
  { (case "(($ac_try" in
6326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327
 
  *) ac_try_echo=$ac_try;;
6328
 
esac
6329
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330
 
  (eval "$ac_try") 2>&5
6331
 
  ac_status=$?
6332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333
 
  (exit $ac_status); }; } &&
6334
 
         { ac_try='test -s conftest$ac_exeext'
6335
 
  { (case "(($ac_try" in
6336
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6337
 
  *) ac_try_echo=$ac_try;;
6338
 
esac
6339
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6340
 
  (eval "$ac_try") 2>&5
6341
 
  ac_status=$?
6342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343
 
  (exit $ac_status); }; }; then
 
6437
  (exit $ac_status); } && {
 
6438
         test -z "$ac_c_werror_flag" ||
 
6439
         test ! -s conftest.err
 
6440
       } && test -s conftest$ac_exeext &&
 
6441
       $as_test_x conftest$ac_exeext; then
6344
6442
  eval "$as_ac_var=yes"
6345
6443
else
6346
6444
  echo "$as_me: failed program was:" >&5
6349
6447
        eval "$as_ac_var=no"
6350
6448
fi
6351
6449
 
6352
 
rm -f core conftest.err conftest.$ac_objext \
 
6450
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6353
6451
      conftest$ac_exeext conftest.$ac_ext
6354
6452
fi
6355
6453
ac_res=`eval echo '${'$as_ac_var'}'`
6385
6483
main ()
6386
6484
{
6387
6485
#ifndef optreset
6388
 
  char *p = (char *) optreset;
6389
 
  return !p;
 
6486
  (void) optreset;
6390
6487
#endif
6391
6488
 
6392
6489
  ;
6406
6503
  rm -f conftest.er1
6407
6504
  cat conftest.err >&5
6408
6505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409
 
  (exit $ac_status); } &&
6410
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6411
 
  { (case "(($ac_try" in
6412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6413
 
  *) ac_try_echo=$ac_try;;
6414
 
esac
6415
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6416
 
  (eval "$ac_try") 2>&5
6417
 
  ac_status=$?
6418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419
 
  (exit $ac_status); }; } &&
6420
 
         { ac_try='test -s conftest.$ac_objext'
6421
 
  { (case "(($ac_try" in
6422
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423
 
  *) ac_try_echo=$ac_try;;
6424
 
esac
6425
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426
 
  (eval "$ac_try") 2>&5
6427
 
  ac_status=$?
6428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429
 
  (exit $ac_status); }; }; then
 
6506
  (exit $ac_status); } && {
 
6507
         test -z "$ac_c_werror_flag" ||
 
6508
         test ! -s conftest.err
 
6509
       } && test -s conftest.$ac_objext; then
6430
6510
  ac_cv_have_decl_optreset=yes
6431
6511
else
6432
6512
  echo "$as_me: failed program was:" >&5
6469
6549
main ()
6470
6550
{
6471
6551
#ifndef getopt_clip
6472
 
  char *p = (char *) getopt_clip;
6473
 
  return !p;
 
6552
  (void) getopt_clip;
6474
6553
#endif
6475
6554
 
6476
6555
  ;
6490
6569
  rm -f conftest.er1
6491
6570
  cat conftest.err >&5
6492
6571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493
 
  (exit $ac_status); } &&
6494
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6495
 
  { (case "(($ac_try" in
6496
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6497
 
  *) ac_try_echo=$ac_try;;
6498
 
esac
6499
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6500
 
  (eval "$ac_try") 2>&5
6501
 
  ac_status=$?
6502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503
 
  (exit $ac_status); }; } &&
6504
 
         { ac_try='test -s conftest.$ac_objext'
6505
 
  { (case "(($ac_try" in
6506
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6507
 
  *) ac_try_echo=$ac_try;;
6508
 
esac
6509
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6510
 
  (eval "$ac_try") 2>&5
6511
 
  ac_status=$?
6512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513
 
  (exit $ac_status); }; }; then
 
6572
  (exit $ac_status); } && {
 
6573
         test -z "$ac_c_werror_flag" ||
 
6574
         test ! -s conftest.err
 
6575
       } && test -s conftest.$ac_objext; then
6514
6576
  ac_cv_have_decl_getopt_clip=yes
6515
6577
else
6516
6578
  echo "$as_me: failed program was:" >&5
6608
6670
main ()
6609
6671
{
6610
6672
#ifndef getenv
6611
 
  char *p = (char *) getenv;
6612
 
  return !p;
 
6673
  (void) getenv;
6613
6674
#endif
6614
6675
 
6615
6676
  ;
6629
6690
  rm -f conftest.er1
6630
6691
  cat conftest.err >&5
6631
6692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632
 
  (exit $ac_status); } &&
6633
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6634
 
  { (case "(($ac_try" in
6635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6636
 
  *) ac_try_echo=$ac_try;;
6637
 
esac
6638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6639
 
  (eval "$ac_try") 2>&5
6640
 
  ac_status=$?
6641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642
 
  (exit $ac_status); }; } &&
6643
 
         { ac_try='test -s conftest.$ac_objext'
6644
 
  { (case "(($ac_try" in
6645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6646
 
  *) ac_try_echo=$ac_try;;
6647
 
esac
6648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6649
 
  (eval "$ac_try") 2>&5
6650
 
  ac_status=$?
6651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652
 
  (exit $ac_status); }; }; then
 
6693
  (exit $ac_status); } && {
 
6694
         test -z "$ac_c_werror_flag" ||
 
6695
         test ! -s conftest.err
 
6696
       } && test -s conftest.$ac_objext; then
6653
6697
  ac_cv_have_decl_getenv=yes
6654
6698
else
6655
6699
  echo "$as_me: failed program was:" >&5
6678
6722
fi
6679
6723
 
6680
6724
 
 
6725
{ echo "$as_me:$LINENO: checking for inline" >&5
 
6726
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
 
6727
if test "${ac_cv_c_inline+set}" = set; then
 
6728
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6729
else
 
6730
  ac_cv_c_inline=no
 
6731
for ac_kw in inline __inline__ __inline; do
 
6732
  cat >conftest.$ac_ext <<_ACEOF
 
6733
/* confdefs.h.  */
 
6734
_ACEOF
 
6735
cat confdefs.h >>conftest.$ac_ext
 
6736
cat >>conftest.$ac_ext <<_ACEOF
 
6737
/* end confdefs.h.  */
 
6738
#ifndef __cplusplus
 
6739
typedef int foo_t;
 
6740
static $ac_kw foo_t static_foo () {return 0; }
 
6741
$ac_kw foo_t foo () {return 0; }
 
6742
#endif
 
6743
 
 
6744
_ACEOF
 
6745
rm -f conftest.$ac_objext
 
6746
if { (ac_try="$ac_compile"
 
6747
case "(($ac_try" in
 
6748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6749
  *) ac_try_echo=$ac_try;;
 
6750
esac
 
6751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6752
  (eval "$ac_compile") 2>conftest.er1
 
6753
  ac_status=$?
 
6754
  grep -v '^ *+' conftest.er1 >conftest.err
 
6755
  rm -f conftest.er1
 
6756
  cat conftest.err >&5
 
6757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6758
  (exit $ac_status); } && {
 
6759
         test -z "$ac_c_werror_flag" ||
 
6760
         test ! -s conftest.err
 
6761
       } && test -s conftest.$ac_objext; then
 
6762
  ac_cv_c_inline=$ac_kw
 
6763
else
 
6764
  echo "$as_me: failed program was:" >&5
 
6765
sed 's/^/| /' conftest.$ac_ext >&5
 
6766
 
 
6767
 
 
6768
fi
 
6769
 
 
6770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6771
  test "$ac_cv_c_inline" != no && break
 
6772
done
 
6773
 
 
6774
fi
 
6775
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
6776
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
 
6777
 
 
6778
 
 
6779
case $ac_cv_c_inline in
 
6780
  inline | yes) ;;
 
6781
  *)
 
6782
    case $ac_cv_c_inline in
 
6783
      no) ac_val=;;
 
6784
      *) ac_val=$ac_cv_c_inline;;
 
6785
    esac
 
6786
    cat >>confdefs.h <<_ACEOF
 
6787
#ifndef __cplusplus
 
6788
#define inline $ac_val
 
6789
#endif
 
6790
_ACEOF
 
6791
    ;;
 
6792
esac
 
6793
 
6681
6794
 
6682
6795
 
6683
6796
 
6716
6829
  rm -f conftest.er1
6717
6830
  cat conftest.err >&5
6718
6831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719
 
  (exit $ac_status); } &&
6720
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6721
 
  { (case "(($ac_try" in
6722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6723
 
  *) ac_try_echo=$ac_try;;
6724
 
esac
6725
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6726
 
  (eval "$ac_try") 2>&5
6727
 
  ac_status=$?
6728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729
 
  (exit $ac_status); }; } &&
6730
 
         { ac_try='test -s conftest.$ac_objext'
6731
 
  { (case "(($ac_try" in
6732
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6733
 
  *) ac_try_echo=$ac_try;;
6734
 
esac
6735
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6736
 
  (eval "$ac_try") 2>&5
6737
 
  ac_status=$?
6738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739
 
  (exit $ac_status); }; }; then
 
6832
  (exit $ac_status); } && {
 
6833
         test -z "$ac_c_werror_flag" ||
 
6834
         test ! -s conftest.err
 
6835
       } && test -s conftest.$ac_objext; then
6740
6836
  ac_cv_type_mbstate_t=yes
6741
6837
else
6742
6838
  echo "$as_me: failed program was:" >&5
6800
6896
  rm -f conftest.er1
6801
6897
  cat conftest.err >&5
6802
6898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803
 
  (exit $ac_status); } &&
6804
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6805
 
  { (case "(($ac_try" in
6806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6807
 
  *) ac_try_echo=$ac_try;;
6808
 
esac
6809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6810
 
  (eval "$ac_try") 2>&5
6811
 
  ac_status=$?
6812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813
 
  (exit $ac_status); }; } &&
6814
 
         { ac_try='test -s conftest$ac_exeext'
6815
 
  { (case "(($ac_try" in
6816
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6817
 
  *) ac_try_echo=$ac_try;;
6818
 
esac
6819
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6820
 
  (eval "$ac_try") 2>&5
6821
 
  ac_status=$?
6822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823
 
  (exit $ac_status); }; }; then
 
6899
  (exit $ac_status); } && {
 
6900
         test -z "$ac_c_werror_flag" ||
 
6901
         test ! -s conftest.err
 
6902
       } && test -s conftest$ac_exeext &&
 
6903
       $as_test_x conftest$ac_exeext; then
6824
6904
  gl_cv_func_mbrtowc=yes
6825
6905
else
6826
6906
  echo "$as_me: failed program was:" >&5
6829
6909
        gl_cv_func_mbrtowc=no
6830
6910
fi
6831
6911
 
6832
 
rm -f core conftest.err conftest.$ac_objext \
 
6912
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6833
6913
      conftest$ac_exeext conftest.$ac_ext
6834
6914
fi
6835
6915
{ echo "$as_me:$LINENO: result: $gl_cv_func_mbrtowc" >&5
6896
6976
  rm -f conftest.er1
6897
6977
  cat conftest.err >&5
6898
6978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899
 
  (exit $ac_status); } &&
6900
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6901
 
  { (case "(($ac_try" in
6902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6903
 
  *) ac_try_echo=$ac_try;;
6904
 
esac
6905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6906
 
  (eval "$ac_try") 2>&5
6907
 
  ac_status=$?
6908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909
 
  (exit $ac_status); }; } &&
6910
 
         { ac_try='test -s conftest.$ac_objext'
6911
 
  { (case "(($ac_try" in
6912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913
 
  *) ac_try_echo=$ac_try;;
6914
 
esac
6915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916
 
  (eval "$ac_try") 2>&5
6917
 
  ac_status=$?
6918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919
 
  (exit $ac_status); }; }; then
 
6979
  (exit $ac_status); } && {
 
6980
         test -z "$ac_c_werror_flag" ||
 
6981
         test ! -s conftest.err
 
6982
       } && test -s conftest.$ac_objext; then
6920
6983
  break
6921
6984
else
6922
6985
  echo "$as_me: failed program was:" >&5
6940
7003
  rm -f conftest.er1
6941
7004
  cat conftest.err >&5
6942
7005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943
 
  (exit $ac_status); } &&
6944
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6945
 
  { (case "(($ac_try" in
6946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6947
 
  *) ac_try_echo=$ac_try;;
6948
 
esac
6949
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6950
 
  (eval "$ac_try") 2>&5
6951
 
  ac_status=$?
6952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953
 
  (exit $ac_status); }; } &&
6954
 
         { ac_try='test -s conftest.$ac_objext'
6955
 
  { (case "(($ac_try" in
6956
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6957
 
  *) ac_try_echo=$ac_try;;
6958
 
esac
6959
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6960
 
  (eval "$ac_try") 2>&5
6961
 
  ac_status=$?
6962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963
 
  (exit $ac_status); }; }; then
 
7006
  (exit $ac_status); } && {
 
7007
         test -z "$ac_c_werror_flag" ||
 
7008
         test ! -s conftest.err
 
7009
       } && test -s conftest.$ac_objext; then
6964
7010
  ac_cv_sys_largefile_CC=' -n32'; break
6965
7011
else
6966
7012
  echo "$as_me: failed program was:" >&5
6988
7034
  echo $ECHO_N "(cached) $ECHO_C" >&6
6989
7035
else
6990
7036
  while :; do
6991
 
  ac_cv_sys_file_offset_bits=no
6992
7037
  cat >conftest.$ac_ext <<_ACEOF
6993
7038
/* confdefs.h.  */
6994
7039
_ACEOF
7025
7070
  rm -f conftest.er1
7026
7071
  cat conftest.err >&5
7027
7072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028
 
  (exit $ac_status); } &&
7029
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7030
 
  { (case "(($ac_try" in
7031
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7032
 
  *) ac_try_echo=$ac_try;;
7033
 
esac
7034
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7035
 
  (eval "$ac_try") 2>&5
7036
 
  ac_status=$?
7037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038
 
  (exit $ac_status); }; } &&
7039
 
         { ac_try='test -s conftest.$ac_objext'
7040
 
  { (case "(($ac_try" in
7041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042
 
  *) ac_try_echo=$ac_try;;
7043
 
esac
7044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045
 
  (eval "$ac_try") 2>&5
7046
 
  ac_status=$?
7047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048
 
  (exit $ac_status); }; }; then
7049
 
  break
 
7073
  (exit $ac_status); } && {
 
7074
         test -z "$ac_c_werror_flag" ||
 
7075
         test ! -s conftest.err
 
7076
       } && test -s conftest.$ac_objext; then
 
7077
  ac_cv_sys_file_offset_bits=no; break
7050
7078
else
7051
7079
  echo "$as_me: failed program was:" >&5
7052
7080
sed 's/^/| /' conftest.$ac_ext >&5
7092
7120
  rm -f conftest.er1
7093
7121
  cat conftest.err >&5
7094
7122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095
 
  (exit $ac_status); } &&
7096
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7097
 
  { (case "(($ac_try" in
7098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7099
 
  *) ac_try_echo=$ac_try;;
7100
 
esac
7101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7102
 
  (eval "$ac_try") 2>&5
7103
 
  ac_status=$?
7104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105
 
  (exit $ac_status); }; } &&
7106
 
         { ac_try='test -s conftest.$ac_objext'
7107
 
  { (case "(($ac_try" in
7108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7109
 
  *) ac_try_echo=$ac_try;;
7110
 
esac
7111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7112
 
  (eval "$ac_try") 2>&5
7113
 
  ac_status=$?
7114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115
 
  (exit $ac_status); }; }; then
 
7123
  (exit $ac_status); } && {
 
7124
         test -z "$ac_c_werror_flag" ||
 
7125
         test ! -s conftest.err
 
7126
       } && test -s conftest.$ac_objext; then
7116
7127
  ac_cv_sys_file_offset_bits=64; break
7117
7128
else
7118
7129
  echo "$as_me: failed program was:" >&5
7122
7133
fi
7123
7134
 
7124
7135
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7136
  ac_cv_sys_file_offset_bits=unknown
7125
7137
  break
7126
7138
done
7127
7139
fi
7128
7140
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
7129
7141
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
7130
 
if test "$ac_cv_sys_file_offset_bits" != no; then
7131
 
 
 
7142
case $ac_cv_sys_file_offset_bits in #(
 
7143
  no | unknown) ;;
 
7144
  *)
7132
7145
cat >>confdefs.h <<_ACEOF
7133
7146
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7134
7147
_ACEOF
7135
 
 
7136
 
fi
 
7148
;;
 
7149
esac
7137
7150
rm -f conftest*
7138
 
  { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
7151
  if test $ac_cv_sys_file_offset_bits = unknown; then
 
7152
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
7139
7153
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
7140
7154
if test "${ac_cv_sys_large_files+set}" = set; then
7141
7155
  echo $ECHO_N "(cached) $ECHO_C" >&6
7142
7156
else
7143
7157
  while :; do
7144
 
  ac_cv_sys_large_files=no
7145
7158
  cat >conftest.$ac_ext <<_ACEOF
7146
7159
/* confdefs.h.  */
7147
7160
_ACEOF
7178
7191
  rm -f conftest.er1
7179
7192
  cat conftest.err >&5
7180
7193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181
 
  (exit $ac_status); } &&
7182
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7183
 
  { (case "(($ac_try" in
7184
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7185
 
  *) ac_try_echo=$ac_try;;
7186
 
esac
7187
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7188
 
  (eval "$ac_try") 2>&5
7189
 
  ac_status=$?
7190
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191
 
  (exit $ac_status); }; } &&
7192
 
         { ac_try='test -s conftest.$ac_objext'
7193
 
  { (case "(($ac_try" in
7194
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7195
 
  *) ac_try_echo=$ac_try;;
7196
 
esac
7197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7198
 
  (eval "$ac_try") 2>&5
7199
 
  ac_status=$?
7200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201
 
  (exit $ac_status); }; }; then
7202
 
  break
 
7194
  (exit $ac_status); } && {
 
7195
         test -z "$ac_c_werror_flag" ||
 
7196
         test ! -s conftest.err
 
7197
       } && test -s conftest.$ac_objext; then
 
7198
  ac_cv_sys_large_files=no; break
7203
7199
else
7204
7200
  echo "$as_me: failed program was:" >&5
7205
7201
sed 's/^/| /' conftest.$ac_ext >&5
7245
7241
  rm -f conftest.er1
7246
7242
  cat conftest.err >&5
7247
7243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248
 
  (exit $ac_status); } &&
7249
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7250
 
  { (case "(($ac_try" in
7251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252
 
  *) ac_try_echo=$ac_try;;
7253
 
esac
7254
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255
 
  (eval "$ac_try") 2>&5
7256
 
  ac_status=$?
7257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258
 
  (exit $ac_status); }; } &&
7259
 
         { ac_try='test -s conftest.$ac_objext'
7260
 
  { (case "(($ac_try" in
7261
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262
 
  *) ac_try_echo=$ac_try;;
7263
 
esac
7264
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265
 
  (eval "$ac_try") 2>&5
7266
 
  ac_status=$?
7267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268
 
  (exit $ac_status); }; }; then
 
7244
  (exit $ac_status); } && {
 
7245
         test -z "$ac_c_werror_flag" ||
 
7246
         test ! -s conftest.err
 
7247
       } && test -s conftest.$ac_objext; then
7269
7248
  ac_cv_sys_large_files=1; break
7270
7249
else
7271
7250
  echo "$as_me: failed program was:" >&5
7275
7254
fi
7276
7255
 
7277
7256
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7257
  ac_cv_sys_large_files=unknown
7278
7258
  break
7279
7259
done
7280
7260
fi
7281
7261
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7282
7262
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
7283
 
if test "$ac_cv_sys_large_files" != no; then
7284
 
 
 
7263
case $ac_cv_sys_large_files in #(
 
7264
  no | unknown) ;;
 
7265
  *)
7285
7266
cat >>confdefs.h <<_ACEOF
7286
7267
#define _LARGE_FILES $ac_cv_sys_large_files
7287
7268
_ACEOF
7288
 
 
7289
 
fi
 
7269
;;
 
7270
esac
7290
7271
rm -f conftest*
 
7272
  fi
7291
7273
fi
7292
7274
 
7293
7275
 
7294
7276
 
7295
7277
 
7296
7278
 
 
7279
 
 
7280
 
 
7281
 
 
7282
 
7297
7283
{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
7298
7284
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; }
7299
7285
if test "${ac_cv_c_restrict+set}" = set; then
7337
7323
  rm -f conftest.er1
7338
7324
  cat conftest.err >&5
7339
7325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340
 
  (exit $ac_status); } &&
7341
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7342
 
  { (case "(($ac_try" in
7343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344
 
  *) ac_try_echo=$ac_try;;
7345
 
esac
7346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7347
 
  (eval "$ac_try") 2>&5
7348
 
  ac_status=$?
7349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350
 
  (exit $ac_status); }; } &&
7351
 
         { ac_try='test -s conftest.$ac_objext'
7352
 
  { (case "(($ac_try" in
7353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7354
 
  *) ac_try_echo=$ac_try;;
7355
 
esac
7356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357
 
  (eval "$ac_try") 2>&5
7358
 
  ac_status=$?
7359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360
 
  (exit $ac_status); }; }; then
 
7326
  (exit $ac_status); } && {
 
7327
         test -z "$ac_c_werror_flag" ||
 
7328
         test ! -s conftest.err
 
7329
       } && test -s conftest.$ac_objext; then
7361
7330
  ac_cv_c_restrict=$ac_kw
7362
7331
else
7363
7332
  echo "$as_me: failed program was:" >&5
7420
7389
  rm -f conftest.er1
7421
7390
  cat conftest.err >&5
7422
7391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423
 
  (exit $ac_status); } &&
7424
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7425
 
  { (case "(($ac_try" in
7426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7427
 
  *) ac_try_echo=$ac_try;;
7428
 
esac
7429
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7430
 
  (eval "$ac_try") 2>&5
7431
 
  ac_status=$?
7432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433
 
  (exit $ac_status); }; } &&
7434
 
         { ac_try='test -s conftest$ac_exeext'
7435
 
  { (case "(($ac_try" in
7436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437
 
  *) ac_try_echo=$ac_try;;
7438
 
esac
7439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440
 
  (eval "$ac_try") 2>&5
7441
 
  ac_status=$?
7442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443
 
  (exit $ac_status); }; }; then
 
7392
  (exit $ac_status); } && {
 
7393
         test -z "$ac_c_werror_flag" ||
 
7394
         test ! -s conftest.err
 
7395
       } && test -s conftest$ac_exeext &&
 
7396
       $as_test_x conftest$ac_exeext; then
7444
7397
  am_cv_langinfo_codeset=yes
7445
7398
else
7446
7399
  echo "$as_me: failed program was:" >&5
7449
7402
        am_cv_langinfo_codeset=no
7450
7403
fi
7451
7404
 
7452
 
rm -f core conftest.err conftest.$ac_objext \
 
7405
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7453
7406
      conftest$ac_exeext conftest.$ac_ext
7454
7407
 
7455
7408
fi
7471
7424
 
7472
7425
 
7473
7426
 
7474
 
{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7475
 
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7476
 
if test "${ac_cv_header_stat_broken+set}" = set; then
7477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7478
 
else
7479
 
  cat >conftest.$ac_ext <<_ACEOF
7480
 
/* confdefs.h.  */
7481
 
_ACEOF
7482
 
cat confdefs.h >>conftest.$ac_ext
7483
 
cat >>conftest.$ac_ext <<_ACEOF
7484
 
/* end confdefs.h.  */
7485
 
#include <sys/types.h>
7486
 
#include <sys/stat.h>
7487
 
 
7488
 
#if defined S_ISBLK && defined S_IFDIR
7489
 
# if S_ISBLK (S_IFDIR)
7490
 
You lose.
7491
 
# endif
7492
 
#endif
7493
 
 
7494
 
#if defined S_ISBLK && defined S_IFCHR
7495
 
# if S_ISBLK (S_IFCHR)
7496
 
You lose.
7497
 
# endif
7498
 
#endif
7499
 
 
7500
 
#if defined S_ISLNK && defined S_IFREG
7501
 
# if S_ISLNK (S_IFREG)
7502
 
You lose.
7503
 
# endif
7504
 
#endif
7505
 
 
7506
 
#if defined S_ISSOCK && defined S_IFREG
7507
 
# if S_ISSOCK (S_IFREG)
7508
 
You lose.
7509
 
# endif
7510
 
#endif
7511
 
 
7512
 
_ACEOF
7513
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7514
 
  $EGREP "You lose" >/dev/null 2>&1; then
7515
 
  ac_cv_header_stat_broken=yes
7516
 
else
7517
 
  ac_cv_header_stat_broken=no
7518
 
fi
7519
 
rm -f conftest*
7520
 
 
7521
 
fi
7522
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7523
 
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7524
 
if test $ac_cv_header_stat_broken = yes; then
7525
 
 
7526
 
cat >>confdefs.h <<\_ACEOF
7527
 
#define STAT_MACROS_BROKEN 1
7528
 
_ACEOF
7529
 
 
7530
 
fi
7531
 
 
7532
7427
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
7533
7428
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
7534
7429
if test "${ac_cv_header_stdbool_h+set}" = set; then
7629
7524
  rm -f conftest.er1
7630
7525
  cat conftest.err >&5
7631
7526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632
 
  (exit $ac_status); } &&
7633
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7634
 
  { (case "(($ac_try" in
7635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7636
 
  *) ac_try_echo=$ac_try;;
7637
 
esac
7638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7639
 
  (eval "$ac_try") 2>&5
7640
 
  ac_status=$?
7641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642
 
  (exit $ac_status); }; } &&
7643
 
         { ac_try='test -s conftest.$ac_objext'
7644
 
  { (case "(($ac_try" in
7645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646
 
  *) ac_try_echo=$ac_try;;
7647
 
esac
7648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649
 
  (eval "$ac_try") 2>&5
7650
 
  ac_status=$?
7651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652
 
  (exit $ac_status); }; }; then
 
7527
  (exit $ac_status); } && {
 
7528
         test -z "$ac_c_werror_flag" ||
 
7529
         test ! -s conftest.err
 
7530
       } && test -s conftest.$ac_objext; then
7653
7531
  ac_cv_header_stdbool_h=yes
7654
7532
else
7655
7533
  echo "$as_me: failed program was:" >&5
7699
7577
  rm -f conftest.er1
7700
7578
  cat conftest.err >&5
7701
7579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702
 
  (exit $ac_status); } &&
7703
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7704
 
  { (case "(($ac_try" in
7705
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7706
 
  *) ac_try_echo=$ac_try;;
7707
 
esac
7708
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709
 
  (eval "$ac_try") 2>&5
7710
 
  ac_status=$?
7711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712
 
  (exit $ac_status); }; } &&
7713
 
         { ac_try='test -s conftest.$ac_objext'
7714
 
  { (case "(($ac_try" in
7715
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7716
 
  *) ac_try_echo=$ac_try;;
7717
 
esac
7718
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7719
 
  (eval "$ac_try") 2>&5
7720
 
  ac_status=$?
7721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722
 
  (exit $ac_status); }; }; then
 
7580
  (exit $ac_status); } && {
 
7581
         test -z "$ac_c_werror_flag" ||
 
7582
         test ! -s conftest.err
 
7583
       } && test -s conftest.$ac_objext; then
7723
7584
  ac_cv_type__Bool=yes
7724
7585
else
7725
7586
  echo "$as_me: failed program was:" >&5
7749
7610
 
7750
7611
   fi
7751
7612
 
7752
 
  { echo "$as_me:$LINENO: checking for long long int" >&5
7753
 
echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
7754
 
if test "${ac_cv_type_long_long_int+set}" = set; then
 
7613
  { echo "$as_me:$LINENO: checking for unsigned long long int" >&5
 
7614
echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; }
 
7615
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
7755
7616
  echo $ECHO_N "(cached) $ECHO_C" >&6
7756
7617
else
7757
7618
  cat >conftest.$ac_ext <<_ACEOF
7760
7621
cat confdefs.h >>conftest.$ac_ext
7761
7622
cat >>conftest.$ac_ext <<_ACEOF
7762
7623
/* end confdefs.h.  */
7763
 
long long int ll = 9223372036854775807ll;
7764
 
            long long int nll = -9223372036854775807LL;
7765
 
            typedef int a[((-9223372036854775807LL < 0
7766
 
                            && 0 < 9223372036854775807ll)
 
7624
unsigned long long int ull = 18446744073709551615ULL;
 
7625
            typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
7767
7626
                           ? 1 : -1)];
7768
 
            int i = 63;
 
7627
           int i = 63;
7769
7628
int
7770
7629
main ()
7771
7630
{
7772
 
long long int llmax = 9223372036854775807ll;
7773
 
            return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
7774
 
                    | (llmax / ll) | (llmax % ll));
 
7631
unsigned long long int ullmax = 18446744073709551615ull;
 
7632
            return (ull << 63 | ull >> 63 | ull << i | ull >> i
 
7633
                    | ullmax / ull | ullmax % ull);
7775
7634
  ;
7776
7635
  return 0;
7777
7636
}
7789
7648
  rm -f conftest.er1
7790
7649
  cat conftest.err >&5
7791
7650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792
 
  (exit $ac_status); } &&
7793
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7794
 
  { (case "(($ac_try" in
7795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7796
 
  *) ac_try_echo=$ac_try;;
7797
 
esac
7798
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7799
 
  (eval "$ac_try") 2>&5
7800
 
  ac_status=$?
7801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802
 
  (exit $ac_status); }; } &&
7803
 
         { ac_try='test -s conftest$ac_exeext'
7804
 
  { (case "(($ac_try" in
7805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7806
 
  *) ac_try_echo=$ac_try;;
7807
 
esac
7808
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7809
 
  (eval "$ac_try") 2>&5
7810
 
  ac_status=$?
7811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812
 
  (exit $ac_status); }; }; then
7813
 
  ac_cv_type_long_long_int=yes
 
7651
  (exit $ac_status); } && {
 
7652
         test -z "$ac_c_werror_flag" ||
 
7653
         test ! -s conftest.err
 
7654
       } && test -s conftest$ac_exeext &&
 
7655
       $as_test_x conftest$ac_exeext; then
 
7656
  ac_cv_type_unsigned_long_long_int=yes
7814
7657
else
7815
7658
  echo "$as_me: failed program was:" >&5
7816
7659
sed 's/^/| /' conftest.$ac_ext >&5
7817
7660
 
7818
 
        ac_cv_type_long_long_int=no
 
7661
        ac_cv_type_unsigned_long_long_int=no
7819
7662
fi
7820
7663
 
7821
 
rm -f core conftest.err conftest.$ac_objext \
 
7664
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7822
7665
      conftest$ac_exeext conftest.$ac_ext
7823
7666
fi
7824
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
7825
 
echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
7826
 
  if test $ac_cv_type_long_long_int = yes; then
 
7667
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
 
7668
echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; }
 
7669
  if test $ac_cv_type_unsigned_long_long_int = yes; then
7827
7670
 
7828
7671
cat >>confdefs.h <<\_ACEOF
7829
 
#define HAVE_LONG_LONG_INT 1
 
7672
#define HAVE_UNSIGNED_LONG_LONG_INT 1
7830
7673
_ACEOF
7831
7674
 
7832
7675
  fi
7835
7678
 
7836
7679
 
7837
7680
 
7838
 
 
7839
 
 
7840
 
{ echo "$as_me:$LINENO: checking for inline" >&5
7841
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7842
 
if test "${ac_cv_c_inline+set}" = set; then
 
7681
{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
 
7682
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
 
7683
if test "${ac_cv_header_stat_broken+set}" = set; then
7843
7684
  echo $ECHO_N "(cached) $ECHO_C" >&6
7844
7685
else
7845
 
  ac_cv_c_inline=no
7846
 
for ac_kw in inline __inline__ __inline; do
7847
7686
  cat >conftest.$ac_ext <<_ACEOF
7848
7687
/* confdefs.h.  */
7849
7688
_ACEOF
7850
7689
cat confdefs.h >>conftest.$ac_ext
7851
7690
cat >>conftest.$ac_ext <<_ACEOF
7852
7691
/* end confdefs.h.  */
7853
 
#ifndef __cplusplus
7854
 
typedef int foo_t;
7855
 
static $ac_kw foo_t static_foo () {return 0; }
7856
 
$ac_kw foo_t foo () {return 0; }
 
7692
#include <sys/types.h>
 
7693
#include <sys/stat.h>
 
7694
 
 
7695
#if defined S_ISBLK && defined S_IFDIR
 
7696
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
 
7697
#endif
 
7698
 
 
7699
#if defined S_ISBLK && defined S_IFCHR
 
7700
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
 
7701
#endif
 
7702
 
 
7703
#if defined S_ISLNK && defined S_IFREG
 
7704
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
 
7705
#endif
 
7706
 
 
7707
#if defined S_ISSOCK && defined S_IFREG
 
7708
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7857
7709
#endif
7858
7710
 
7859
7711
_ACEOF
7870
7722
  rm -f conftest.er1
7871
7723
  cat conftest.err >&5
7872
7724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873
 
  (exit $ac_status); } &&
7874
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7875
 
  { (case "(($ac_try" in
7876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7877
 
  *) ac_try_echo=$ac_try;;
7878
 
esac
7879
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7880
 
  (eval "$ac_try") 2>&5
7881
 
  ac_status=$?
7882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883
 
  (exit $ac_status); }; } &&
7884
 
         { ac_try='test -s conftest.$ac_objext'
7885
 
  { (case "(($ac_try" in
7886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7887
 
  *) ac_try_echo=$ac_try;;
7888
 
esac
7889
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7890
 
  (eval "$ac_try") 2>&5
7891
 
  ac_status=$?
7892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893
 
  (exit $ac_status); }; }; then
7894
 
  ac_cv_c_inline=$ac_kw
 
7725
  (exit $ac_status); } && {
 
7726
         test -z "$ac_c_werror_flag" ||
 
7727
         test ! -s conftest.err
 
7728
       } && test -s conftest.$ac_objext; then
 
7729
  ac_cv_header_stat_broken=no
7895
7730
else
7896
7731
  echo "$as_me: failed program was:" >&5
7897
7732
sed 's/^/| /' conftest.$ac_ext >&5
7898
7733
 
7899
 
 
 
7734
        ac_cv_header_stat_broken=yes
7900
7735
fi
7901
7736
 
7902
7737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7903
 
  test "$ac_cv_c_inline" != no && break
7904
 
done
7905
 
 
7906
7738
fi
7907
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7908
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7909
 
 
7910
 
 
7911
 
case $ac_cv_c_inline in
7912
 
  inline | yes) ;;
7913
 
  *)
7914
 
    case $ac_cv_c_inline in
7915
 
      no) ac_val=;;
7916
 
      *) ac_val=$ac_cv_c_inline;;
7917
 
    esac
7918
 
    cat >>confdefs.h <<_ACEOF
7919
 
#ifndef __cplusplus
7920
 
#define inline $ac_val
7921
 
#endif
 
7739
{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
 
7740
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
 
7741
if test $ac_cv_header_stat_broken = yes; then
 
7742
 
 
7743
cat >>confdefs.h <<\_ACEOF
 
7744
#define STAT_MACROS_BROKEN 1
7922
7745
_ACEOF
7923
 
    ;;
7924
 
esac
 
7746
 
 
7747
fi
 
7748
 
 
7749
 
 
7750
 
 
7751
 
 
7752
 
 
7753
 
7925
7754
 
7926
7755
 
7927
7756
 
7941
7770
main ()
7942
7771
{
7943
7772
#ifndef clearerr_unlocked
7944
 
  char *p = (char *) clearerr_unlocked;
7945
 
  return !p;
 
7773
  (void) clearerr_unlocked;
7946
7774
#endif
7947
7775
 
7948
7776
  ;
7962
7790
  rm -f conftest.er1
7963
7791
  cat conftest.err >&5
7964
7792
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965
 
  (exit $ac_status); } &&
7966
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7967
 
  { (case "(($ac_try" in
7968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7969
 
  *) ac_try_echo=$ac_try;;
7970
 
esac
7971
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7972
 
  (eval "$ac_try") 2>&5
7973
 
  ac_status=$?
7974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975
 
  (exit $ac_status); }; } &&
7976
 
         { ac_try='test -s conftest.$ac_objext'
7977
 
  { (case "(($ac_try" in
7978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7979
 
  *) ac_try_echo=$ac_try;;
7980
 
esac
7981
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7982
 
  (eval "$ac_try") 2>&5
7983
 
  ac_status=$?
7984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985
 
  (exit $ac_status); }; }; then
 
7793
  (exit $ac_status); } && {
 
7794
         test -z "$ac_c_werror_flag" ||
 
7795
         test ! -s conftest.err
 
7796
       } && test -s conftest.$ac_objext; then
7986
7797
  ac_cv_have_decl_clearerr_unlocked=yes
7987
7798
else
7988
7799
  echo "$as_me: failed program was:" >&5
8027
7838
main ()
8028
7839
{
8029
7840
#ifndef feof_unlocked
8030
 
  char *p = (char *) feof_unlocked;
8031
 
  return !p;
 
7841
  (void) feof_unlocked;
8032
7842
#endif
8033
7843
 
8034
7844
  ;
8048
7858
  rm -f conftest.er1
8049
7859
  cat conftest.err >&5
8050
7860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051
 
  (exit $ac_status); } &&
8052
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8053
 
  { (case "(($ac_try" in
8054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8055
 
  *) ac_try_echo=$ac_try;;
8056
 
esac
8057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8058
 
  (eval "$ac_try") 2>&5
8059
 
  ac_status=$?
8060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061
 
  (exit $ac_status); }; } &&
8062
 
         { ac_try='test -s conftest.$ac_objext'
8063
 
  { (case "(($ac_try" in
8064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065
 
  *) ac_try_echo=$ac_try;;
8066
 
esac
8067
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8068
 
  (eval "$ac_try") 2>&5
8069
 
  ac_status=$?
8070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071
 
  (exit $ac_status); }; }; then
 
7861
  (exit $ac_status); } && {
 
7862
         test -z "$ac_c_werror_flag" ||
 
7863
         test ! -s conftest.err
 
7864
       } && test -s conftest.$ac_objext; then
8072
7865
  ac_cv_have_decl_feof_unlocked=yes
8073
7866
else
8074
7867
  echo "$as_me: failed program was:" >&5
8113
7906
main ()
8114
7907
{
8115
7908
#ifndef ferror_unlocked
8116
 
  char *p = (char *) ferror_unlocked;
8117
 
  return !p;
 
7909
  (void) ferror_unlocked;
8118
7910
#endif
8119
7911
 
8120
7912
  ;
8134
7926
  rm -f conftest.er1
8135
7927
  cat conftest.err >&5
8136
7928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137
 
  (exit $ac_status); } &&
8138
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8139
 
  { (case "(($ac_try" in
8140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8141
 
  *) ac_try_echo=$ac_try;;
8142
 
esac
8143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8144
 
  (eval "$ac_try") 2>&5
8145
 
  ac_status=$?
8146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147
 
  (exit $ac_status); }; } &&
8148
 
         { ac_try='test -s conftest.$ac_objext'
8149
 
  { (case "(($ac_try" in
8150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8151
 
  *) ac_try_echo=$ac_try;;
8152
 
esac
8153
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8154
 
  (eval "$ac_try") 2>&5
8155
 
  ac_status=$?
8156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157
 
  (exit $ac_status); }; }; then
 
7929
  (exit $ac_status); } && {
 
7930
         test -z "$ac_c_werror_flag" ||
 
7931
         test ! -s conftest.err
 
7932
       } && test -s conftest.$ac_objext; then
8158
7933
  ac_cv_have_decl_ferror_unlocked=yes
8159
7934
else
8160
7935
  echo "$as_me: failed program was:" >&5
8199
7974
main ()
8200
7975
{
8201
7976
#ifndef fflush_unlocked
8202
 
  char *p = (char *) fflush_unlocked;
8203
 
  return !p;
 
7977
  (void) fflush_unlocked;
8204
7978
#endif
8205
7979
 
8206
7980
  ;
8220
7994
  rm -f conftest.er1
8221
7995
  cat conftest.err >&5
8222
7996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223
 
  (exit $ac_status); } &&
8224
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8225
 
  { (case "(($ac_try" in
8226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8227
 
  *) ac_try_echo=$ac_try;;
8228
 
esac
8229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8230
 
  (eval "$ac_try") 2>&5
8231
 
  ac_status=$?
8232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233
 
  (exit $ac_status); }; } &&
8234
 
         { ac_try='test -s conftest.$ac_objext'
8235
 
  { (case "(($ac_try" in
8236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8237
 
  *) ac_try_echo=$ac_try;;
8238
 
esac
8239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8240
 
  (eval "$ac_try") 2>&5
8241
 
  ac_status=$?
8242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243
 
  (exit $ac_status); }; }; then
 
7997
  (exit $ac_status); } && {
 
7998
         test -z "$ac_c_werror_flag" ||
 
7999
         test ! -s conftest.err
 
8000
       } && test -s conftest.$ac_objext; then
8244
8001
  ac_cv_have_decl_fflush_unlocked=yes
8245
8002
else
8246
8003
  echo "$as_me: failed program was:" >&5
8285
8042
main ()
8286
8043
{
8287
8044
#ifndef fgets_unlocked
8288
 
  char *p = (char *) fgets_unlocked;
8289
 
  return !p;
 
8045
  (void) fgets_unlocked;
8290
8046
#endif
8291
8047
 
8292
8048
  ;
8306
8062
  rm -f conftest.er1
8307
8063
  cat conftest.err >&5
8308
8064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309
 
  (exit $ac_status); } &&
8310
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8311
 
  { (case "(($ac_try" in
8312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313
 
  *) ac_try_echo=$ac_try;;
8314
 
esac
8315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8316
 
  (eval "$ac_try") 2>&5
8317
 
  ac_status=$?
8318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319
 
  (exit $ac_status); }; } &&
8320
 
         { ac_try='test -s conftest.$ac_objext'
8321
 
  { (case "(($ac_try" in
8322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8323
 
  *) ac_try_echo=$ac_try;;
8324
 
esac
8325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8326
 
  (eval "$ac_try") 2>&5
8327
 
  ac_status=$?
8328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329
 
  (exit $ac_status); }; }; then
 
8065
  (exit $ac_status); } && {
 
8066
         test -z "$ac_c_werror_flag" ||
 
8067
         test ! -s conftest.err
 
8068
       } && test -s conftest.$ac_objext; then
8330
8069
  ac_cv_have_decl_fgets_unlocked=yes
8331
8070
else
8332
8071
  echo "$as_me: failed program was:" >&5
8371
8110
main ()
8372
8111
{
8373
8112
#ifndef fputc_unlocked
8374
 
  char *p = (char *) fputc_unlocked;
8375
 
  return !p;
 
8113
  (void) fputc_unlocked;
8376
8114
#endif
8377
8115
 
8378
8116
  ;
8392
8130
  rm -f conftest.er1
8393
8131
  cat conftest.err >&5
8394
8132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395
 
  (exit $ac_status); } &&
8396
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8397
 
  { (case "(($ac_try" in
8398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8399
 
  *) ac_try_echo=$ac_try;;
8400
 
esac
8401
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8402
 
  (eval "$ac_try") 2>&5
8403
 
  ac_status=$?
8404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405
 
  (exit $ac_status); }; } &&
8406
 
         { ac_try='test -s conftest.$ac_objext'
8407
 
  { (case "(($ac_try" in
8408
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8409
 
  *) ac_try_echo=$ac_try;;
8410
 
esac
8411
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8412
 
  (eval "$ac_try") 2>&5
8413
 
  ac_status=$?
8414
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415
 
  (exit $ac_status); }; }; then
 
8133
  (exit $ac_status); } && {
 
8134
         test -z "$ac_c_werror_flag" ||
 
8135
         test ! -s conftest.err
 
8136
       } && test -s conftest.$ac_objext; then
8416
8137
  ac_cv_have_decl_fputc_unlocked=yes
8417
8138
else
8418
8139
  echo "$as_me: failed program was:" >&5
8457
8178
main ()
8458
8179
{
8459
8180
#ifndef fputs_unlocked
8460
 
  char *p = (char *) fputs_unlocked;
8461
 
  return !p;
 
8181
  (void) fputs_unlocked;
8462
8182
#endif
8463
8183
 
8464
8184
  ;
8478
8198
  rm -f conftest.er1
8479
8199
  cat conftest.err >&5
8480
8200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481
 
  (exit $ac_status); } &&
8482
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8483
 
  { (case "(($ac_try" in
8484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485
 
  *) ac_try_echo=$ac_try;;
8486
 
esac
8487
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488
 
  (eval "$ac_try") 2>&5
8489
 
  ac_status=$?
8490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491
 
  (exit $ac_status); }; } &&
8492
 
         { ac_try='test -s conftest.$ac_objext'
8493
 
  { (case "(($ac_try" in
8494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8495
 
  *) ac_try_echo=$ac_try;;
8496
 
esac
8497
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8498
 
  (eval "$ac_try") 2>&5
8499
 
  ac_status=$?
8500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501
 
  (exit $ac_status); }; }; then
 
8201
  (exit $ac_status); } && {
 
8202
         test -z "$ac_c_werror_flag" ||
 
8203
         test ! -s conftest.err
 
8204
       } && test -s conftest.$ac_objext; then
8502
8205
  ac_cv_have_decl_fputs_unlocked=yes
8503
8206
else
8504
8207
  echo "$as_me: failed program was:" >&5
8543
8246
main ()
8544
8247
{
8545
8248
#ifndef fread_unlocked
8546
 
  char *p = (char *) fread_unlocked;
8547
 
  return !p;
 
8249
  (void) fread_unlocked;
8548
8250
#endif
8549
8251
 
8550
8252
  ;
8564
8266
  rm -f conftest.er1
8565
8267
  cat conftest.err >&5
8566
8268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567
 
  (exit $ac_status); } &&
8568
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8569
 
  { (case "(($ac_try" in
8570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8571
 
  *) ac_try_echo=$ac_try;;
8572
 
esac
8573
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8574
 
  (eval "$ac_try") 2>&5
8575
 
  ac_status=$?
8576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577
 
  (exit $ac_status); }; } &&
8578
 
         { ac_try='test -s conftest.$ac_objext'
8579
 
  { (case "(($ac_try" in
8580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8581
 
  *) ac_try_echo=$ac_try;;
8582
 
esac
8583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8584
 
  (eval "$ac_try") 2>&5
8585
 
  ac_status=$?
8586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587
 
  (exit $ac_status); }; }; then
 
8269
  (exit $ac_status); } && {
 
8270
         test -z "$ac_c_werror_flag" ||
 
8271
         test ! -s conftest.err
 
8272
       } && test -s conftest.$ac_objext; then
8588
8273
  ac_cv_have_decl_fread_unlocked=yes
8589
8274
else
8590
8275
  echo "$as_me: failed program was:" >&5
8629
8314
main ()
8630
8315
{
8631
8316
#ifndef fwrite_unlocked
8632
 
  char *p = (char *) fwrite_unlocked;
8633
 
  return !p;
 
8317
  (void) fwrite_unlocked;
8634
8318
#endif
8635
8319
 
8636
8320
  ;
8650
8334
  rm -f conftest.er1
8651
8335
  cat conftest.err >&5
8652
8336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653
 
  (exit $ac_status); } &&
8654
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8655
 
  { (case "(($ac_try" in
8656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8657
 
  *) ac_try_echo=$ac_try;;
8658
 
esac
8659
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8660
 
  (eval "$ac_try") 2>&5
8661
 
  ac_status=$?
8662
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663
 
  (exit $ac_status); }; } &&
8664
 
         { ac_try='test -s conftest.$ac_objext'
8665
 
  { (case "(($ac_try" in
8666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8667
 
  *) ac_try_echo=$ac_try;;
8668
 
esac
8669
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8670
 
  (eval "$ac_try") 2>&5
8671
 
  ac_status=$?
8672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673
 
  (exit $ac_status); }; }; then
 
8337
  (exit $ac_status); } && {
 
8338
         test -z "$ac_c_werror_flag" ||
 
8339
         test ! -s conftest.err
 
8340
       } && test -s conftest.$ac_objext; then
8674
8341
  ac_cv_have_decl_fwrite_unlocked=yes
8675
8342
else
8676
8343
  echo "$as_me: failed program was:" >&5
8715
8382
main ()
8716
8383
{
8717
8384
#ifndef getc_unlocked
8718
 
  char *p = (char *) getc_unlocked;
8719
 
  return !p;
 
8385
  (void) getc_unlocked;
8720
8386
#endif
8721
8387
 
8722
8388
  ;
8736
8402
  rm -f conftest.er1
8737
8403
  cat conftest.err >&5
8738
8404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739
 
  (exit $ac_status); } &&
8740
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8741
 
  { (case "(($ac_try" in
8742
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743
 
  *) ac_try_echo=$ac_try;;
8744
 
esac
8745
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746
 
  (eval "$ac_try") 2>&5
8747
 
  ac_status=$?
8748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749
 
  (exit $ac_status); }; } &&
8750
 
         { ac_try='test -s conftest.$ac_objext'
8751
 
  { (case "(($ac_try" in
8752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8753
 
  *) ac_try_echo=$ac_try;;
8754
 
esac
8755
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8756
 
  (eval "$ac_try") 2>&5
8757
 
  ac_status=$?
8758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759
 
  (exit $ac_status); }; }; then
 
8405
  (exit $ac_status); } && {
 
8406
         test -z "$ac_c_werror_flag" ||
 
8407
         test ! -s conftest.err
 
8408
       } && test -s conftest.$ac_objext; then
8760
8409
  ac_cv_have_decl_getc_unlocked=yes
8761
8410
else
8762
8411
  echo "$as_me: failed program was:" >&5
8801
8450
main ()
8802
8451
{
8803
8452
#ifndef getchar_unlocked
8804
 
  char *p = (char *) getchar_unlocked;
8805
 
  return !p;
 
8453
  (void) getchar_unlocked;
8806
8454
#endif
8807
8455
 
8808
8456
  ;
8822
8470
  rm -f conftest.er1
8823
8471
  cat conftest.err >&5
8824
8472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825
 
  (exit $ac_status); } &&
8826
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8827
 
  { (case "(($ac_try" in
8828
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8829
 
  *) ac_try_echo=$ac_try;;
8830
 
esac
8831
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8832
 
  (eval "$ac_try") 2>&5
8833
 
  ac_status=$?
8834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835
 
  (exit $ac_status); }; } &&
8836
 
         { ac_try='test -s conftest.$ac_objext'
8837
 
  { (case "(($ac_try" in
8838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8839
 
  *) ac_try_echo=$ac_try;;
8840
 
esac
8841
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842
 
  (eval "$ac_try") 2>&5
8843
 
  ac_status=$?
8844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845
 
  (exit $ac_status); }; }; then
 
8473
  (exit $ac_status); } && {
 
8474
         test -z "$ac_c_werror_flag" ||
 
8475
         test ! -s conftest.err
 
8476
       } && test -s conftest.$ac_objext; then
8846
8477
  ac_cv_have_decl_getchar_unlocked=yes
8847
8478
else
8848
8479
  echo "$as_me: failed program was:" >&5
8887
8518
main ()
8888
8519
{
8889
8520
#ifndef putc_unlocked
8890
 
  char *p = (char *) putc_unlocked;
8891
 
  return !p;
 
8521
  (void) putc_unlocked;
8892
8522
#endif
8893
8523
 
8894
8524
  ;
8908
8538
  rm -f conftest.er1
8909
8539
  cat conftest.err >&5
8910
8540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911
 
  (exit $ac_status); } &&
8912
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8913
 
  { (case "(($ac_try" in
8914
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8915
 
  *) ac_try_echo=$ac_try;;
8916
 
esac
8917
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8918
 
  (eval "$ac_try") 2>&5
8919
 
  ac_status=$?
8920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921
 
  (exit $ac_status); }; } &&
8922
 
         { ac_try='test -s conftest.$ac_objext'
8923
 
  { (case "(($ac_try" in
8924
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925
 
  *) ac_try_echo=$ac_try;;
8926
 
esac
8927
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8928
 
  (eval "$ac_try") 2>&5
8929
 
  ac_status=$?
8930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931
 
  (exit $ac_status); }; }; then
 
8541
  (exit $ac_status); } && {
 
8542
         test -z "$ac_c_werror_flag" ||
 
8543
         test ! -s conftest.err
 
8544
       } && test -s conftest.$ac_objext; then
8932
8545
  ac_cv_have_decl_putc_unlocked=yes
8933
8546
else
8934
8547
  echo "$as_me: failed program was:" >&5
8973
8586
main ()
8974
8587
{
8975
8588
#ifndef putchar_unlocked
8976
 
  char *p = (char *) putchar_unlocked;
8977
 
  return !p;
 
8589
  (void) putchar_unlocked;
8978
8590
#endif
8979
8591
 
8980
8592
  ;
8994
8606
  rm -f conftest.er1
8995
8607
  cat conftest.err >&5
8996
8608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997
 
  (exit $ac_status); } &&
8998
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8999
 
  { (case "(($ac_try" in
9000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9001
 
  *) ac_try_echo=$ac_try;;
9002
 
esac
9003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9004
 
  (eval "$ac_try") 2>&5
9005
 
  ac_status=$?
9006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007
 
  (exit $ac_status); }; } &&
9008
 
         { ac_try='test -s conftest.$ac_objext'
9009
 
  { (case "(($ac_try" in
9010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9011
 
  *) ac_try_echo=$ac_try;;
9012
 
esac
9013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9014
 
  (eval "$ac_try") 2>&5
9015
 
  ac_status=$?
9016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017
 
  (exit $ac_status); }; }; then
 
8609
  (exit $ac_status); } && {
 
8610
         test -z "$ac_c_werror_flag" ||
 
8611
         test ! -s conftest.err
 
8612
       } && test -s conftest.$ac_objext; then
9018
8613
  ac_cv_have_decl_putchar_unlocked=yes
9019
8614
else
9020
8615
  echo "$as_me: failed program was:" >&5
9132
8727
  rm -f conftest.er1
9133
8728
  cat conftest.err >&5
9134
8729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135
 
  (exit $ac_status); } &&
9136
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9137
 
  { (case "(($ac_try" in
9138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139
 
  *) ac_try_echo=$ac_try;;
9140
 
esac
9141
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142
 
  (eval "$ac_try") 2>&5
9143
 
  ac_status=$?
9144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145
 
  (exit $ac_status); }; } &&
9146
 
         { ac_try='test -s conftest.$ac_objext'
9147
 
  { (case "(($ac_try" in
9148
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9149
 
  *) ac_try_echo=$ac_try;;
9150
 
esac
9151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9152
 
  (eval "$ac_try") 2>&5
9153
 
  ac_status=$?
9154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155
 
  (exit $ac_status); }; }; then
 
8730
  (exit $ac_status); } && {
 
8731
         test -z "$ac_c_werror_flag" ||
 
8732
         test ! -s conftest.err
 
8733
       } && test -s conftest.$ac_objext; then
9156
8734
  ac_lo=0 ac_mid=0
9157
8735
  while :; do
9158
8736
    cat >conftest.$ac_ext <<_ACEOF
9191
8769
  rm -f conftest.er1
9192
8770
  cat conftest.err >&5
9193
8771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194
 
  (exit $ac_status); } &&
9195
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9196
 
  { (case "(($ac_try" in
9197
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9198
 
  *) ac_try_echo=$ac_try;;
9199
 
esac
9200
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9201
 
  (eval "$ac_try") 2>&5
9202
 
  ac_status=$?
9203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204
 
  (exit $ac_status); }; } &&
9205
 
         { ac_try='test -s conftest.$ac_objext'
9206
 
  { (case "(($ac_try" in
9207
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9208
 
  *) ac_try_echo=$ac_try;;
9209
 
esac
9210
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9211
 
  (eval "$ac_try") 2>&5
9212
 
  ac_status=$?
9213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214
 
  (exit $ac_status); }; }; then
 
8772
  (exit $ac_status); } && {
 
8773
         test -z "$ac_c_werror_flag" ||
 
8774
         test ! -s conftest.err
 
8775
       } && test -s conftest.$ac_objext; then
9215
8776
  ac_hi=$ac_mid; break
9216
8777
else
9217
8778
  echo "$as_me: failed program was:" >&5
9267
8828
  rm -f conftest.er1
9268
8829
  cat conftest.err >&5
9269
8830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270
 
  (exit $ac_status); } &&
9271
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9272
 
  { (case "(($ac_try" in
9273
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9274
 
  *) ac_try_echo=$ac_try;;
9275
 
esac
9276
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9277
 
  (eval "$ac_try") 2>&5
9278
 
  ac_status=$?
9279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280
 
  (exit $ac_status); }; } &&
9281
 
         { ac_try='test -s conftest.$ac_objext'
9282
 
  { (case "(($ac_try" in
9283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9284
 
  *) ac_try_echo=$ac_try;;
9285
 
esac
9286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9287
 
  (eval "$ac_try") 2>&5
9288
 
  ac_status=$?
9289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290
 
  (exit $ac_status); }; }; then
 
8831
  (exit $ac_status); } && {
 
8832
         test -z "$ac_c_werror_flag" ||
 
8833
         test ! -s conftest.err
 
8834
       } && test -s conftest.$ac_objext; then
9291
8835
  ac_hi=-1 ac_mid=-1
9292
8836
  while :; do
9293
8837
    cat >conftest.$ac_ext <<_ACEOF
9326
8870
  rm -f conftest.er1
9327
8871
  cat conftest.err >&5
9328
8872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329
 
  (exit $ac_status); } &&
9330
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9331
 
  { (case "(($ac_try" in
9332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9333
 
  *) ac_try_echo=$ac_try;;
9334
 
esac
9335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9336
 
  (eval "$ac_try") 2>&5
9337
 
  ac_status=$?
9338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339
 
  (exit $ac_status); }; } &&
9340
 
         { ac_try='test -s conftest.$ac_objext'
9341
 
  { (case "(($ac_try" in
9342
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9343
 
  *) ac_try_echo=$ac_try;;
9344
 
esac
9345
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9346
 
  (eval "$ac_try") 2>&5
9347
 
  ac_status=$?
9348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349
 
  (exit $ac_status); }; }; then
 
8873
  (exit $ac_status); } && {
 
8874
         test -z "$ac_c_werror_flag" ||
 
8875
         test ! -s conftest.err
 
8876
       } && test -s conftest.$ac_objext; then
9350
8877
  ac_lo=$ac_mid; break
9351
8878
else
9352
8879
  echo "$as_me: failed program was:" >&5
9412
8939
  rm -f conftest.er1
9413
8940
  cat conftest.err >&5
9414
8941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415
 
  (exit $ac_status); } &&
9416
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9417
 
  { (case "(($ac_try" in
9418
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9419
 
  *) ac_try_echo=$ac_try;;
9420
 
esac
9421
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9422
 
  (eval "$ac_try") 2>&5
9423
 
  ac_status=$?
9424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425
 
  (exit $ac_status); }; } &&
9426
 
         { ac_try='test -s conftest.$ac_objext'
9427
 
  { (case "(($ac_try" in
9428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9429
 
  *) ac_try_echo=$ac_try;;
9430
 
esac
9431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9432
 
  (eval "$ac_try") 2>&5
9433
 
  ac_status=$?
9434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435
 
  (exit $ac_status); }; }; then
 
8942
  (exit $ac_status); } && {
 
8943
         test -z "$ac_c_werror_flag" ||
 
8944
         test ! -s conftest.err
 
8945
       } && test -s conftest.$ac_objext; then
9436
8946
  ac_hi=$ac_mid
9437
8947
else
9438
8948
  echo "$as_me: failed program was:" >&5
9522
9032
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9523
9033
fi
9524
9034
rm -f conftest.val
 
9035
 
9525
9036
      else
9526
9037
                                ac_cv_decl_EOVERFLOW=E2BIG
9527
9038
      fi
9541
9052
  fi
9542
9053
 
9543
9054
 
9544
 
  { echo "$as_me:$LINENO: checking for signed" >&5
9545
 
echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
9546
 
if test "${bh_cv_c_signed+set}" = set; then
9547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9548
 
else
9549
 
  cat >conftest.$ac_ext <<_ACEOF
9550
 
/* confdefs.h.  */
9551
 
_ACEOF
9552
 
cat confdefs.h >>conftest.$ac_ext
9553
 
cat >>conftest.$ac_ext <<_ACEOF
9554
 
/* end confdefs.h.  */
9555
 
 
9556
 
int
9557
 
main ()
9558
 
{
9559
 
signed char x; return !x;
9560
 
  ;
9561
 
  return 0;
9562
 
}
9563
 
_ACEOF
9564
 
rm -f conftest.$ac_objext
9565
 
if { (ac_try="$ac_compile"
9566
 
case "(($ac_try" in
9567
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9568
 
  *) ac_try_echo=$ac_try;;
9569
 
esac
9570
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571
 
  (eval "$ac_compile") 2>conftest.er1
9572
 
  ac_status=$?
9573
 
  grep -v '^ *+' conftest.er1 >conftest.err
9574
 
  rm -f conftest.er1
9575
 
  cat conftest.err >&5
9576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577
 
  (exit $ac_status); } &&
9578
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9579
 
  { (case "(($ac_try" in
9580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9581
 
  *) ac_try_echo=$ac_try;;
9582
 
esac
9583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9584
 
  (eval "$ac_try") 2>&5
9585
 
  ac_status=$?
9586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587
 
  (exit $ac_status); }; } &&
9588
 
         { ac_try='test -s conftest.$ac_objext'
9589
 
  { (case "(($ac_try" in
9590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9591
 
  *) ac_try_echo=$ac_try;;
9592
 
esac
9593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594
 
  (eval "$ac_try") 2>&5
9595
 
  ac_status=$?
9596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597
 
  (exit $ac_status); }; }; then
9598
 
  bh_cv_c_signed=yes
9599
 
else
9600
 
  echo "$as_me: failed program was:" >&5
9601
 
sed 's/^/| /' conftest.$ac_ext >&5
9602
 
 
9603
 
        bh_cv_c_signed=no
9604
 
fi
9605
 
 
9606
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9607
 
fi
9608
 
{ echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
9609
 
echo "${ECHO_T}$bh_cv_c_signed" >&6; }
9610
 
  if test $bh_cv_c_signed = no; then
9611
 
 
9612
 
cat >>confdefs.h <<\_ACEOF
9613
 
#define signed
9614
 
_ACEOF
9615
 
 
9616
 
  fi
9617
 
 
9618
 
 
9619
 
 
9620
 
  ac_cv_type_long_long=$ac_cv_type_long_long_int
9621
 
  if test $ac_cv_type_long_long = yes; then
9622
 
 
9623
 
cat >>confdefs.h <<\_ACEOF
9624
 
#define HAVE_LONG_LONG 1
9625
 
_ACEOF
9626
 
 
9627
 
  fi
9628
 
 
9629
 
 
9630
 
  { echo "$as_me:$LINENO: checking for long double" >&5
9631
 
echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
9632
 
if test "${gt_cv_c_long_double+set}" = set; then
9633
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9634
 
else
9635
 
  if test "$GCC" = yes; then
9636
 
       gt_cv_c_long_double=yes
9637
 
     else
9638
 
       cat >conftest.$ac_ext <<_ACEOF
9639
 
/* confdefs.h.  */
9640
 
_ACEOF
9641
 
cat confdefs.h >>conftest.$ac_ext
9642
 
cat >>conftest.$ac_ext <<_ACEOF
9643
 
/* end confdefs.h.  */
9644
 
 
9645
 
         /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
9646
 
         long double foo = 0.0;
9647
 
         /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
9648
 
         int array [2*(sizeof(long double) >= sizeof(double)) - 1];
9649
 
 
9650
 
int
9651
 
main ()
9652
 
{
9653
 
 
9654
 
  ;
9655
 
  return 0;
9656
 
}
9657
 
_ACEOF
9658
 
rm -f conftest.$ac_objext
9659
 
if { (ac_try="$ac_compile"
9660
 
case "(($ac_try" in
9661
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9662
 
  *) ac_try_echo=$ac_try;;
9663
 
esac
9664
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9665
 
  (eval "$ac_compile") 2>conftest.er1
9666
 
  ac_status=$?
9667
 
  grep -v '^ *+' conftest.er1 >conftest.err
9668
 
  rm -f conftest.er1
9669
 
  cat conftest.err >&5
9670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671
 
  (exit $ac_status); } &&
9672
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9673
 
  { (case "(($ac_try" in
9674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9675
 
  *) ac_try_echo=$ac_try;;
9676
 
esac
9677
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9678
 
  (eval "$ac_try") 2>&5
9679
 
  ac_status=$?
9680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681
 
  (exit $ac_status); }; } &&
9682
 
         { ac_try='test -s conftest.$ac_objext'
9683
 
  { (case "(($ac_try" in
9684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9685
 
  *) ac_try_echo=$ac_try;;
9686
 
esac
9687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9688
 
  (eval "$ac_try") 2>&5
9689
 
  ac_status=$?
9690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691
 
  (exit $ac_status); }; }; then
9692
 
  gt_cv_c_long_double=yes
9693
 
else
9694
 
  echo "$as_me: failed program was:" >&5
9695
 
sed 's/^/| /' conftest.$ac_ext >&5
9696
 
 
9697
 
        gt_cv_c_long_double=no
9698
 
fi
9699
 
 
9700
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9701
 
     fi
9702
 
fi
9703
 
{ echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
9704
 
echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
9705
 
  if test $gt_cv_c_long_double = yes; then
9706
 
 
9707
 
cat >>confdefs.h <<\_ACEOF
9708
 
#define HAVE_LONG_DOUBLE 1
9709
 
_ACEOF
9710
 
 
9711
 
  fi
9712
 
 
9713
 
 
9714
9055
  { echo "$as_me:$LINENO: checking for wchar_t" >&5
9715
9056
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
9716
9057
if test "${gt_cv_c_wchar_t+set}" = set; then
9745
9086
  rm -f conftest.er1
9746
9087
  cat conftest.err >&5
9747
9088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748
 
  (exit $ac_status); } &&
9749
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9750
 
  { (case "(($ac_try" in
9751
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752
 
  *) ac_try_echo=$ac_try;;
9753
 
esac
9754
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755
 
  (eval "$ac_try") 2>&5
9756
 
  ac_status=$?
9757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758
 
  (exit $ac_status); }; } &&
9759
 
         { ac_try='test -s conftest.$ac_objext'
9760
 
  { (case "(($ac_try" in
9761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9762
 
  *) ac_try_echo=$ac_try;;
9763
 
esac
9764
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9765
 
  (eval "$ac_try") 2>&5
9766
 
  ac_status=$?
9767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768
 
  (exit $ac_status); }; }; then
 
9089
  (exit $ac_status); } && {
 
9090
         test -z "$ac_c_werror_flag" ||
 
9091
         test ! -s conftest.err
 
9092
       } && test -s conftest.$ac_objext; then
9769
9093
  gt_cv_c_wchar_t=yes
9770
9094
else
9771
9095
  echo "$as_me: failed program was:" >&5
9821
9145
  rm -f conftest.er1
9822
9146
  cat conftest.err >&5
9823
9147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824
 
  (exit $ac_status); } &&
9825
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9826
 
  { (case "(($ac_try" in
9827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9828
 
  *) ac_try_echo=$ac_try;;
9829
 
esac
9830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9831
 
  (eval "$ac_try") 2>&5
9832
 
  ac_status=$?
9833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834
 
  (exit $ac_status); }; } &&
9835
 
         { ac_try='test -s conftest.$ac_objext'
9836
 
  { (case "(($ac_try" in
9837
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9838
 
  *) ac_try_echo=$ac_try;;
9839
 
esac
9840
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9841
 
  (eval "$ac_try") 2>&5
9842
 
  ac_status=$?
9843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844
 
  (exit $ac_status); }; }; then
 
9148
  (exit $ac_status); } && {
 
9149
         test -z "$ac_c_werror_flag" ||
 
9150
         test ! -s conftest.err
 
9151
       } && test -s conftest.$ac_objext; then
9845
9152
  gt_cv_c_wint_t=yes
9846
9153
else
9847
9154
  echo "$as_me: failed program was:" >&5
9897
9204
  rm -f conftest.er1
9898
9205
  cat conftest.err >&5
9899
9206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900
 
  (exit $ac_status); } &&
9901
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9902
 
  { (case "(($ac_try" in
9903
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904
 
  *) ac_try_echo=$ac_try;;
9905
 
esac
9906
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9907
 
  (eval "$ac_try") 2>&5
9908
 
  ac_status=$?
9909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910
 
  (exit $ac_status); }; } &&
9911
 
         { ac_try='test -s conftest.$ac_objext'
9912
 
  { (case "(($ac_try" in
9913
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9914
 
  *) ac_try_echo=$ac_try;;
9915
 
esac
9916
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9917
 
  (eval "$ac_try") 2>&5
9918
 
  ac_status=$?
9919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920
 
  (exit $ac_status); }; }; then
 
9207
  (exit $ac_status); } && {
 
9208
         test -z "$ac_c_werror_flag" ||
 
9209
         test ! -s conftest.err
 
9210
       } && test -s conftest.$ac_objext; then
9921
9211
  gl_cv_header_inttypes_h=yes
9922
9212
else
9923
9213
  echo "$as_me: failed program was:" >&5
9973
9263
  rm -f conftest.er1
9974
9264
  cat conftest.err >&5
9975
9265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976
 
  (exit $ac_status); } &&
9977
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9978
 
  { (case "(($ac_try" in
9979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9980
 
  *) ac_try_echo=$ac_try;;
9981
 
esac
9982
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9983
 
  (eval "$ac_try") 2>&5
9984
 
  ac_status=$?
9985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986
 
  (exit $ac_status); }; } &&
9987
 
         { ac_try='test -s conftest.$ac_objext'
9988
 
  { (case "(($ac_try" in
9989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9990
 
  *) ac_try_echo=$ac_try;;
9991
 
esac
9992
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9993
 
  (eval "$ac_try") 2>&5
9994
 
  ac_status=$?
9995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996
 
  (exit $ac_status); }; }; then
 
9266
  (exit $ac_status); } && {
 
9267
         test -z "$ac_c_werror_flag" ||
 
9268
         test ! -s conftest.err
 
9269
       } && test -s conftest.$ac_objext; then
9997
9270
  gl_cv_header_stdint_h=yes
9998
9271
else
9999
9272
  echo "$as_me: failed program was:" >&5
10016
9289
 
10017
9290
 
10018
9291
 
 
9292
  ac_cv_type_long_long=$ac_cv_type_long_long_int
 
9293
  if test $ac_cv_type_long_long = yes; then
 
9294
 
 
9295
cat >>confdefs.h <<\_ACEOF
 
9296
#define HAVE_LONG_LONG 1
 
9297
_ACEOF
 
9298
 
 
9299
  fi
 
9300
 
 
9301
 
 
9302
 
10019
9303
 
10020
9304
  { echo "$as_me:$LINENO: checking for intmax_t" >&5
10021
9305
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
10059
9343
  rm -f conftest.er1
10060
9344
  cat conftest.err >&5
10061
9345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062
 
  (exit $ac_status); } &&
10063
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10064
 
  { (case "(($ac_try" in
10065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10066
 
  *) ac_try_echo=$ac_try;;
10067
 
esac
10068
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10069
 
  (eval "$ac_try") 2>&5
10070
 
  ac_status=$?
10071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072
 
  (exit $ac_status); }; } &&
10073
 
         { ac_try='test -s conftest.$ac_objext'
10074
 
  { (case "(($ac_try" in
10075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10076
 
  *) ac_try_echo=$ac_try;;
10077
 
esac
10078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10079
 
  (eval "$ac_try") 2>&5
10080
 
  ac_status=$?
10081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082
 
  (exit $ac_status); }; }; then
 
9346
  (exit $ac_status); } && {
 
9347
         test -z "$ac_c_werror_flag" ||
 
9348
         test ! -s conftest.err
 
9349
       } && test -s conftest.$ac_objext; then
10083
9350
  gt_cv_c_intmax_t=yes
10084
9351
else
10085
9352
  echo "$as_me: failed program was:" >&5
10116
9383
 
10117
9384
 
10118
9385
 
10119
 
 
10120
 
if false; then
 
9386
   if false; then
10121
9387
  GL_COND_LIBTOOL_TRUE=
10122
9388
  GL_COND_LIBTOOL_FALSE='#'
10123
9389
else
10140
9406
 
10141
9407
  # Define an additional variable used in the Makefile substitution.
10142
9408
  if test $ac_cv_working_alloca_h = yes; then
10143
 
    cat >conftest.$ac_ext <<_ACEOF
 
9409
    { echo "$as_me:$LINENO: checking for alloca as a compiler built-in" >&5
 
9410
echo $ECHO_N "checking for alloca as a compiler built-in... $ECHO_C" >&6; }
 
9411
if test "${gl_cv_rpl_alloca+set}" = set; then
 
9412
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9413
else
 
9414
 
 
9415
      cat >conftest.$ac_ext <<_ACEOF
10144
9416
/* confdefs.h.  */
10145
9417
_ACEOF
10146
9418
cat confdefs.h >>conftest.$ac_ext
10148
9420
/* end confdefs.h.  */
10149
9421
 
10150
9422
#if defined __GNUC__ || defined _AIX || defined _MSC_VER
10151
 
        Need own alloca
 
9423
        Need own alloca
10152
9424
#endif
10153
9425
 
10154
9426
_ACEOF
10155
9427
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10156
9428
  $EGREP "Need own alloca" >/dev/null 2>&1; then
 
9429
  gl_cv_rpl_alloca=yes
 
9430
else
 
9431
  gl_cv_rpl_alloca=no
 
9432
fi
 
9433
rm -f conftest*
 
9434
 
 
9435
 
 
9436
fi
 
9437
{ echo "$as_me:$LINENO: result: $gl_cv_rpl_alloca" >&5
 
9438
echo "${ECHO_T}$gl_cv_rpl_alloca" >&6; }
 
9439
    if test $gl_cv_rpl_alloca = yes; then
10157
9440
 
10158
9441
cat >>confdefs.h <<\_ACEOF
10159
9442
#define HAVE_ALLOCA 1
10160
9443
_ACEOF
10161
9444
 
10162
 
       ALLOCA_H=alloca.h
10163
 
else
10164
 
  ALLOCA_H=
10165
 
fi
10166
 
rm -f conftest*
10167
 
 
 
9445
      ALLOCA_H=alloca.h
 
9446
    else
 
9447
                  ALLOCA_H=
 
9448
    fi
10168
9449
  else
10169
9450
    ALLOCA_H=alloca.h
10170
9451
  fi
10177
9458
 
10178
9459
 
10179
9460
 
10180
 
  case " $LIBOBJS " in
10181
 
  *" cloexec.$ac_objext "* ) ;;
10182
 
  *) LIBOBJS="$LIBOBJS cloexec.$ac_objext"
10183
 
 ;;
10184
 
esac
10185
 
 
10186
 
 
10187
 
 
10188
 
  case " $LIBOBJS " in
10189
 
  *" close-stream.$ac_objext "* ) ;;
10190
 
  *) LIBOBJS="$LIBOBJS close-stream.$ac_objext"
10191
 
 ;;
10192
 
esac
10193
 
 
10194
 
 
10195
 
    :
 
9461
 
 
9462
 
 
9463
 
 
9464
 
 
9465
 
 
9466
cat >>confdefs.h <<\_ACEOF
 
9467
#define SIGNAL_SAFE_LIST 1
 
9468
_ACEOF
 
9469
 
 
9470
 
 
9471
  M4_LIBOBJS="$M4_LIBOBJS cloexec.$ac_objext"
 
9472
 
 
9473
 
 
9474
  M4_LIBOBJS="$M4_LIBOBJS close-stream.$ac_objext"
 
9475
 
 
9476
cat >>confdefs.h <<\_ACEOF
 
9477
#define GNULIB_CLOSE_STREAM 1
 
9478
_ACEOF
 
9479
 
 
9480
 
 
9481
    :
 
9482
 
 
9483
 
 
9484
  M4_LIBOBJS="$M4_LIBOBJS closeout.$ac_objext"
 
9485
 
 
9486
    :
 
9487
 
10196
9488
 
10197
9489
 
10198
9490
  { echo "$as_me:$LINENO: checking for error_at_line" >&5
10206
9498
cat confdefs.h >>conftest.$ac_ext
10207
9499
cat >>conftest.$ac_ext <<_ACEOF
10208
9500
/* end confdefs.h.  */
10209
 
$ac_includes_default
 
9501
#include <error.h>
10210
9502
int
10211
9503
main ()
10212
9504
{
10213
 
error_at_line (0, 0, "", 0, "");
 
9505
error_at_line (0, 0, "", 0, "an error occurred");
10214
9506
  ;
10215
9507
  return 0;
10216
9508
}
10228
9520
  rm -f conftest.er1
10229
9521
  cat conftest.err >&5
10230
9522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231
 
  (exit $ac_status); } &&
10232
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10233
 
  { (case "(($ac_try" in
10234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10235
 
  *) ac_try_echo=$ac_try;;
10236
 
esac
10237
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10238
 
  (eval "$ac_try") 2>&5
10239
 
  ac_status=$?
10240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241
 
  (exit $ac_status); }; } &&
10242
 
         { ac_try='test -s conftest$ac_exeext'
10243
 
  { (case "(($ac_try" in
10244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10245
 
  *) ac_try_echo=$ac_try;;
10246
 
esac
10247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248
 
  (eval "$ac_try") 2>&5
10249
 
  ac_status=$?
10250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251
 
  (exit $ac_status); }; }; then
 
9523
  (exit $ac_status); } && {
 
9524
         test -z "$ac_c_werror_flag" ||
 
9525
         test ! -s conftest.err
 
9526
       } && test -s conftest$ac_exeext &&
 
9527
       $as_test_x conftest$ac_exeext; then
10252
9528
  ac_cv_lib_error_at_line=yes
10253
9529
else
10254
9530
  echo "$as_me: failed program was:" >&5
10257
9533
        ac_cv_lib_error_at_line=no
10258
9534
fi
10259
9535
 
10260
 
rm -f core conftest.err conftest.$ac_objext \
 
9536
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10261
9537
      conftest$ac_exeext conftest.$ac_ext
10262
9538
fi
10263
9539
{ echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
10264
9540
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
10265
9541
if test $ac_cv_lib_error_at_line = no; then
10266
 
  case " $LIBOBJS " in
10267
 
  *" error.$ac_objext "* ) ;;
10268
 
  *) LIBOBJS="$LIBOBJS error.$ac_objext"
10269
 
 ;;
10270
 
esac
10271
 
 
 
9542
  M4_LIBOBJS="$M4_LIBOBJS error.$ac_objext"
10272
9543
fi
10273
9544
 
10274
9545
 
10277
9548
 
10278
9549
 
10279
9550
 
10280
 
  case " $LIBOBJS " in
10281
 
  *" exitfail.$ac_objext "* ) ;;
10282
 
  *) LIBOBJS="$LIBOBJS exitfail.$ac_objext"
10283
 
 ;;
10284
 
esac
10285
 
 
 
9551
  M4_LIBOBJS="$M4_LIBOBJS exitfail.$ac_objext"
10286
9552
 
10287
9553
    :
10288
9554
 
10289
9555
 
10290
 
  case " $LIBOBJS " in
10291
 
  *" fopen-safer.$ac_objext "* ) ;;
10292
 
  *) LIBOBJS="$LIBOBJS fopen-safer.$ac_objext"
10293
 
 ;;
10294
 
esac
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
for ac_header in stdio_ext.h
 
9556
 
 
9557
 
 
9558
 
 
9559
 
 
9560
 
 
9561
 
 
9562
 
 
9563
 
 
9564
 
 
9565
 
 
9566
 
 
9567
 
 
9568
 
 
9569
 
 
9570
for ac_func in sigaction
10300
9571
do
10301
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10302
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10303
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
10304
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10305
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10306
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10307
 
fi
10308
 
ac_res=`eval echo '${'$as_ac_Header'}'`
10309
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
10310
 
echo "${ECHO_T}$ac_res" >&6; }
10311
 
else
10312
 
  # Is the header compilable?
10313
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10314
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10315
 
cat >conftest.$ac_ext <<_ACEOF
10316
 
/* confdefs.h.  */
10317
 
_ACEOF
10318
 
cat confdefs.h >>conftest.$ac_ext
10319
 
cat >>conftest.$ac_ext <<_ACEOF
10320
 
/* end confdefs.h.  */
10321
 
$ac_includes_default
10322
 
#include <$ac_header>
10323
 
_ACEOF
10324
 
rm -f conftest.$ac_objext
10325
 
if { (ac_try="$ac_compile"
10326
 
case "(($ac_try" in
10327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10328
 
  *) ac_try_echo=$ac_try;;
10329
 
esac
10330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10331
 
  (eval "$ac_compile") 2>conftest.er1
10332
 
  ac_status=$?
10333
 
  grep -v '^ *+' conftest.er1 >conftest.err
10334
 
  rm -f conftest.er1
10335
 
  cat conftest.err >&5
10336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337
 
  (exit $ac_status); } &&
10338
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10339
 
  { (case "(($ac_try" in
10340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10341
 
  *) ac_try_echo=$ac_try;;
10342
 
esac
10343
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10344
 
  (eval "$ac_try") 2>&5
10345
 
  ac_status=$?
10346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347
 
  (exit $ac_status); }; } &&
10348
 
         { ac_try='test -s conftest.$ac_objext'
10349
 
  { (case "(($ac_try" in
10350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10351
 
  *) ac_try_echo=$ac_try;;
10352
 
esac
10353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354
 
  (eval "$ac_try") 2>&5
10355
 
  ac_status=$?
10356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357
 
  (exit $ac_status); }; }; then
10358
 
  ac_header_compiler=yes
10359
 
else
10360
 
  echo "$as_me: failed program was:" >&5
10361
 
sed 's/^/| /' conftest.$ac_ext >&5
10362
 
 
10363
 
        ac_header_compiler=no
10364
 
fi
10365
 
 
10366
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10367
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10368
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
10369
 
 
10370
 
# Is the header present?
10371
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10372
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10373
 
cat >conftest.$ac_ext <<_ACEOF
10374
 
/* confdefs.h.  */
10375
 
_ACEOF
10376
 
cat confdefs.h >>conftest.$ac_ext
10377
 
cat >>conftest.$ac_ext <<_ACEOF
10378
 
/* end confdefs.h.  */
10379
 
#include <$ac_header>
10380
 
_ACEOF
10381
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
10382
 
case "(($ac_try" in
10383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10384
 
  *) ac_try_echo=$ac_try;;
10385
 
esac
10386
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10387
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10388
 
  ac_status=$?
10389
 
  grep -v '^ *+' conftest.er1 >conftest.err
10390
 
  rm -f conftest.er1
10391
 
  cat conftest.err >&5
10392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393
 
  (exit $ac_status); } >/dev/null; then
10394
 
  if test -s conftest.err; then
10395
 
    ac_cpp_err=$ac_c_preproc_warn_flag
10396
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10397
 
  else
10398
 
    ac_cpp_err=
10399
 
  fi
10400
 
else
10401
 
  ac_cpp_err=yes
10402
 
fi
10403
 
if test -z "$ac_cpp_err"; then
10404
 
  ac_header_preproc=yes
10405
 
else
10406
 
  echo "$as_me: failed program was:" >&5
10407
 
sed 's/^/| /' conftest.$ac_ext >&5
10408
 
 
10409
 
  ac_header_preproc=no
10410
 
fi
10411
 
 
10412
 
rm -f conftest.err conftest.$ac_ext
10413
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10414
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
10415
 
 
10416
 
# So?  What about this header?
10417
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10418
 
  yes:no: )
10419
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10420
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10421
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10422
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10423
 
    ac_header_preproc=yes
10424
 
    ;;
10425
 
  no:yes:* )
10426
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10427
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10428
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10429
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10430
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10431
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10432
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10433
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10434
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10435
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10436
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10437
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10438
 
    ( cat <<\_ASBOX
10439
 
## ----------------------------- ##
10440
 
## Report this to bug-m4@gnu.org ##
10441
 
## ----------------------------- ##
10442
 
_ASBOX
10443
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
10444
 
    ;;
10445
 
esac
10446
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10447
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10448
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10449
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10450
 
else
10451
 
  eval "$as_ac_Header=\$ac_header_preproc"
10452
 
fi
10453
 
ac_res=`eval echo '${'$as_ac_Header'}'`
10454
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
10455
 
echo "${ECHO_T}$ac_res" >&6; }
10456
 
 
10457
 
fi
10458
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
9572
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
9573
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
9574
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
9575
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
9576
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9577
else
 
9578
  cat >conftest.$ac_ext <<_ACEOF
 
9579
/* confdefs.h.  */
 
9580
_ACEOF
 
9581
cat confdefs.h >>conftest.$ac_ext
 
9582
cat >>conftest.$ac_ext <<_ACEOF
 
9583
/* end confdefs.h.  */
 
9584
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
9585
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9586
#define $ac_func innocuous_$ac_func
 
9587
 
 
9588
/* System header to define __stub macros and hopefully few prototypes,
 
9589
    which can conflict with char $ac_func (); below.
 
9590
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9591
    <limits.h> exists even on freestanding compilers.  */
 
9592
 
 
9593
#ifdef __STDC__
 
9594
# include <limits.h>
 
9595
#else
 
9596
# include <assert.h>
 
9597
#endif
 
9598
 
 
9599
#undef $ac_func
 
9600
 
 
9601
/* Override any GCC internal prototype to avoid an error.
 
9602
   Use char because int might match the return type of a GCC
 
9603
   builtin and then its argument prototype would still apply.  */
 
9604
#ifdef __cplusplus
 
9605
extern "C"
 
9606
#endif
 
9607
char $ac_func ();
 
9608
/* The GNU C library defines this for functions which it implements
 
9609
    to always fail with ENOSYS.  Some functions are actually named
 
9610
    something starting with __ and the normal name is an alias.  */
 
9611
#if defined __stub_$ac_func || defined __stub___$ac_func
 
9612
choke me
 
9613
#endif
 
9614
 
 
9615
int
 
9616
main ()
 
9617
{
 
9618
return $ac_func ();
 
9619
  ;
 
9620
  return 0;
 
9621
}
 
9622
_ACEOF
 
9623
rm -f conftest.$ac_objext conftest$ac_exeext
 
9624
if { (ac_try="$ac_link"
 
9625
case "(($ac_try" in
 
9626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9627
  *) ac_try_echo=$ac_try;;
 
9628
esac
 
9629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9630
  (eval "$ac_link") 2>conftest.er1
 
9631
  ac_status=$?
 
9632
  grep -v '^ *+' conftest.er1 >conftest.err
 
9633
  rm -f conftest.er1
 
9634
  cat conftest.err >&5
 
9635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9636
  (exit $ac_status); } && {
 
9637
         test -z "$ac_c_werror_flag" ||
 
9638
         test ! -s conftest.err
 
9639
       } && test -s conftest$ac_exeext &&
 
9640
       $as_test_x conftest$ac_exeext; then
 
9641
  eval "$as_ac_var=yes"
 
9642
else
 
9643
  echo "$as_me: failed program was:" >&5
 
9644
sed 's/^/| /' conftest.$ac_ext >&5
 
9645
 
 
9646
        eval "$as_ac_var=no"
 
9647
fi
 
9648
 
 
9649
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9650
      conftest$ac_exeext conftest.$ac_ext
 
9651
fi
 
9652
ac_res=`eval echo '${'$as_ac_var'}'`
 
9653
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
9654
echo "${ECHO_T}$ac_res" >&6; }
 
9655
if test `eval echo '${'$as_ac_var'}'` = yes; then
10459
9656
  cat >>confdefs.h <<_ACEOF
10460
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9657
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10461
9658
_ACEOF
10462
9659
 
10463
9660
fi
10464
 
 
10465
9661
done
10466
9662
 
10467
9663
 
 
9664
 
 
9665
  M4_LIBOBJS="$M4_LIBOBJS fopen-safer.$ac_objext"
 
9666
 
 
9667
cat >>confdefs.h <<\_ACEOF
 
9668
#define GNULIB_FOPEN_SAFER 1
 
9669
_ACEOF
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
10468
9680
for ac_func in __fpending
10469
9681
do
10470
9682
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10531
9743
  rm -f conftest.er1
10532
9744
  cat conftest.err >&5
10533
9745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534
 
  (exit $ac_status); } &&
10535
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10536
 
  { (case "(($ac_try" in
10537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538
 
  *) ac_try_echo=$ac_try;;
10539
 
esac
10540
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10541
 
  (eval "$ac_try") 2>&5
10542
 
  ac_status=$?
10543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544
 
  (exit $ac_status); }; } &&
10545
 
         { ac_try='test -s conftest$ac_exeext'
10546
 
  { (case "(($ac_try" in
10547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548
 
  *) ac_try_echo=$ac_try;;
10549
 
esac
10550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10551
 
  (eval "$ac_try") 2>&5
10552
 
  ac_status=$?
10553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554
 
  (exit $ac_status); }; }; then
 
9746
  (exit $ac_status); } && {
 
9747
         test -z "$ac_c_werror_flag" ||
 
9748
         test ! -s conftest.err
 
9749
       } && test -s conftest$ac_exeext &&
 
9750
       $as_test_x conftest$ac_exeext; then
10555
9751
  eval "$as_ac_var=yes"
10556
9752
else
10557
9753
  echo "$as_me: failed program was:" >&5
10560
9756
        eval "$as_ac_var=no"
10561
9757
fi
10562
9758
 
10563
 
rm -f core conftest.err conftest.$ac_objext \
 
9759
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10564
9760
      conftest$ac_exeext conftest.$ac_ext
10565
9761
fi
10566
9762
ac_res=`eval echo '${'$as_ac_var'}'`
10572
9768
_ACEOF
10573
9769
 
10574
9770
else
10575
 
  case " $LIBOBJS " in
10576
 
  *" $ac_func.$ac_objext "* ) ;;
10577
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
10578
 
 ;;
10579
 
esac
10580
 
 
 
9771
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
10581
9772
fi
10582
9773
done
10583
9774
 
10584
 
 
10585
9775
  fp_headers='
10586
9776
#     include <stdio.h>
10587
9777
#     if HAVE_STDIO_EXT_H
10605
9795
main ()
10606
9796
{
10607
9797
#ifndef __fpending
10608
 
  char *p = (char *) __fpending;
10609
 
  return !p;
 
9798
  (void) __fpending;
10610
9799
#endif
10611
9800
 
10612
9801
  ;
10626
9815
  rm -f conftest.er1
10627
9816
  cat conftest.err >&5
10628
9817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629
 
  (exit $ac_status); } &&
10630
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10631
 
  { (case "(($ac_try" in
10632
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10633
 
  *) ac_try_echo=$ac_try;;
10634
 
esac
10635
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636
 
  (eval "$ac_try") 2>&5
10637
 
  ac_status=$?
10638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639
 
  (exit $ac_status); }; } &&
10640
 
         { ac_try='test -s conftest.$ac_objext'
10641
 
  { (case "(($ac_try" in
10642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10643
 
  *) ac_try_echo=$ac_try;;
10644
 
esac
10645
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10646
 
  (eval "$ac_try") 2>&5
10647
 
  ac_status=$?
10648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649
 
  (exit $ac_status); }; }; then
 
9818
  (exit $ac_status); } && {
 
9819
         test -z "$ac_c_werror_flag" ||
 
9820
         test ! -s conftest.err
 
9821
       } && test -s conftest.$ac_objext; then
10650
9822
  ac_cv_have_decl___fpending=yes
10651
9823
else
10652
9824
  echo "$as_me: failed program was:" >&5
10741
9913
  rm -f conftest.er1
10742
9914
  cat conftest.err >&5
10743
9915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744
 
  (exit $ac_status); } &&
10745
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10746
 
  { (case "(($ac_try" in
10747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10748
 
  *) ac_try_echo=$ac_try;;
10749
 
esac
10750
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10751
 
  (eval "$ac_try") 2>&5
10752
 
  ac_status=$?
10753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754
 
  (exit $ac_status); }; } &&
10755
 
         { ac_try='test -s conftest.$ac_objext'
10756
 
  { (case "(($ac_try" in
10757
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10758
 
  *) ac_try_echo=$ac_try;;
10759
 
esac
10760
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10761
 
  (eval "$ac_try") 2>&5
10762
 
  ac_status=$?
10763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764
 
  (exit $ac_status); }; }; then
 
9916
  (exit $ac_status); } && {
 
9917
         test -z "$ac_c_werror_flag" ||
 
9918
         test ! -s conftest.err
 
9919
       } && test -s conftest.$ac_objext; then
10765
9920
  fp_done=yes
10766
9921
 
10767
9922
else
10826
9981
  rm -f conftest.er1
10827
9982
  cat conftest.err >&5
10828
9983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829
 
  (exit $ac_status); } &&
10830
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10831
 
  { (case "(($ac_try" in
10832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10833
 
  *) ac_try_echo=$ac_try;;
10834
 
esac
10835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10836
 
  (eval "$ac_try") 2>&5
10837
 
  ac_status=$?
10838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839
 
  (exit $ac_status); }; } &&
10840
 
         { ac_try='test -s conftest.$ac_objext'
10841
 
  { (case "(($ac_try" in
10842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10843
 
  *) ac_try_echo=$ac_try;;
10844
 
esac
10845
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10846
 
  (eval "$ac_try") 2>&5
10847
 
  ac_status=$?
10848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849
 
  (exit $ac_status); }; }; then
 
9984
  (exit $ac_status); } && {
 
9985
         test -z "$ac_c_werror_flag" ||
 
9986
         test ! -s conftest.err
 
9987
       } && test -s conftest.$ac_objext; then
10850
9988
  gl_cv_func_free=yes
10851
9989
else
10852
9990
  echo "$as_me: failed program was:" >&5
10861
9999
echo "${ECHO_T}$gl_cv_func_free" >&6; }
10862
10000
 
10863
10001
  if test $gl_cv_func_free = no; then
10864
 
    case " $LIBOBJS " in
10865
 
  *" free.$ac_objext "* ) ;;
10866
 
  *) LIBOBJS="$LIBOBJS free.$ac_objext"
10867
 
 ;;
10868
 
esac
10869
 
 
 
10002
    M4_LIBOBJS="$M4_LIBOBJS free.$ac_objext"
10870
10003
 
10871
10004
cat >>confdefs.h <<\_ACEOF
10872
10005
#define free rpl_free
10878
10011
 
10879
10012
  if test -n "$GETOPT_H"; then
10880
10013
 
10881
 
  case " $LIBOBJS " in
10882
 
  *" getopt.$ac_objext "* ) ;;
10883
 
  *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
10884
 
 ;;
10885
 
esac
10886
 
 
10887
 
  case " $LIBOBJS " in
10888
 
  *" getopt1.$ac_objext "* ) ;;
10889
 
  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext"
10890
 
 ;;
10891
 
esac
10892
 
 
 
10014
  M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext"
 
10015
  M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext"
10893
10016
 
10894
10017
  GETOPT_H=getopt.h
10895
10018
 
10910
10033
 
10911
10034
 
10912
10035
 
 
10036
 
 
10037
  { echo "$as_me:$LINENO: checking whether the compiler generally respects inline" >&5
 
10038
echo $ECHO_N "checking whether the compiler generally respects inline... $ECHO_C" >&6; }
 
10039
if test "${gl_cv_c_inline_effective+set}" = set; then
 
10040
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10041
else
 
10042
  if test $ac_cv_c_inline = no; then
 
10043
       gl_cv_c_inline_effective=no
 
10044
     else
 
10045
                                          cat >conftest.$ac_ext <<_ACEOF
 
10046
/* confdefs.h.  */
 
10047
_ACEOF
 
10048
cat confdefs.h >>conftest.$ac_ext
 
10049
cat >>conftest.$ac_ext <<_ACEOF
 
10050
/* end confdefs.h.  */
 
10051
 
 
10052
int
 
10053
main ()
 
10054
{
 
10055
#ifdef __NO_INLINE__
 
10056
               #error "inline is not effective"
 
10057
             #endif
 
10058
  ;
 
10059
  return 0;
 
10060
}
 
10061
_ACEOF
 
10062
rm -f conftest.$ac_objext
 
10063
if { (ac_try="$ac_compile"
 
10064
case "(($ac_try" in
 
10065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10066
  *) ac_try_echo=$ac_try;;
 
10067
esac
 
10068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10069
  (eval "$ac_compile") 2>conftest.er1
 
10070
  ac_status=$?
 
10071
  grep -v '^ *+' conftest.er1 >conftest.err
 
10072
  rm -f conftest.er1
 
10073
  cat conftest.err >&5
 
10074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10075
  (exit $ac_status); } && {
 
10076
         test -z "$ac_c_werror_flag" ||
 
10077
         test ! -s conftest.err
 
10078
       } && test -s conftest.$ac_objext; then
 
10079
  gl_cv_c_inline_effective=yes
 
10080
else
 
10081
  echo "$as_me: failed program was:" >&5
 
10082
sed 's/^/| /' conftest.$ac_ext >&5
 
10083
 
 
10084
        gl_cv_c_inline_effective=no
 
10085
fi
 
10086
 
 
10087
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10088
     fi
 
10089
 
 
10090
fi
 
10091
{ echo "$as_me:$LINENO: result: $gl_cv_c_inline_effective" >&5
 
10092
echo "${ECHO_T}$gl_cv_c_inline_effective" >&6; }
 
10093
  if test $gl_cv_c_inline_effective = yes; then
 
10094
 
 
10095
cat >>confdefs.h <<\_ACEOF
 
10096
#define HAVE_INLINE 1
 
10097
_ACEOF
 
10098
 
 
10099
  fi
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
10913
10105
for ac_header in stdlib.h
10914
10106
do
10915
10107
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10948
10140
  rm -f conftest.er1
10949
10141
  cat conftest.err >&5
10950
10142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951
 
  (exit $ac_status); } &&
10952
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10953
 
  { (case "(($ac_try" in
10954
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10955
 
  *) ac_try_echo=$ac_try;;
10956
 
esac
10957
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10958
 
  (eval "$ac_try") 2>&5
10959
 
  ac_status=$?
10960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961
 
  (exit $ac_status); }; } &&
10962
 
         { ac_try='test -s conftest.$ac_objext'
10963
 
  { (case "(($ac_try" in
10964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10965
 
  *) ac_try_echo=$ac_try;;
10966
 
esac
10967
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10968
 
  (eval "$ac_try") 2>&5
10969
 
  ac_status=$?
10970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971
 
  (exit $ac_status); }; }; then
 
10143
  (exit $ac_status); } && {
 
10144
         test -z "$ac_c_werror_flag" ||
 
10145
         test ! -s conftest.err
 
10146
       } && test -s conftest.$ac_objext; then
10972
10147
  ac_header_compiler=yes
10973
10148
else
10974
10149
  echo "$as_me: failed program was:" >&5
11004
10179
  rm -f conftest.er1
11005
10180
  cat conftest.err >&5
11006
10181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007
 
  (exit $ac_status); } >/dev/null; then
11008
 
  if test -s conftest.err; then
11009
 
    ac_cpp_err=$ac_c_preproc_warn_flag
11010
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11011
 
  else
11012
 
    ac_cpp_err=
11013
 
  fi
11014
 
else
11015
 
  ac_cpp_err=yes
11016
 
fi
11017
 
if test -z "$ac_cpp_err"; then
 
10182
  (exit $ac_status); } >/dev/null && {
 
10183
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
10184
         test ! -s conftest.err
 
10185
       }; then
11018
10186
  ac_header_preproc=yes
11019
10187
else
11020
10188
  echo "$as_me: failed program was:" >&5
11092
10260
cat confdefs.h >>conftest.$ac_ext
11093
10261
cat >>conftest.$ac_ext <<_ACEOF
11094
10262
/* end confdefs.h.  */
11095
 
#if STDC_HEADERS || HAVE_STDLIB_H
 
10263
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
11096
10264
# include <stdlib.h>
11097
10265
#else
11098
10266
char *malloc ();
11153
10321
#define HAVE_MALLOC 0
11154
10322
_ACEOF
11155
10323
 
11156
 
   case " $LIBOBJS " in
11157
 
  *" malloc.$ac_objext "* ) ;;
11158
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
11159
 
 ;;
11160
 
esac
11161
 
 
 
10324
   M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext"
11162
10325
 
11163
10326
cat >>confdefs.h <<\_ACEOF
11164
10327
#define malloc rpl_malloc
11177
10340
 
11178
10341
 
11179
10342
    if test $ac_cv_header_wchar_h = yes; then
11180
 
    case " $LIBOBJS " in
11181
 
  *" mbchar.$ac_objext "* ) ;;
11182
 
  *) LIBOBJS="$LIBOBJS mbchar.$ac_objext"
11183
 
 ;;
11184
 
esac
11185
 
 
 
10343
    M4_LIBOBJS="$M4_LIBOBJS mbchar.$ac_objext"
11186
10344
 
11187
10345
 
11188
10346
 
11256
10414
  rm -f conftest.er1
11257
10415
  cat conftest.err >&5
11258
10416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259
 
  (exit $ac_status); } &&
11260
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11261
 
  { (case "(($ac_try" in
11262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263
 
  *) ac_try_echo=$ac_try;;
11264
 
esac
11265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11266
 
  (eval "$ac_try") 2>&5
11267
 
  ac_status=$?
11268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269
 
  (exit $ac_status); }; } &&
11270
 
         { ac_try='test -s conftest$ac_exeext'
11271
 
  { (case "(($ac_try" in
11272
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11273
 
  *) ac_try_echo=$ac_try;;
11274
 
esac
11275
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11276
 
  (eval "$ac_try") 2>&5
11277
 
  ac_status=$?
11278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279
 
  (exit $ac_status); }; }; then
 
10417
  (exit $ac_status); } && {
 
10418
         test -z "$ac_c_werror_flag" ||
 
10419
         test ! -s conftest.err
 
10420
       } && test -s conftest$ac_exeext &&
 
10421
       $as_test_x conftest$ac_exeext; then
11280
10422
  eval "$as_ac_var=yes"
11281
10423
else
11282
10424
  echo "$as_me: failed program was:" >&5
11285
10427
        eval "$as_ac_var=no"
11286
10428
fi
11287
10429
 
11288
 
rm -f core conftest.err conftest.$ac_objext \
 
10430
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11289
10431
      conftest$ac_exeext conftest.$ac_ext
11290
10432
fi
11291
10433
ac_res=`eval echo '${'$as_ac_var'}'`
11374
10516
  rm -f conftest.er1
11375
10517
  cat conftest.err >&5
11376
10518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377
 
  (exit $ac_status); } &&
11378
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11379
 
  { (case "(($ac_try" in
11380
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11381
 
  *) ac_try_echo=$ac_try;;
11382
 
esac
11383
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11384
 
  (eval "$ac_try") 2>&5
11385
 
  ac_status=$?
11386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387
 
  (exit $ac_status); }; } &&
11388
 
         { ac_try='test -s conftest$ac_exeext'
11389
 
  { (case "(($ac_try" in
11390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11391
 
  *) ac_try_echo=$ac_try;;
11392
 
esac
11393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11394
 
  (eval "$ac_try") 2>&5
11395
 
  ac_status=$?
11396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397
 
  (exit $ac_status); }; }; then
 
10519
  (exit $ac_status); } && {
 
10520
         test -z "$ac_c_werror_flag" ||
 
10521
         test ! -s conftest.err
 
10522
       } && test -s conftest$ac_exeext &&
 
10523
       $as_test_x conftest$ac_exeext; then
11398
10524
  eval "$as_ac_var=yes"
11399
10525
else
11400
10526
  echo "$as_me: failed program was:" >&5
11403
10529
        eval "$as_ac_var=no"
11404
10530
fi
11405
10531
 
11406
 
rm -f core conftest.err conftest.$ac_objext \
 
10532
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11407
10533
      conftest$ac_exeext conftest.$ac_ext
11408
10534
fi
11409
10535
ac_res=`eval echo '${'$as_ac_var'}'`
11415
10541
_ACEOF
11416
10542
 
11417
10543
else
11418
 
  case " $LIBOBJS " in
11419
 
  *" $ac_func.$ac_objext "* ) ;;
11420
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
11421
 
 ;;
11422
 
esac
11423
 
 
 
10544
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
11424
10545
fi
11425
10546
done
11426
10547
 
11427
 
 
11428
10548
  if test $ac_cv_func_memchr = no; then
11429
10549
 
11430
10550
 
11466
10586
  rm -f conftest.er1
11467
10587
  cat conftest.err >&5
11468
10588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469
 
  (exit $ac_status); } &&
11470
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11471
 
  { (case "(($ac_try" in
11472
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11473
 
  *) ac_try_echo=$ac_try;;
11474
 
esac
11475
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11476
 
  (eval "$ac_try") 2>&5
11477
 
  ac_status=$?
11478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479
 
  (exit $ac_status); }; } &&
11480
 
         { ac_try='test -s conftest.$ac_objext'
11481
 
  { (case "(($ac_try" in
11482
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11483
 
  *) ac_try_echo=$ac_try;;
11484
 
esac
11485
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11486
 
  (eval "$ac_try") 2>&5
11487
 
  ac_status=$?
11488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489
 
  (exit $ac_status); }; }; then
 
10589
  (exit $ac_status); } && {
 
10590
         test -z "$ac_c_werror_flag" ||
 
10591
         test ! -s conftest.err
 
10592
       } && test -s conftest.$ac_objext; then
11490
10593
  ac_header_compiler=yes
11491
10594
else
11492
10595
  echo "$as_me: failed program was:" >&5
11522
10625
  rm -f conftest.er1
11523
10626
  cat conftest.err >&5
11524
10627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525
 
  (exit $ac_status); } >/dev/null; then
11526
 
  if test -s conftest.err; then
11527
 
    ac_cpp_err=$ac_c_preproc_warn_flag
11528
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11529
 
  else
11530
 
    ac_cpp_err=
11531
 
  fi
11532
 
else
11533
 
  ac_cpp_err=yes
11534
 
fi
11535
 
if test -z "$ac_cpp_err"; then
 
10628
  (exit $ac_status); } >/dev/null && {
 
10629
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
10630
         test ! -s conftest.err
 
10631
       }; then
11536
10632
  ac_header_preproc=yes
11537
10633
else
11538
10634
  echo "$as_me: failed program was:" >&5
11601
10697
 
11602
10698
 
11603
10699
 
 
10700
for ac_func in mkdtemp
 
10701
do
 
10702
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
10703
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
10704
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
10705
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
10706
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10707
else
 
10708
  cat >conftest.$ac_ext <<_ACEOF
 
10709
/* confdefs.h.  */
 
10710
_ACEOF
 
10711
cat confdefs.h >>conftest.$ac_ext
 
10712
cat >>conftest.$ac_ext <<_ACEOF
 
10713
/* end confdefs.h.  */
 
10714
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
10715
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10716
#define $ac_func innocuous_$ac_func
 
10717
 
 
10718
/* System header to define __stub macros and hopefully few prototypes,
 
10719
    which can conflict with char $ac_func (); below.
 
10720
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10721
    <limits.h> exists even on freestanding compilers.  */
 
10722
 
 
10723
#ifdef __STDC__
 
10724
# include <limits.h>
 
10725
#else
 
10726
# include <assert.h>
 
10727
#endif
 
10728
 
 
10729
#undef $ac_func
 
10730
 
 
10731
/* Override any GCC internal prototype to avoid an error.
 
10732
   Use char because int might match the return type of a GCC
 
10733
   builtin and then its argument prototype would still apply.  */
 
10734
#ifdef __cplusplus
 
10735
extern "C"
 
10736
#endif
 
10737
char $ac_func ();
 
10738
/* The GNU C library defines this for functions which it implements
 
10739
    to always fail with ENOSYS.  Some functions are actually named
 
10740
    something starting with __ and the normal name is an alias.  */
 
10741
#if defined __stub_$ac_func || defined __stub___$ac_func
 
10742
choke me
 
10743
#endif
 
10744
 
 
10745
int
 
10746
main ()
 
10747
{
 
10748
return $ac_func ();
 
10749
  ;
 
10750
  return 0;
 
10751
}
 
10752
_ACEOF
 
10753
rm -f conftest.$ac_objext conftest$ac_exeext
 
10754
if { (ac_try="$ac_link"
 
10755
case "(($ac_try" in
 
10756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10757
  *) ac_try_echo=$ac_try;;
 
10758
esac
 
10759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10760
  (eval "$ac_link") 2>conftest.er1
 
10761
  ac_status=$?
 
10762
  grep -v '^ *+' conftest.er1 >conftest.err
 
10763
  rm -f conftest.er1
 
10764
  cat conftest.err >&5
 
10765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10766
  (exit $ac_status); } && {
 
10767
         test -z "$ac_c_werror_flag" ||
 
10768
         test ! -s conftest.err
 
10769
       } && test -s conftest$ac_exeext &&
 
10770
       $as_test_x conftest$ac_exeext; then
 
10771
  eval "$as_ac_var=yes"
 
10772
else
 
10773
  echo "$as_me: failed program was:" >&5
 
10774
sed 's/^/| /' conftest.$ac_ext >&5
 
10775
 
 
10776
        eval "$as_ac_var=no"
 
10777
fi
 
10778
 
 
10779
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10780
      conftest$ac_exeext conftest.$ac_ext
 
10781
fi
 
10782
ac_res=`eval echo '${'$as_ac_var'}'`
 
10783
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
10784
echo "${ECHO_T}$ac_res" >&6; }
 
10785
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
10786
  cat >>confdefs.h <<_ACEOF
 
10787
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
10788
_ACEOF
 
10789
 
 
10790
else
 
10791
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
 
10792
fi
 
10793
done
 
10794
 
 
10795
  if test $ac_cv_func_mkdtemp = no; then
 
10796
    :
 
10797
 
 
10798
  fi
 
10799
 
 
10800
 
 
10801
 
11604
10802
 
11605
10803
  { echo "$as_me:$LINENO: checking for working mkstemp" >&5
11606
10804
echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6; }
11628
10826
              large = 2147483647;
11629
10827
            for (i = 0; i < 70; i++)
11630
10828
              {
11631
 
                char template[] = "conftest.mkstemp/coXXXXXX";
 
10829
                char templ[] = "conftest.mkstemp/coXXXXXX";
11632
10830
                int (*mkstemp_function) (char *) = mkstemp;
11633
 
                int fd = mkstemp_function (template);
 
10831
                int fd = mkstemp_function (templ);
11634
10832
                if (fd < 0 || lseek (fd, large, SEEK_SET) != large)
11635
10833
                  return 1;
11636
10834
                close (fd);
11685
10883
#define __MKSTEMP_PREFIX rpl_
11686
10884
_ACEOF
11687
10885
 
11688
 
    case " $LIBOBJS " in
11689
 
  *" mkstemp.$ac_objext "* ) ;;
11690
 
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
11691
 
 ;;
11692
 
esac
11693
 
 
11694
 
    case " $LIBOBJS " in
11695
 
  *" tempname.$ac_objext "* ) ;;
11696
 
  *) LIBOBJS="$LIBOBJS tempname.$ac_objext"
11697
 
 ;;
11698
 
esac
11699
 
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
 
11705
 
 
11706
 
 
11707
 
 
11708
 
 
11709
 
 
11710
 
 
11711
 
for ac_func in __secure_getenv gettimeofday
11712
 
do
11713
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11714
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11715
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11716
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11718
 
else
11719
 
  cat >conftest.$ac_ext <<_ACEOF
11720
 
/* confdefs.h.  */
11721
 
_ACEOF
11722
 
cat confdefs.h >>conftest.$ac_ext
11723
 
cat >>conftest.$ac_ext <<_ACEOF
11724
 
/* end confdefs.h.  */
11725
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11726
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11727
 
#define $ac_func innocuous_$ac_func
11728
 
 
11729
 
/* System header to define __stub macros and hopefully few prototypes,
11730
 
    which can conflict with char $ac_func (); below.
11731
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11732
 
    <limits.h> exists even on freestanding compilers.  */
11733
 
 
11734
 
#ifdef __STDC__
11735
 
# include <limits.h>
11736
 
#else
11737
 
# include <assert.h>
11738
 
#endif
11739
 
 
11740
 
#undef $ac_func
11741
 
 
11742
 
/* Override any GCC internal prototype to avoid an error.
11743
 
   Use char because int might match the return type of a GCC
11744
 
   builtin and then its argument prototype would still apply.  */
11745
 
#ifdef __cplusplus
11746
 
extern "C"
11747
 
#endif
11748
 
char $ac_func ();
11749
 
/* The GNU C library defines this for functions which it implements
11750
 
    to always fail with ENOSYS.  Some functions are actually named
11751
 
    something starting with __ and the normal name is an alias.  */
11752
 
#if defined __stub_$ac_func || defined __stub___$ac_func
11753
 
choke me
11754
 
#endif
11755
 
 
11756
 
int
11757
 
main ()
11758
 
{
11759
 
return $ac_func ();
11760
 
  ;
11761
 
  return 0;
11762
 
}
11763
 
_ACEOF
11764
 
rm -f conftest.$ac_objext conftest$ac_exeext
11765
 
if { (ac_try="$ac_link"
11766
 
case "(($ac_try" in
11767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11768
 
  *) ac_try_echo=$ac_try;;
11769
 
esac
11770
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11771
 
  (eval "$ac_link") 2>conftest.er1
11772
 
  ac_status=$?
11773
 
  grep -v '^ *+' conftest.er1 >conftest.err
11774
 
  rm -f conftest.er1
11775
 
  cat conftest.err >&5
11776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777
 
  (exit $ac_status); } &&
11778
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11779
 
  { (case "(($ac_try" in
11780
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781
 
  *) ac_try_echo=$ac_try;;
11782
 
esac
11783
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784
 
  (eval "$ac_try") 2>&5
11785
 
  ac_status=$?
11786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787
 
  (exit $ac_status); }; } &&
11788
 
         { ac_try='test -s conftest$ac_exeext'
11789
 
  { (case "(($ac_try" in
11790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11791
 
  *) ac_try_echo=$ac_try;;
11792
 
esac
11793
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11794
 
  (eval "$ac_try") 2>&5
11795
 
  ac_status=$?
11796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797
 
  (exit $ac_status); }; }; then
11798
 
  eval "$as_ac_var=yes"
11799
 
else
11800
 
  echo "$as_me: failed program was:" >&5
11801
 
sed 's/^/| /' conftest.$ac_ext >&5
11802
 
 
11803
 
        eval "$as_ac_var=no"
11804
 
fi
11805
 
 
11806
 
rm -f core conftest.err conftest.$ac_objext \
11807
 
      conftest$ac_exeext conftest.$ac_ext
11808
 
fi
11809
 
ac_res=`eval echo '${'$as_ac_var'}'`
11810
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11811
 
echo "${ECHO_T}$ac_res" >&6; }
11812
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
11813
 
  cat >>confdefs.h <<_ACEOF
11814
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11815
 
_ACEOF
11816
 
 
11817
 
fi
11818
 
done
 
10886
    M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext"
11819
10887
 
11820
10888
 
11821
10889
  fi
11831
10899
cat confdefs.h >>conftest.$ac_ext
11832
10900
cat >>conftest.$ac_ext <<_ACEOF
11833
10901
/* end confdefs.h.  */
11834
 
#include "obstack.h"
 
10902
$ac_includes_default
 
10903
                      #include "obstack.h"
11835
10904
int
11836
10905
main ()
11837
10906
{
11838
 
struct obstack *mem; obstack_free(mem,(char *) 0)
 
10907
struct obstack mem;
 
10908
                       #define obstack_chunk_alloc malloc
 
10909
                       #define obstack_chunk_free free
 
10910
                       obstack_init (&mem);
 
10911
                       obstack_free (&mem, 0);
11839
10912
  ;
11840
10913
  return 0;
11841
10914
}
11853
10926
  rm -f conftest.er1
11854
10927
  cat conftest.err >&5
11855
10928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856
 
  (exit $ac_status); } &&
11857
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11858
 
  { (case "(($ac_try" in
11859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11860
 
  *) ac_try_echo=$ac_try;;
11861
 
esac
11862
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11863
 
  (eval "$ac_try") 2>&5
11864
 
  ac_status=$?
11865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866
 
  (exit $ac_status); }; } &&
11867
 
         { ac_try='test -s conftest$ac_exeext'
11868
 
  { (case "(($ac_try" in
11869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870
 
  *) ac_try_echo=$ac_try;;
11871
 
esac
11872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873
 
  (eval "$ac_try") 2>&5
11874
 
  ac_status=$?
11875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876
 
  (exit $ac_status); }; }; then
 
10929
  (exit $ac_status); } && {
 
10930
         test -z "$ac_c_werror_flag" ||
 
10931
         test ! -s conftest.err
 
10932
       } && test -s conftest$ac_exeext &&
 
10933
       $as_test_x conftest$ac_exeext; then
11877
10934
  ac_cv_func_obstack=yes
11878
10935
else
11879
10936
  echo "$as_me: failed program was:" >&5
11882
10939
        ac_cv_func_obstack=no
11883
10940
fi
11884
10941
 
11885
 
rm -f core conftest.err conftest.$ac_objext \
 
10942
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11886
10943
      conftest$ac_exeext conftest.$ac_ext
11887
10944
fi
11888
10945
{ echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
11894
10951
_ACEOF
11895
10952
 
11896
10953
else
11897
 
  case " $LIBOBJS " in
11898
 
  *" obstack.$ac_objext "* ) ;;
11899
 
  *) LIBOBJS="$LIBOBJS obstack.$ac_objext"
11900
 
 ;;
11901
 
esac
11902
 
 
11903
 
fi
 
10954
  M4_LIBOBJS="$M4_LIBOBJS obstack.$ac_objext"
 
10955
fi
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
  M4_LIBOBJS="$M4_LIBOBJS quotearg.$ac_objext"
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
  { echo "$as_me:$LINENO: checking for mbstate_t" >&5
 
10988
echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
 
10989
if test "${ac_cv_type_mbstate_t+set}" = set; then
 
10990
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10991
else
 
10992
  cat >conftest.$ac_ext <<_ACEOF
 
10993
/* confdefs.h.  */
 
10994
_ACEOF
 
10995
cat confdefs.h >>conftest.$ac_ext
 
10996
cat >>conftest.$ac_ext <<_ACEOF
 
10997
/* end confdefs.h.  */
 
10998
$ac_includes_default
 
10999
#           include <wchar.h>
 
11000
int
 
11001
main ()
 
11002
{
 
11003
mbstate_t x; return sizeof x;
 
11004
  ;
 
11005
  return 0;
 
11006
}
 
11007
_ACEOF
 
11008
rm -f conftest.$ac_objext
 
11009
if { (ac_try="$ac_compile"
 
11010
case "(($ac_try" in
 
11011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11012
  *) ac_try_echo=$ac_try;;
 
11013
esac
 
11014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11015
  (eval "$ac_compile") 2>conftest.er1
 
11016
  ac_status=$?
 
11017
  grep -v '^ *+' conftest.er1 >conftest.err
 
11018
  rm -f conftest.er1
 
11019
  cat conftest.err >&5
 
11020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11021
  (exit $ac_status); } && {
 
11022
         test -z "$ac_c_werror_flag" ||
 
11023
         test ! -s conftest.err
 
11024
       } && test -s conftest.$ac_objext; then
 
11025
  ac_cv_type_mbstate_t=yes
 
11026
else
 
11027
  echo "$as_me: failed program was:" >&5
 
11028
sed 's/^/| /' conftest.$ac_ext >&5
 
11029
 
 
11030
        ac_cv_type_mbstate_t=no
 
11031
fi
 
11032
 
 
11033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11034
fi
 
11035
{ echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
 
11036
echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
 
11037
   if test $ac_cv_type_mbstate_t = yes; then
 
11038
 
 
11039
cat >>confdefs.h <<\_ACEOF
 
11040
#define HAVE_MBSTATE_T 1
 
11041
_ACEOF
 
11042
 
 
11043
   else
 
11044
 
 
11045
cat >>confdefs.h <<\_ACEOF
 
11046
#define mbstate_t int
 
11047
_ACEOF
 
11048
 
 
11049
   fi
 
11050
 
 
11051
    { echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
 
11052
echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6; }
 
11053
if test "${gl_cv_func_mbrtowc+set}" = set; then
 
11054
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11055
else
 
11056
  cat >conftest.$ac_ext <<_ACEOF
 
11057
/* confdefs.h.  */
 
11058
_ACEOF
 
11059
cat confdefs.h >>conftest.$ac_ext
 
11060
cat >>conftest.$ac_ext <<_ACEOF
 
11061
/* end confdefs.h.  */
 
11062
#include <wchar.h>
 
11063
int
 
11064
main ()
 
11065
{
 
11066
wchar_t wc;
 
11067
              char const s[] = "";
 
11068
              size_t n = 1;
 
11069
              mbstate_t state;
 
11070
              return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
 
11071
  ;
 
11072
  return 0;
 
11073
}
 
11074
_ACEOF
 
11075
rm -f conftest.$ac_objext conftest$ac_exeext
 
11076
if { (ac_try="$ac_link"
 
11077
case "(($ac_try" in
 
11078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11079
  *) ac_try_echo=$ac_try;;
 
11080
esac
 
11081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11082
  (eval "$ac_link") 2>conftest.er1
 
11083
  ac_status=$?
 
11084
  grep -v '^ *+' conftest.er1 >conftest.err
 
11085
  rm -f conftest.er1
 
11086
  cat conftest.err >&5
 
11087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11088
  (exit $ac_status); } && {
 
11089
         test -z "$ac_c_werror_flag" ||
 
11090
         test ! -s conftest.err
 
11091
       } && test -s conftest$ac_exeext &&
 
11092
       $as_test_x conftest$ac_exeext; then
 
11093
  gl_cv_func_mbrtowc=yes
 
11094
else
 
11095
  echo "$as_me: failed program was:" >&5
 
11096
sed 's/^/| /' conftest.$ac_ext >&5
 
11097
 
 
11098
        gl_cv_func_mbrtowc=no
 
11099
fi
 
11100
 
 
11101
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11102
      conftest$ac_exeext conftest.$ac_ext
 
11103
fi
 
11104
{ echo "$as_me:$LINENO: result: $gl_cv_func_mbrtowc" >&5
 
11105
echo "${ECHO_T}$gl_cv_func_mbrtowc" >&6; }
 
11106
  if test $gl_cv_func_mbrtowc = yes; then
 
11107
 
 
11108
cat >>confdefs.h <<\_ACEOF
 
11109
#define HAVE_MBRTOWC 1
 
11110
_ACEOF
 
11111
 
 
11112
  fi
 
11113
 
11904
11114
 
11905
11115
 
11906
11116
 
12176
11386
#define regfree rpl_regfree
12177
11387
_ACEOF
12178
11388
 
12179
 
    case " $LIBOBJS " in
12180
 
  *" regex.$ac_objext "* ) ;;
12181
 
  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
12182
 
 ;;
12183
 
esac
12184
 
 
 
11389
    M4_LIBOBJS="$M4_LIBOBJS regex.$ac_objext"
12185
11390
 
12186
11391
 
12187
11392
 
12223
11428
main ()
12224
11429
{
12225
11430
#ifndef isblank
12226
 
  char *p = (char *) isblank;
12227
 
  return !p;
 
11431
  (void) isblank;
12228
11432
#endif
12229
11433
 
12230
11434
  ;
12244
11448
  rm -f conftest.er1
12245
11449
  cat conftest.err >&5
12246
11450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247
 
  (exit $ac_status); } &&
12248
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12249
 
  { (case "(($ac_try" in
12250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12251
 
  *) ac_try_echo=$ac_try;;
12252
 
esac
12253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12254
 
  (eval "$ac_try") 2>&5
12255
 
  ac_status=$?
12256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257
 
  (exit $ac_status); }; } &&
12258
 
         { ac_try='test -s conftest.$ac_objext'
12259
 
  { (case "(($ac_try" in
12260
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12261
 
  *) ac_try_echo=$ac_try;;
12262
 
esac
12263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12264
 
  (eval "$ac_try") 2>&5
12265
 
  ac_status=$?
12266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267
 
  (exit $ac_status); }; }; then
 
11451
  (exit $ac_status); } && {
 
11452
         test -z "$ac_c_werror_flag" ||
 
11453
         test ! -s conftest.err
 
11454
       } && test -s conftest.$ac_objext; then
12268
11455
  ac_cv_have_decl_isblank=yes
12269
11456
else
12270
11457
  echo "$as_me: failed program was:" >&5
12297
11484
  fi
12298
11485
 
12299
11486
 
 
11487
  signals_not_posix=
 
11488
  cat >conftest.$ac_ext <<_ACEOF
 
11489
/* confdefs.h.  */
 
11490
_ACEOF
 
11491
cat confdefs.h >>conftest.$ac_ext
 
11492
cat >>conftest.$ac_ext <<_ACEOF
 
11493
/* end confdefs.h.  */
 
11494
#include <signal.h>
 
11495
 
 
11496
_ACEOF
 
11497
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
11498
  $EGREP "sigset_t" >/dev/null 2>&1; then
 
11499
  :
 
11500
else
 
11501
  signals_not_posix=1
 
11502
fi
 
11503
rm -f conftest*
 
11504
 
 
11505
  if test -z "$signals_not_posix"; then
 
11506
    { echo "$as_me:$LINENO: checking for sigprocmask" >&5
 
11507
echo $ECHO_N "checking for sigprocmask... $ECHO_C" >&6; }
 
11508
if test "${ac_cv_func_sigprocmask+set}" = set; then
 
11509
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11510
else
 
11511
  cat >conftest.$ac_ext <<_ACEOF
 
11512
/* confdefs.h.  */
 
11513
_ACEOF
 
11514
cat confdefs.h >>conftest.$ac_ext
 
11515
cat >>conftest.$ac_ext <<_ACEOF
 
11516
/* end confdefs.h.  */
 
11517
/* Define sigprocmask to an innocuous variant, in case <limits.h> declares sigprocmask.
 
11518
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
11519
#define sigprocmask innocuous_sigprocmask
 
11520
 
 
11521
/* System header to define __stub macros and hopefully few prototypes,
 
11522
    which can conflict with char sigprocmask (); below.
 
11523
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11524
    <limits.h> exists even on freestanding compilers.  */
 
11525
 
 
11526
#ifdef __STDC__
 
11527
# include <limits.h>
 
11528
#else
 
11529
# include <assert.h>
 
11530
#endif
 
11531
 
 
11532
#undef sigprocmask
 
11533
 
 
11534
/* Override any GCC internal prototype to avoid an error.
 
11535
   Use char because int might match the return type of a GCC
 
11536
   builtin and then its argument prototype would still apply.  */
 
11537
#ifdef __cplusplus
 
11538
extern "C"
 
11539
#endif
 
11540
char sigprocmask ();
 
11541
/* The GNU C library defines this for functions which it implements
 
11542
    to always fail with ENOSYS.  Some functions are actually named
 
11543
    something starting with __ and the normal name is an alias.  */
 
11544
#if defined __stub_sigprocmask || defined __stub___sigprocmask
 
11545
choke me
 
11546
#endif
 
11547
 
 
11548
int
 
11549
main ()
 
11550
{
 
11551
return sigprocmask ();
 
11552
  ;
 
11553
  return 0;
 
11554
}
 
11555
_ACEOF
 
11556
rm -f conftest.$ac_objext conftest$ac_exeext
 
11557
if { (ac_try="$ac_link"
 
11558
case "(($ac_try" in
 
11559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11560
  *) ac_try_echo=$ac_try;;
 
11561
esac
 
11562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11563
  (eval "$ac_link") 2>conftest.er1
 
11564
  ac_status=$?
 
11565
  grep -v '^ *+' conftest.er1 >conftest.err
 
11566
  rm -f conftest.er1
 
11567
  cat conftest.err >&5
 
11568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11569
  (exit $ac_status); } && {
 
11570
         test -z "$ac_c_werror_flag" ||
 
11571
         test ! -s conftest.err
 
11572
       } && test -s conftest$ac_exeext &&
 
11573
       $as_test_x conftest$ac_exeext; then
 
11574
  ac_cv_func_sigprocmask=yes
 
11575
else
 
11576
  echo "$as_me: failed program was:" >&5
 
11577
sed 's/^/| /' conftest.$ac_ext >&5
 
11578
 
 
11579
        ac_cv_func_sigprocmask=no
 
11580
fi
 
11581
 
 
11582
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11583
      conftest$ac_exeext conftest.$ac_ext
 
11584
fi
 
11585
{ echo "$as_me:$LINENO: result: $ac_cv_func_sigprocmask" >&5
 
11586
echo "${ECHO_T}$ac_cv_func_sigprocmask" >&6; }
 
11587
if test $ac_cv_func_sigprocmask = yes; then
 
11588
  gl_cv_func_sigprocmask=1
 
11589
fi
 
11590
 
 
11591
  fi
 
11592
  if test -n "$gl_cv_func_sigprocmask"; then
 
11593
 
 
11594
cat >>confdefs.h <<\_ACEOF
 
11595
#define HAVE_POSIX_SIGNALBLOCKING 1
 
11596
_ACEOF
 
11597
 
 
11598
  else
 
11599
    M4_LIBOBJS="$M4_LIBOBJS sigprocmask.$ac_objext"
 
11600
 
 
11601
  { echo "$as_me:$LINENO: checking for sigset_t" >&5
 
11602
echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
 
11603
if test "${ac_cv_type_sigset_t+set}" = set; then
 
11604
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11605
else
 
11606
  cat >conftest.$ac_ext <<_ACEOF
 
11607
/* confdefs.h.  */
 
11608
_ACEOF
 
11609
cat confdefs.h >>conftest.$ac_ext
 
11610
cat >>conftest.$ac_ext <<_ACEOF
 
11611
/* end confdefs.h.  */
 
11612
#include <signal.h>
 
11613
/* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>.  */
 
11614
#include <sys/types.h>
 
11615
 
 
11616
typedef sigset_t ac__type_new_;
 
11617
int
 
11618
main ()
 
11619
{
 
11620
if ((ac__type_new_ *) 0)
 
11621
  return 0;
 
11622
if (sizeof (ac__type_new_))
 
11623
  return 0;
 
11624
  ;
 
11625
  return 0;
 
11626
}
 
11627
_ACEOF
 
11628
rm -f conftest.$ac_objext
 
11629
if { (ac_try="$ac_compile"
 
11630
case "(($ac_try" in
 
11631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11632
  *) ac_try_echo=$ac_try;;
 
11633
esac
 
11634
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11635
  (eval "$ac_compile") 2>conftest.er1
 
11636
  ac_status=$?
 
11637
  grep -v '^ *+' conftest.er1 >conftest.err
 
11638
  rm -f conftest.er1
 
11639
  cat conftest.err >&5
 
11640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11641
  (exit $ac_status); } && {
 
11642
         test -z "$ac_c_werror_flag" ||
 
11643
         test ! -s conftest.err
 
11644
       } && test -s conftest.$ac_objext; then
 
11645
  ac_cv_type_sigset_t=yes
 
11646
else
 
11647
  echo "$as_me: failed program was:" >&5
 
11648
sed 's/^/| /' conftest.$ac_ext >&5
 
11649
 
 
11650
        ac_cv_type_sigset_t=no
 
11651
fi
 
11652
 
 
11653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11654
fi
 
11655
{ echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
 
11656
echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
 
11657
if test $ac_cv_type_sigset_t = yes; then
 
11658
 
 
11659
cat >>confdefs.h <<_ACEOF
 
11660
#define HAVE_SIGSET_T 1
 
11661
_ACEOF
 
11662
 
 
11663
gl_cv_type_sigset_t=yes
 
11664
else
 
11665
  gl_cv_type_sigset_t=no
 
11666
fi
 
11667
 
 
11668
  if test $gl_cv_type_sigset_t = yes; then
 
11669
 
 
11670
cat >>confdefs.h <<\_ACEOF
 
11671
#define HAVE_SIGSET_T 1
 
11672
_ACEOF
 
11673
 
 
11674
  fi
 
11675
 
 
11676
 
 
11677
 
 
11678
 
 
11679
 
 
11680
 
 
11681
 
 
11682
  fi
 
11683
 
 
11684
 
12300
11685
 
12301
11686
for ac_header in stdint.h
12302
11687
do
12336
11721
  rm -f conftest.er1
12337
11722
  cat conftest.err >&5
12338
11723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339
 
  (exit $ac_status); } &&
12340
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12341
 
  { (case "(($ac_try" in
12342
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12343
 
  *) ac_try_echo=$ac_try;;
12344
 
esac
12345
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12346
 
  (eval "$ac_try") 2>&5
12347
 
  ac_status=$?
12348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349
 
  (exit $ac_status); }; } &&
12350
 
         { ac_try='test -s conftest.$ac_objext'
12351
 
  { (case "(($ac_try" in
12352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12353
 
  *) ac_try_echo=$ac_try;;
12354
 
esac
12355
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12356
 
  (eval "$ac_try") 2>&5
12357
 
  ac_status=$?
12358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359
 
  (exit $ac_status); }; }; then
 
11724
  (exit $ac_status); } && {
 
11725
         test -z "$ac_c_werror_flag" ||
 
11726
         test ! -s conftest.err
 
11727
       } && test -s conftest.$ac_objext; then
12360
11728
  ac_header_compiler=yes
12361
11729
else
12362
11730
  echo "$as_me: failed program was:" >&5
12392
11760
  rm -f conftest.er1
12393
11761
  cat conftest.err >&5
12394
11762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395
 
  (exit $ac_status); } >/dev/null; then
12396
 
  if test -s conftest.err; then
12397
 
    ac_cpp_err=$ac_c_preproc_warn_flag
12398
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12399
 
  else
12400
 
    ac_cpp_err=
12401
 
  fi
12402
 
else
12403
 
  ac_cpp_err=yes
12404
 
fi
12405
 
if test -z "$ac_cpp_err"; then
 
11763
  (exit $ac_status); } >/dev/null && {
 
11764
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
11765
         test ! -s conftest.err
 
11766
       }; then
12406
11767
  ac_header_preproc=yes
12407
11768
else
12408
11769
  echo "$as_me: failed program was:" >&5
12468
11829
 
12469
11830
    { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
12470
11831
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
12471
 
  result=
12472
 
  cat >conftest.$ac_ext <<_ACEOF
 
11832
  if test "${gl_cv_size_max+set}" = set; then
 
11833
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11834
else
 
11835
 
 
11836
    gl_cv_size_max=
 
11837
    cat >conftest.$ac_ext <<_ACEOF
12473
11838
/* confdefs.h.  */
12474
11839
_ACEOF
12475
11840
cat confdefs.h >>conftest.$ac_ext
12487
11852
_ACEOF
12488
11853
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12489
11854
  $EGREP "Found it" >/dev/null 2>&1; then
12490
 
  result=yes
 
11855
  gl_cv_size_max=yes
12491
11856
fi
12492
11857
rm -f conftest*
12493
11858
 
12494
 
  if test -z "$result"; then
12495
 
                if test "$cross_compiling" = yes; then
 
11859
    if test -z "$gl_cv_size_max"; then
 
11860
                        if test "$cross_compiling" = yes; then
12496
11861
  # Depending upon the size, compute the lo and hi bounds.
12497
11862
cat >conftest.$ac_ext <<_ACEOF
12498
11863
/* confdefs.h.  */
12525
11890
  rm -f conftest.er1
12526
11891
  cat conftest.err >&5
12527
11892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528
 
  (exit $ac_status); } &&
12529
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12530
 
  { (case "(($ac_try" in
12531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12532
 
  *) ac_try_echo=$ac_try;;
12533
 
esac
12534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12535
 
  (eval "$ac_try") 2>&5
12536
 
  ac_status=$?
12537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538
 
  (exit $ac_status); }; } &&
12539
 
         { ac_try='test -s conftest.$ac_objext'
12540
 
  { (case "(($ac_try" in
12541
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12542
 
  *) ac_try_echo=$ac_try;;
12543
 
esac
12544
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12545
 
  (eval "$ac_try") 2>&5
12546
 
  ac_status=$?
12547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548
 
  (exit $ac_status); }; }; then
 
11893
  (exit $ac_status); } && {
 
11894
         test -z "$ac_c_werror_flag" ||
 
11895
         test ! -s conftest.err
 
11896
       } && test -s conftest.$ac_objext; then
12549
11897
  ac_lo=0 ac_mid=0
12550
11898
  while :; do
12551
11899
    cat >conftest.$ac_ext <<_ACEOF
12579
11927
  rm -f conftest.er1
12580
11928
  cat conftest.err >&5
12581
11929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582
 
  (exit $ac_status); } &&
12583
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12584
 
  { (case "(($ac_try" in
12585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586
 
  *) ac_try_echo=$ac_try;;
12587
 
esac
12588
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589
 
  (eval "$ac_try") 2>&5
12590
 
  ac_status=$?
12591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592
 
  (exit $ac_status); }; } &&
12593
 
         { ac_try='test -s conftest.$ac_objext'
12594
 
  { (case "(($ac_try" in
12595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12596
 
  *) ac_try_echo=$ac_try;;
12597
 
esac
12598
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12599
 
  (eval "$ac_try") 2>&5
12600
 
  ac_status=$?
12601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602
 
  (exit $ac_status); }; }; then
 
11930
  (exit $ac_status); } && {
 
11931
         test -z "$ac_c_werror_flag" ||
 
11932
         test ! -s conftest.err
 
11933
       } && test -s conftest.$ac_objext; then
12603
11934
  ac_hi=$ac_mid; break
12604
11935
else
12605
11936
  echo "$as_me: failed program was:" >&5
12650
11981
  rm -f conftest.er1
12651
11982
  cat conftest.err >&5
12652
11983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653
 
  (exit $ac_status); } &&
12654
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12655
 
  { (case "(($ac_try" in
12656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657
 
  *) ac_try_echo=$ac_try;;
12658
 
esac
12659
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660
 
  (eval "$ac_try") 2>&5
12661
 
  ac_status=$?
12662
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663
 
  (exit $ac_status); }; } &&
12664
 
         { ac_try='test -s conftest.$ac_objext'
12665
 
  { (case "(($ac_try" in
12666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12667
 
  *) ac_try_echo=$ac_try;;
12668
 
esac
12669
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12670
 
  (eval "$ac_try") 2>&5
12671
 
  ac_status=$?
12672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673
 
  (exit $ac_status); }; }; then
 
11984
  (exit $ac_status); } && {
 
11985
         test -z "$ac_c_werror_flag" ||
 
11986
         test ! -s conftest.err
 
11987
       } && test -s conftest.$ac_objext; then
12674
11988
  ac_hi=-1 ac_mid=-1
12675
11989
  while :; do
12676
11990
    cat >conftest.$ac_ext <<_ACEOF
12704
12018
  rm -f conftest.er1
12705
12019
  cat conftest.err >&5
12706
12020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707
 
  (exit $ac_status); } &&
12708
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12709
 
  { (case "(($ac_try" in
12710
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12711
 
  *) ac_try_echo=$ac_try;;
12712
 
esac
12713
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12714
 
  (eval "$ac_try") 2>&5
12715
 
  ac_status=$?
12716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717
 
  (exit $ac_status); }; } &&
12718
 
         { ac_try='test -s conftest.$ac_objext'
12719
 
  { (case "(($ac_try" in
12720
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721
 
  *) ac_try_echo=$ac_try;;
12722
 
esac
12723
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12724
 
  (eval "$ac_try") 2>&5
12725
 
  ac_status=$?
12726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727
 
  (exit $ac_status); }; }; then
 
12021
  (exit $ac_status); } && {
 
12022
         test -z "$ac_c_werror_flag" ||
 
12023
         test ! -s conftest.err
 
12024
       } && test -s conftest.$ac_objext; then
12728
12025
  ac_lo=$ac_mid; break
12729
12026
else
12730
12027
  echo "$as_me: failed program was:" >&5
12785
12082
  rm -f conftest.er1
12786
12083
  cat conftest.err >&5
12787
12084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788
 
  (exit $ac_status); } &&
12789
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12790
 
  { (case "(($ac_try" in
12791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12792
 
  *) ac_try_echo=$ac_try;;
12793
 
esac
12794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12795
 
  (eval "$ac_try") 2>&5
12796
 
  ac_status=$?
12797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798
 
  (exit $ac_status); }; } &&
12799
 
         { ac_try='test -s conftest.$ac_objext'
12800
 
  { (case "(($ac_try" in
12801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12802
 
  *) ac_try_echo=$ac_try;;
12803
 
esac
12804
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12805
 
  (eval "$ac_try") 2>&5
12806
 
  ac_status=$?
12807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808
 
  (exit $ac_status); }; }; then
 
12085
  (exit $ac_status); } && {
 
12086
         test -z "$ac_c_werror_flag" ||
 
12087
         test ! -s conftest.err
 
12088
       } && test -s conftest.$ac_objext; then
12809
12089
  ac_hi=$ac_mid
12810
12090
else
12811
12091
  echo "$as_me: failed program was:" >&5
12892
12172
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12893
12173
fi
12894
12174
rm -f conftest.val
12895
 
    if test "$cross_compiling" = yes; then
 
12175
 
 
12176
      if test "$cross_compiling" = yes; then
12896
12177
  # Depending upon the size, compute the lo and hi bounds.
12897
12178
cat >conftest.$ac_ext <<_ACEOF
12898
12179
/* confdefs.h.  */
12924
12205
  rm -f conftest.er1
12925
12206
  cat conftest.err >&5
12926
12207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927
 
  (exit $ac_status); } &&
12928
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12929
 
  { (case "(($ac_try" in
12930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12931
 
  *) ac_try_echo=$ac_try;;
12932
 
esac
12933
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12934
 
  (eval "$ac_try") 2>&5
12935
 
  ac_status=$?
12936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937
 
  (exit $ac_status); }; } &&
12938
 
         { ac_try='test -s conftest.$ac_objext'
12939
 
  { (case "(($ac_try" in
12940
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12941
 
  *) ac_try_echo=$ac_try;;
12942
 
esac
12943
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12944
 
  (eval "$ac_try") 2>&5
12945
 
  ac_status=$?
12946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947
 
  (exit $ac_status); }; }; then
 
12208
  (exit $ac_status); } && {
 
12209
         test -z "$ac_c_werror_flag" ||
 
12210
         test ! -s conftest.err
 
12211
       } && test -s conftest.$ac_objext; then
12948
12212
  ac_lo=0 ac_mid=0
12949
12213
  while :; do
12950
12214
    cat >conftest.$ac_ext <<_ACEOF
12977
12241
  rm -f conftest.er1
12978
12242
  cat conftest.err >&5
12979
12243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980
 
  (exit $ac_status); } &&
12981
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12982
 
  { (case "(($ac_try" in
12983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12984
 
  *) ac_try_echo=$ac_try;;
12985
 
esac
12986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12987
 
  (eval "$ac_try") 2>&5
12988
 
  ac_status=$?
12989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990
 
  (exit $ac_status); }; } &&
12991
 
         { ac_try='test -s conftest.$ac_objext'
12992
 
  { (case "(($ac_try" in
12993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12994
 
  *) ac_try_echo=$ac_try;;
12995
 
esac
12996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12997
 
  (eval "$ac_try") 2>&5
12998
 
  ac_status=$?
12999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000
 
  (exit $ac_status); }; }; then
 
12244
  (exit $ac_status); } && {
 
12245
         test -z "$ac_c_werror_flag" ||
 
12246
         test ! -s conftest.err
 
12247
       } && test -s conftest.$ac_objext; then
13001
12248
  ac_hi=$ac_mid; break
13002
12249
else
13003
12250
  echo "$as_me: failed program was:" >&5
13047
12294
  rm -f conftest.er1
13048
12295
  cat conftest.err >&5
13049
12296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050
 
  (exit $ac_status); } &&
13051
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13052
 
  { (case "(($ac_try" in
13053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13054
 
  *) ac_try_echo=$ac_try;;
13055
 
esac
13056
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13057
 
  (eval "$ac_try") 2>&5
13058
 
  ac_status=$?
13059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060
 
  (exit $ac_status); }; } &&
13061
 
         { ac_try='test -s conftest.$ac_objext'
13062
 
  { (case "(($ac_try" in
13063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13064
 
  *) ac_try_echo=$ac_try;;
13065
 
esac
13066
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13067
 
  (eval "$ac_try") 2>&5
13068
 
  ac_status=$?
13069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070
 
  (exit $ac_status); }; }; then
 
12297
  (exit $ac_status); } && {
 
12298
         test -z "$ac_c_werror_flag" ||
 
12299
         test ! -s conftest.err
 
12300
       } && test -s conftest.$ac_objext; then
13071
12301
  ac_hi=-1 ac_mid=-1
13072
12302
  while :; do
13073
12303
    cat >conftest.$ac_ext <<_ACEOF
13100
12330
  rm -f conftest.er1
13101
12331
  cat conftest.err >&5
13102
12332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103
 
  (exit $ac_status); } &&
13104
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13105
 
  { (case "(($ac_try" in
13106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107
 
  *) ac_try_echo=$ac_try;;
13108
 
esac
13109
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110
 
  (eval "$ac_try") 2>&5
13111
 
  ac_status=$?
13112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113
 
  (exit $ac_status); }; } &&
13114
 
         { ac_try='test -s conftest.$ac_objext'
13115
 
  { (case "(($ac_try" in
13116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117
 
  *) ac_try_echo=$ac_try;;
13118
 
esac
13119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13120
 
  (eval "$ac_try") 2>&5
13121
 
  ac_status=$?
13122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123
 
  (exit $ac_status); }; }; then
 
12333
  (exit $ac_status); } && {
 
12334
         test -z "$ac_c_werror_flag" ||
 
12335
         test ! -s conftest.err
 
12336
       } && test -s conftest.$ac_objext; then
13124
12337
  ac_lo=$ac_mid; break
13125
12338
else
13126
12339
  echo "$as_me: failed program was:" >&5
13180
12393
  rm -f conftest.er1
13181
12394
  cat conftest.err >&5
13182
12395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183
 
  (exit $ac_status); } &&
13184
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13185
 
  { (case "(($ac_try" in
13186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13187
 
  *) ac_try_echo=$ac_try;;
13188
 
esac
13189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190
 
  (eval "$ac_try") 2>&5
13191
 
  ac_status=$?
13192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193
 
  (exit $ac_status); }; } &&
13194
 
         { ac_try='test -s conftest.$ac_objext'
13195
 
  { (case "(($ac_try" in
13196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13197
 
  *) ac_try_echo=$ac_try;;
13198
 
esac
13199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13200
 
  (eval "$ac_try") 2>&5
13201
 
  ac_status=$?
13202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203
 
  (exit $ac_status); }; }; then
 
12396
  (exit $ac_status); } && {
 
12397
         test -z "$ac_c_werror_flag" ||
 
12398
         test ! -s conftest.err
 
12399
       } && test -s conftest.$ac_objext; then
13204
12400
  ac_hi=$ac_mid
13205
12401
else
13206
12402
  echo "$as_me: failed program was:" >&5
13286
12482
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13287
12483
fi
13288
12484
rm -f conftest.val
13289
 
    if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
13290
 
      if test $fits_in_uint = 1; then
13291
 
                        cat >conftest.$ac_ext <<_ACEOF
 
12485
 
 
12486
      if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
 
12487
        if test $fits_in_uint = 1; then
 
12488
                              cat >conftest.$ac_ext <<_ACEOF
13292
12489
/* confdefs.h.  */
13293
12490
_ACEOF
13294
12491
cat confdefs.h >>conftest.$ac_ext
13295
12492
cat >>conftest.$ac_ext <<_ACEOF
13296
12493
/* end confdefs.h.  */
13297
12494
#include <stddef.h>
13298
 
          extern size_t foo;
13299
 
          extern unsigned long foo;
 
12495
            extern size_t foo;
 
12496
            extern unsigned long foo;
13300
12497
 
13301
12498
int
13302
12499
main ()
13319
12516
  rm -f conftest.er1
13320
12517
  cat conftest.err >&5
13321
12518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322
 
  (exit $ac_status); } &&
13323
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13324
 
  { (case "(($ac_try" in
13325
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13326
 
  *) ac_try_echo=$ac_try;;
13327
 
esac
13328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13329
 
  (eval "$ac_try") 2>&5
13330
 
  ac_status=$?
13331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332
 
  (exit $ac_status); }; } &&
13333
 
         { ac_try='test -s conftest.$ac_objext'
13334
 
  { (case "(($ac_try" in
13335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13336
 
  *) ac_try_echo=$ac_try;;
13337
 
esac
13338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13339
 
  (eval "$ac_try") 2>&5
13340
 
  ac_status=$?
13341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342
 
  (exit $ac_status); }; }; then
 
12519
  (exit $ac_status); } && {
 
12520
         test -z "$ac_c_werror_flag" ||
 
12521
         test ! -s conftest.err
 
12522
       } && test -s conftest.$ac_objext; then
13343
12523
  fits_in_uint=0
13344
12524
else
13345
12525
  echo "$as_me: failed program was:" >&5
13349
12529
fi
13350
12530
 
13351
12531
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13352
 
      fi
13353
 
                        if test $fits_in_uint = 1; then
13354
 
        result="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
 
12532
        fi
 
12533
                                if test $fits_in_uint = 1; then
 
12534
          gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
 
12535
        else
 
12536
          gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
 
12537
        fi
13355
12538
      else
13356
 
        result="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
 
12539
                gl_cv_size_max='((size_t)~(size_t)0)'
13357
12540
      fi
13358
 
    else
13359
 
            result='((size_t)~(size_t)0)'
13360
12541
    fi
13361
 
  fi
13362
 
  { echo "$as_me:$LINENO: result: $result" >&5
13363
 
echo "${ECHO_T}$result" >&6; }
13364
 
  if test "$result" != yes; then
 
12542
 
 
12543
fi
 
12544
 
 
12545
  { echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
 
12546
echo "${ECHO_T}$gl_cv_size_max" >&6; }
 
12547
  if test "$gl_cv_size_max" != yes; then
13365
12548
 
13366
12549
cat >>confdefs.h <<_ACEOF
13367
 
#define SIZE_MAX $result
 
12550
#define SIZE_MAX $gl_cv_size_max
13368
12551
_ACEOF
13369
12552
 
13370
12553
  fi
13404
12587
  rm -f conftest.er1
13405
12588
  cat conftest.err >&5
13406
12589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407
 
  (exit $ac_status); } &&
13408
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13409
 
  { (case "(($ac_try" in
13410
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13411
 
  *) ac_try_echo=$ac_try;;
13412
 
esac
13413
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13414
 
  (eval "$ac_try") 2>&5
13415
 
  ac_status=$?
13416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417
 
  (exit $ac_status); }; } &&
13418
 
         { ac_try='test -s conftest.$ac_objext'
13419
 
  { (case "(($ac_try" in
13420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13421
 
  *) ac_try_echo=$ac_try;;
13422
 
esac
13423
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13424
 
  (eval "$ac_try") 2>&5
13425
 
  ac_status=$?
13426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427
 
  (exit $ac_status); }; }; then
 
12590
  (exit $ac_status); } && {
 
12591
         test -z "$ac_c_werror_flag" ||
 
12592
         test ! -s conftest.err
 
12593
       } && test -s conftest.$ac_objext; then
13428
12594
  gt_cv_ssize_t=yes
13429
12595
else
13430
12596
  echo "$as_me: failed program was:" >&5
13446
12612
  fi
13447
12613
 
13448
12614
 
13449
 
 
13450
 
 
13451
 
 
13452
12615
  { echo "$as_me:$LINENO: checking for va_copy" >&5
13453
12616
echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13454
12617
  if test "${gl_cv_func_va_copy+set}" = set; then
13487
12650
  rm -f conftest.er1
13488
12651
  cat conftest.err >&5
13489
12652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490
 
  (exit $ac_status); } &&
13491
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13492
 
  { (case "(($ac_try" in
13493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13494
 
  *) ac_try_echo=$ac_try;;
13495
 
esac
13496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13497
 
  (eval "$ac_try") 2>&5
13498
 
  ac_status=$?
13499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500
 
  (exit $ac_status); }; } &&
13501
 
         { ac_try='test -s conftest.$ac_objext'
13502
 
  { (case "(($ac_try" in
13503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13504
 
  *) ac_try_echo=$ac_try;;
13505
 
esac
13506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13507
 
  (eval "$ac_try") 2>&5
13508
 
  ac_status=$?
13509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510
 
  (exit $ac_status); }; }; then
 
12653
  (exit $ac_status); } && {
 
12654
         test -z "$ac_c_werror_flag" ||
 
12655
         test ! -s conftest.err
 
12656
       } && test -s conftest.$ac_objext; then
13511
12657
  gl_cv_func_va_copy=yes
13512
12658
else
13513
12659
  echo "$as_me: failed program was:" >&5
13559
12705
  rm -f conftest.er1
13560
12706
  cat conftest.err >&5
13561
12707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562
 
  (exit $ac_status); } &&
13563
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13564
 
  { (case "(($ac_try" in
13565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13566
 
  *) ac_try_echo=$ac_try;;
13567
 
esac
13568
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13569
 
  (eval "$ac_try") 2>&5
13570
 
  ac_status=$?
13571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572
 
  (exit $ac_status); }; } &&
13573
 
         { ac_try='test -s conftest.$ac_objext'
13574
 
  { (case "(($ac_try" in
13575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13576
 
  *) ac_try_echo=$ac_try;;
13577
 
esac
13578
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13579
 
  (eval "$ac_try") 2>&5
13580
 
  ac_status=$?
13581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582
 
  (exit $ac_status); }; }; then
 
12708
  (exit $ac_status); } && {
 
12709
         test -z "$ac_c_werror_flag" ||
 
12710
         test ! -s conftest.err
 
12711
       } && test -s conftest.$ac_objext; then
13583
12712
  gl_cv_func___va_copy=yes
13584
12713
else
13585
12714
  echo "$as_me: failed program was:" >&5
13637
12766
  fi
13638
12767
 
13639
12768
 
 
12769
  if test $ac_cv_type_unsigned_long_long_int = yes; then
 
12770
    HAVE_UNSIGNED_LONG_LONG_INT=1
 
12771
  else
 
12772
    HAVE_UNSIGNED_LONG_LONG_INT=0
 
12773
  fi
 
12774
 
 
12775
 
13640
12776
 
13641
12777
 
13642
12778
 
13855
12991
  rm -f conftest.er1
13856
12992
  cat conftest.err >&5
13857
12993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858
 
  (exit $ac_status); } &&
13859
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13860
 
  { (case "(($ac_try" in
13861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13862
 
  *) ac_try_echo=$ac_try;;
13863
 
esac
13864
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13865
 
  (eval "$ac_try") 2>&5
13866
 
  ac_status=$?
13867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868
 
  (exit $ac_status); }; } &&
13869
 
         { ac_try='test -s conftest.$ac_objext'
13870
 
  { (case "(($ac_try" in
13871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13872
 
  *) ac_try_echo=$ac_try;;
13873
 
esac
13874
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13875
 
  (eval "$ac_try") 2>&5
13876
 
  ac_status=$?
13877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878
 
  (exit $ac_status); }; }; then
 
12994
  (exit $ac_status); } && {
 
12995
         test -z "$ac_c_werror_flag" ||
 
12996
         test ! -s conftest.err
 
12997
       } && test -s conftest.$ac_objext; then
13879
12998
  gl_cv_header_working_stdint_h=yes
13880
12999
else
13881
13000
  echo "$as_me: failed program was:" >&5
13931
13050
  rm -f conftest.er1
13932
13051
  cat conftest.err >&5
13933
13052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934
 
  (exit $ac_status); } &&
13935
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13936
 
  { (case "(($ac_try" in
13937
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13938
 
  *) ac_try_echo=$ac_try;;
13939
 
esac
13940
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13941
 
  (eval "$ac_try") 2>&5
13942
 
  ac_status=$?
13943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944
 
  (exit $ac_status); }; } &&
13945
 
         { ac_try='test -s conftest.$ac_objext'
13946
 
  { (case "(($ac_try" in
13947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948
 
  *) ac_try_echo=$ac_try;;
13949
 
esac
13950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951
 
  (eval "$ac_try") 2>&5
13952
 
  ac_status=$?
13953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954
 
  (exit $ac_status); }; }; then
 
13053
  (exit $ac_status); } && {
 
13054
         test -z "$ac_c_werror_flag" ||
 
13055
         test ! -s conftest.err
 
13056
       } && test -s conftest.$ac_objext; then
13955
13057
  ac_header_compiler=yes
13956
13058
else
13957
13059
  echo "$as_me: failed program was:" >&5
13987
13089
  rm -f conftest.er1
13988
13090
  cat conftest.err >&5
13989
13091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990
 
  (exit $ac_status); } >/dev/null; then
13991
 
  if test -s conftest.err; then
13992
 
    ac_cpp_err=$ac_c_preproc_warn_flag
13993
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13994
 
  else
13995
 
    ac_cpp_err=
13996
 
  fi
13997
 
else
13998
 
  ac_cpp_err=yes
13999
 
fi
14000
 
if test -z "$ac_cpp_err"; then
 
13092
  (exit $ac_status); } >/dev/null && {
 
13093
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
13094
         test ! -s conftest.err
 
13095
       }; then
14001
13096
  ac_header_preproc=yes
14002
13097
else
14003
13098
  echo "$as_me: failed program was:" >&5
14131
13226
  rm -f conftest.er1
14132
13227
  cat conftest.err >&5
14133
13228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134
 
  (exit $ac_status); } &&
14135
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14136
 
  { (case "(($ac_try" in
14137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14138
 
  *) ac_try_echo=$ac_try;;
14139
 
esac
14140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14141
 
  (eval "$ac_try") 2>&5
14142
 
  ac_status=$?
14143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144
 
  (exit $ac_status); }; } &&
14145
 
         { ac_try='test -s conftest.$ac_objext'
14146
 
  { (case "(($ac_try" in
14147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14148
 
  *) ac_try_echo=$ac_try;;
14149
 
esac
14150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14151
 
  (eval "$ac_try") 2>&5
14152
 
  ac_status=$?
14153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154
 
  (exit $ac_status); }; }; then
 
13229
  (exit $ac_status); } && {
 
13230
         test -z "$ac_c_werror_flag" ||
 
13231
         test ! -s conftest.err
 
13232
       } && test -s conftest.$ac_objext; then
14155
13233
  ac_lo=0 ac_mid=0
14156
13234
  while :; do
14157
13235
    cat >conftest.$ac_ext <<_ACEOF
14195
13273
  rm -f conftest.er1
14196
13274
  cat conftest.err >&5
14197
13275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198
 
  (exit $ac_status); } &&
14199
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14200
 
  { (case "(($ac_try" in
14201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14202
 
  *) ac_try_echo=$ac_try;;
14203
 
esac
14204
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14205
 
  (eval "$ac_try") 2>&5
14206
 
  ac_status=$?
14207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208
 
  (exit $ac_status); }; } &&
14209
 
         { ac_try='test -s conftest.$ac_objext'
14210
 
  { (case "(($ac_try" in
14211
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14212
 
  *) ac_try_echo=$ac_try;;
14213
 
esac
14214
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14215
 
  (eval "$ac_try") 2>&5
14216
 
  ac_status=$?
14217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218
 
  (exit $ac_status); }; }; then
 
13276
  (exit $ac_status); } && {
 
13277
         test -z "$ac_c_werror_flag" ||
 
13278
         test ! -s conftest.err
 
13279
       } && test -s conftest.$ac_objext; then
14219
13280
  ac_hi=$ac_mid; break
14220
13281
else
14221
13282
  echo "$as_me: failed program was:" >&5
14276
13337
  rm -f conftest.er1
14277
13338
  cat conftest.err >&5
14278
13339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279
 
  (exit $ac_status); } &&
14280
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14281
 
  { (case "(($ac_try" in
14282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14283
 
  *) ac_try_echo=$ac_try;;
14284
 
esac
14285
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14286
 
  (eval "$ac_try") 2>&5
14287
 
  ac_status=$?
14288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289
 
  (exit $ac_status); }; } &&
14290
 
         { ac_try='test -s conftest.$ac_objext'
14291
 
  { (case "(($ac_try" in
14292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14293
 
  *) ac_try_echo=$ac_try;;
14294
 
esac
14295
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296
 
  (eval "$ac_try") 2>&5
14297
 
  ac_status=$?
14298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299
 
  (exit $ac_status); }; }; then
 
13340
  (exit $ac_status); } && {
 
13341
         test -z "$ac_c_werror_flag" ||
 
13342
         test ! -s conftest.err
 
13343
       } && test -s conftest.$ac_objext; then
14300
13344
  ac_hi=-1 ac_mid=-1
14301
13345
  while :; do
14302
13346
    cat >conftest.$ac_ext <<_ACEOF
14340
13384
  rm -f conftest.er1
14341
13385
  cat conftest.err >&5
14342
13386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343
 
  (exit $ac_status); } &&
14344
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14345
 
  { (case "(($ac_try" in
14346
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14347
 
  *) ac_try_echo=$ac_try;;
14348
 
esac
14349
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350
 
  (eval "$ac_try") 2>&5
14351
 
  ac_status=$?
14352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353
 
  (exit $ac_status); }; } &&
14354
 
         { ac_try='test -s conftest.$ac_objext'
14355
 
  { (case "(($ac_try" in
14356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357
 
  *) ac_try_echo=$ac_try;;
14358
 
esac
14359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360
 
  (eval "$ac_try") 2>&5
14361
 
  ac_status=$?
14362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363
 
  (exit $ac_status); }; }; then
 
13387
  (exit $ac_status); } && {
 
13388
         test -z "$ac_c_werror_flag" ||
 
13389
         test ! -s conftest.err
 
13390
       } && test -s conftest.$ac_objext; then
14364
13391
  ac_lo=$ac_mid; break
14365
13392
else
14366
13393
  echo "$as_me: failed program was:" >&5
14431
13458
  rm -f conftest.er1
14432
13459
  cat conftest.err >&5
14433
13460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434
 
  (exit $ac_status); } &&
14435
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14436
 
  { (case "(($ac_try" in
14437
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14438
 
  *) ac_try_echo=$ac_try;;
14439
 
esac
14440
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14441
 
  (eval "$ac_try") 2>&5
14442
 
  ac_status=$?
14443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444
 
  (exit $ac_status); }; } &&
14445
 
         { ac_try='test -s conftest.$ac_objext'
14446
 
  { (case "(($ac_try" in
14447
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448
 
  *) ac_try_echo=$ac_try;;
14449
 
esac
14450
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451
 
  (eval "$ac_try") 2>&5
14452
 
  ac_status=$?
14453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454
 
  (exit $ac_status); }; }; then
 
13461
  (exit $ac_status); } && {
 
13462
         test -z "$ac_c_werror_flag" ||
 
13463
         test ! -s conftest.err
 
13464
       } && test -s conftest.$ac_objext; then
14455
13465
  ac_hi=$ac_mid
14456
13466
else
14457
13467
  echo "$as_me: failed program was:" >&5
14548
13558
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14549
13559
fi
14550
13560
rm -f conftest.val
 
13561
 
14551
13562
       eval gl_cv_bitsizeof_${gltype}=\$result
14552
13563
 
14553
13564
fi
14617
13628
  rm -f conftest.er1
14618
13629
  cat conftest.err >&5
14619
13630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620
 
  (exit $ac_status); } &&
14621
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14622
 
  { (case "(($ac_try" in
14623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624
 
  *) ac_try_echo=$ac_try;;
14625
 
esac
14626
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627
 
  (eval "$ac_try") 2>&5
14628
 
  ac_status=$?
14629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630
 
  (exit $ac_status); }; } &&
14631
 
         { ac_try='test -s conftest.$ac_objext'
14632
 
  { (case "(($ac_try" in
14633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634
 
  *) ac_try_echo=$ac_try;;
14635
 
esac
14636
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637
 
  (eval "$ac_try") 2>&5
14638
 
  ac_status=$?
14639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640
 
  (exit $ac_status); }; }; then
 
13631
  (exit $ac_status); } && {
 
13632
         test -z "$ac_c_werror_flag" ||
 
13633
         test ! -s conftest.err
 
13634
       } && test -s conftest.$ac_objext; then
14641
13635
  result=yes
14642
13636
else
14643
13637
  echo "$as_me: failed program was:" >&5
14740
13734
  rm -f conftest.er1
14741
13735
  cat conftest.err >&5
14742
13736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743
 
  (exit $ac_status); } &&
14744
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14745
 
  { (case "(($ac_try" in
14746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14747
 
  *) ac_try_echo=$ac_try;;
14748
 
esac
14749
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14750
 
  (eval "$ac_try") 2>&5
14751
 
  ac_status=$?
14752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753
 
  (exit $ac_status); }; } &&
14754
 
         { ac_try='test -s conftest.$ac_objext'
14755
 
  { (case "(($ac_try" in
14756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14757
 
  *) ac_try_echo=$ac_try;;
14758
 
esac
14759
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14760
 
  (eval "$ac_try") 2>&5
14761
 
  ac_status=$?
14762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763
 
  (exit $ac_status); }; }; then
 
13737
  (exit $ac_status); } && {
 
13738
         test -z "$ac_c_werror_flag" ||
 
13739
         test ! -s conftest.err
 
13740
       } && test -s conftest.$ac_objext; then
14764
13741
  eval gl_cv_type_${gltype}_suffix=\$glsuf
14765
13742
else
14766
13743
  echo "$as_me: failed program was:" >&5
14794
13771
 
14795
13772
 
14796
13773
 
14797
 
  case " $LIBOBJS " in
14798
 
  *" mkstemp-safer.$ac_objext "* ) ;;
14799
 
  *) LIBOBJS="$LIBOBJS mkstemp-safer.$ac_objext"
14800
 
 ;;
14801
 
esac
14802
 
 
14803
 
 
14804
 
 
14805
 
 
14806
 
      case " $LIBOBJS " in
14807
 
  *" strcasecmp.$ac_objext "* ) ;;
14808
 
  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
14809
 
 ;;
14810
 
esac
14811
 
 
14812
 
 
14813
 
cat >>confdefs.h <<\_ACEOF
14814
 
#define strcasecmp rpl_strcasecmp
14815
 
_ACEOF
14816
 
 
 
13774
  M4_LIBOBJS="$M4_LIBOBJS mkstemp-safer.$ac_objext"
 
13775
 
 
13776
 
 
13777
 
 
13778
      M4_LIBOBJS="$M4_LIBOBJS strcasecmp.$ac_objext"
14817
13779
 
14818
13780
 
14819
13781
  :
14887
13849
  rm -f conftest.er1
14888
13850
  cat conftest.err >&5
14889
13851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890
 
  (exit $ac_status); } &&
14891
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14892
 
  { (case "(($ac_try" in
14893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894
 
  *) ac_try_echo=$ac_try;;
14895
 
esac
14896
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14897
 
  (eval "$ac_try") 2>&5
14898
 
  ac_status=$?
14899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900
 
  (exit $ac_status); }; } &&
14901
 
         { ac_try='test -s conftest$ac_exeext'
14902
 
  { (case "(($ac_try" in
14903
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14904
 
  *) ac_try_echo=$ac_try;;
14905
 
esac
14906
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14907
 
  (eval "$ac_try") 2>&5
14908
 
  ac_status=$?
14909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910
 
  (exit $ac_status); }; }; then
 
13852
  (exit $ac_status); } && {
 
13853
         test -z "$ac_c_werror_flag" ||
 
13854
         test ! -s conftest.err
 
13855
       } && test -s conftest$ac_exeext &&
 
13856
       $as_test_x conftest$ac_exeext; then
14911
13857
  eval "$as_ac_var=yes"
14912
13858
else
14913
13859
  echo "$as_me: failed program was:" >&5
14916
13862
        eval "$as_ac_var=no"
14917
13863
fi
14918
13864
 
14919
 
rm -f core conftest.err conftest.$ac_objext \
 
13865
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14920
13866
      conftest$ac_exeext conftest.$ac_ext
14921
13867
fi
14922
13868
ac_res=`eval echo '${'$as_ac_var'}'`
14928
13874
_ACEOF
14929
13875
 
14930
13876
else
14931
 
  case " $LIBOBJS " in
14932
 
  *" $ac_func.$ac_objext "* ) ;;
14933
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
14934
 
 ;;
14935
 
esac
14936
 
 
 
13877
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
14937
13878
fi
14938
13879
done
14939
13880
 
 
13881
  { echo "$as_me:$LINENO: checking whether strncasecmp is declared" >&5
 
13882
echo $ECHO_N "checking whether strncasecmp is declared... $ECHO_C" >&6; }
 
13883
if test "${ac_cv_have_decl_strncasecmp+set}" = set; then
 
13884
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13885
else
 
13886
  cat >conftest.$ac_ext <<_ACEOF
 
13887
/* confdefs.h.  */
 
13888
_ACEOF
 
13889
cat confdefs.h >>conftest.$ac_ext
 
13890
cat >>conftest.$ac_ext <<_ACEOF
 
13891
/* end confdefs.h.  */
 
13892
$ac_includes_default
 
13893
int
 
13894
main ()
 
13895
{
 
13896
#ifndef strncasecmp
 
13897
  (void) strncasecmp;
 
13898
#endif
 
13899
 
 
13900
  ;
 
13901
  return 0;
 
13902
}
 
13903
_ACEOF
 
13904
rm -f conftest.$ac_objext
 
13905
if { (ac_try="$ac_compile"
 
13906
case "(($ac_try" in
 
13907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13908
  *) ac_try_echo=$ac_try;;
 
13909
esac
 
13910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13911
  (eval "$ac_compile") 2>conftest.er1
 
13912
  ac_status=$?
 
13913
  grep -v '^ *+' conftest.er1 >conftest.err
 
13914
  rm -f conftest.er1
 
13915
  cat conftest.err >&5
 
13916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13917
  (exit $ac_status); } && {
 
13918
         test -z "$ac_c_werror_flag" ||
 
13919
         test ! -s conftest.err
 
13920
       } && test -s conftest.$ac_objext; then
 
13921
  ac_cv_have_decl_strncasecmp=yes
 
13922
else
 
13923
  echo "$as_me: failed program was:" >&5
 
13924
sed 's/^/| /' conftest.$ac_ext >&5
 
13925
 
 
13926
        ac_cv_have_decl_strncasecmp=no
 
13927
fi
 
13928
 
 
13929
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13930
fi
 
13931
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strncasecmp" >&5
 
13932
echo "${ECHO_T}$ac_cv_have_decl_strncasecmp" >&6; }
 
13933
if test $ac_cv_have_decl_strncasecmp = yes; then
 
13934
 
 
13935
cat >>confdefs.h <<_ACEOF
 
13936
#define HAVE_DECL_STRNCASECMP 1
 
13937
_ACEOF
 
13938
 
 
13939
 
 
13940
else
 
13941
  cat >>confdefs.h <<_ACEOF
 
13942
#define HAVE_DECL_STRNCASECMP 0
 
13943
_ACEOF
 
13944
 
 
13945
 
 
13946
fi
 
13947
 
14940
13948
 
14941
13949
  if test $ac_cv_func_strncasecmp = no; then
14942
13950
 
14946
13954
 
14947
13955
 
14948
13956
 
 
13957
      M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
 
13958
 
 
13959
 
 
13960
  :
 
13961
 
 
13962
 
 
13963
 
14949
13964
 
14950
13965
for ac_func in strtol
14951
13966
do
15013
14028
  rm -f conftest.er1
15014
14029
  cat conftest.err >&5
15015
14030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016
 
  (exit $ac_status); } &&
15017
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15018
 
  { (case "(($ac_try" in
15019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020
 
  *) ac_try_echo=$ac_try;;
15021
 
esac
15022
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023
 
  (eval "$ac_try") 2>&5
15024
 
  ac_status=$?
15025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026
 
  (exit $ac_status); }; } &&
15027
 
         { ac_try='test -s conftest$ac_exeext'
15028
 
  { (case "(($ac_try" in
15029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030
 
  *) ac_try_echo=$ac_try;;
15031
 
esac
15032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033
 
  (eval "$ac_try") 2>&5
15034
 
  ac_status=$?
15035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036
 
  (exit $ac_status); }; }; then
 
14031
  (exit $ac_status); } && {
 
14032
         test -z "$ac_c_werror_flag" ||
 
14033
         test ! -s conftest.err
 
14034
       } && test -s conftest$ac_exeext &&
 
14035
       $as_test_x conftest$ac_exeext; then
15037
14036
  eval "$as_ac_var=yes"
15038
14037
else
15039
14038
  echo "$as_me: failed program was:" >&5
15042
14041
        eval "$as_ac_var=no"
15043
14042
fi
15044
14043
 
15045
 
rm -f core conftest.err conftest.$ac_objext \
 
14044
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15046
14045
      conftest$ac_exeext conftest.$ac_ext
15047
14046
fi
15048
14047
ac_res=`eval echo '${'$as_ac_var'}'`
15054
14053
_ACEOF
15055
14054
 
15056
14055
else
15057
 
  case " $LIBOBJS " in
15058
 
  *" $ac_func.$ac_objext "* ) ;;
15059
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
15060
 
 ;;
15061
 
esac
15062
 
 
 
14056
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
15063
14057
fi
15064
14058
done
15065
14059
 
15072
14066
 
15073
14067
 
15074
14068
 
15075
 
 
15076
14069
      { echo "$as_me:$LINENO: checking whether mkdir is declared" >&5
15077
14070
echo $ECHO_N "checking whether mkdir is declared... $ECHO_C" >&6; }
15078
14071
if test "${ac_cv_have_decl_mkdir+set}" = set; then
15090
14083
main ()
15091
14084
{
15092
14085
#ifndef mkdir
15093
 
  char *p = (char *) mkdir;
15094
 
  return !p;
 
14086
  (void) mkdir;
15095
14087
#endif
15096
14088
 
15097
14089
  ;
15111
14103
  rm -f conftest.er1
15112
14104
  cat conftest.err >&5
15113
14105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114
 
  (exit $ac_status); } &&
15115
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15116
 
  { (case "(($ac_try" in
15117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15118
 
  *) ac_try_echo=$ac_try;;
15119
 
esac
15120
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121
 
  (eval "$ac_try") 2>&5
15122
 
  ac_status=$?
15123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124
 
  (exit $ac_status); }; } &&
15125
 
         { ac_try='test -s conftest.$ac_objext'
15126
 
  { (case "(($ac_try" in
15127
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15128
 
  *) ac_try_echo=$ac_try;;
15129
 
esac
15130
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15131
 
  (eval "$ac_try") 2>&5
15132
 
  ac_status=$?
15133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134
 
  (exit $ac_status); }; }; then
 
14106
  (exit $ac_status); } && {
 
14107
         test -z "$ac_c_werror_flag" ||
 
14108
         test ! -s conftest.err
 
14109
       } && test -s conftest.$ac_objext; then
15135
14110
  ac_cv_have_decl_mkdir=yes
15136
14111
else
15137
14112
  echo "$as_me: failed program was:" >&5
15157
14132
_ACEOF
15158
14133
 
15159
14134
 
15160
 
fi
15161
 
 
15162
 
 
15163
 
 
15164
 
  SYS_STAT_H=
15165
 
  if test $ac_cv_func_lstat:$ac_cv_have_decl_mkdir != yes:yes ; then
15166
 
      { echo "$as_me:$LINENO: checking absolute name of <sys/stat.h>" >&5
 
14135
for ac_header in io.h
 
14136
do
 
14137
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14138
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14139
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14140
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
14141
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14142
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14143
fi
 
14144
ac_res=`eval echo '${'$as_ac_Header'}'`
 
14145
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
14146
echo "${ECHO_T}$ac_res" >&6; }
 
14147
else
 
14148
  # Is the header compilable?
 
14149
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
14150
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
14151
cat >conftest.$ac_ext <<_ACEOF
 
14152
/* confdefs.h.  */
 
14153
_ACEOF
 
14154
cat confdefs.h >>conftest.$ac_ext
 
14155
cat >>conftest.$ac_ext <<_ACEOF
 
14156
/* end confdefs.h.  */
 
14157
$ac_includes_default
 
14158
#include <$ac_header>
 
14159
_ACEOF
 
14160
rm -f conftest.$ac_objext
 
14161
if { (ac_try="$ac_compile"
 
14162
case "(($ac_try" in
 
14163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14164
  *) ac_try_echo=$ac_try;;
 
14165
esac
 
14166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14167
  (eval "$ac_compile") 2>conftest.er1
 
14168
  ac_status=$?
 
14169
  grep -v '^ *+' conftest.er1 >conftest.err
 
14170
  rm -f conftest.er1
 
14171
  cat conftest.err >&5
 
14172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14173
  (exit $ac_status); } && {
 
14174
         test -z "$ac_c_werror_flag" ||
 
14175
         test ! -s conftest.err
 
14176
       } && test -s conftest.$ac_objext; then
 
14177
  ac_header_compiler=yes
 
14178
else
 
14179
  echo "$as_me: failed program was:" >&5
 
14180
sed 's/^/| /' conftest.$ac_ext >&5
 
14181
 
 
14182
        ac_header_compiler=no
 
14183
fi
 
14184
 
 
14185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14186
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
14187
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
14188
 
 
14189
# Is the header present?
 
14190
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
14191
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
14192
cat >conftest.$ac_ext <<_ACEOF
 
14193
/* confdefs.h.  */
 
14194
_ACEOF
 
14195
cat confdefs.h >>conftest.$ac_ext
 
14196
cat >>conftest.$ac_ext <<_ACEOF
 
14197
/* end confdefs.h.  */
 
14198
#include <$ac_header>
 
14199
_ACEOF
 
14200
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14201
case "(($ac_try" in
 
14202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14203
  *) ac_try_echo=$ac_try;;
 
14204
esac
 
14205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14206
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
14207
  ac_status=$?
 
14208
  grep -v '^ *+' conftest.er1 >conftest.err
 
14209
  rm -f conftest.er1
 
14210
  cat conftest.err >&5
 
14211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14212
  (exit $ac_status); } >/dev/null && {
 
14213
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
14214
         test ! -s conftest.err
 
14215
       }; then
 
14216
  ac_header_preproc=yes
 
14217
else
 
14218
  echo "$as_me: failed program was:" >&5
 
14219
sed 's/^/| /' conftest.$ac_ext >&5
 
14220
 
 
14221
  ac_header_preproc=no
 
14222
fi
 
14223
 
 
14224
rm -f conftest.err conftest.$ac_ext
 
14225
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
14226
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
14227
 
 
14228
# So?  What about this header?
 
14229
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
14230
  yes:no: )
 
14231
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
14232
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
14233
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
14234
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
14235
    ac_header_preproc=yes
 
14236
    ;;
 
14237
  no:yes:* )
 
14238
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
14239
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
14240
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
14241
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
14242
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
14243
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
14244
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
14245
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
14246
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
14247
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
14248
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
14249
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
14250
    ( cat <<\_ASBOX
 
14251
## ----------------------------- ##
 
14252
## Report this to bug-m4@gnu.org ##
 
14253
## ----------------------------- ##
 
14254
_ASBOX
 
14255
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
14256
    ;;
 
14257
esac
 
14258
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14259
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
14260
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14261
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14262
else
 
14263
  eval "$as_ac_Header=\$ac_header_preproc"
 
14264
fi
 
14265
ac_res=`eval echo '${'$as_ac_Header'}'`
 
14266
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
14267
echo "${ECHO_T}$ac_res" >&6; }
 
14268
 
 
14269
fi
 
14270
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14271
  cat >>confdefs.h <<_ACEOF
 
14272
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14273
_ACEOF
 
14274
 
 
14275
fi
 
14276
 
 
14277
done
 
14278
 
 
14279
fi
 
14280
 
 
14281
 
 
14282
 
 
14283
 
 
14284
 
 
14285
 
 
14286
    { echo "$as_me:$LINENO: checking absolute name of <sys/stat.h>" >&5
15167
14287
echo $ECHO_N "checking absolute name of <sys/stat.h>... $ECHO_C" >&6; }
15168
14288
if test "${gl_cv_absolute_sys_stat_h+set}" = set; then
15169
14289
  echo $ECHO_N "(cached) $ECHO_C" >&6
15194
14314
_ACEOF
15195
14315
 
15196
14316
 
15197
 
    ABSOLUTE_SYS_STAT_H=\"$gl_cv_absolute_sys_stat_h\"
15198
 
 
15199
 
for ac_header in io.h
 
14317
  ABSOLUTE_SYS_STAT_H=\"$gl_cv_absolute_sys_stat_h\"
 
14318
 
 
14319
  SYS_STAT_H='sys/stat.h'
 
14320
 
 
14321
 
 
14322
 
 
14323
 
 
14324
 
 
14325
  M4_LIBOBJS="$M4_LIBOBJS tempname.$ac_objext"
 
14326
 
 
14327
 
 
14328
 
 
14329
 
 
14330
 
 
14331
 
 
14332
 
 
14333
 
 
14334
 
 
14335
 
 
14336
 
 
14337
 
 
14338
 
 
14339
 
 
14340
 
 
14341
 
 
14342
 
 
14343
for ac_func in __secure_getenv
15200
14344
do
15201
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15202
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15203
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
15204
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15205
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15207
 
fi
15208
 
ac_res=`eval echo '${'$as_ac_Header'}'`
15209
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
15210
 
echo "${ECHO_T}$ac_res" >&6; }
15211
 
else
15212
 
  # Is the header compilable?
15213
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
15214
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15215
 
cat >conftest.$ac_ext <<_ACEOF
15216
 
/* confdefs.h.  */
15217
 
_ACEOF
15218
 
cat confdefs.h >>conftest.$ac_ext
15219
 
cat >>conftest.$ac_ext <<_ACEOF
15220
 
/* end confdefs.h.  */
15221
 
$ac_includes_default
15222
 
#include <$ac_header>
15223
 
_ACEOF
15224
 
rm -f conftest.$ac_objext
15225
 
if { (ac_try="$ac_compile"
15226
 
case "(($ac_try" in
15227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15228
 
  *) ac_try_echo=$ac_try;;
15229
 
esac
15230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231
 
  (eval "$ac_compile") 2>conftest.er1
15232
 
  ac_status=$?
15233
 
  grep -v '^ *+' conftest.er1 >conftest.err
15234
 
  rm -f conftest.er1
15235
 
  cat conftest.err >&5
15236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237
 
  (exit $ac_status); } &&
15238
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15239
 
  { (case "(($ac_try" in
15240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15241
 
  *) ac_try_echo=$ac_try;;
15242
 
esac
15243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15244
 
  (eval "$ac_try") 2>&5
15245
 
  ac_status=$?
15246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247
 
  (exit $ac_status); }; } &&
15248
 
         { ac_try='test -s conftest.$ac_objext'
15249
 
  { (case "(($ac_try" in
15250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15251
 
  *) ac_try_echo=$ac_try;;
15252
 
esac
15253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15254
 
  (eval "$ac_try") 2>&5
15255
 
  ac_status=$?
15256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257
 
  (exit $ac_status); }; }; then
15258
 
  ac_header_compiler=yes
15259
 
else
15260
 
  echo "$as_me: failed program was:" >&5
15261
 
sed 's/^/| /' conftest.$ac_ext >&5
15262
 
 
15263
 
        ac_header_compiler=no
15264
 
fi
15265
 
 
15266
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15268
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
15269
 
 
15270
 
# Is the header present?
15271
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
15272
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15273
 
cat >conftest.$ac_ext <<_ACEOF
15274
 
/* confdefs.h.  */
15275
 
_ACEOF
15276
 
cat confdefs.h >>conftest.$ac_ext
15277
 
cat >>conftest.$ac_ext <<_ACEOF
15278
 
/* end confdefs.h.  */
15279
 
#include <$ac_header>
15280
 
_ACEOF
15281
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15282
 
case "(($ac_try" in
15283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15284
 
  *) ac_try_echo=$ac_try;;
15285
 
esac
15286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15287
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15288
 
  ac_status=$?
15289
 
  grep -v '^ *+' conftest.er1 >conftest.err
15290
 
  rm -f conftest.er1
15291
 
  cat conftest.err >&5
15292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293
 
  (exit $ac_status); } >/dev/null; then
15294
 
  if test -s conftest.err; then
15295
 
    ac_cpp_err=$ac_c_preproc_warn_flag
15296
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15297
 
  else
15298
 
    ac_cpp_err=
15299
 
  fi
15300
 
else
15301
 
  ac_cpp_err=yes
15302
 
fi
15303
 
if test -z "$ac_cpp_err"; then
15304
 
  ac_header_preproc=yes
15305
 
else
15306
 
  echo "$as_me: failed program was:" >&5
15307
 
sed 's/^/| /' conftest.$ac_ext >&5
15308
 
 
15309
 
  ac_header_preproc=no
15310
 
fi
15311
 
 
15312
 
rm -f conftest.err conftest.$ac_ext
15313
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15314
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
15315
 
 
15316
 
# So?  What about this header?
15317
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15318
 
  yes:no: )
15319
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15320
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15321
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15322
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15323
 
    ac_header_preproc=yes
15324
 
    ;;
15325
 
  no:yes:* )
15326
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15327
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15328
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15329
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15330
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15331
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15332
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15333
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15334
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15335
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15336
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15337
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15338
 
    ( cat <<\_ASBOX
15339
 
## ----------------------------- ##
15340
 
## Report this to bug-m4@gnu.org ##
15341
 
## ----------------------------- ##
15342
 
_ASBOX
15343
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
15344
 
    ;;
15345
 
esac
15346
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
15347
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15348
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15350
 
else
15351
 
  eval "$as_ac_Header=\$ac_header_preproc"
15352
 
fi
15353
 
ac_res=`eval echo '${'$as_ac_Header'}'`
15354
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
15355
 
echo "${ECHO_T}$ac_res" >&6; }
15356
 
 
15357
 
fi
15358
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14345
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
14346
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
14347
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
14348
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
14349
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14350
else
 
14351
  cat >conftest.$ac_ext <<_ACEOF
 
14352
/* confdefs.h.  */
 
14353
_ACEOF
 
14354
cat confdefs.h >>conftest.$ac_ext
 
14355
cat >>conftest.$ac_ext <<_ACEOF
 
14356
/* end confdefs.h.  */
 
14357
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
14358
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14359
#define $ac_func innocuous_$ac_func
 
14360
 
 
14361
/* System header to define __stub macros and hopefully few prototypes,
 
14362
    which can conflict with char $ac_func (); below.
 
14363
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14364
    <limits.h> exists even on freestanding compilers.  */
 
14365
 
 
14366
#ifdef __STDC__
 
14367
# include <limits.h>
 
14368
#else
 
14369
# include <assert.h>
 
14370
#endif
 
14371
 
 
14372
#undef $ac_func
 
14373
 
 
14374
/* Override any GCC internal prototype to avoid an error.
 
14375
   Use char because int might match the return type of a GCC
 
14376
   builtin and then its argument prototype would still apply.  */
 
14377
#ifdef __cplusplus
 
14378
extern "C"
 
14379
#endif
 
14380
char $ac_func ();
 
14381
/* The GNU C library defines this for functions which it implements
 
14382
    to always fail with ENOSYS.  Some functions are actually named
 
14383
    something starting with __ and the normal name is an alias.  */
 
14384
#if defined __stub_$ac_func || defined __stub___$ac_func
 
14385
choke me
 
14386
#endif
 
14387
 
 
14388
int
 
14389
main ()
 
14390
{
 
14391
return $ac_func ();
 
14392
  ;
 
14393
  return 0;
 
14394
}
 
14395
_ACEOF
 
14396
rm -f conftest.$ac_objext conftest$ac_exeext
 
14397
if { (ac_try="$ac_link"
 
14398
case "(($ac_try" in
 
14399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14400
  *) ac_try_echo=$ac_try;;
 
14401
esac
 
14402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14403
  (eval "$ac_link") 2>conftest.er1
 
14404
  ac_status=$?
 
14405
  grep -v '^ *+' conftest.er1 >conftest.err
 
14406
  rm -f conftest.er1
 
14407
  cat conftest.err >&5
 
14408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14409
  (exit $ac_status); } && {
 
14410
         test -z "$ac_c_werror_flag" ||
 
14411
         test ! -s conftest.err
 
14412
       } && test -s conftest$ac_exeext &&
 
14413
       $as_test_x conftest$ac_exeext; then
 
14414
  eval "$as_ac_var=yes"
 
14415
else
 
14416
  echo "$as_me: failed program was:" >&5
 
14417
sed 's/^/| /' conftest.$ac_ext >&5
 
14418
 
 
14419
        eval "$as_ac_var=no"
 
14420
fi
 
14421
 
 
14422
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14423
      conftest$ac_exeext conftest.$ac_ext
 
14424
fi
 
14425
ac_res=`eval echo '${'$as_ac_var'}'`
 
14426
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
14427
echo "${ECHO_T}$ac_res" >&6; }
 
14428
if test `eval echo '${'$as_ac_var'}'` = yes; then
15359
14429
  cat >>confdefs.h <<_ACEOF
15360
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14430
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15361
14431
_ACEOF
15362
14432
 
15363
14433
fi
15364
 
 
15365
14434
done
15366
14435
 
15367
14436
 
15368
 
    SYS_STAT_H='sys/stat.h'
15369
 
  else
15370
 
    ABSOLUTE_SYS_STAT_H=\"no/such/file/sys/stat.h\"
15371
 
  fi
15372
 
 
15373
 
 
15374
 
 
15375
 
 
15376
 
  case " $LIBOBJS " in
15377
 
  *" tmpfile-safer.$ac_objext "* ) ;;
15378
 
  *) LIBOBJS="$LIBOBJS tmpfile-safer.$ac_objext"
15379
 
 ;;
15380
 
esac
15381
 
 
15382
 
 
15383
14437
 
15384
14438
 
15385
14439
for ac_header in unistd.h
15420
14474
  rm -f conftest.er1
15421
14475
  cat conftest.err >&5
15422
14476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423
 
  (exit $ac_status); } &&
15424
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15425
 
  { (case "(($ac_try" in
15426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427
 
  *) ac_try_echo=$ac_try;;
15428
 
esac
15429
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430
 
  (eval "$ac_try") 2>&5
15431
 
  ac_status=$?
15432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433
 
  (exit $ac_status); }; } &&
15434
 
         { ac_try='test -s conftest.$ac_objext'
15435
 
  { (case "(($ac_try" in
15436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15437
 
  *) ac_try_echo=$ac_try;;
15438
 
esac
15439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15440
 
  (eval "$ac_try") 2>&5
15441
 
  ac_status=$?
15442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443
 
  (exit $ac_status); }; }; then
 
14477
  (exit $ac_status); } && {
 
14478
         test -z "$ac_c_werror_flag" ||
 
14479
         test ! -s conftest.err
 
14480
       } && test -s conftest.$ac_objext; then
15444
14481
  ac_header_compiler=yes
15445
14482
else
15446
14483
  echo "$as_me: failed program was:" >&5
15476
14513
  rm -f conftest.er1
15477
14514
  cat conftest.err >&5
15478
14515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479
 
  (exit $ac_status); } >/dev/null; then
15480
 
  if test -s conftest.err; then
15481
 
    ac_cpp_err=$ac_c_preproc_warn_flag
15482
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15483
 
  else
15484
 
    ac_cpp_err=
15485
 
  fi
15486
 
else
15487
 
  ac_cpp_err=yes
15488
 
fi
15489
 
if test -z "$ac_cpp_err"; then
 
14516
  (exit $ac_status); } >/dev/null && {
 
14517
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
14518
         test ! -s conftest.err
 
14519
       }; then
15490
14520
  ac_header_preproc=yes
15491
14521
else
15492
14522
  echo "$as_me: failed program was:" >&5
15565
14595
 
15566
14596
 
15567
14597
 
15568
 
  case " $LIBOBJS " in
15569
 
  *" dup-safer.$ac_objext "* ) ;;
15570
 
  *) LIBOBJS="$LIBOBJS dup-safer.$ac_objext"
15571
 
 ;;
15572
 
esac
15573
 
 
15574
 
  case " $LIBOBJS " in
15575
 
  *" fd-safer.$ac_objext "* ) ;;
15576
 
  *) LIBOBJS="$LIBOBJS fd-safer.$ac_objext"
15577
 
 ;;
15578
 
esac
15579
 
 
15580
 
  case " $LIBOBJS " in
15581
 
  *" pipe-safer.$ac_objext "* ) ;;
15582
 
  *) LIBOBJS="$LIBOBJS pipe-safer.$ac_objext"
15583
 
 ;;
15584
 
esac
15585
 
 
 
14598
  M4_LIBOBJS="$M4_LIBOBJS dup-safer.$ac_objext"
 
14599
  M4_LIBOBJS="$M4_LIBOBJS fd-safer.$ac_objext"
 
14600
  M4_LIBOBJS="$M4_LIBOBJS pipe-safer.$ac_objext"
15586
14601
 
15587
14602
 
15588
14603
 
15715
14730
  rm -f conftest.er1
15716
14731
  cat conftest.err >&5
15717
14732
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718
 
  (exit $ac_status); } &&
15719
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15720
 
  { (case "(($ac_try" in
15721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722
 
  *) ac_try_echo=$ac_try;;
15723
 
esac
15724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725
 
  (eval "$ac_try") 2>&5
15726
 
  ac_status=$?
15727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728
 
  (exit $ac_status); }; } &&
15729
 
         { ac_try='test -s conftest$ac_exeext'
15730
 
  { (case "(($ac_try" in
15731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15732
 
  *) ac_try_echo=$ac_try;;
15733
 
esac
15734
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735
 
  (eval "$ac_try") 2>&5
15736
 
  ac_status=$?
15737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738
 
  (exit $ac_status); }; }; then
 
14733
  (exit $ac_status); } && {
 
14734
         test -z "$ac_c_werror_flag" ||
 
14735
         test ! -s conftest.err
 
14736
       } && test -s conftest$ac_exeext &&
 
14737
       $as_test_x conftest$ac_exeext; then
15739
14738
  eval "$as_ac_var=yes"
15740
14739
else
15741
14740
  echo "$as_me: failed program was:" >&5
15744
14743
        eval "$as_ac_var=no"
15745
14744
fi
15746
14745
 
15747
 
rm -f core conftest.err conftest.$ac_objext \
 
14746
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15748
14747
      conftest$ac_exeext conftest.$ac_ext
15749
14748
fi
15750
14749
ac_res=`eval echo '${'$as_ac_var'}'`
15756
14755
_ACEOF
15757
14756
 
15758
14757
else
15759
 
  case " $LIBOBJS " in
15760
 
  *" $ac_func.$ac_objext "* ) ;;
15761
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
15762
 
 ;;
15763
 
esac
15764
 
 
 
14758
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
15765
14759
fi
15766
14760
done
15767
14761
 
15768
 
 
15769
14762
  if test $ac_cv_func_vasnprintf = no; then
15770
 
    case " $LIBOBJS " in
15771
 
  *" printf-args.$ac_objext "* ) ;;
15772
 
  *) LIBOBJS="$LIBOBJS printf-args.$ac_objext"
15773
 
 ;;
15774
 
esac
15775
 
 
15776
 
    case " $LIBOBJS " in
15777
 
  *" printf-parse.$ac_objext "* ) ;;
15778
 
  *) LIBOBJS="$LIBOBJS printf-parse.$ac_objext"
15779
 
 ;;
15780
 
esac
15781
 
 
15782
 
    case " $LIBOBJS " in
15783
 
  *" asnprintf.$ac_objext "* ) ;;
15784
 
  *) LIBOBJS="$LIBOBJS asnprintf.$ac_objext"
15785
 
 ;;
15786
 
esac
15787
 
 
15788
 
 
 
14763
    M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext"
 
14764
    M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext"
 
14765
    M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext"
15789
14766
 
15790
14767
 
15791
14768
 
15835
14812
  rm -f conftest.er1
15836
14813
  cat conftest.err >&5
15837
14814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838
 
  (exit $ac_status); } &&
15839
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15840
 
  { (case "(($ac_try" in
15841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15842
 
  *) ac_try_echo=$ac_try;;
15843
 
esac
15844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15845
 
  (eval "$ac_try") 2>&5
15846
 
  ac_status=$?
15847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848
 
  (exit $ac_status); }; } &&
15849
 
         { ac_try='test -s conftest.$ac_objext'
15850
 
  { (case "(($ac_try" in
15851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15852
 
  *) ac_try_echo=$ac_try;;
15853
 
esac
15854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15855
 
  (eval "$ac_try") 2>&5
15856
 
  ac_status=$?
15857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858
 
  (exit $ac_status); }; }; then
 
14815
  (exit $ac_status); } && {
 
14816
         test -z "$ac_c_werror_flag" ||
 
14817
         test ! -s conftest.err
 
14818
       } && test -s conftest.$ac_objext; then
15859
14819
  ac_cv_type_ptrdiff_t=yes
15860
14820
else
15861
14821
  echo "$as_me: failed program was:" >&5
15953
14913
  rm -f conftest.er1
15954
14914
  cat conftest.err >&5
15955
14915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956
 
  (exit $ac_status); } &&
15957
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15958
 
  { (case "(($ac_try" in
15959
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960
 
  *) ac_try_echo=$ac_try;;
15961
 
esac
15962
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15963
 
  (eval "$ac_try") 2>&5
15964
 
  ac_status=$?
15965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966
 
  (exit $ac_status); }; } &&
15967
 
         { ac_try='test -s conftest$ac_exeext'
15968
 
  { (case "(($ac_try" in
15969
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15970
 
  *) ac_try_echo=$ac_try;;
15971
 
esac
15972
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15973
 
  (eval "$ac_try") 2>&5
15974
 
  ac_status=$?
15975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976
 
  (exit $ac_status); }; }; then
 
14916
  (exit $ac_status); } && {
 
14917
         test -z "$ac_c_werror_flag" ||
 
14918
         test ! -s conftest.err
 
14919
       } && test -s conftest$ac_exeext &&
 
14920
       $as_test_x conftest$ac_exeext; then
15977
14921
  eval "$as_ac_var=yes"
15978
14922
else
15979
14923
  echo "$as_me: failed program was:" >&5
15982
14926
        eval "$as_ac_var=no"
15983
14927
fi
15984
14928
 
15985
 
rm -f core conftest.err conftest.$ac_objext \
 
14929
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15986
14930
      conftest$ac_exeext conftest.$ac_ext
15987
14931
fi
15988
14932
ac_res=`eval echo '${'$as_ac_var'}'`
16069
15013
  rm -f conftest.er1
16070
15014
  cat conftest.err >&5
16071
15015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072
 
  (exit $ac_status); } &&
16073
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16074
 
  { (case "(($ac_try" in
16075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16076
 
  *) ac_try_echo=$ac_try;;
16077
 
esac
16078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16079
 
  (eval "$ac_try") 2>&5
16080
 
  ac_status=$?
16081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082
 
  (exit $ac_status); }; } &&
16083
 
         { ac_try='test -s conftest$ac_exeext'
16084
 
  { (case "(($ac_try" in
16085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086
 
  *) ac_try_echo=$ac_try;;
16087
 
esac
16088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089
 
  (eval "$ac_try") 2>&5
16090
 
  ac_status=$?
16091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092
 
  (exit $ac_status); }; }; then
 
15016
  (exit $ac_status); } && {
 
15017
         test -z "$ac_c_werror_flag" ||
 
15018
         test ! -s conftest.err
 
15019
       } && test -s conftest$ac_exeext &&
 
15020
       $as_test_x conftest$ac_exeext; then
16093
15021
  eval "$as_ac_var=yes"
16094
15022
else
16095
15023
  echo "$as_me: failed program was:" >&5
16098
15026
        eval "$as_ac_var=no"
16099
15027
fi
16100
15028
 
16101
 
rm -f core conftest.err conftest.$ac_objext \
 
15029
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16102
15030
      conftest$ac_exeext conftest.$ac_ext
16103
15031
fi
16104
15032
ac_res=`eval echo '${'$as_ac_var'}'`
16110
15038
_ACEOF
16111
15039
 
16112
15040
else
16113
 
  case " $LIBOBJS " in
16114
 
  *" $ac_func.$ac_objext "* ) ;;
16115
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
16116
 
 ;;
16117
 
esac
16118
 
 
 
15041
  M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
16119
15042
fi
16120
15043
done
16121
15044
 
16122
 
 
16123
15045
  if test $ac_cv_func_vasprintf = no; then
16124
 
    case " $LIBOBJS " in
16125
 
  *" asprintf.$ac_objext "* ) ;;
16126
 
  *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
16127
 
 ;;
16128
 
esac
16129
 
 
 
15046
    M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext"
16130
15047
 
16131
15048
 
16132
15049
 
16159
15076
 
16160
15077
 
16161
15078
 
 
15079
 
16162
15080
  { echo "$as_me:$LINENO: checking whether wcwidth is declared" >&5
16163
15081
echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6; }
16164
15082
if test "${ac_cv_have_decl_wcwidth+set}" = set; then
16188
15106
main ()
16189
15107
{
16190
15108
#ifndef wcwidth
16191
 
  char *p = (char *) wcwidth;
16192
 
  return !p;
 
15109
  (void) wcwidth;
16193
15110
#endif
16194
15111
 
16195
15112
  ;
16209
15126
  rm -f conftest.er1
16210
15127
  cat conftest.err >&5
16211
15128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212
 
  (exit $ac_status); } &&
16213
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16214
 
  { (case "(($ac_try" in
16215
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216
 
  *) ac_try_echo=$ac_try;;
16217
 
esac
16218
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16219
 
  (eval "$ac_try") 2>&5
16220
 
  ac_status=$?
16221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222
 
  (exit $ac_status); }; } &&
16223
 
         { ac_try='test -s conftest.$ac_objext'
16224
 
  { (case "(($ac_try" in
16225
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16226
 
  *) ac_try_echo=$ac_try;;
16227
 
esac
16228
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16229
 
  (eval "$ac_try") 2>&5
16230
 
  ac_status=$?
16231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232
 
  (exit $ac_status); }; }; then
 
15129
  (exit $ac_status); } && {
 
15130
         test -z "$ac_c_werror_flag" ||
 
15131
         test ! -s conftest.err
 
15132
       } && test -s conftest.$ac_objext; then
16233
15133
  ac_cv_have_decl_wcwidth=yes
16234
15134
else
16235
15135
  echo "$as_me: failed program was:" >&5
16259
15159
 
16260
15160
 
16261
15161
 
16262
 
  case " $LIBOBJS " in
16263
 
  *" xmalloc.$ac_objext "* ) ;;
16264
 
  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
16265
 
 ;;
16266
 
esac
 
15162
  M4_LIBOBJS="$M4_LIBOBJS xmalloc.$ac_objext"
16267
15163
 
16268
15164
 
16269
15165
 
16270
15166
  :
16271
 
 
16272
15167
 
16273
15168
 
16274
15169
  :
16316
15211
  rm -f conftest.er1
16317
15212
  cat conftest.err >&5
16318
15213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319
 
  (exit $ac_status); } &&
16320
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16321
 
  { (case "(($ac_try" in
16322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16323
 
  *) ac_try_echo=$ac_try;;
16324
 
esac
16325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16326
 
  (eval "$ac_try") 2>&5
16327
 
  ac_status=$?
16328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329
 
  (exit $ac_status); }; } &&
16330
 
         { ac_try='test -s conftest.$ac_objext'
16331
 
  { (case "(($ac_try" in
16332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16333
 
  *) ac_try_echo=$ac_try;;
16334
 
esac
16335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16336
 
  (eval "$ac_try") 2>&5
16337
 
  ac_status=$?
16338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339
 
  (exit $ac_status); }; }; then
 
15214
  (exit $ac_status); } && {
 
15215
         test -z "$ac_c_werror_flag" ||
 
15216
         test ! -s conftest.err
 
15217
       } && test -s conftest.$ac_objext; then
16340
15218
  ac_header_compiler=yes
16341
15219
else
16342
15220
  echo "$as_me: failed program was:" >&5
16372
15250
  rm -f conftest.er1
16373
15251
  cat conftest.err >&5
16374
15252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375
 
  (exit $ac_status); } >/dev/null; then
16376
 
  if test -s conftest.err; then
16377
 
    ac_cpp_err=$ac_c_preproc_warn_flag
16378
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16379
 
  else
16380
 
    ac_cpp_err=
16381
 
  fi
16382
 
else
16383
 
  ac_cpp_err=yes
16384
 
fi
16385
 
if test -z "$ac_cpp_err"; then
 
15253
  (exit $ac_status); } >/dev/null && {
 
15254
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15255
         test ! -s conftest.err
 
15256
       }; then
16386
15257
  ac_header_preproc=yes
16387
15258
else
16388
15259
  echo "$as_me: failed program was:" >&5
16456
15327
 
16457
15328
 
16458
15329
 
 
15330
 
 
15331
 
 
15332
 
 
15333
 
16459
15334
# Code from Jim Avera <jima@netcom.com>.
16460
15335
# stackovf.c requires:
16461
15336
#  1. Either sigaction with SA_ONSTACK, or sigvec with SV_ONSTACK
16506
15381
  rm -f conftest.er1
16507
15382
  cat conftest.err >&5
16508
15383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509
 
  (exit $ac_status); } &&
16510
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16511
 
  { (case "(($ac_try" in
16512
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16513
 
  *) ac_try_echo=$ac_try;;
16514
 
esac
16515
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16516
 
  (eval "$ac_try") 2>&5
16517
 
  ac_status=$?
16518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519
 
  (exit $ac_status); }; } &&
16520
 
         { ac_try='test -s conftest$ac_exeext'
16521
 
  { (case "(($ac_try" in
16522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16523
 
  *) ac_try_echo=$ac_try;;
16524
 
esac
16525
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526
 
  (eval "$ac_try") 2>&5
16527
 
  ac_status=$?
16528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529
 
  (exit $ac_status); }; }; then
 
15384
  (exit $ac_status); } && {
 
15385
         test -z "$ac_c_werror_flag" ||
 
15386
         test ! -s conftest.err
 
15387
       } && test -s conftest$ac_exeext &&
 
15388
       $as_test_x conftest$ac_exeext; then
16530
15389
  M4_cv_use_stackovf=yes
16531
15390
else
16532
15391
  echo "$as_me: failed program was:" >&5
16535
15394
 
16536
15395
fi
16537
15396
 
16538
 
rm -f core conftest.err conftest.$ac_objext \
 
15397
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16539
15398
      conftest$ac_exeext conftest.$ac_ext
16540
15399
  fi
16541
15400
fi
16542
15401
fi
16543
15402
{ echo "$as_me:$LINENO: result: $M4_cv_use_stackovf" >&5
16544
15403
echo "${ECHO_T}$M4_cv_use_stackovf" >&6; }
16545
 
 
16546
 
 
16547
 
if test "$M4_cv_use_stackovf" = yes; then
 
15404
 if test "$M4_cv_use_stackovf" = yes; then
16548
15405
  STACKOVF_TRUE=
16549
15406
  STACKOVF_FALSE='#'
16550
15407
else
16597
15454
  rm -f conftest.er1
16598
15455
  cat conftest.err >&5
16599
15456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600
 
  (exit $ac_status); } &&
16601
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16602
 
  { (case "(($ac_try" in
16603
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16604
 
  *) ac_try_echo=$ac_try;;
16605
 
esac
16606
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16607
 
  (eval "$ac_try") 2>&5
16608
 
  ac_status=$?
16609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610
 
  (exit $ac_status); }; } &&
16611
 
         { ac_try='test -s conftest.$ac_objext'
16612
 
  { (case "(($ac_try" in
16613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614
 
  *) ac_try_echo=$ac_try;;
16615
 
esac
16616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617
 
  (eval "$ac_try") 2>&5
16618
 
  ac_status=$?
16619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620
 
  (exit $ac_status); }; }; then
 
15457
  (exit $ac_status); } && {
 
15458
         test -z "$ac_c_werror_flag" ||
 
15459
         test ! -s conftest.err
 
15460
       } && test -s conftest.$ac_objext; then
16621
15461
  ac_cv_type_rlim_t=yes
16622
15462
else
16623
15463
  echo "$as_me: failed program was:" >&5
16684
15524
  rm -f conftest.er1
16685
15525
  cat conftest.err >&5
16686
15526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687
 
  (exit $ac_status); } &&
16688
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16689
 
  { (case "(($ac_try" in
16690
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16691
 
  *) ac_try_echo=$ac_try;;
16692
 
esac
16693
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16694
 
  (eval "$ac_try") 2>&5
16695
 
  ac_status=$?
16696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697
 
  (exit $ac_status); }; } &&
16698
 
         { ac_try='test -s conftest.$ac_objext'
16699
 
  { (case "(($ac_try" in
16700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16701
 
  *) ac_try_echo=$ac_try;;
16702
 
esac
16703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16704
 
  (eval "$ac_try") 2>&5
16705
 
  ac_status=$?
16706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707
 
  (exit $ac_status); }; }; then
 
15527
  (exit $ac_status); } && {
 
15528
         test -z "$ac_c_werror_flag" ||
 
15529
         test ! -s conftest.err
 
15530
       } && test -s conftest.$ac_objext; then
16708
15531
  ac_cv_type_stack_t=yes
16709
15532
else
16710
15533
  echo "$as_me: failed program was:" >&5
16771
15594
  rm -f conftest.er1
16772
15595
  cat conftest.err >&5
16773
15596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774
 
  (exit $ac_status); } &&
16775
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16776
 
  { (case "(($ac_try" in
16777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16778
 
  *) ac_try_echo=$ac_try;;
16779
 
esac
16780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16781
 
  (eval "$ac_try") 2>&5
16782
 
  ac_status=$?
16783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784
 
  (exit $ac_status); }; } &&
16785
 
         { ac_try='test -s conftest.$ac_objext'
16786
 
  { (case "(($ac_try" in
16787
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16788
 
  *) ac_try_echo=$ac_try;;
16789
 
esac
16790
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16791
 
  (eval "$ac_try") 2>&5
16792
 
  ac_status=$?
16793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794
 
  (exit $ac_status); }; }; then
 
15597
  (exit $ac_status); } && {
 
15598
         test -z "$ac_c_werror_flag" ||
 
15599
         test ! -s conftest.err
 
15600
       } && test -s conftest.$ac_objext; then
16795
15601
  ac_cv_type_sigcontext=yes
16796
15602
else
16797
15603
  echo "$as_me: failed program was:" >&5
16846
15652
  rm -f conftest.er1
16847
15653
  cat conftest.err >&5
16848
15654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849
 
  (exit $ac_status); } &&
16850
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16851
 
  { (case "(($ac_try" in
16852
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853
 
  *) ac_try_echo=$ac_try;;
16854
 
esac
16855
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856
 
  (eval "$ac_try") 2>&5
16857
 
  ac_status=$?
16858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859
 
  (exit $ac_status); }; } &&
16860
 
         { ac_try='test -s conftest.$ac_objext'
16861
 
  { (case "(($ac_try" in
16862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863
 
  *) ac_try_echo=$ac_try;;
16864
 
esac
16865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16866
 
  (eval "$ac_try") 2>&5
16867
 
  ac_status=$?
16868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869
 
  (exit $ac_status); }; }; then
 
15655
  (exit $ac_status); } && {
 
15656
         test -z "$ac_c_werror_flag" ||
 
15657
         test ! -s conftest.err
 
15658
       } && test -s conftest.$ac_objext; then
16870
15659
  M4_cv_func_system_consistent=yes
16871
15660
else
16872
15661
  echo "$as_me: failed program was:" >&5
17120
15909
Usually this means the macro was only invoked conditionally." >&2;}
17121
15910
   { (exit 1); exit 1; }; }
17122
15911
fi
 
15912
test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=
 
15913
 
 
15914
    M4_libobjs=
 
15915
    M4_ltlibobjs=
 
15916
    if test -n "$M4_LIBOBJS"; then
 
15917
      # Remove the extension.
 
15918
      sed_drop_objext='s/\.o$//;s/\.obj$//'
 
15919
      for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
 
15920
        M4_libobjs="$M4_libobjs $i.$ac_objext"
 
15921
        M4_ltlibobjs="$M4_ltlibobjs $i.lo"
 
15922
      done
 
15923
    fi
 
15924
    M4_LIBOBJS=$M4_libobjs
 
15925
 
 
15926
    M4_LTLIBOBJS=$M4_ltlibobjs
 
15927
 
 
15928
 
17123
15929
if test -z "${STACKOVF_TRUE}" && test -z "${STACKOVF_FALSE}"; then
17124
15930
  { { echo "$as_me:$LINENO: error: conditional \"STACKOVF\" was never defined.
17125
15931
Usually this means the macro was only invoked conditionally." >&5
17151
15957
## M4sh Initialization.  ##
17152
15958
## --------------------- ##
17153
15959
 
17154
 
# Be Bourne compatible
 
15960
# Be more Bourne compatible
 
15961
DUALCASE=1; export DUALCASE # for MKS sh
17155
15962
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17156
15963
  emulate sh
17157
15964
  NULLCMD=:
17160
15967
  alias -g '${1+"$@"}'='"$@"'
17161
15968
  setopt NO_GLOB_SUBST
17162
15969
else
17163
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
15970
  case `(set -o) 2>/dev/null` in
 
15971
  *posix*) set -o posix ;;
 
15972
esac
 
15973
 
17164
15974
fi
17165
 
BIN_SH=xpg4; export BIN_SH # for Tru64
17166
 
DUALCASE=1; export DUALCASE # for MKS sh
 
15975
 
 
15976
 
17167
15977
 
17168
15978
 
17169
15979
# PATH needs CR
17387
16197
  as_mkdir_p=false
17388
16198
fi
17389
16199
 
17390
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
17391
 
# systems may use methods other than mode bits to determine executability.
17392
 
cat >conf$$.file <<_ASEOF
17393
 
#! /bin/sh
17394
 
exit 0
17395
 
_ASEOF
17396
 
chmod +x conf$$.file
17397
 
if test -x conf$$.file >/dev/null 2>&1; then
17398
 
  as_executable_p="test -x"
 
16200
if test -x / >/dev/null 2>&1; then
 
16201
  as_test_x='test -x'
17399
16202
else
17400
 
  as_executable_p=:
 
16203
  if ls -dL / >/dev/null 2>&1; then
 
16204
    as_ls_L_option=L
 
16205
  else
 
16206
    as_ls_L_option=
 
16207
  fi
 
16208
  as_test_x='
 
16209
    eval sh -c '\''
 
16210
      if test -d "$1"; then
 
16211
        test -d "$1/.";
 
16212
      else
 
16213
        case $1 in
 
16214
        -*)set "./$1";;
 
16215
        esac;
 
16216
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
16217
        ???[sx]*):;;*)false;;esac;fi
 
16218
    '\'' sh
 
16219
  '
17401
16220
fi
17402
 
rm -f conf$$.file
 
16221
as_executable_p=$as_test_x
17403
16222
 
17404
16223
# Sed expression to map a string onto a valid CPP name.
17405
16224
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17414
16233
# report actual input values of CONFIG_FILES etc. instead of their
17415
16234
# values after options handling.
17416
16235
ac_log="
17417
 
This file was extended by GNU M4 $as_me 1.4.7, which was
17418
 
generated by GNU Autoconf 2.60.  Invocation command line was
 
16236
This file was extended by GNU M4 $as_me 1.4.8, which was
 
16237
generated by GNU Autoconf 2.61.  Invocation command line was
17419
16238
 
17420
16239
  CONFIG_FILES    = $CONFIG_FILES
17421
16240
  CONFIG_HEADERS  = $CONFIG_HEADERS
17444
16263
Usage: $0 [OPTIONS] [FILE]...
17445
16264
 
17446
16265
  -h, --help       print this help, then exit
17447
 
  -V, --version    print version number, then exit
 
16266
  -V, --version    print version number and configuration settings, then exit
17448
16267
  -q, --quiet      do not print progress messages
17449
16268
  -d, --debug      don't remove temporary files
17450
16269
      --recheck    update $as_me by reconfiguring in the same conditions
17467
16286
_ACEOF
17468
16287
cat >>$CONFIG_STATUS <<_ACEOF
17469
16288
ac_cs_version="\\
17470
 
GNU M4 config.status 1.4.7
17471
 
configured by $0, generated by GNU Autoconf 2.60,
 
16289
GNU M4 config.status 1.4.8
 
16290
configured by $0, generated by GNU Autoconf 2.61,
17472
16291
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17473
16292
 
17474
16293
Copyright (C) 2006 Free Software Foundation, Inc.
17478
16297
ac_pwd='$ac_pwd'
17479
16298
srcdir='$srcdir'
17480
16299
INSTALL='$INSTALL'
 
16300
MKDIR_P='$MKDIR_P'
17481
16301
_ACEOF
17482
16302
 
17483
16303
cat >>$CONFIG_STATUS <<\_ACEOF
17580
16400
for ac_config_target in $ac_config_targets
17581
16401
do
17582
16402
  case $ac_config_target in
17583
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
 
16403
    "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;;
17584
16404
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17585
16405
    "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
17586
16406
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17691
16511
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
17692
16512
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
17693
16513
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
16514
am__isrc!$am__isrc$ac_delim
17694
16515
CYGPATH_W!$CYGPATH_W$ac_delim
17695
16516
PACKAGE!$PACKAGE$ac_delim
17696
16517
VERSION!$VERSION$ac_delim
17741
16562
GL_COND_LIBTOOL_FALSE!$GL_COND_LIBTOOL_FALSE$ac_delim
17742
16563
ALLOCA!$ALLOCA$ac_delim
17743
16564
ALLOCA_H!$ALLOCA_H$ac_delim
17744
 
LIBOBJS!$LIBOBJS$ac_delim
17745
16565
GETOPT_H!$GETOPT_H$ac_delim
17746
16566
STDBOOL_H!$STDBOOL_H$ac_delim
17747
16567
HAVE__BOOL!$HAVE__BOOL$ac_delim
17748
16568
HAVE_LONG_LONG_INT!$HAVE_LONG_LONG_INT$ac_delim
 
16569
HAVE_UNSIGNED_LONG_LONG_INT!$HAVE_UNSIGNED_LONG_LONG_INT$ac_delim
17749
16570
HAVE_WCHAR_H!$HAVE_WCHAR_H$ac_delim
17750
 
HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim
17751
16571
_ACEOF
17752
16572
 
17753
16573
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17789
16609
ac_delim='%!_!# '
17790
16610
for ac_last_try in false false false false false :; do
17791
16611
  cat >conf$$subs.sed <<_ACEOF
 
16612
HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim
17792
16613
HAVE_SYS_TYPES_H!$HAVE_SYS_TYPES_H$ac_delim
17793
16614
ABSOLUTE_STDINT_H!$ABSOLUTE_STDINT_H$ac_delim
17794
16615
HAVE_STDINT_H!$HAVE_STDINT_H$ac_delim
17816
16637
LIBM4_LTLIBDEPS!$LIBM4_LTLIBDEPS$ac_delim
17817
16638
STACKOVF_TRUE!$STACKOVF_TRUE$ac_delim
17818
16639
STACKOVF_FALSE!$STACKOVF_FALSE$ac_delim
 
16640
LIBOBJS!$LIBOBJS$ac_delim
17819
16641
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
16642
M4_LIBOBJS!$M4_LIBOBJS$ac_delim
 
16643
M4_LTLIBOBJS!$M4_LTLIBOBJS$ac_delim
17820
16644
_ACEOF
17821
16645
 
17822
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then
 
16646
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
17823
16647
    break
17824
16648
  elif $ac_last_try; then
17825
16649
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18046
16870
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18047
16871
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18048
16872
  esac
 
16873
  ac_MKDIR_P=$MKDIR_P
 
16874
  case $MKDIR_P in
 
16875
  [\\/$]* | ?:[\\/]* ) ;;
 
16876
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16877
  esac
18049
16878
_ACEOF
18050
16879
 
18051
16880
cat >>$CONFIG_STATUS <<\_ACEOF
18099
16928
s&@abs_builddir@&$ac_abs_builddir&;t t
18100
16929
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18101
16930
s&@INSTALL@&$ac_INSTALL&;t t
 
16931
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18102
16932
$ac_datarootdir_hack
18103
16933
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
18104
16934
 
18263
17093
  # some people rename them; so instead we look at the file content.
18264
17094
  # Grep'ing the first line is not enough: some people post-process
18265
17095
  # each Makefile.in and add a new line on top of each file to say so.
18266
 
  # So let's grep whole file.
18267
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
17096
  # Grep'ing the whole file is not good either: AIX grep has a line
 
17097
  # limit of 2048, but all sed's we know have understand at least 4000.
 
17098
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
18268
17099
    dirpart=`$as_dirname -- "$mf" ||
18269
17100
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18270
17101
         X"$mf" : 'X\(//\)[^/]' \| \