|
|
|
@ -860,10 +860,11 @@ else |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
enable_shared=no |
|
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
|
set dummy gcc; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:867: checking for $ac_word" >&5 |
|
|
|
echo "configure:868: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -892,7 +893,7 @@ if test -z "$CC"; then |
|
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
|
set dummy cc; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:896: checking for $ac_word" >&5 |
|
|
|
echo "configure:897: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -940,7 +941,7 @@ fi |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
|
echo "configure:944: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
echo "configure:945: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
|
|
|
|
ac_ext=c |
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
|
@ -950,11 +951,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 954 "configure" |
|
|
|
#line 955 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
main(){return(0);} |
|
|
|
EOF |
|
|
|
if { (eval echo configure:958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
if { (eval echo configure:959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
ac_cv_prog_cc_works=yes |
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler. |
|
|
|
if (./conftest; exit) 2>/dev/null; then |
|
|
|
@ -974,12 +975,12 @@ if test $ac_cv_prog_cc_works = no; then |
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
|
|
fi |
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
|
echo "configure:978: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
echo "configure:979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
|
echo "configure:983: checking whether we are using GNU C" >&5 |
|
|
|
echo "configure:984: checking whether we are using GNU C" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -988,7 +989,7 @@ else |
|
|
|
yes; |
|
|
|
#endif |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
|
ac_cv_prog_gcc=yes |
|
|
|
else |
|
|
|
ac_cv_prog_gcc=no |
|
|
|
@ -1003,7 +1004,7 @@ if test $ac_cv_prog_gcc = yes; then |
|
|
|
ac_save_CFLAGS="$CFLAGS" |
|
|
|
CFLAGS= |
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
|
|
echo "configure:1007: checking whether ${CC-cc} accepts -g" >&5 |
|
|
|
echo "configure:1008: checking whether ${CC-cc} accepts -g" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1033,7 +1034,7 @@ fi |
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
|
|
set dummy ranlib; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1037: checking for $ac_word" >&5 |
|
|
|
echo "configure:1038: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1069,10 +1070,10 @@ fi |
|
|
|
|
|
|
|
if test "$with_gnu_ld" = yes; then |
|
|
|
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
|
|
|
echo "configure:1073: checking for GNU ld" >&5 |
|
|
|
echo "configure:1074: checking for GNU ld" >&5 |
|
|
|
else |
|
|
|
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
|
|
|
echo "configure:1076: checking for non-GNU ld" >&5 |
|
|
|
echo "configure:1077: checking for non-GNU ld" >&5 |
|
|
|
fi |
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
@ -1111,7 +1112,7 @@ fi |
|
|
|
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU ld""... $ac_c" 1>&6 |
|
|
|
echo "configure:1115: checking whether we are using GNU ld" >&5 |
|
|
|
echo "configure:1116: checking whether we are using GNU ld" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1127,7 +1128,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 |
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
|
|
|
echo "configure:1131: checking whether ln -s works" >&5 |
|
|
|
echo "configure:1132: checking whether ln -s works" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1160,20 +1161,28 @@ LIBTOOL='$(top_builddir)/libtool' |
|
|
|
# Check whether --enable-shared or --disable-shared was given. |
|
|
|
if test "${enable_shared+set}" = set; then |
|
|
|
enableval="$enable_shared" |
|
|
|
test "$enableval" = no && libtool_shared=" --disable-shared" |
|
|
|
if test "$enableval" = no; then |
|
|
|
enable_shared=no |
|
|
|
else |
|
|
|
libtool_shared=--disable-shared |
|
|
|
enable_shared=yes |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
libtool_shared= |
|
|
|
test "$enable_shared" = no && libtool_shared=" --disable-shared" |
|
|
|
|
|
|
|
# Check whether --enable-static or --disable-static was given. |
|
|
|
if test "${enable_static+set}" = set; then |
|
|
|
enableval="$enable_static" |
|
|
|
test "$enableval" = no && libtool_static=" --disable-static" |
|
|
|
if test "$enableval" = no; then |
|
|
|
enable_static=no |
|
|
|
else |
|
|
|
libtool_static= |
|
|
|
enable_static=yes |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
libtool_static= |
|
|
|
test "$enable_static" = no && libtool_static=" --disable-static" |
|
|
|
|
|
|
|
libtool_flags="$libtool_shared$libtool_static" |
|
|
|
test "$silent" = yes && libtool_flags="$libtool_flags --silent" |
|
|
|
@ -1184,11 +1193,15 @@ test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" |
|
|
|
# libtool support. |
|
|
|
case "$host" in |
|
|
|
*-*-irix6*) |
|
|
|
ac_save_CFLAGS="$CFLAGS" |
|
|
|
# -n32 always needs to be added to the linker when using GCC. |
|
|
|
test "$ac_cv_prog_gcc" = yes && CFLAGS="$CFLAGS -n32" |
|
|
|
for f in '-32' '-64' '-cckr' '-n32' '-mips1' '-mips2' '-mips3' '-mips4'; do |
|
|
|
if echo " $CC $CFLAGS " | egrep -e "[ ]$f[ ]" > /dev/null; then |
|
|
|
LD="${LD-ld} $f" |
|
|
|
fi |
|
|
|
done |
|
|
|
CFLAGS="$ac_save_CFLAGS" |
|
|
|
;; |
|
|
|
|
|
|
|
*-*-sco3.2v5*) |
|
|
|
@ -1253,7 +1266,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x," |
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
|
|
|
echo "configure:1257: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
|
|
echo "configure:1270: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
|
|
|
if test "${enable_maintainer_mode+set}" = set; then |
|
|
|
enableval="$enable_maintainer_mode" |
|
|
|
@ -1271,19 +1284,19 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6 |
|
|
|
echo "configure:1275: checking for Cygwin32 environment" >&5 |
|
|
|
echo "configure:1288: checking for Cygwin32 environment" >&5 |
|
|
|
if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1280 "configure" |
|
|
|
#line 1293 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
int main() { |
|
|
|
int main () { return __CYGWIN32__; } |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:1287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
if { (eval echo configure:1300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
am_cv_cygwin32=yes |
|
|
|
else |
|
|
|
@ -1300,7 +1313,7 @@ echo "$ac_t""$am_cv_cygwin32" 1>&6 |
|
|
|
CYGWIN32= |
|
|
|
test "$am_cv_cygwin32" = yes && CYGWIN32=yes |
|
|
|
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
|
|
|
echo "configure:1304: checking for executable suffix" >&5 |
|
|
|
echo "configure:1317: checking for executable suffix" >&5 |
|
|
|
if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1329,7 +1342,7 @@ echo "$ac_t""${am_cv_exeext}" 1>&6 |
|
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
|
set dummy gcc; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1333: checking for $ac_word" >&5 |
|
|
|
echo "configure:1346: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1358,7 +1371,7 @@ if test -z "$CC"; then |
|
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
|
set dummy cc; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1362: checking for $ac_word" >&5 |
|
|
|
echo "configure:1375: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1406,7 +1419,7 @@ fi |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
|
echo "configure:1410: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
echo "configure:1423: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
|
|
|
|
ac_ext=c |
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
|
@ -1416,11 +1429,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1420 "configure" |
|
|
|
#line 1433 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
main(){return(0);} |
|
|
|
EOF |
|
|
|
if { (eval echo configure:1424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
ac_cv_prog_cc_works=yes |
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler. |
|
|
|
if (./conftest; exit) 2>/dev/null; then |
|
|
|
@ -1440,12 +1453,12 @@ if test $ac_cv_prog_cc_works = no; then |
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
|
|
fi |
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
|
echo "configure:1444: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
echo "configure:1457: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
|
echo "configure:1449: checking whether we are using GNU C" >&5 |
|
|
|
echo "configure:1462: checking whether we are using GNU C" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1454,7 +1467,7 @@ else |
|
|
|
yes; |
|
|
|
#endif |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
|
ac_cv_prog_gcc=yes |
|
|
|
else |
|
|
|
ac_cv_prog_gcc=no |
|
|
|
@ -1469,7 +1482,7 @@ if test $ac_cv_prog_gcc = yes; then |
|
|
|
ac_save_CFLAGS="$CFLAGS" |
|
|
|
CFLAGS= |
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
|
|
echo "configure:1473: checking whether ${CC-cc} accepts -g" >&5 |
|
|
|
echo "configure:1486: checking whether ${CC-cc} accepts -g" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1509,7 +1522,7 @@ fi |
|
|
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
|
|
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1513: checking for $ac_word" >&5 |
|
|
|
echo "configure:1526: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1540,7 +1553,7 @@ fi |
|
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1544: checking for $ac_word" >&5 |
|
|
|
echo "configure:1557: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1571,7 +1584,7 @@ if test -n "$ac_tool_prefix"; then |
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
|
|
set dummy ranlib; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1575: checking for $ac_word" >&5 |
|
|
|
echo "configure:1588: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1607,7 +1620,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
|
|
echo "configure:1611: checking how to run the C preprocessor" >&5 |
|
|
|
echo "configure:1624: checking how to run the C preprocessor" >&5 |
|
|
|
# On Suns, sometimes $CPP names a directory. |
|
|
|
if test -n "$CPP" && test -d "$CPP"; then |
|
|
|
CPP= |
|
|
|
@ -1622,13 +1635,13 @@ else |
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
|
# not just through cpp. |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1626 "configure" |
|
|
|
#line 1639 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
{ (eval echo configure:1645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
@ -1639,13 +1652,13 @@ else |
|
|
|
rm -rf conftest* |
|
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1643 "configure" |
|
|
|
#line 1656 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
{ (eval echo configure:1662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
@ -1671,17 +1684,17 @@ for ac_hdr in string.h strings.h stdlib.h |
|
|
|
do |
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
|
|
echo "configure:1675: checking for $ac_hdr" >&5 |
|
|
|
echo "configure:1688: checking for $ac_hdr" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1680 "configure" |
|
|
|
#line 1693 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <$ac_hdr> |
|
|
|
EOF |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
{ (eval echo configure:1698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
rm -rf conftest* |
|
|
|
|