5276
5301
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5277
5302
$EGREP "Amsterdam" >/dev/null 2>&1; then :
5285
if test -n "$ac_tool_prefix"; then
5303
gl_cv_c_amsterdam_compiler=yes
5305
gl_cv_c_amsterdam_compiler=no
5311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
5312
$as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
5313
if test -z "$AR"; then
5314
if test $gl_cv_c_amsterdam_compiler = yes; then
5316
if test -z "$ARFLAGS"; then
5320
if test -n "$ac_tool_prefix"; then
5321
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5322
set dummy ${ac_tool_prefix}ar; ac_word=$2
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324
$as_echo_n "checking for $ac_word... " >&6; }
5325
if ${ac_cv_prog_AR+:} false; then :
5326
$as_echo_n "(cached) " >&6
5328
if test -n "$AR"; then
5329
ac_cv_prog_AR="$AR" # Let the user override the test.
5331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335
test -z "$as_dir" && as_dir=.
5336
for ac_exec_ext in '' $ac_executable_extensions; do
5337
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5338
ac_cv_prog_AR="${ac_tool_prefix}ar"
5339
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349
if test -n "$AR"; then
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5351
$as_echo "$AR" >&6; }
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354
$as_echo "no" >&6; }
5359
if test -z "$ac_cv_prog_AR"; then
5361
# Extract the first word of "ar", so it can be a program name with args.
5362
set dummy ar; ac_word=$2
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364
$as_echo_n "checking for $ac_word... " >&6; }
5365
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5366
$as_echo_n "(cached) " >&6
5368
if test -n "$ac_ct_AR"; then
5369
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375
test -z "$as_dir" && as_dir=.
5376
for ac_exec_ext in '' $ac_executable_extensions; do
5377
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378
ac_cv_prog_ac_ct_AR="ar"
5379
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5389
if test -n "$ac_ct_AR"; then
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5391
$as_echo "$ac_ct_AR" >&6; }
5393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394
$as_echo "no" >&6; }
5397
if test "x$ac_ct_AR" = x; then
5400
case $cross_compiling:$ac_tool_warned in
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404
ac_tool_warned=yes ;;
5412
if test -z "$ARFLAGS"; then
5417
if test -z "$ARFLAGS"; then
5423
if test -z "$RANLIB"; then
5424
if test $gl_cv_c_amsterdam_compiler = yes; then
5427
if test -n "$ac_tool_prefix"; then
5286
5428
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5287
5429
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5288
5430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973
6112
# Code from module fcntl-h:
5974
6113
# Code from module fcntl-h-tests:
5975
6114
# Code from module fd-hook:
6115
# Code from module fdopen:
6116
# Code from module fdopen-tests:
6117
# Code from module fgetc-tests:
5976
6118
# Code from module float:
5977
6119
# Code from module float-tests:
5978
6120
# Code from module fpieee:
5980
6122
# Code from module fpucw:
6123
# Code from module fputc-tests:
6124
# Code from module fread-tests:
5981
6125
# Code from module fseek:
5982
6126
# Code from module fseek-tests:
5983
6127
# Code from module fseeko:
5985
6129
# Code from module fseeko-tests:
6130
# Code from module fstat:
6131
# Code from module fstat-tests:
5986
6132
# Code from module ftell:
5987
6133
# Code from module ftell-tests:
5988
6134
# Code from module ftello:
19571
ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
19572
if test "x$ac_cv_have_decl_ftello" = xyes; then :
19578
cat >>confdefs.h <<_ACEOF
19579
#define HAVE_DECL_FTELLO $ac_have_decl
19590
if test $ac_cv_have_decl_ftello = no; then
19594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
19595
$as_echo_n "checking for ftello... " >&6; }
19596
if ${gl_cv_func_ftello+:} false; then :
19597
$as_echo_n "(cached) " >&6
19600
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601
/* end confdefs.h. */
19611
if ac_fn_c_try_link "$LINENO"; then :
19612
gl_cv_func_ftello=yes
19614
gl_cv_func_ftello=no
19616
rm -f core conftest.err conftest.$ac_objext \
19617
conftest$ac_exeext conftest.$ac_ext
19620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
19621
$as_echo "$gl_cv_func_ftello" >&6; }
19622
if test $gl_cv_func_ftello = no; then
19625
if test $gl_cv_var_stdin_large_offset = no; then
19629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
19630
$as_echo_n "checking whether ftello works... " >&6; }
19631
if ${gl_cv_func_ftello_works+:} false; then :
19632
$as_echo_n "(cached) " >&6
19636
# Guess no on Solaris.
19637
solaris*) gl_cv_func_ftello_works="guessing no" ;;
19638
# Guess yes otherwise.
19639
*) gl_cv_func_ftello_works="guessing yes" ;;
19641
if test "$cross_compiling" = yes; then :
19644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19645
/* end confdefs.h. */
19648
#include <stdlib.h>
19649
#include <string.h>
19650
#define TESTFILE "conftest.tmp"
19656
/* Create a file with some contents. */
19657
fp = fopen (TESTFILE, "w");
19660
if (fwrite ("foogarsh", 1, 8, fp) < 8)
19665
/* The file's contents is now "foogarsh". */
19667
/* Try writing after reading to EOF. */
19668
fp = fopen (TESTFILE, "r+");
19671
if (fseek (fp, -1, SEEK_END))
19673
if (!(getc (fp) == 'h'))
19675
if (!(getc (fp) == EOF))
19677
if (!(ftell (fp) == 8))
19679
if (!(ftell (fp) == 8))
19681
if (!(putc ('!', fp) == '!'))
19683
if (!(ftell (fp) == 9))
19685
if (!(fclose (fp) == 0))
19687
fp = fopen (TESTFILE, "r");
19692
if (!(fread (buf, 1, 10, fp) == 9))
19694
if (!(memcmp (buf, "foogarsh!", 9) == 0))
19697
if (!(fclose (fp) == 0))
19700
/* The file's contents is now "foogarsh!". */
19705
if ac_fn_c_try_run "$LINENO"; then :
19706
gl_cv_func_ftello_works=yes
19708
gl_cv_func_ftello_works=no
19710
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19711
conftest.$ac_objext conftest.beam conftest.$ac_ext
19716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
19717
$as_echo "$gl_cv_func_ftello_works" >&6; }
19718
case "$gl_cv_func_ftello_works" in
19723
$as_echo "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
19731
19741
GNULIB_CHOWN=0;
19732
19742
GNULIB_CLOSE=0;
19733
19744
GNULIB_DUP2=0;
19734
19745
GNULIB_DUP3=0;
19735
19746
GNULIB_ENVIRON=0;
19870
GNULIB_UTIMENSAT=0;
19884
REPLACE_FUTIMENS=0;
19890
REPLACE_UTIMENSAT=0;
19895
for ac_func in $ac_func_list
19897
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19898
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19899
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19900
cat >>confdefs.h <<_ACEOF
19901
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19911
if test $ac_cv_func__set_invalid_parameter_handler = yes; then
19912
HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
19914
$as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
19917
HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
19921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19922
$as_echo_n "checking for inline... " >&6; }
19923
if ${ac_cv_c_inline+:} false; then :
19924
$as_echo_n "(cached) " >&6
19927
for ac_kw in inline __inline__ __inline; do
19928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929
/* end confdefs.h. */
19930
#ifndef __cplusplus
19932
static $ac_kw foo_t static_foo () {return 0; }
19933
$ac_kw foo_t foo () {return 0; }
19937
if ac_fn_c_try_compile "$LINENO"; then :
19938
ac_cv_c_inline=$ac_kw
19940
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941
test "$ac_cv_c_inline" != no && break
19945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19946
$as_echo "$ac_cv_c_inline" >&6; }
19948
case $ac_cv_c_inline in
19951
case $ac_cv_c_inline in
19953
*) ac_val=$ac_cv_c_inline;;
19955
cat >>confdefs.h <<_ACEOF
19956
#ifndef __cplusplus
19957
#define inline $ac_val
19963
ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
19964
if test "x$ac_cv_have_decl_ftello" = xyes; then :
19970
cat >>confdefs.h <<_ACEOF
19971
#define HAVE_DECL_FTELLO $ac_have_decl
19982
if test $ac_cv_have_decl_ftello = no; then
19986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
19987
$as_echo_n "checking for ftello... " >&6; }
19988
if ${gl_cv_func_ftello+:} false; then :
19989
$as_echo_n "(cached) " >&6
19992
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993
/* end confdefs.h. */
20003
if ac_fn_c_try_link "$LINENO"; then :
20004
gl_cv_func_ftello=yes
20006
gl_cv_func_ftello=no
20008
rm -f core conftest.err conftest.$ac_objext \
20009
conftest$ac_exeext conftest.$ac_ext
20012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
20013
$as_echo "$gl_cv_func_ftello" >&6; }
20014
if test $gl_cv_func_ftello = no; then
20017
if test $gl_cv_var_stdin_large_offset = no; then
20021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
20022
$as_echo_n "checking whether ftello works... " >&6; }
20023
if ${gl_cv_func_ftello_works+:} false; then :
20024
$as_echo_n "(cached) " >&6
20028
# Guess no on Solaris.
20029
solaris*) gl_cv_func_ftello_works="guessing no" ;;
20030
# Guess yes otherwise.
20031
*) gl_cv_func_ftello_works="guessing yes" ;;
20033
if test "$cross_compiling" = yes; then :
20036
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037
/* end confdefs.h. */
20040
#include <stdlib.h>
20041
#include <string.h>
20042
#define TESTFILE "conftest.tmp"
20048
/* Create a file with some contents. */
20049
fp = fopen (TESTFILE, "w");
20052
if (fwrite ("foogarsh", 1, 8, fp) < 8)
20057
/* The file's contents is now "foogarsh". */
20059
/* Try writing after reading to EOF. */
20060
fp = fopen (TESTFILE, "r+");
20063
if (fseek (fp, -1, SEEK_END))
20065
if (!(getc (fp) == 'h'))
20067
if (!(getc (fp) == EOF))
20069
if (!(ftell (fp) == 8))
20071
if (!(ftell (fp) == 8))
20073
if (!(putc ('!', fp) == '!'))
20075
if (!(ftell (fp) == 9))
20077
if (!(fclose (fp) == 0))
20079
fp = fopen (TESTFILE, "r");
20084
if (!(fread (buf, 1, 10, fp) == 9))
20086
if (!(memcmp (buf, "foogarsh!", 9) == 0))
20089
if (!(fclose (fp) == 0))
20092
/* The file's contents is now "foogarsh!". */
20097
if ac_fn_c_try_run "$LINENO"; then :
20098
gl_cv_func_ftello_works=yes
20100
gl_cv_func_ftello_works=no
20102
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20103
conftest.$ac_objext conftest.beam conftest.$ac_ext
20108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
20109
$as_echo "$gl_cv_func_ftello_works" >&6; }
20110
case "$gl_cv_func_ftello_works" in
20115
$as_echo "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
20125
for ac_header in $ac_header_list
20127
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20128
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20130
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20131
cat >>confdefs.h <<_ACEOF
20132
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19844
20142
GNULIB__EXIT=0;
19845
20143
GNULIB_ATOLL=0;
19846
20144
GNULIB_CALLOC_POSIX=0;
20393
20665
#include <stdio.h>
20394
20666
#include <string.h>
20668
# define my_snprintf snprintf
20670
# include <stdarg.h>
20671
static int my_snprintf (char *buf, int size, const char *format, ...)
20675
va_start (args, format);
20676
ret = vsnprintf (buf, size, format, args);
20395
20681
static char buf[100];
20398
20684
strcpy (buf, "ABCDEF");
20399
if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
20685
if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7)
20401
if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
20687
if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7)
20403
if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
20689
if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
20435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20436
$as_echo_n "checking for inline... " >&6; }
20437
if ${ac_cv_c_inline+:} false; then :
20438
$as_echo_n "(cached) " >&6
20441
for ac_kw in inline __inline__ __inline; do
20442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443
/* end confdefs.h. */
20444
#ifndef __cplusplus
20446
static $ac_kw foo_t static_foo () {return 0; }
20447
$ac_kw foo_t foo () {return 0; }
20451
if ac_fn_c_try_compile "$LINENO"; then :
20452
ac_cv_c_inline=$ac_kw
20454
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455
test "$ac_cv_c_inline" != no && break
20459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20460
$as_echo "$ac_cv_c_inline" >&6; }
20462
case $ac_cv_c_inline in
20465
case $ac_cv_c_inline in
20467
*) ac_val=$ac_cv_c_inline;;
20469
cat >>confdefs.h <<_ACEOF
20470
#ifndef __cplusplus
20471
#define inline $ac_val
20478
20722
if test $ac_cv_header_sys_socket_h = no; then
20479
20723
for ac_header in ws2tcpip.h
23268
case "$host_cpu" in
22957
23275
case "$host_os" in
23276
aix* | freebsd* | linux*)
22959
23277
if test -n "$FLOAT_H"; then
22960
23278
REPLACE_FLOAT_LDBL=1
23284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5
23285
$as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; }
23286
if ${gl_cv_func_itold_works+:} false; then :
23287
$as_echo_n "(cached) " >&6
23290
if test "$cross_compiling" = yes; then :
23293
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23294
/* end confdefs.h. */
23295
#if defined __LP64__ || defined __arch64__
23299
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23300
$EGREP "yes" >/dev/null 2>&1; then :
23301
gl_cv_func_itold_works="guessing no"
23303
gl_cv_func_itold_works="guessing yes"
23308
*) gl_cv_func_itold_works="guessing yes" ;;
23312
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23313
/* end confdefs.h. */
23316
volatile long double ld;
23325
if ac_fn_c_try_run "$LINENO"; then :
23326
gl_cv_func_itold_works=yes
23328
gl_cv_func_itold_works=no
23330
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23331
conftest.$ac_objext conftest.beam conftest.$ac_ext
23336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5
23337
$as_echo "$gl_cv_func_itold_works" >&6; }
23338
case "$gl_cv_func_itold_works" in
22964
23345
if test -n "$FLOAT_H"; then
24074
24574
/* end confdefs.h. */
24076
24576
#include <stdio.h>
24578
# define my_snprintf snprintf
24580
# include <stdarg.h>
24581
static int my_snprintf (char *buf, int size, const char *format, ...)
24585
va_start (args, format);
24586
ret = vsnprintf (buf, size, format, args);
24079
24593
static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
24080
snprintf (buf, 1, "%d", 12345);
24594
my_snprintf (buf, 1, "%d", 12345);
24081
24595
return buf[1] != 'E';
26001
if test $gl_cv_have_include_next = yes; then
26002
gl_cv_next_sys_types_h='<'sys/types.h'>'
26004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
26005
$as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
26006
if ${gl_cv_next_sys_types_h+:} false; then :
26007
$as_echo_n "(cached) " >&6
26010
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011
/* end confdefs.h. */
26012
#include <sys/types.h>
26016
aix*) gl_absname_cpp="$ac_cpp -C" ;;
26017
*) gl_absname_cpp="$ac_cpp" ;;
26022
gl_dirsep_regex='[/\\]'
26025
gl_dirsep_regex='/'
26029
gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/types.h|{
26030
s|.*"\(.*'"${gl_dirsep_regex}"'sys/types.h\)".*|\1|
26035
gl_cv_next_sys_types_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
26036
sed -n "$gl_absolute_header_sed"`'"'
26040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
26041
$as_echo "$gl_cv_next_sys_types_h" >&6; }
26043
NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
26045
if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
26046
# INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
26047
gl_next_as_first_directive='<'sys/types.h'>'
26049
# INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
26050
gl_next_as_first_directive=$gl_cv_next_sys_types_h
26052
NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
25398
26074
if test $gl_cv_have_include_next = yes; then
25399
26075
gl_cv_next_sys_uio_h='<'sys/uio.h'>'
25847
26551
/* end confdefs.h. */
25849
26553
#include <stdio.h>
26555
# define my_snprintf snprintf
26557
# include <stdarg.h>
26558
static int my_snprintf (char *buf, int size, const char *format, ...)
26562
va_start (args, format);
26563
ret = vsnprintf (buf, size, format, args);
25852
26570
static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
25853
snprintf (buf, 1, "%d", 12345);
26571
my_snprintf (buf, 1, "%d", 12345);
25854
26572
return buf[1] != 'E';
26991
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
26994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fdopen sets errno" >&5
26995
$as_echo_n "checking whether fdopen sets errno... " >&6; }
26996
if ${gl_cv_func_fdopen_works+:} false; then :
26997
$as_echo_n "(cached) " >&6
27000
if test "$cross_compiling" = yes; then :
27002
mingw*) gl_cv_func_fdopen_works="guessing no" ;;
27003
*) gl_cv_func_fdopen_works="guessing yes" ;;
27007
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27008
/* end confdefs.h. */
27017
fp = fdopen (-1, "r");
27025
if ac_fn_c_try_run "$LINENO"; then :
27026
gl_cv_func_fdopen_works=yes
27028
gl_cv_func_fdopen_works=no
27030
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27031
conftest.$ac_objext conftest.beam conftest.$ac_ext
27036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopen_works" >&5
27037
$as_echo "$gl_cv_func_fdopen_works" >&6; }
27038
case "$gl_cv_func_fdopen_works" in
27039
*no) REPLACE_FDOPEN=1 ;;
27043
if test $REPLACE_FDOPEN = 1; then
27052
lgltests_LIBOBJS="$lgltests_LIBOBJS fdopen.$ac_objext"
27061
if test "$GNULIB_FDOPEN" != 1; then
27062
if test "$GNULIB_FDOPEN" = 0; then
27063
GNULIB_FDOPEN=$gl_module_indicator_condition
27065
GNULIB_FDOPEN="($GNULIB_FDOPEN || $gl_module_indicator_condition)"
27073
$as_echo "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h