1975
2003
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
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
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
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
1999
for d in ./-p ./--version;
2001
test -d $d && rmdir $d
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
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
2034
if test "${ac_cv_path_mkdir+set}" = set; then
2035
MKDIR_P="$ac_cv_path_mkdir -p"
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"
2045
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2046
echo "${ECHO_T}$MKDIR_P" >&6; }
2050
[\\/$]* | ?:[\\/]*) ;;
2051
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2011
2054
for ac_prog in gawk mawk nawk awk
5433
for ac_header in stdlib.h
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
5442
ac_res=`eval echo '${'$as_ac_Header'}'`
5443
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5444
echo "${ECHO_T}$ac_res" >&6; }
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
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>
5458
rm -f conftest.$ac_objext
5459
if { (ac_try="$ac_compile"
5461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5462
*) ac_try_echo=$ac_try;;
5464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5465
(eval "$ac_compile") 2>conftest.er1
5467
grep -v '^ *+' conftest.er1 >conftest.err
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
5477
echo "$as_me: failed program was:" >&5
5478
sed 's/^/| /' conftest.$ac_ext >&5
5480
ac_header_compiler=no
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; }
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
5493
cat confdefs.h >>conftest.$ac_ext
5494
cat >>conftest.$ac_ext <<_ACEOF
5495
/* end confdefs.h. */
5496
#include <$ac_header>
5498
if { (ac_try="$ac_cpp conftest.$ac_ext"
5500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5501
*) ac_try_echo=$ac_try;;
5503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5506
grep -v '^ *+' conftest.er1 >conftest.err
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
5514
ac_header_preproc=yes
5516
echo "$as_me: failed program was:" >&5
5517
sed 's/^/| /' conftest.$ac_ext >&5
5519
ac_header_preproc=no
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; }
5526
# So? What about this header?
5527
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
5549
## ----------------------------- ##
5550
## Report this to bug-m4@gnu.org ##
5551
## ----------------------------- ##
5553
) | sed "s/^/$as_me: WARNING: /" >&2
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
5561
eval "$as_ac_Header=\$ac_header_preproc"
5563
ac_res=`eval echo '${'$as_ac_Header'}'`
5564
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5565
echo "${ECHO_T}$ac_res" >&6; }
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
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
5582
if test "$cross_compiling" = yes; then
5583
ac_cv_func_malloc_0_nonnull=no
5585
cat >conftest.$ac_ext <<_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>
5600
return ! malloc (0);
5605
rm -f conftest$ac_exeext
5606
if { (ac_try="$ac_link"
5608
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5609
*) ac_try_echo=$ac_try;;
5611
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5612
(eval "$ac_link") 2>&5
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;;
5620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5621
(eval "$ac_try") 2>&5
5623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624
(exit $ac_status); }; }; then
5625
ac_cv_func_malloc_0_nonnull=yes
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
5632
ac_cv_func_malloc_0_nonnull=no
5634
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
5644
gl_cv_func_malloc_0_nonnull=0
5649
cat >>confdefs.h <<_ACEOF
5650
#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
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
5660
cat >conftest.$ac_ext <<_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)
5675
long long int llmax = 9223372036854775807ll;
5676
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
5677
| (llmax / ll) | (llmax % ll));
5682
rm -f conftest.$ac_objext conftest$ac_exeext
5683
if { (ac_try="$ac_link"
5685
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686
*) ac_try_echo=$ac_try;;
5688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689
(eval "$ac_link") 2>conftest.er1
5691
grep -v '^ *+' conftest.er1 >conftest.err
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
5703
cat >conftest.$ac_ext <<_ACEOF
5706
cat confdefs.h >>conftest.$ac_ext
5707
cat >>conftest.$ac_ext <<_ACEOF
5708
/* end confdefs.h. */
5712
(1LL << (sizeof (long long int) * CHAR_BIT - 2))
5713
# define LLONG_MAX (HALF - 1 + HALF)
5718
long long int n = 1;
5722
long long int m = n << i;
5725
if (LLONG_MAX / 2 < m)
5733
rm -f conftest$ac_exeext
5734
if { (ac_try="$ac_link"
5736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737
*) ac_try_echo=$ac_try;;
5739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740
(eval "$ac_link") 2>&5
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;;
5748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5749
(eval "$ac_try") 2>&5
5751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752
(exit $ac_status); }; }; then
5753
ac_cv_type_long_long_int=yes
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
5760
ac_cv_type_long_long_int=no
5762
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5767
echo "$as_me: failed program was:" >&5
5768
sed 's/^/| /' conftest.$ac_ext >&5
5770
ac_cv_type_long_long_int=no
5773
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5774
conftest$ac_exeext conftest.$ac_ext
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
5780
cat >>confdefs.h <<\_ACEOF
5781
#define HAVE_LONG_LONG_INT 1
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
5792
if test "$GCC" = yes; then
5793
gt_cv_c_long_double=yes
5795
cat >conftest.$ac_ext <<_ACEOF
5798
cat confdefs.h >>conftest.$ac_ext
5799
cat >>conftest.$ac_ext <<_ACEOF
5800
/* end confdefs.h. */
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];
5815
rm -f conftest.$ac_objext
5816
if { (ac_try="$ac_compile"
5818
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819
*) ac_try_echo=$ac_try;;
5821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822
(eval "$ac_compile") 2>conftest.er1
5824
grep -v '^ *+' conftest.er1 >conftest.err
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
5834
echo "$as_me: failed program was:" >&5
5835
sed 's/^/| /' conftest.$ac_ext >&5
5837
gt_cv_c_long_double=no
5840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
5847
cat >>confdefs.h <<\_ACEOF
5848
#define HAVE_LONG_DOUBLE 1
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
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
9549
cat >conftest.$ac_ext <<_ACEOF
9552
cat confdefs.h >>conftest.$ac_ext
9553
cat >>conftest.$ac_ext <<_ACEOF
9554
/* end confdefs.h. */
9559
signed char x; return !x;
9564
rm -f conftest.$ac_objext
9565
if { (ac_try="$ac_compile"
9567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9568
*) ac_try_echo=$ac_try;;
9570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571
(eval "$ac_compile") 2>conftest.er1
9573
grep -v '^ *+' conftest.er1 >conftest.err
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;;
9583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9584
(eval "$ac_try") 2>&5
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;;
9593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594
(eval "$ac_try") 2>&5
9596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597
(exit $ac_status); }; }; then
9600
echo "$as_me: failed program was:" >&5
9601
sed 's/^/| /' conftest.$ac_ext >&5
9606
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
9612
cat >>confdefs.h <<\_ACEOF
9620
ac_cv_type_long_long=$ac_cv_type_long_long_int
9621
if test $ac_cv_type_long_long = yes; then
9623
cat >>confdefs.h <<\_ACEOF
9624
#define HAVE_LONG_LONG 1
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
9635
if test "$GCC" = yes; then
9636
gt_cv_c_long_double=yes
9638
cat >conftest.$ac_ext <<_ACEOF
9641
cat confdefs.h >>conftest.$ac_ext
9642
cat >>conftest.$ac_ext <<_ACEOF
9643
/* end confdefs.h. */
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];
9658
rm -f conftest.$ac_objext
9659
if { (ac_try="$ac_compile"
9661
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9662
*) ac_try_echo=$ac_try;;
9664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9665
(eval "$ac_compile") 2>conftest.er1
9667
grep -v '^ *+' conftest.er1 >conftest.err
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;;
9677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9678
(eval "$ac_try") 2>&5
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;;
9687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9688
(eval "$ac_try") 2>&5
9690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691
(exit $ac_status); }; }; then
9692
gt_cv_c_long_double=yes
9694
echo "$as_me: failed program was:" >&5
9695
sed 's/^/| /' conftest.$ac_ext >&5
9697
gt_cv_c_long_double=no
9700
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
9707
cat >>confdefs.h <<\_ACEOF
9708
#define HAVE_LONG_DOUBLE 1
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
10280
case " $LIBOBJS " in
10281
*" exitfail.$ac_objext "* ) ;;
10282
*) LIBOBJS="$LIBOBJS exitfail.$ac_objext"
9551
M4_LIBOBJS="$M4_LIBOBJS exitfail.$ac_objext"
10290
case " $LIBOBJS " in
10291
*" fopen-safer.$ac_objext "* ) ;;
10292
*) LIBOBJS="$LIBOBJS fopen-safer.$ac_objext"
10299
for ac_header in stdio_ext.h
9570
for ac_func in sigaction
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
10308
ac_res=`eval echo '${'$as_ac_Header'}'`
10309
{ echo "$as_me:$LINENO: result: $ac_res" >&5
10310
echo "${ECHO_T}$ac_res" >&6; }
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
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>
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;;
10330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10331
(eval "$ac_compile") 2>conftest.er1
10333
grep -v '^ *+' conftest.er1 >conftest.err
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;;
10343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10344
(eval "$ac_try") 2>&5
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;;
10353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354
(eval "$ac_try") 2>&5
10356
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357
(exit $ac_status); }; }; then
10358
ac_header_compiler=yes
10360
echo "$as_me: failed program was:" >&5
10361
sed 's/^/| /' conftest.$ac_ext >&5
10363
ac_header_compiler=no
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; }
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
10376
cat confdefs.h >>conftest.$ac_ext
10377
cat >>conftest.$ac_ext <<_ACEOF
10378
/* end confdefs.h. */
10379
#include <$ac_header>
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;;
10386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10387
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10389
grep -v '^ *+' conftest.er1 >conftest.err
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
10403
if test -z "$ac_cpp_err"; then
10404
ac_header_preproc=yes
10406
echo "$as_me: failed program was:" >&5
10407
sed 's/^/| /' conftest.$ac_ext >&5
10409
ac_header_preproc=no
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; }
10416
# So? What about this header?
10417
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
10439
## ----------------------------- ##
10440
## Report this to bug-m4@gnu.org ##
10441
## ----------------------------- ##
10443
) | sed "s/^/$as_me: WARNING: /" >&2
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
10451
eval "$as_ac_Header=\$ac_header_preproc"
10453
ac_res=`eval echo '${'$as_ac_Header'}'`
10454
{ echo "$as_me:$LINENO: result: $ac_res" >&5
10455
echo "${ECHO_T}$ac_res" >&6; }
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
9578
cat >conftest.$ac_ext <<_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
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. */
9594
# include <limits.h>
9596
# include <assert.h>
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. */
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
9623
rm -f conftest.$ac_objext conftest$ac_exeext
9624
if { (ac_try="$ac_link"
9626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9627
*) ac_try_echo=$ac_try;;
9629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630
(eval "$ac_link") 2>conftest.er1
9632
grep -v '^ *+' conftest.er1 >conftest.err
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"
9643
echo "$as_me: failed program was:" >&5
9644
sed 's/^/| /' conftest.$ac_ext >&5
9646
eval "$as_ac_var=no"
9649
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9650
conftest$ac_exeext conftest.$ac_ext
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
9665
M4_LIBOBJS="$M4_LIBOBJS fopen-safer.$ac_objext"
9667
cat >>confdefs.h <<\_ACEOF
9668
#define GNULIB_FOPEN_SAFER 1
10468
9680
for ac_func in __fpending
10470
9682
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10700
for ac_func in mkdtemp
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
10708
cat >conftest.$ac_ext <<_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
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. */
10724
# include <limits.h>
10726
# include <assert.h>
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. */
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
10748
return $ac_func ();
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;;
10759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10760
(eval "$ac_link") 2>conftest.er1
10762
grep -v '^ *+' conftest.er1 >conftest.err
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"
10773
echo "$as_me: failed program was:" >&5
10774
sed 's/^/| /' conftest.$ac_ext >&5
10776
eval "$as_ac_var=no"
10779
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10780
conftest$ac_exeext conftest.$ac_ext
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
10791
M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
10795
if test $ac_cv_func_mkdtemp = no; then
11605
10803
{ echo "$as_me:$LINENO: checking for working mkstemp" >&5
11606
10804
echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6; }
11685
10883
#define __MKSTEMP_PREFIX rpl_
11688
case " $LIBOBJS " in
11689
*" mkstemp.$ac_objext "* ) ;;
11690
*) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
11694
case " $LIBOBJS " in
11695
*" tempname.$ac_objext "* ) ;;
11696
*) LIBOBJS="$LIBOBJS tempname.$ac_objext"
11711
for ac_func in __secure_getenv gettimeofday
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
11719
cat >conftest.$ac_ext <<_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
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. */
11735
# include <limits.h>
11737
# include <assert.h>
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. */
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
11759
return $ac_func ();
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;;
11770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11771
(eval "$ac_link") 2>conftest.er1
11773
grep -v '^ *+' conftest.er1 >conftest.err
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;;
11783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784
(eval "$ac_try") 2>&5
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;;
11793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11794
(eval "$ac_try") 2>&5
11796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797
(exit $ac_status); }; }; then
11798
eval "$as_ac_var=yes"
11800
echo "$as_me: failed program was:" >&5
11801
sed 's/^/| /' conftest.$ac_ext >&5
11803
eval "$as_ac_var=no"
11806
rm -f core conftest.err conftest.$ac_objext \
11807
conftest$ac_exeext conftest.$ac_ext
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
10886
M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext"
11897
case " $LIBOBJS " in
11898
*" obstack.$ac_objext "* ) ;;
11899
*) LIBOBJS="$LIBOBJS obstack.$ac_objext"
10954
M4_LIBOBJS="$M4_LIBOBJS obstack.$ac_objext"
10969
M4_LIBOBJS="$M4_LIBOBJS quotearg.$ac_objext"
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
10992
cat >conftest.$ac_ext <<_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>
11003
mbstate_t x; return sizeof x;
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;;
11014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11015
(eval "$ac_compile") 2>conftest.er1
11017
grep -v '^ *+' conftest.er1 >conftest.err
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
11027
echo "$as_me: failed program was:" >&5
11028
sed 's/^/| /' conftest.$ac_ext >&5
11030
ac_cv_type_mbstate_t=no
11033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
11039
cat >>confdefs.h <<\_ACEOF
11040
#define HAVE_MBSTATE_T 1
11045
cat >>confdefs.h <<\_ACEOF
11046
#define mbstate_t int
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
11056
cat >conftest.$ac_ext <<_ACEOF
11059
cat confdefs.h >>conftest.$ac_ext
11060
cat >>conftest.$ac_ext <<_ACEOF
11061
/* end confdefs.h. */
11067
char const s[] = "";
11070
return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
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;;
11081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11082
(eval "$ac_link") 2>conftest.er1
11084
grep -v '^ *+' conftest.er1 >conftest.err
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
11095
echo "$as_me: failed program was:" >&5
11096
sed 's/^/| /' conftest.$ac_ext >&5
11098
gl_cv_func_mbrtowc=no
11101
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11102
conftest$ac_exeext conftest.$ac_ext
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
11108
cat >>confdefs.h <<\_ACEOF
11109
#define HAVE_MBRTOWC 1
11488
cat >conftest.$ac_ext <<_ACEOF
11491
cat confdefs.h >>conftest.$ac_ext
11492
cat >>conftest.$ac_ext <<_ACEOF
11493
/* end confdefs.h. */
11494
#include <signal.h>
11497
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11498
$EGREP "sigset_t" >/dev/null 2>&1; then
11501
signals_not_posix=1
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
11511
cat >conftest.$ac_ext <<_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
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. */
11527
# include <limits.h>
11529
# include <assert.h>
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. */
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
11551
return sigprocmask ();
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;;
11562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11563
(eval "$ac_link") 2>conftest.er1
11565
grep -v '^ *+' conftest.er1 >conftest.err
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
11576
echo "$as_me: failed program was:" >&5
11577
sed 's/^/| /' conftest.$ac_ext >&5
11579
ac_cv_func_sigprocmask=no
11582
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11583
conftest$ac_exeext conftest.$ac_ext
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
11592
if test -n "$gl_cv_func_sigprocmask"; then
11594
cat >>confdefs.h <<\_ACEOF
11595
#define HAVE_POSIX_SIGNALBLOCKING 1
11599
M4_LIBOBJS="$M4_LIBOBJS sigprocmask.$ac_objext"
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
11606
cat >conftest.$ac_ext <<_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>
11616
typedef sigset_t ac__type_new_;
11620
if ((ac__type_new_ *) 0)
11622
if (sizeof (ac__type_new_))
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;;
11634
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11635
(eval "$ac_compile") 2>conftest.er1
11637
grep -v '^ *+' conftest.er1 >conftest.err
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
11647
echo "$as_me: failed program was:" >&5
11648
sed 's/^/| /' conftest.$ac_ext >&5
11650
ac_cv_type_sigset_t=no
11653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
11659
cat >>confdefs.h <<_ACEOF
11660
#define HAVE_SIGSET_T 1
11663
gl_cv_type_sigset_t=yes
11665
gl_cv_type_sigset_t=no
11668
if test $gl_cv_type_sigset_t = yes; then
11670
cat >>confdefs.h <<\_ACEOF
11671
#define HAVE_SIGSET_T 1
12301
11686
for ac_header in stdint.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
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
14144
ac_res=`eval echo '${'$as_ac_Header'}'`
14145
{ echo "$as_me:$LINENO: result: $ac_res" >&5
14146
echo "${ECHO_T}$ac_res" >&6; }
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
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>
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;;
14166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167
(eval "$ac_compile") 2>conftest.er1
14169
grep -v '^ *+' conftest.er1 >conftest.err
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
14179
echo "$as_me: failed program was:" >&5
14180
sed 's/^/| /' conftest.$ac_ext >&5
14182
ac_header_compiler=no
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; }
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
14195
cat confdefs.h >>conftest.$ac_ext
14196
cat >>conftest.$ac_ext <<_ACEOF
14197
/* end confdefs.h. */
14198
#include <$ac_header>
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;;
14205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14208
grep -v '^ *+' conftest.er1 >conftest.err
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
14216
ac_header_preproc=yes
14218
echo "$as_me: failed program was:" >&5
14219
sed 's/^/| /' conftest.$ac_ext >&5
14221
ac_header_preproc=no
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; }
14228
# So? What about this header?
14229
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
14251
## ----------------------------- ##
14252
## Report this to bug-m4@gnu.org ##
14253
## ----------------------------- ##
14255
) | sed "s/^/$as_me: WARNING: /" >&2
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
14263
eval "$as_ac_Header=\$ac_header_preproc"
14265
ac_res=`eval echo '${'$as_ac_Header'}'`
14266
{ echo "$as_me:$LINENO: result: $ac_res" >&5
14267
echo "${ECHO_T}$ac_res" >&6; }
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
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
15197
ABSOLUTE_SYS_STAT_H=\"$gl_cv_absolute_sys_stat_h\"
15199
for ac_header in io.h
14317
ABSOLUTE_SYS_STAT_H=\"$gl_cv_absolute_sys_stat_h\"
14319
SYS_STAT_H='sys/stat.h'
14325
M4_LIBOBJS="$M4_LIBOBJS tempname.$ac_objext"
14343
for ac_func in __secure_getenv
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
15208
ac_res=`eval echo '${'$as_ac_Header'}'`
15209
{ echo "$as_me:$LINENO: result: $ac_res" >&5
15210
echo "${ECHO_T}$ac_res" >&6; }
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
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>
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;;
15230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231
(eval "$ac_compile") 2>conftest.er1
15233
grep -v '^ *+' conftest.er1 >conftest.err
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;;
15243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15244
(eval "$ac_try") 2>&5
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;;
15253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15254
(eval "$ac_try") 2>&5
15256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257
(exit $ac_status); }; }; then
15258
ac_header_compiler=yes
15260
echo "$as_me: failed program was:" >&5
15261
sed 's/^/| /' conftest.$ac_ext >&5
15263
ac_header_compiler=no
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; }
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
15276
cat confdefs.h >>conftest.$ac_ext
15277
cat >>conftest.$ac_ext <<_ACEOF
15278
/* end confdefs.h. */
15279
#include <$ac_header>
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;;
15286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15287
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15289
grep -v '^ *+' conftest.er1 >conftest.err
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
15303
if test -z "$ac_cpp_err"; then
15304
ac_header_preproc=yes
15306
echo "$as_me: failed program was:" >&5
15307
sed 's/^/| /' conftest.$ac_ext >&5
15309
ac_header_preproc=no
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; }
15316
# So? What about this header?
15317
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
15339
## ----------------------------- ##
15340
## Report this to bug-m4@gnu.org ##
15341
## ----------------------------- ##
15343
) | sed "s/^/$as_me: WARNING: /" >&2
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
15351
eval "$as_ac_Header=\$ac_header_preproc"
15353
ac_res=`eval echo '${'$as_ac_Header'}'`
15354
{ echo "$as_me:$LINENO: result: $ac_res" >&5
15355
echo "${ECHO_T}$ac_res" >&6; }
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
14351
cat >conftest.$ac_ext <<_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
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. */
14367
# include <limits.h>
14369
# include <assert.h>
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. */
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
14391
return $ac_func ();
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;;
14402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14403
(eval "$ac_link") 2>conftest.er1
14405
grep -v '^ *+' conftest.er1 >conftest.err
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"
14416
echo "$as_me: failed program was:" >&5
14417
sed 's/^/| /' conftest.$ac_ext >&5
14419
eval "$as_ac_var=no"
14422
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14423
conftest$ac_exeext conftest.$ac_ext
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
15368
SYS_STAT_H='sys/stat.h'
15370
ABSOLUTE_SYS_STAT_H=\"no/such/file/sys/stat.h\"
15376
case " $LIBOBJS " in
15377
*" tmpfile-safer.$ac_objext "* ) ;;
15378
*) LIBOBJS="$LIBOBJS tmpfile-safer.$ac_objext"
15385
14439
for ac_header in unistd.h