46 |
--enable-debug builds gcl with -g in CFLAGS to enable running under gdb |
--enable-debug builds gcl with -g in CFLAGS to enable running under gdb |
47 |
" |
" |
48 |
ac_help="$ac_help |
ac_help="$ac_help |
49 |
|
--enable-oldgmp will link agains gmp2 instead of gmp3 |
50 |
|
" |
51 |
|
ac_help="$ac_help |
52 |
--enable-readine enables command line completion via the readline library " |
--enable-readine enables command line completion via the readline library " |
53 |
ac_help="$ac_help |
ac_help="$ac_help |
54 |
--enable-ansi builds a large gcl aiming for ansi compliance, |
--enable-ansi builds a large gcl aiming for ansi compliance, |
679 |
fi |
fi |
680 |
|
|
681 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
682 |
echo "configure:680: checking host system type" >&5 |
echo "configure:683: checking host system type" >&5 |
683 |
|
|
684 |
host_alias=$host |
host_alias=$host |
685 |
case "$host_alias" in |
case "$host_alias" in |
858 |
def_dlopen="no" |
def_dlopen="no" |
859 |
def_statsysbfd="yes" |
def_statsysbfd="yes" |
860 |
def_custreloc="no" |
def_custreloc="no" |
861 |
|
def_oldgmp="no" |
862 |
case $use in |
case $use in |
863 |
*linux) |
*linux) |
864 |
ln -snf linux.defs h/$use.defs; |
ln -snf linux.defs h/$use.defs; |
871 |
def_dlopen="yes" ; def_statsysbfd="no" ;; |
def_dlopen="yes" ; def_statsysbfd="no" ;; |
872 |
hppa*) |
hppa*) |
873 |
def_dlopen="yes" ; def_statsysbfd="no" ;; |
def_dlopen="yes" ; def_statsysbfd="no" ;; |
874 |
|
m68k*) |
875 |
|
def_oldgmp="yes" ;; |
876 |
esac;; |
esac;; |
877 |
*mingw*) |
*mingw*) |
878 |
def_statsysbfd="no" ; def_custreloc="yes" ;; |
def_statsysbfd="no" ; def_custreloc="yes" ;; |
927 |
fi |
fi |
928 |
|
|
929 |
|
|
930 |
|
# Check whether --enable-oldgmp or --disable-oldgmp was given. |
931 |
|
if test "${enable_oldgmp+set}" = set; then |
932 |
|
enableval="$enable_oldgmp" |
933 |
|
: |
934 |
|
else |
935 |
|
enable_oldgmp="$def_oldgmp" |
936 |
|
fi |
937 |
|
|
938 |
|
|
939 |
load_opt="0" |
load_opt="0" |
940 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
941 |
load_opt=$(($load_opt+1)) |
load_opt=$(($load_opt+1)) |
977 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
978 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
979 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
980 |
echo "configure:966: checking for $ac_word" >&5 |
echo "configure:981: checking for $ac_word" >&5 |
981 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
982 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
983 |
else |
else |
1007 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
1008 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
1009 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1010 |
echo "configure:996: checking for $ac_word" >&5 |
echo "configure:1011: checking for $ac_word" >&5 |
1011 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1012 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1013 |
else |
else |
1058 |
# Extract the first word of "cl", so it can be a program name with args. |
# Extract the first word of "cl", so it can be a program name with args. |
1059 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
1060 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1061 |
echo "configure:1047: checking for $ac_word" >&5 |
echo "configure:1062: checking for $ac_word" >&5 |
1062 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1063 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1064 |
else |
else |
1090 |
fi |
fi |
1091 |
|
|
1092 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1093 |
echo "configure:1079: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:1094: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1094 |
|
|
1095 |
ac_ext=c |
ac_ext=c |
1096 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1101 |
|
|
1102 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
1103 |
|
|
1104 |
#line 1090 "configure" |
#line 1105 "configure" |
1105 |
#include "confdefs.h" |
#include "confdefs.h" |
1106 |
|
|
1107 |
main(){return(0);} |
main(){return(0);} |
1108 |
EOF |
EOF |
1109 |
if { (eval echo configure:1095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1110 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
1111 |
# If we can't run a trivial program, we are probably using a cross compiler. |
# If we can't run a trivial program, we are probably using a cross compiler. |
1112 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
1132 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1133 |
fi |
fi |
1134 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1135 |
echo "configure:1121: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:1136: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1136 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1137 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
1138 |
|
|
1139 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1140 |
echo "configure:1126: checking whether we are using GNU C" >&5 |
echo "configure:1141: checking whether we are using GNU C" >&5 |
1141 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1142 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1143 |
else |
else |
1146 |
yes; |
yes; |
1147 |
#endif |
#endif |
1148 |
EOF |
EOF |
1149 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1135: \"$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:1150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1150 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
1151 |
else |
else |
1152 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
1165 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
1166 |
CFLAGS= |
CFLAGS= |
1167 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1168 |
echo "configure:1154: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:1169: checking whether ${CC-cc} accepts -g" >&5 |
1169 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1170 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1171 |
else |
else |
1197 |
fi |
fi |
1198 |
|
|
1199 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1200 |
echo "configure:1186: checking how to run the C preprocessor" >&5 |
echo "configure:1201: checking how to run the C preprocessor" >&5 |
1201 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
1202 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
1203 |
CPP= |
CPP= |
1212 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
1213 |
# not just through cpp. |
# not just through cpp. |
1214 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1215 |
#line 1201 "configure" |
#line 1216 "configure" |
1216 |
#include "confdefs.h" |
#include "confdefs.h" |
1217 |
#include <assert.h> |
#include <assert.h> |
1218 |
Syntax Error |
Syntax Error |
1219 |
EOF |
EOF |
1220 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1221 |
{ (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1222 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1223 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1224 |
: |
: |
1229 |
rm -rf conftest* |
rm -rf conftest* |
1230 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
1231 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1232 |
#line 1218 "configure" |
#line 1233 "configure" |
1233 |
#include "confdefs.h" |
#include "confdefs.h" |
1234 |
#include <assert.h> |
#include <assert.h> |
1235 |
Syntax Error |
Syntax Error |
1236 |
EOF |
EOF |
1237 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1238 |
{ (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1239 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1240 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1241 |
: |
: |
1246 |
rm -rf conftest* |
rm -rf conftest* |
1247 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
1248 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1249 |
#line 1235 "configure" |
#line 1250 "configure" |
1250 |
#include "confdefs.h" |
#include "confdefs.h" |
1251 |
#include <assert.h> |
#include <assert.h> |
1252 |
Syntax Error |
Syntax Error |
1253 |
EOF |
EOF |
1254 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1255 |
{ (eval echo configure:1241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1256 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1257 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1258 |
: |
: |
1320 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1321 |
|
|
1322 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
1323 |
echo "configure:1309: checking system version (for dynamic loading)" >&5 |
echo "configure:1324: checking system version (for dynamic loading)" >&5 |
1324 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1325 |
|
|
1326 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
1328 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1329 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1330 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1331 |
echo "configure:1317: checking for $ac_word" >&5 |
echo "configure:1332: checking for $ac_word" >&5 |
1332 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1333 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1334 |
else |
else |
1364 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1365 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1366 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1367 |
echo "configure:1353: checking for $ac_word" >&5 |
echo "configure:1368: checking for $ac_word" >&5 |
1368 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1369 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1370 |
else |
else |
1427 |
MP_INLCUDE="" |
MP_INLCUDE="" |
1428 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1429 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
1430 |
echo "configure:1416: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:1431: checking use_gmp=yes, doing configure in gmp directory" >&5 |
1431 |
echo |
echo |
1432 |
echo "#" |
echo "#" |
1433 |
echo "#" |
echo "#" |
1435 |
echo "# Subconfigure of GMP" |
echo "# Subconfigure of GMP" |
1436 |
echo "#" |
echo "#" |
1437 |
echo "#" |
echo "#" |
1438 |
|
|
1439 |
|
if test "$enable_oldgmp" = "yes" ; then |
1440 |
|
GMPDIR=gmp |
1441 |
|
else |
1442 |
|
GMPDIR=gmp3 |
1443 |
|
fi |
1444 |
|
|
1445 |
case "$use" in |
case "$use" in |
1446 |
# Seem to be some problems with gmp3 on 68060 machines. CM |
# Seem to be some problems with gmp3 on 68060 machines. CM |
1447 |
# m68k-linux) |
# m68k-linux) |
1448 |
# (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
# (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
1449 |
*) |
*) |
1450 |
(cd gmp3 && ./configure) ;; |
(cd $GMPDIR && ./configure) ;; |
1451 |
esac |
esac |
1452 |
echo "#" |
echo "#" |
1453 |
echo "#" |
echo "#" |
1455 |
echo "# Subconfigure of GMP done" |
echo "# Subconfigure of GMP done" |
1456 |
echo "# ------------------------" |
echo "# ------------------------" |
1457 |
echo "#" |
echo "#" |
1458 |
cp gmp3/gmp.h h/gmp.h |
cp $GMPDIR/gmp.h h/gmp.h |
1459 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
1460 |
echo "configure:1439: checking "for size of gmp limbs"" >&5 |
echo "configure:1461: checking "for size of gmp limbs"" >&5 |
1461 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1462 |
mpsize=0 |
mpsize=0 |
1463 |
else |
else |
1464 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1465 |
#line 1444 "configure" |
#line 1466 "configure" |
1466 |
#include "confdefs.h" |
#include "confdefs.h" |
1467 |
#include <stdio.h> |
#include <stdio.h> |
1468 |
#include "h/gmp.h" |
#include "h/gmp.h" |
1473 |
return 0; |
return 0; |
1474 |
} |
} |
1475 |
EOF |
EOF |
1476 |
if { (eval echo configure:1455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1477 |
then |
then |
1478 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1479 |
else |
else |
1500 |
EOF |
EOF |
1501 |
|
|
1502 |
|
|
1503 |
|
|
1504 |
MP_INCLUDE=h/gmp.h |
MP_INCLUDE=h/gmp.h |
1505 |
echo > makedefsafter |
echo > makedefsafter |
1506 |
echo 'MPFILES=${GMP_DIR}libgmp.a' >> makedefsafter |
echo 'MPFILES=${GMPDIR}/libgmp.a' >> makedefsafter |
1507 |
echo >> makedefsafter |
echo >> makedefsafter |
1508 |
fi |
fi |
1509 |
|
|
1517 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
1518 |
|
|
1519 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
1520 |
echo "configure:1498: checking for dlopen in -ldl" >&5 |
echo "configure:1521: checking for dlopen in -ldl" >&5 |
1521 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
1522 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1523 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1525 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1526 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
1527 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1528 |
#line 1506 "configure" |
#line 1529 "configure" |
1529 |
#include "confdefs.h" |
#include "confdefs.h" |
1530 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1531 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
1536 |
dlopen() |
dlopen() |
1537 |
; return 0; } |
; return 0; } |
1538 |
EOF |
EOF |
1539 |
if { (eval echo configure:1517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1540 |
rm -rf conftest* |
rm -rf conftest* |
1541 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1542 |
else |
else |
1572 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
1573 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
1574 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
1575 |
echo "configure:1553: checking for bfd.h" >&5 |
echo "configure:1576: checking for bfd.h" >&5 |
1576 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1577 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1578 |
else |
else |
1579 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1580 |
#line 1558 "configure" |
#line 1581 "configure" |
1581 |
#include "confdefs.h" |
#include "confdefs.h" |
1582 |
#include <bfd.h> |
#include <bfd.h> |
1583 |
EOF |
EOF |
1584 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1585 |
{ (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1586 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1587 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1588 |
rm -rf conftest* |
rm -rf conftest* |
1599 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1600 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1601 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
1602 |
echo "configure:1580: checking for bfd_init in -lbfd" >&5 |
echo "configure:1603: checking for bfd_init in -lbfd" >&5 |
1603 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
1604 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1605 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1607 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1608 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
1609 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1610 |
#line 1588 "configure" |
#line 1611 "configure" |
1611 |
#include "confdefs.h" |
#include "confdefs.h" |
1612 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1613 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
1618 |
bfd_init() |
bfd_init() |
1619 |
; return 0; } |
; return 0; } |
1620 |
EOF |
EOF |
1621 |
if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1622 |
rm -rf conftest* |
rm -rf conftest* |
1623 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1624 |
else |
else |
1637 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
1638 |
# |
# |
1639 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
1640 |
echo "configure:1618: checking if need to define CONST for bfd" >&5 |
echo "configure:1641: checking if need to define CONST for bfd" >&5 |
1641 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1642 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
1643 |
else |
else |
1644 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1645 |
#line 1623 "configure" |
#line 1646 "configure" |
1646 |
#include "confdefs.h" |
#include "confdefs.h" |
1647 |
#define IN_GCC |
#define IN_GCC |
1648 |
#include <bfd.h> |
#include <bfd.h> |
1649 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
1650 |
EOF |
EOF |
1651 |
if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1652 |
then |
then |
1653 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1654 |
else |
else |
1659 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
1660 |
else |
else |
1661 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1662 |
#line 1640 "configure" |
#line 1663 "configure" |
1663 |
#include "confdefs.h" |
#include "confdefs.h" |
1664 |
#define CONST const |
#define CONST const |
1665 |
#define IN_GCC |
#define IN_GCC |
1666 |
#include <bfd.h> |
#include <bfd.h> |
1667 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
1668 |
EOF |
EOF |
1669 |
if { (eval echo configure:1647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1670 |
then |
then |
1671 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1672 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1747 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
1748 |
EOF |
EOF |
1749 |
|
|
1750 |
BUILD_BFD="h/bfd.h h/bfdlink.h" |
BUILD_BFD="h/bfd.h h/bfdlink.h h/ansidecl.h h/symcat.h" |
1751 |
|
|
1752 |
fi |
fi |
1753 |
|
|
1756 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
1757 |
|
|
1758 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
1759 |
echo "configure:1737: checking size of long *" >&5 |
echo "configure:1760: checking size of long *" >&5 |
1760 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
1761 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1762 |
else |
else |
1764 |
ac_cv_sizeof_long_p=0 |
ac_cv_sizeof_long_p=0 |
1765 |
else |
else |
1766 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1767 |
#line 1745 "configure" |
#line 1768 "configure" |
1768 |
#include "confdefs.h" |
#include "confdefs.h" |
1769 |
#include <stdio.h> |
#include <stdio.h> |
1770 |
main() |
main() |
1775 |
exit(0); |
exit(0); |
1776 |
} |
} |
1777 |
EOF |
EOF |
1778 |
if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1779 |
then |
then |
1780 |
ac_cv_sizeof_long_p=`cat conftestval` |
ac_cv_sizeof_long_p=`cat conftestval` |
1781 |
else |
else |
1799 |
do |
do |
1800 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1801 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1802 |
echo "configure:1780: checking for $ac_hdr" >&5 |
echo "configure:1803: checking for $ac_hdr" >&5 |
1803 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1804 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1805 |
else |
else |
1806 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1807 |
#line 1785 "configure" |
#line 1808 "configure" |
1808 |
#include "confdefs.h" |
#include "confdefs.h" |
1809 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1810 |
EOF |
EOF |
1811 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1812 |
{ (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1813 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1814 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1815 |
rm -rf conftest* |
rm -rf conftest* |
1830 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
1831 |
EOF |
EOF |
1832 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
1833 |
echo "configure:1811: checking "endianness"" >&5 |
echo "configure:1834: checking "endianness"" >&5 |
1834 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1835 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
1836 |
else |
else |
1837 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1838 |
#line 1816 "configure" |
#line 1839 "configure" |
1839 |
#include "confdefs.h" |
#include "confdefs.h" |
1840 |
#define __ARMEB__ |
#define __ARMEB__ |
1841 |
#include <endian.h> |
#include <endian.h> |
1842 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
1843 |
EOF |
EOF |
1844 |
if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1845 |
then |
then |
1846 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1847 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
1864 |
|
|
1865 |
|
|
1866 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
1867 |
echo "configure:1845: checking "finding DBEGIN"" >&5 |
echo "configure:1868: checking "finding DBEGIN"" >&5 |
1868 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1869 |
dbegin=0 |
dbegin=0 |
1870 |
else |
else |
1871 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1872 |
#line 1850 "configure" |
#line 1873 "configure" |
1873 |
#include "confdefs.h" |
#include "confdefs.h" |
1874 |
#include <stdio.h> |
#include <stdio.h> |
1875 |
#include <stdlib.h> |
#include <stdlib.h> |
1886 |
return 0; |
return 0; |
1887 |
} |
} |
1888 |
EOF |
EOF |
1889 |
if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1890 |
then |
then |
1891 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
1892 |
else |
else |
1908 |
|
|
1909 |
|
|
1910 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
1911 |
echo "configure:1889: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:1912: checking "finding CSTACK_ADDRESS"" >&5 |
1912 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1913 |
cstack_address=0 |
cstack_address=0 |
1914 |
else |
else |
1915 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1916 |
#line 1894 "configure" |
#line 1917 "configure" |
1917 |
#include "confdefs.h" |
#include "confdefs.h" |
1918 |
#include <stdio.h> |
#include <stdio.h> |
1919 |
main() |
main() |
1925 |
return 0; |
return 0; |
1926 |
} |
} |
1927 |
EOF |
EOF |
1928 |
if { (eval echo configure:1906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1929 |
then |
then |
1930 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
1931 |
else |
else |
1947 |
|
|
1948 |
|
|
1949 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
1950 |
echo "configure:1928: checking "sizeof long long int"" >&5 |
echo "configure:1951: checking "sizeof long long int"" >&5 |
1951 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1952 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1953 |
|
|
1954 |
else |
else |
1955 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1956 |
#line 1934 "configure" |
#line 1957 "configure" |
1957 |
#include "confdefs.h" |
#include "confdefs.h" |
1958 |
#include <stdio.h> |
#include <stdio.h> |
1959 |
main() |
main() |
1963 |
} |
} |
1964 |
|
|
1965 |
EOF |
EOF |
1966 |
if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1967 |
then |
then |
1968 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1969 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
2012 |
|
|
2013 |
# pagewidth |
# pagewidth |
2014 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
2015 |
echo "configure:1993: checking for pagewidth" >&5 |
echo "configure:2016: checking for pagewidth" >&5 |
2016 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2017 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
2018 |
else |
else |
2019 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2020 |
#line 1998 "configure" |
#line 2021 "configure" |
2021 |
#include "confdefs.h" |
#include "confdefs.h" |
2022 |
#include <stdio.h> |
#include <stdio.h> |
2023 |
#include <unistd.h> |
#include <unistd.h> |
2027 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
2028 |
return 0;} |
return 0;} |
2029 |
EOF |
EOF |
2030 |
if { (eval echo configure:2008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2031 |
then |
then |
2032 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
2033 |
else |
else |
2054 |
for ac_func in getcwd |
for ac_func in getcwd |
2055 |
do |
do |
2056 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2057 |
echo "configure:2035: checking for $ac_func" >&5 |
echo "configure:2058: checking for $ac_func" >&5 |
2058 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2059 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2060 |
else |
else |
2061 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2062 |
#line 2040 "configure" |
#line 2063 "configure" |
2063 |
#include "confdefs.h" |
#include "confdefs.h" |
2064 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2065 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
2082 |
|
|
2083 |
; return 0; } |
; return 0; } |
2084 |
EOF |
EOF |
2085 |
if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2086 |
rm -rf conftest* |
rm -rf conftest* |
2087 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
2088 |
else |
else |
2109 |
for ac_func in getwd |
for ac_func in getwd |
2110 |
do |
do |
2111 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2112 |
echo "configure:2090: checking for $ac_func" >&5 |
echo "configure:2113: checking for $ac_func" >&5 |
2113 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2114 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2115 |
else |
else |
2116 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2117 |
#line 2095 "configure" |
#line 2118 "configure" |
2118 |
#include "confdefs.h" |
#include "confdefs.h" |
2119 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2120 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
2137 |
|
|
2138 |
; return 0; } |
; return 0; } |
2139 |
EOF |
EOF |
2140 |
if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2141 |
rm -rf conftest* |
rm -rf conftest* |
2142 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
2143 |
else |
else |
2162 |
done |
done |
2163 |
|
|
2164 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
2165 |
echo "configure:2143: checking for uname" >&5 |
echo "configure:2166: checking for uname" >&5 |
2166 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
2167 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2168 |
else |
else |
2169 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2170 |
#line 2148 "configure" |
#line 2171 "configure" |
2171 |
#include "confdefs.h" |
#include "confdefs.h" |
2172 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2173 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
2190 |
|
|
2191 |
; return 0; } |
; return 0; } |
2192 |
EOF |
EOF |
2193 |
if { (eval echo configure:2171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2194 |
rm -rf conftest* |
rm -rf conftest* |
2195 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
2196 |
else |
else |
2214 |
fi |
fi |
2215 |
|
|
2216 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
2217 |
echo "configure:2195: checking for gettimeofday" >&5 |
echo "configure:2218: checking for gettimeofday" >&5 |
2218 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
2219 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2220 |
else |
else |
2221 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2222 |
#line 2200 "configure" |
#line 2223 "configure" |
2223 |
#include "confdefs.h" |
#include "confdefs.h" |
2224 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2225 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
2242 |
|
|
2243 |
; return 0; } |
; return 0; } |
2244 |
EOF |
EOF |
2245 |
if { (eval echo configure:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2246 |
rm -rf conftest* |
rm -rf conftest* |
2247 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
2248 |
else |
else |
2271 |
do |
do |
2272 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2273 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2274 |
echo "configure:2252: checking for $ac_hdr" >&5 |
echo "configure:2275: checking for $ac_hdr" >&5 |
2275 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2276 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2277 |
else |
else |
2278 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2279 |
#line 2257 "configure" |
#line 2280 "configure" |
2280 |
#include "confdefs.h" |
#include "confdefs.h" |
2281 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2282 |
EOF |
EOF |
2283 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2284 |
{ (eval echo configure:2262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2285 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2286 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2287 |
rm -rf conftest* |
rm -rf conftest* |
2321 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
2322 |
|
|
2323 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
2324 |
echo "configure:2302: checking for BSDgettimeofday" >&5 |
echo "configure:2325: checking for BSDgettimeofday" >&5 |
2325 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
2326 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2327 |
else |
else |
2328 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2329 |
#line 2307 "configure" |
#line 2330 "configure" |
2330 |
#include "confdefs.h" |
#include "confdefs.h" |
2331 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2332 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
2349 |
|
|
2350 |
; return 0; } |
; return 0; } |
2351 |
EOF |
EOF |
2352 |
if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2353 |
rm -rf conftest* |
rm -rf conftest* |
2354 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
2355 |
else |
else |
2370 |
else |
else |
2371 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2372 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
2373 |
echo "configure:2351: checking for gettimeofday" >&5 |
echo "configure:2374: checking for gettimeofday" >&5 |
2374 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
2375 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2376 |
else |
else |
2377 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2378 |
#line 2356 "configure" |
#line 2379 "configure" |
2379 |
#include "confdefs.h" |
#include "confdefs.h" |
2380 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2381 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
2398 |
|
|
2399 |
; return 0; } |
; return 0; } |
2400 |
EOF |
EOF |
2401 |
if { (eval echo configure:2379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2402 |
rm -rf conftest* |
rm -rf conftest* |
2403 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
2404 |
else |
else |
2425 |
|
|
2426 |
|
|
2427 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
2428 |
echo "configure:2406: checking for gettimeofday declaration" >&5 |
echo "configure:2429: checking for gettimeofday declaration" >&5 |
2429 |
|
|
2430 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2431 |
#line 2409 "configure" |
#line 2432 "configure" |
2432 |
#include "confdefs.h" |
#include "confdefs.h" |
2433 |
#include <sys/time.h> |
#include <sys/time.h> |
2434 |
EOF |
EOF |
2449 |
|
|
2450 |
|
|
2451 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
2452 |
echo "configure:2430: checking for sin in -lm" >&5 |
echo "configure:2453: checking for sin in -lm" >&5 |
2453 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
2454 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2455 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2457 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2458 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
2459 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2460 |
#line 2438 "configure" |
#line 2461 "configure" |
2461 |
#include "confdefs.h" |
#include "confdefs.h" |
2462 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2463 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
2468 |
sin() |
sin() |
2469 |
; return 0; } |
; return 0; } |
2470 |
EOF |
EOF |
2471 |
if { (eval echo configure:2449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2472 |
rm -rf conftest* |
rm -rf conftest* |
2473 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2474 |
else |
else |
2490 |
fi |
fi |
2491 |
|
|
2492 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
2493 |
echo "configure:2471: checking for main in -lmingwex" >&5 |
echo "configure:2494: checking for main in -lmingwex" >&5 |
2494 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
2495 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2496 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2498 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2499 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
2500 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2501 |
#line 2479 "configure" |
#line 2502 "configure" |
2502 |
#include "confdefs.h" |
#include "confdefs.h" |
2503 |
|
|
2504 |
int main() { |
int main() { |
2505 |
main() |
main() |
2506 |
; return 0; } |
; return 0; } |
2507 |
EOF |
EOF |
2508 |
if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2509 |
rm -rf conftest* |
rm -rf conftest* |
2510 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2511 |
else |
else |
2534 |
do |
do |
2535 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2536 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2537 |
echo "configure:2515: checking for $ac_hdr" >&5 |
echo "configure:2538: checking for $ac_hdr" >&5 |
2538 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2539 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2540 |
else |
else |
2541 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2542 |
#line 2520 "configure" |
#line 2543 "configure" |
2543 |
#include "confdefs.h" |
#include "confdefs.h" |
2544 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2545 |
EOF |
EOF |
2546 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2547 |
{ (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2548 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2549 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2550 |
rm -rf conftest* |
rm -rf conftest* |
2581 |
do |
do |
2582 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2583 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2584 |
echo "configure:2562: checking for $ac_hdr" >&5 |
echo "configure:2585: checking for $ac_hdr" >&5 |
2585 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2586 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2587 |
else |
else |
2588 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2589 |
#line 2567 "configure" |
#line 2590 "configure" |
2590 |
#include "confdefs.h" |
#include "confdefs.h" |
2591 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2592 |
EOF |
EOF |
2593 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2594 |
{ (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2595 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2596 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2597 |
rm -rf conftest* |
rm -rf conftest* |
2627 |
# test makes sense. CM |
# test makes sense. CM |
2628 |
# |
# |
2629 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
2630 |
echo "configure:2608: checking for isnormal" >&5 |
echo "configure:2631: checking for isnormal" >&5 |
2631 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2632 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
2633 |
else |
else |
2634 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2635 |
#line 2613 "configure" |
#line 2636 "configure" |
2636 |
#include "confdefs.h" |
#include "confdefs.h" |
2637 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
2638 |
#include <math.h> |
#include <math.h> |
2641 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
2642 |
} |
} |
2643 |
EOF |
EOF |
2644 |
if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2645 |
then |
then |
2646 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2647 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
2652 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
2653 |
rm -fr conftest* |
rm -fr conftest* |
2654 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
2655 |
echo "configure:2633: checking for fpclass in ieeefp.h" >&5 |
echo "configure:2656: checking for fpclass in ieeefp.h" >&5 |
2656 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2657 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
2658 |
else |
else |
2659 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2660 |
#line 2638 "configure" |
#line 2661 "configure" |
2661 |
#include "confdefs.h" |
#include "confdefs.h" |
2662 |
#include <ieeefp.h> |
#include <ieeefp.h> |
2663 |
int main() { |
int main() { |
2665 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
2666 |
} |
} |
2667 |
EOF |
EOF |
2668 |
if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2669 |
then |
then |
2670 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2671 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
2687 |
|
|
2688 |
|
|
2689 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
2690 |
echo "configure:2668: checking for isfinite" >&5 |
echo "configure:2691: checking for isfinite" >&5 |
2691 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2692 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
2693 |
else |
else |
2694 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2695 |
#line 2673 "configure" |
#line 2696 "configure" |
2696 |
#include "confdefs.h" |
#include "confdefs.h" |
2697 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
2698 |
#include <math.h> |
#include <math.h> |
2701 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
2702 |
} |
} |
2703 |
EOF |
EOF |
2704 |
if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2705 |
then |
then |
2706 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2707 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
2712 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
2713 |
rm -fr conftest* |
rm -fr conftest* |
2714 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
2715 |
echo "configure:2693: checking for finite()" >&5 |
echo "configure:2716: checking for finite()" >&5 |
2716 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2717 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
2718 |
else |
else |
2719 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2720 |
#line 2698 "configure" |
#line 2721 "configure" |
2721 |
#include "confdefs.h" |
#include "confdefs.h" |
2722 |
#include <math.h> |
#include <math.h> |
2723 |
int main() { |
int main() { |
2725 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
2726 |
} |
} |
2727 |
EOF |
EOF |
2728 |
if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2729 |
then |
then |
2730 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2731 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
2766 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
2767 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
2768 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
2769 |
echo "configure:2747: checking for sockets" >&5 |
echo "configure:2770: checking for sockets" >&5 |
2770 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
2771 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2772 |
echo "configure:2750: checking for connect" >&5 |
echo "configure:2773: checking for connect" >&5 |
2773 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2774 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2775 |
else |
else |
2776 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2777 |
#line 2755 "configure" |
#line 2778 "configure" |
2778 |
#include "confdefs.h" |
#include "confdefs.h" |
2779 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2780 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2797 |
|
|
2798 |
; return 0; } |
; return 0; } |
2799 |
EOF |
EOF |
2800 |
if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2801 |
rm -rf conftest* |
rm -rf conftest* |
2802 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2803 |
else |
else |
2819 |
|
|
2820 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
2821 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
2822 |
echo "configure:2800: checking for main in -lsocket" >&5 |
echo "configure:2823: checking for main in -lsocket" >&5 |
2823 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
2824 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2825 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2827 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2828 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
2829 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2830 |
#line 2808 "configure" |
#line 2831 "configure" |
2831 |
#include "confdefs.h" |
#include "confdefs.h" |
2832 |
|
|
2833 |
int main() { |
int main() { |
2834 |
main() |
main() |
2835 |
; return 0; } |
; return 0; } |
2836 |
EOF |
EOF |
2837 |
if { (eval echo configure:2815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2838 |
rm -rf conftest* |
rm -rf conftest* |
2839 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2840 |
else |
else |
2862 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
2863 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
2864 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
2865 |
echo "configure:2843: checking for accept" >&5 |
echo "configure:2866: checking for accept" >&5 |
2866 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
2867 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2868 |
else |
else |
2869 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2870 |
#line 2848 "configure" |
#line 2871 "configure" |
2871 |
#include "confdefs.h" |
#include "confdefs.h" |
2872 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2873 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
2890 |
|
|
2891 |
; return 0; } |
; return 0; } |
2892 |
EOF |
EOF |
2893 |
if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2894 |
rm -rf conftest* |
rm -rf conftest* |
2895 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
2896 |
else |
else |
2912 |
|
|
2913 |
fi |
fi |
2914 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2915 |
echo "configure:2893: checking for gethostbyname" >&5 |
echo "configure:2916: checking for gethostbyname" >&5 |
2916 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2917 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2918 |
else |
else |
2919 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2920 |
#line 2898 "configure" |
#line 2921 "configure" |
2921 |
#include "confdefs.h" |
#include "confdefs.h" |
2922 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2923 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2940 |
|
|
2941 |
; return 0; } |
; return 0; } |
2942 |
EOF |
EOF |
2943 |
if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2944 |
rm -rf conftest* |
rm -rf conftest* |
2945 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2946 |
else |
else |
2958 |
else |
else |
2959 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2960 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
2961 |
echo "configure:2939: checking for main in -lnsl" >&5 |
echo "configure:2962: checking for main in -lnsl" >&5 |
2962 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
2963 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2964 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2966 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2967 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2968 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2969 |
#line 2947 "configure" |
#line 2970 "configure" |
2970 |
#include "confdefs.h" |
#include "confdefs.h" |
2971 |
|
|
2972 |
int main() { |
int main() { |
2973 |
main() |
main() |
2974 |
; return 0; } |
; return 0; } |
2975 |
EOF |
EOF |
2976 |
if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2977 |
rm -rf conftest* |
rm -rf conftest* |
2978 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2979 |
else |
else |
2998 |
|
|
2999 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
3000 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
3001 |
echo "configure:2979: checking for main in -lreadline" >&5 |
echo "configure:3002: checking for main in -lreadline" >&5 |
3002 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
3003 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3004 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3006 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3007 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
3008 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3009 |
#line 2987 "configure" |
#line 3010 "configure" |
3010 |
#include "confdefs.h" |
#include "confdefs.h" |
3011 |
|
|
3012 |
int main() { |
int main() { |
3013 |
main() |
main() |
3014 |
; return 0; } |
; return 0; } |
3015 |
EOF |
EOF |
3016 |
if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3017 |
rm -rf conftest* |
rm -rf conftest* |
3018 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3019 |
else |
else |
3045 |
|
|
3046 |
|
|
3047 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
3048 |
echo "configure:3026: checking For network code for nsocket.c" >&5 |
echo "configure:3049: checking For network code for nsocket.c" >&5 |
3049 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3050 |
#line 3028 "configure" |
#line 3051 "configure" |
3051 |
#include "confdefs.h" |
#include "confdefs.h" |
3052 |
|
|
3053 |
#include <sys/time.h> |
#include <sys/time.h> |
3074 |
|
|
3075 |
; return 0; } |
; return 0; } |
3076 |
EOF |
EOF |
3077 |
if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3078 |
rm -rf conftest* |
rm -rf conftest* |
3079 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3080 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
3091 |
|
|
3092 |
|
|
3093 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
3094 |
echo "configure:3072: checking check for listen using fcntl" >&5 |
echo "configure:3095: checking check for listen using fcntl" >&5 |
3095 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3096 |
#line 3074 "configure" |
#line 3097 "configure" |
3097 |
#include "confdefs.h" |
#include "confdefs.h" |
3098 |
#include <stdio.h> |
#include <stdio.h> |
3099 |
#include <fcntl.h> |
#include <fcntl.h> |
3106 |
|
|
3107 |
; return 0; } |
; return 0; } |
3108 |
EOF |
EOF |
3109 |
if { (eval echo configure:3087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3110 |
rm -rf conftest* |
rm -rf conftest* |
3111 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3112 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
3125 |
|
|
3126 |
|
|
3127 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
3128 |
echo "configure:3106: checking for profil" >&5 |
echo "configure:3129: checking for profil" >&5 |
3129 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
3130 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3131 |
else |
else |
3132 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3133 |
#line 3111 "configure" |
#line 3134 "configure" |
3134 |
#include "confdefs.h" |
#include "confdefs.h" |
3135 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3136 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
3153 |
|
|
3154 |
; return 0; } |
; return 0; } |
3155 |
EOF |
EOF |
3156 |
if { (eval echo configure:3134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3157 |
rm -rf conftest* |
rm -rf conftest* |
3158 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
3159 |
else |
else |
3178 |
|
|
3179 |
|
|
3180 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
3181 |
echo "configure:3159: checking for setenv" >&5 |
echo "configure:3182: checking for setenv" >&5 |
3182 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
3183 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3184 |
else |
else |
3185 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3186 |
#line 3164 "configure" |
#line 3187 "configure" |
3187 |
#include "confdefs.h" |
#include "confdefs.h" |
3188 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3189 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
3206 |
|
|
3207 |
; return 0; } |
; return 0; } |
3208 |
EOF |
EOF |
3209 |
if { (eval echo configure:3187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3210 |
rm -rf conftest* |
rm -rf conftest* |
3211 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
3212 |
else |
else |
3232 |
|
|
3233 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
3234 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
3235 |
echo "configure:3213: checking for putenv" >&5 |
echo "configure:3236: checking for putenv" >&5 |
3236 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
3237 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3238 |
else |
else |
3239 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3240 |
#line 3218 "configure" |
#line 3241 "configure" |
3241 |
#include "confdefs.h" |
#include "confdefs.h" |
3242 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3243 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
3260 |
|
|
3261 |
; return 0; } |
; return 0; } |
3262 |
EOF |
EOF |
3263 |
if { (eval echo configure:3241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3264 |
rm -rf conftest* |
rm -rf conftest* |
3265 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
3266 |
else |
else |
3286 |
fi |
fi |
3287 |
|
|
3288 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
3289 |
echo "configure:3267: checking for _cleanup" >&5 |
echo "configure:3290: checking for _cleanup" >&5 |
3290 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
3291 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3292 |
else |
else |
3293 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3294 |
#line 3272 "configure" |
#line 3295 "configure" |
3295 |
#include "confdefs.h" |
#include "confdefs.h" |
3296 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3297 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
3314 |
|
|
3315 |
; return 0; } |
; return 0; } |
3316 |
EOF |
EOF |
3317 |
if { (eval echo configure:3295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3318 |
rm -rf conftest* |
rm -rf conftest* |
3319 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
3320 |
else |
else |
3340 |
gcl_ok=no |
gcl_ok=no |
3341 |
|
|
3342 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3343 |
#line 3321 "configure" |
#line 3344 "configure" |
3344 |
#include "confdefs.h" |
#include "confdefs.h" |
3345 |
#include <ctype.h> |
#include <ctype.h> |
3346 |
EOF |
EOF |
3368 |
|
|
3369 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
3370 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
3371 |
echo "configure:3349: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:3372: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
3372 |
|
|
3373 |
case $system in |
case $system in |
3374 |
OSF*) |
OSF*) |
3399 |
|
|
3400 |
|
|
3401 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
3402 |
echo "configure:3380: checking check for SV_ONSTACK" >&5 |
echo "configure:3403: checking check for SV_ONSTACK" >&5 |
3403 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3404 |
#line 3382 "configure" |
#line 3405 "configure" |
3405 |
#include "confdefs.h" |
#include "confdefs.h" |
3406 |
#include <signal.h> |
#include <signal.h> |
3407 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
3410 |
|
|
3411 |
; return 0; } |
; return 0; } |
3412 |
EOF |
EOF |
3413 |
if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3414 |
rm -rf conftest* |
rm -rf conftest* |
3415 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3416 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
3427 |
rm -f conftest* |
rm -f conftest* |
3428 |
|
|
3429 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
3430 |
echo "configure:3408: checking check for SIGSYS" >&5 |
echo "configure:3431: checking check for SIGSYS" >&5 |
3431 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3432 |
#line 3410 "configure" |
#line 3433 "configure" |
3433 |
#include "confdefs.h" |
#include "confdefs.h" |
3434 |
#include <signal.h> |
#include <signal.h> |
3435 |
int joe=SIGSYS; |
int joe=SIGSYS; |
3438 |
|
|
3439 |
; return 0; } |
; return 0; } |
3440 |
EOF |
EOF |
3441 |
if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3442 |
rm -rf conftest* |
rm -rf conftest* |
3443 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3444 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
3456 |
|
|
3457 |
|
|
3458 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
3459 |
echo "configure:3437: checking check for SIGEMT" >&5 |
echo "configure:3460: checking check for SIGEMT" >&5 |
3460 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3461 |
#line 3439 "configure" |
#line 3462 "configure" |
3462 |
#include "confdefs.h" |
#include "confdefs.h" |
3463 |
#include <signal.h> |
#include <signal.h> |
3464 |
int joe=SIGEMT; |
int joe=SIGEMT; |
3467 |
|
|
3468 |
; return 0; } |
; return 0; } |
3469 |
EOF |
EOF |
3470 |
if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3471 |
rm -rf conftest* |
rm -rf conftest* |
3472 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3473 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
3491 |
do |
do |
3492 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3493 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3494 |
echo "configure:3472: checking for $ac_hdr" >&5 |
echo "configure:3495: checking for $ac_hdr" >&5 |
3495 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3496 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3497 |
else |
else |
3498 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3499 |
#line 3477 "configure" |
#line 3500 "configure" |
3500 |
#include "confdefs.h" |
#include "confdefs.h" |
3501 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3502 |
EOF |
EOF |
3503 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3504 |
{ (eval echo configure:3482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3505 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3506 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3507 |
rm -rf conftest* |
rm -rf conftest* |
3531 |
do |
do |
3532 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3533 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3534 |
echo "configure:3512: checking for $ac_hdr" >&5 |
echo "configure:3535: checking for $ac_hdr" >&5 |
3535 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3536 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3537 |
else |
else |
3538 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3539 |
#line 3517 "configure" |
#line 3540 "configure" |
3540 |
#include "confdefs.h" |
#include "confdefs.h" |
3541 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3542 |
EOF |
EOF |
3543 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3544 |
{ (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3545 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3546 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3547 |
rm -rf conftest* |
rm -rf conftest* |
3568 |
done |
done |
3569 |
|
|
3570 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3571 |
#line 3549 "configure" |
#line 3572 "configure" |
3572 |
#include "confdefs.h" |
#include "confdefs.h" |
3573 |
#include <signal.h> |
#include <signal.h> |
3574 |
long code; |
long code; |
3579 |
|
|
3580 |
; return 0; } |
; return 0; } |
3581 |
EOF |
EOF |
3582 |
if { (eval echo configure:3560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3583 |
rm -rf conftest* |
rm -rf conftest* |
3584 |
|
|
3585 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
3600 |
rm -f conftest* |
rm -f conftest* |
3601 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
3602 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3603 |
#line 3581 "configure" |
#line 3604 "configure" |
3604 |
#include "confdefs.h" |
#include "confdefs.h" |
3605 |
#include <signal.h> |
#include <signal.h> |
3606 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
3617 |
|
|
3618 |
; return 0; } |
; return 0; } |
3619 |
EOF |
EOF |
3620 |
if { (eval echo configure:3598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3621 |
rm -rf conftest* |
rm -rf conftest* |
3622 |
|
|
3623 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
3660 |
# Extract the first word of "emacs", so it can be a program name with args. |
# Extract the first word of "emacs", so it can be a program name with args. |
3661 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
3662 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3663 |
echo "configure:3641: checking for $ac_word" >&5 |
echo "configure:3664: checking for $ac_word" >&5 |
3664 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
3665 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3666 |
else |
else |
3708 |
EOF |
EOF |
3709 |
|
|
3710 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
3711 |
echo "configure:3689: checking emacs site lisp directory" >&5 |
echo "configure:3712: checking emacs site lisp directory" >&5 |
3712 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
3713 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3714 |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
3731 |
EOF |
EOF |
3732 |
|
|
3733 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
3734 |
echo "configure:3712: checking emacs default.el" >&5 |
echo "configure:3735: checking emacs default.el" >&5 |
3735 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3736 |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
3737 |
else |
else |
3760 |
EOF |
EOF |
3761 |
|
|
3762 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3763 |
echo "configure:3741: checking emacs info/dir" >&5 |
echo "configure:3764: checking emacs info/dir" >&5 |
3764 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3765 |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
3766 |
fi |
fi |
3774 |
|
|
3775 |
|
|
3776 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3777 |
echo "configure:3755: checking for tcl/tk" >&5 |
echo "configure:3778: checking for tcl/tk" >&5 |
3778 |
|
|
3779 |
|
|
3780 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3797 |
# Extract the first word of "tclsh", so it can be a program name with args. |
# Extract the first word of "tclsh", so it can be a program name with args. |
3798 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3799 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3800 |
echo "configure:3778: checking for $ac_word" >&5 |
echo "configure:3801: checking for $ac_word" >&5 |
3801 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3802 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3803 |
else |
else |
3897 |
fi |
fi |
3898 |
fi |
fi |
3899 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3900 |
echo "configure:3878: checking for main in -llieee" >&5 |
echo "configure:3901: checking for main in -llieee" >&5 |
3901 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3902 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3903 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3905 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3906 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3907 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3908 |
#line 3886 "configure" |
#line 3909 "configure" |
3909 |
#include "confdefs.h" |
#include "confdefs.h" |
3910 |
|
|
3911 |
int main() { |
int main() { |
3912 |
main() |
main() |
3913 |
; return 0; } |
; return 0; } |
3914 |
EOF |
EOF |
3915 |
if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3916 |
rm -rf conftest* |
rm -rf conftest* |
3917 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3918 |
else |
else |
3977 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3978 |
|
|
3979 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3980 |
echo "configure:3958: checking alloca" >&5 |
echo "configure:3981: checking alloca" >&5 |
3981 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3982 |
gcl_ok=no |
gcl_ok=no |
3983 |
else |
else |
3984 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3985 |
#line 3963 "configure" |
#line 3986 "configure" |
3986 |
#include "confdefs.h" |
#include "confdefs.h" |
3987 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3988 |
EOF |
EOF |
3989 |
if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3990 |
then |
then |
3991 |
: |
: |
3992 |
else |
else |
4009 |
gcl_ok=no |
gcl_ok=no |
4010 |
else |
else |
4011 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4012 |
#line 3990 "configure" |
#line 4013 "configure" |
4013 |
#include "confdefs.h" |
#include "confdefs.h" |
4014 |
#include <alloca.h> |
#include <alloca.h> |
4015 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
4016 |
EOF |
EOF |
4017 |
if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4018 |
then |
then |
4019 |
: |
: |
4020 |
else |
else |
4075 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
4076 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
4077 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
4078 |
echo "configure:4056: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:4079: checking Checking for buggy gcc version from redhat" >&5 |
4079 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
4080 |
then |
then |
4081 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
4241 |
s%@AWK@%$AWK%g |
s%@AWK@%$AWK%g |
4242 |
s%@MAKEINFO@%$MAKEINFO%g |
s%@MAKEINFO@%$MAKEINFO%g |
4243 |
s%@GMP@%$GMP%g |
s%@GMP@%$GMP%g |
4244 |
|
s%@GMPDIR@%$GMPDIR%g |
4245 |
s%@MP_INCLUDE@%$MP_INCLUDE%g |
s%@MP_INCLUDE@%$MP_INCLUDE%g |
4246 |
s%@BUILD_BFD@%$BUILD_BFD%g |
s%@BUILD_BFD@%$BUILD_BFD%g |
4247 |
s%@LITTLE_END@%$LITTLE_END%g |
s%@LITTLE_END@%$LITTLE_END%g |