868 |
ia64*) |
ia64*) |
869 |
enable_dlopen="yes" ;; |
enable_dlopen="yes" ;; |
870 |
hppa*) |
hppa*) |
871 |
|
EXTRA_CFLAGS=-fPIC; |
872 |
enable_dlopen="yes" ;; |
enable_dlopen="yes" ;; |
873 |
esac;; |
esac;; |
874 |
esac |
esac |
893 |
# 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. |
894 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
895 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
896 |
echo "configure:896: checking for $ac_word" >&5 |
echo "configure:897: checking for $ac_word" >&5 |
897 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
898 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
899 |
else |
else |
923 |
# 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. |
924 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
925 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
926 |
echo "configure:926: checking for $ac_word" >&5 |
echo "configure:927: checking for $ac_word" >&5 |
927 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
928 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
929 |
else |
else |
974 |
# 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. |
975 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
976 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
977 |
echo "configure:977: checking for $ac_word" >&5 |
echo "configure:978: checking for $ac_word" >&5 |
978 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
979 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
980 |
else |
else |
1006 |
fi |
fi |
1007 |
|
|
1008 |
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 |
1009 |
echo "configure:1009: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:1010: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1010 |
|
|
1011 |
ac_ext=c |
ac_ext=c |
1012 |
# 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. |
1017 |
|
|
1018 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
1019 |
|
|
1020 |
#line 1020 "configure" |
#line 1021 "configure" |
1021 |
#include "confdefs.h" |
#include "confdefs.h" |
1022 |
|
|
1023 |
main(){return(0);} |
main(){return(0);} |
1024 |
EOF |
EOF |
1025 |
if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1026 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
1027 |
# 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. |
1028 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
1048 |
{ 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; } |
1049 |
fi |
fi |
1050 |
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 |
1051 |
echo "configure:1051: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:1052: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1052 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1053 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
1054 |
|
|
1055 |
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 |
1056 |
echo "configure:1056: checking whether we are using GNU C" >&5 |
echo "configure:1057: checking whether we are using GNU C" >&5 |
1057 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1058 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1059 |
else |
else |
1062 |
yes; |
yes; |
1063 |
#endif |
#endif |
1064 |
EOF |
EOF |
1065 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1065: \"$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:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1066 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
1067 |
else |
else |
1068 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
1081 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
1082 |
CFLAGS= |
CFLAGS= |
1083 |
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 |
1084 |
echo "configure:1084: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:1085: checking whether ${CC-cc} accepts -g" >&5 |
1085 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1086 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1087 |
else |
else |
1113 |
fi |
fi |
1114 |
|
|
1115 |
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 |
1116 |
echo "configure:1116: checking how to run the C preprocessor" >&5 |
echo "configure:1117: checking how to run the C preprocessor" >&5 |
1117 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
1118 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
1119 |
CPP= |
CPP= |
1128 |
# 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, |
1129 |
# not just through cpp. |
# not just through cpp. |
1130 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1131 |
#line 1131 "configure" |
#line 1132 "configure" |
1132 |
#include "confdefs.h" |
#include "confdefs.h" |
1133 |
#include <assert.h> |
#include <assert.h> |
1134 |
Syntax Error |
Syntax Error |
1135 |
EOF |
EOF |
1136 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1137 |
{ (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1138 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1139 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1140 |
: |
: |
1145 |
rm -rf conftest* |
rm -rf conftest* |
1146 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
1147 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1148 |
#line 1148 "configure" |
#line 1149 "configure" |
1149 |
#include "confdefs.h" |
#include "confdefs.h" |
1150 |
#include <assert.h> |
#include <assert.h> |
1151 |
Syntax Error |
Syntax Error |
1152 |
EOF |
EOF |
1153 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1154 |
{ (eval echo configure:1154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1155 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1156 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1157 |
: |
: |
1162 |
rm -rf conftest* |
rm -rf conftest* |
1163 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
1164 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1165 |
#line 1165 "configure" |
#line 1166 "configure" |
1166 |
#include "confdefs.h" |
#include "confdefs.h" |
1167 |
#include <assert.h> |
#include <assert.h> |
1168 |
Syntax Error |
Syntax Error |
1169 |
EOF |
EOF |
1170 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1171 |
{ (eval echo configure:1171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1172 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1173 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1174 |
: |
: |
1209 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1210 |
|
|
1211 |
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 |
1212 |
echo "configure:1212: checking system version (for dynamic loading)" >&5 |
echo "configure:1213: checking system version (for dynamic loading)" >&5 |
1213 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1214 |
|
|
1215 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
1217 |
# 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. |
1218 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1219 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1220 |
echo "configure:1220: checking for $ac_word" >&5 |
echo "configure:1221: checking for $ac_word" >&5 |
1221 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1222 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1223 |
else |
else |
1253 |
# 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. |
1254 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1255 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1256 |
echo "configure:1256: checking for $ac_word" >&5 |
echo "configure:1257: checking for $ac_word" >&5 |
1257 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1258 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1259 |
else |
else |
1315 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
1316 |
|
|
1317 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
1318 |
echo "configure:1318: checking for dlopen in -ldl" >&5 |
echo "configure:1319: checking for dlopen in -ldl" >&5 |
1319 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
1320 |
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 |
1321 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1323 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1324 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
1325 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1326 |
#line 1326 "configure" |
#line 1327 "configure" |
1327 |
#include "confdefs.h" |
#include "confdefs.h" |
1328 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1329 |
/* 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 |
1334 |
dlopen() |
dlopen() |
1335 |
; return 0; } |
; return 0; } |
1336 |
EOF |
EOF |
1337 |
if { (eval echo configure:1337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1338 |
rm -rf conftest* |
rm -rf conftest* |
1339 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1340 |
else |
else |
1371 |
if test "$enable_bfd" = "yes" ; then |
if test "$enable_bfd" = "yes" ; then |
1372 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
1373 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
1374 |
echo "configure:1374: checking for bfd.h" >&5 |
echo "configure:1375: checking for bfd.h" >&5 |
1375 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1376 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1377 |
else |
else |
1378 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1379 |
#line 1379 "configure" |
#line 1380 "configure" |
1380 |
#include "confdefs.h" |
#include "confdefs.h" |
1381 |
#include <bfd.h> |
#include <bfd.h> |
1382 |
EOF |
EOF |
1383 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1384 |
{ (eval echo configure:1384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1385 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1386 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1387 |
rm -rf conftest* |
rm -rf conftest* |
1398 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1399 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1400 |
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 |
1401 |
echo "configure:1401: checking for bfd_init in -lbfd" >&5 |
echo "configure:1402: checking for bfd_init in -lbfd" >&5 |
1402 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
1403 |
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 |
1404 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1406 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1407 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
1408 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1409 |
#line 1409 "configure" |
#line 1410 "configure" |
1410 |
#include "confdefs.h" |
#include "confdefs.h" |
1411 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1412 |
/* 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 |
1417 |
bfd_init() |
bfd_init() |
1418 |
; return 0; } |
; return 0; } |
1419 |
EOF |
EOF |
1420 |
if { (eval echo configure:1420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1421 |
rm -rf conftest* |
rm -rf conftest* |
1422 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1423 |
else |
else |
1441 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
1442 |
# |
# |
1443 |
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 |
1444 |
echo "configure:1444: checking if need to define CONST for bfd" >&5 |
echo "configure:1445: checking if need to define CONST for bfd" >&5 |
1445 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1446 |
echo "$ac_t""cannot use bfd" 1>&6 |
echo "$ac_t""cannot use bfd" 1>&6 |
1447 |
else |
else |
1448 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1449 |
#line 1449 "configure" |
#line 1450 "configure" |
1450 |
#include "confdefs.h" |
#include "confdefs.h" |
1451 |
#define IN_GCC |
#define IN_GCC |
1452 |
#include <bfd.h> |
#include <bfd.h> |
1453 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
1454 |
EOF |
EOF |
1455 |
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:1456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1456 |
then |
then |
1457 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1458 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1468 |
echo "$ac_t""cannot use bfd" 1>&6 |
echo "$ac_t""cannot use bfd" 1>&6 |
1469 |
else |
else |
1470 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1471 |
#line 1471 "configure" |
#line 1472 "configure" |
1472 |
#include "confdefs.h" |
#include "confdefs.h" |
1473 |
#define IN_GCC |
#define IN_GCC |
1474 |
#include <bfd.h> |
#include <bfd.h> |
1475 |
#define CONST const |
#define CONST const |
1476 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
1477 |
EOF |
EOF |
1478 |
if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1479 |
then |
then |
1480 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1481 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1519 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
1520 |
|
|
1521 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
1522 |
echo "configure:1522: checking size of long *" >&5 |
echo "configure:1523: checking size of long *" >&5 |
1523 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
1524 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1525 |
else |
else |
1527 |
ac_cv_sizeof_long_p=0 |
ac_cv_sizeof_long_p=0 |
1528 |
else |
else |
1529 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1530 |
#line 1530 "configure" |
#line 1531 "configure" |
1531 |
#include "confdefs.h" |
#include "confdefs.h" |
1532 |
#include <stdio.h> |
#include <stdio.h> |
1533 |
main() |
main() |
1538 |
exit(0); |
exit(0); |
1539 |
} |
} |
1540 |
EOF |
EOF |
1541 |
if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1542 |
then |
then |
1543 |
ac_cv_sizeof_long_p=`cat conftestval` |
ac_cv_sizeof_long_p=`cat conftestval` |
1544 |
else |
else |
1562 |
do |
do |
1563 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1564 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1565 |
echo "configure:1565: checking for $ac_hdr" >&5 |
echo "configure:1566: checking for $ac_hdr" >&5 |
1566 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1567 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1568 |
else |
else |
1569 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1570 |
#line 1570 "configure" |
#line 1571 "configure" |
1571 |
#include "confdefs.h" |
#include "confdefs.h" |
1572 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1573 |
EOF |
EOF |
1574 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1575 |
{ (eval echo configure:1575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1576 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1577 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1578 |
rm -rf conftest* |
rm -rf conftest* |
1593 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
1594 |
EOF |
EOF |
1595 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
1596 |
echo "configure:1596: checking "endianness"" >&5 |
echo "configure:1597: checking "endianness"" >&5 |
1597 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1598 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
1599 |
else |
else |
1600 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1601 |
#line 1601 "configure" |
#line 1602 "configure" |
1602 |
#include "confdefs.h" |
#include "confdefs.h" |
1603 |
#define __ARMEB__ |
#define __ARMEB__ |
1604 |
#include <endian.h> |
#include <endian.h> |
1605 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
1606 |
EOF |
EOF |
1607 |
if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1608 |
then |
then |
1609 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1610 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
1627 |
|
|
1628 |
|
|
1629 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
1630 |
echo "configure:1630: checking "finding DBEGIN"" >&5 |
echo "configure:1631: checking "finding DBEGIN"" >&5 |
1631 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1632 |
dbegin=0 |
dbegin=0 |
1633 |
else |
else |
1634 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1635 |
#line 1635 "configure" |
#line 1636 "configure" |
1636 |
#include "confdefs.h" |
#include "confdefs.h" |
1637 |
#include <stdio.h> |
#include <stdio.h> |
1638 |
#include <stdlib.h> |
#include <stdlib.h> |
1645 |
return 0; |
return 0; |
1646 |
} |
} |
1647 |
EOF |
EOF |
1648 |
if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1649 |
then |
then |
1650 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
1651 |
else |
else |
1667 |
|
|
1668 |
|
|
1669 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
1670 |
echo "configure:1670: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:1671: checking "finding CSTACK_ADDRESS"" >&5 |
1671 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1672 |
cstack_address=0 |
cstack_address=0 |
1673 |
else |
else |
1674 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1675 |
#line 1675 "configure" |
#line 1676 "configure" |
1676 |
#include "confdefs.h" |
#include "confdefs.h" |
1677 |
#include <stdio.h> |
#include <stdio.h> |
1678 |
main() |
main() |
1684 |
return 0; |
return 0; |
1685 |
} |
} |
1686 |
EOF |
EOF |
1687 |
if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1688 |
then |
then |
1689 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
1690 |
else |
else |
1706 |
|
|
1707 |
|
|
1708 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
1709 |
echo "configure:1709: checking "sizeof long long int"" >&5 |
echo "configure:1710: checking "sizeof long long int"" >&5 |
1710 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1711 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1712 |
|
|
1713 |
else |
else |
1714 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1715 |
#line 1715 "configure" |
#line 1716 "configure" |
1716 |
#include "confdefs.h" |
#include "confdefs.h" |
1717 |
#include <stdio.h> |
#include <stdio.h> |
1718 |
main() |
main() |
1722 |
} |
} |
1723 |
|
|
1724 |
EOF |
EOF |
1725 |
if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1726 |
then |
then |
1727 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1728 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
1771 |
|
|
1772 |
# pagewidth |
# pagewidth |
1773 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
1774 |
echo "configure:1774: checking for pagewidth" >&5 |
echo "configure:1775: checking for pagewidth" >&5 |
1775 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1776 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
1777 |
else |
else |
1778 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1779 |
#line 1779 "configure" |
#line 1780 "configure" |
1780 |
#include "confdefs.h" |
#include "confdefs.h" |
1781 |
#include <stdio.h> |
#include <stdio.h> |
1782 |
#include <unistd.h> |
#include <unistd.h> |
1786 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
1787 |
return 0;} |
return 0;} |
1788 |
EOF |
EOF |
1789 |
if { (eval echo configure:1789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1790 |
then |
then |
1791 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
1792 |
else |
else |
1813 |
for ac_func in getcwd |
for ac_func in getcwd |
1814 |
do |
do |
1815 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1816 |
echo "configure:1816: checking for $ac_func" >&5 |
echo "configure:1817: checking for $ac_func" >&5 |
1817 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1818 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1819 |
else |
else |
1820 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1821 |
#line 1821 "configure" |
#line 1822 "configure" |
1822 |
#include "confdefs.h" |
#include "confdefs.h" |
1823 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1824 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1841 |
|
|
1842 |
; return 0; } |
; return 0; } |
1843 |
EOF |
EOF |
1844 |
if { (eval echo configure:1844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1845 |
rm -rf conftest* |
rm -rf conftest* |
1846 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1847 |
else |
else |
1868 |
for ac_func in getwd |
for ac_func in getwd |
1869 |
do |
do |
1870 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1871 |
echo "configure:1871: checking for $ac_func" >&5 |
echo "configure:1872: checking for $ac_func" >&5 |
1872 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1873 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1874 |
else |
else |
1875 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1876 |
#line 1876 "configure" |
#line 1877 "configure" |
1877 |
#include "confdefs.h" |
#include "confdefs.h" |
1878 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1879 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1896 |
|
|
1897 |
; return 0; } |
; return 0; } |
1898 |
EOF |
EOF |
1899 |
if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1900 |
rm -rf conftest* |
rm -rf conftest* |
1901 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1902 |
else |
else |
1921 |
done |
done |
1922 |
|
|
1923 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
1924 |
echo "configure:1924: checking for uname" >&5 |
echo "configure:1925: checking for uname" >&5 |
1925 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
1926 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1927 |
else |
else |
1928 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1929 |
#line 1929 "configure" |
#line 1930 "configure" |
1930 |
#include "confdefs.h" |
#include "confdefs.h" |
1931 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1932 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
1949 |
|
|
1950 |
; return 0; } |
; return 0; } |
1951 |
EOF |
EOF |
1952 |
if { (eval echo configure:1952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1953 |
rm -rf conftest* |
rm -rf conftest* |
1954 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
1955 |
else |
else |
1973 |
fi |
fi |
1974 |
|
|
1975 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1976 |
echo "configure:1976: checking for gettimeofday" >&5 |
echo "configure:1977: checking for gettimeofday" >&5 |
1977 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1978 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1979 |
else |
else |
1980 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1981 |
#line 1981 "configure" |
#line 1982 "configure" |
1982 |
#include "confdefs.h" |
#include "confdefs.h" |
1983 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1984 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
2001 |
|
|
2002 |
; return 0; } |
; return 0; } |
2003 |
EOF |
EOF |
2004 |
if { (eval echo configure:2004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2005 |
rm -rf conftest* |
rm -rf conftest* |
2006 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
2007 |
else |
else |
2030 |
do |
do |
2031 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2032 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2033 |
echo "configure:2033: checking for $ac_hdr" >&5 |
echo "configure:2034: checking for $ac_hdr" >&5 |
2034 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2035 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2036 |
else |
else |
2037 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2038 |
#line 2038 "configure" |
#line 2039 "configure" |
2039 |
#include "confdefs.h" |
#include "confdefs.h" |
2040 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2041 |
EOF |
EOF |
2042 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2043 |
{ (eval echo configure:2043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2044 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2045 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2046 |
rm -rf conftest* |
rm -rf conftest* |
2080 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
2081 |
|
|
2082 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
2083 |
echo "configure:2083: checking for BSDgettimeofday" >&5 |
echo "configure:2084: checking for BSDgettimeofday" >&5 |
2084 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
2085 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2086 |
else |
else |
2087 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2088 |
#line 2088 "configure" |
#line 2089 "configure" |
2089 |
#include "confdefs.h" |
#include "confdefs.h" |
2090 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2091 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
2108 |
|
|
2109 |
; return 0; } |
; return 0; } |
2110 |
EOF |
EOF |
2111 |
if { (eval echo configure:2111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2112 |
rm -rf conftest* |
rm -rf conftest* |
2113 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
2114 |
else |
else |
2129 |
else |
else |
2130 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2131 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
2132 |
echo "configure:2132: checking for gettimeofday" >&5 |
echo "configure:2133: checking for gettimeofday" >&5 |
2133 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
2134 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2135 |
else |
else |
2136 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2137 |
#line 2137 "configure" |
#line 2138 "configure" |
2138 |
#include "confdefs.h" |
#include "confdefs.h" |
2139 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2140 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
2157 |
|
|
2158 |
; return 0; } |
; return 0; } |
2159 |
EOF |
EOF |
2160 |
if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2161 |
rm -rf conftest* |
rm -rf conftest* |
2162 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
2163 |
else |
else |
2184 |
|
|
2185 |
|
|
2186 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
2187 |
echo "configure:2187: checking for gettimeofday declaration" >&5 |
echo "configure:2188: checking for gettimeofday declaration" >&5 |
2188 |
|
|
2189 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2190 |
#line 2190 "configure" |
#line 2191 "configure" |
2191 |
#include "confdefs.h" |
#include "confdefs.h" |
2192 |
#include <sys/time.h> |
#include <sys/time.h> |
2193 |
EOF |
EOF |
2208 |
|
|
2209 |
|
|
2210 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
2211 |
echo "configure:2211: checking for sin in -lm" >&5 |
echo "configure:2212: checking for sin in -lm" >&5 |
2212 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
2213 |
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 |
2214 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2216 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2217 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
2218 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2219 |
#line 2219 "configure" |
#line 2220 "configure" |
2220 |
#include "confdefs.h" |
#include "confdefs.h" |
2221 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2222 |
/* 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 |
2227 |
sin() |
sin() |
2228 |
; return 0; } |
; return 0; } |
2229 |
EOF |
EOF |
2230 |
if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2231 |
rm -rf conftest* |
rm -rf conftest* |
2232 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2233 |
else |
else |
2249 |
fi |
fi |
2250 |
|
|
2251 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
2252 |
echo "configure:2252: checking for main in -lmingwex" >&5 |
echo "configure:2253: checking for main in -lmingwex" >&5 |
2253 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
2254 |
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 |
2255 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2257 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2258 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
2259 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2260 |
#line 2260 "configure" |
#line 2261 "configure" |
2261 |
#include "confdefs.h" |
#include "confdefs.h" |
2262 |
|
|
2263 |
int main() { |
int main() { |
2264 |
main() |
main() |
2265 |
; return 0; } |
; return 0; } |
2266 |
EOF |
EOF |
2267 |
if { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2268 |
rm -rf conftest* |
rm -rf conftest* |
2269 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2270 |
else |
else |
2293 |
do |
do |
2294 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2295 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2296 |
echo "configure:2296: checking for $ac_hdr" >&5 |
echo "configure:2297: checking for $ac_hdr" >&5 |
2297 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2298 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2299 |
else |
else |
2300 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2301 |
#line 2301 "configure" |
#line 2302 "configure" |
2302 |
#include "confdefs.h" |
#include "confdefs.h" |
2303 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2304 |
EOF |
EOF |
2305 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2306 |
{ (eval echo configure:2306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2307 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2308 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2309 |
rm -rf conftest* |
rm -rf conftest* |
2340 |
do |
do |
2341 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2342 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2343 |
echo "configure:2343: checking for $ac_hdr" >&5 |
echo "configure:2344: checking for $ac_hdr" >&5 |
2344 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2345 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2346 |
else |
else |
2347 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2348 |
#line 2348 "configure" |
#line 2349 "configure" |
2349 |
#include "confdefs.h" |
#include "confdefs.h" |
2350 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2351 |
EOF |
EOF |
2352 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2353 |
{ (eval echo configure:2353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2354 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2355 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2356 |
rm -rf conftest* |
rm -rf conftest* |
2386 |
# test makes sense. CM |
# test makes sense. CM |
2387 |
# |
# |
2388 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
2389 |
echo "configure:2389: checking for isnormal" >&5 |
echo "configure:2390: checking for isnormal" >&5 |
2390 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2391 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
2392 |
else |
else |
2393 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2394 |
#line 2394 "configure" |
#line 2395 "configure" |
2395 |
#include "confdefs.h" |
#include "confdefs.h" |
2396 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
2397 |
#include <math.h> |
#include <math.h> |
2400 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
2401 |
} |
} |
2402 |
EOF |
EOF |
2403 |
if { (eval echo configure:2403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2404 |
then |
then |
2405 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2406 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
2411 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
2412 |
rm -fr conftest* |
rm -fr conftest* |
2413 |
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 |
2414 |
echo "configure:2414: checking for fpclass in ieeefp.h" >&5 |
echo "configure:2415: checking for fpclass in ieeefp.h" >&5 |
2415 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2416 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
2417 |
else |
else |
2418 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2419 |
#line 2419 "configure" |
#line 2420 "configure" |
2420 |
#include "confdefs.h" |
#include "confdefs.h" |
2421 |
#include <ieeefp.h> |
#include <ieeefp.h> |
2422 |
int main() { |
int main() { |
2424 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
2425 |
} |
} |
2426 |
EOF |
EOF |
2427 |
if { (eval echo configure:2427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2428 |
then |
then |
2429 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2430 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
2446 |
|
|
2447 |
|
|
2448 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
2449 |
echo "configure:2449: checking for isfinite" >&5 |
echo "configure:2450: checking for isfinite" >&5 |
2450 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2451 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
2452 |
else |
else |
2453 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2454 |
#line 2454 "configure" |
#line 2455 "configure" |
2455 |
#include "confdefs.h" |
#include "confdefs.h" |
2456 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
2457 |
#include <math.h> |
#include <math.h> |
2460 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
2461 |
} |
} |
2462 |
EOF |
EOF |
2463 |
if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2464 |
then |
then |
2465 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2466 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
2471 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
2472 |
rm -fr conftest* |
rm -fr conftest* |
2473 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
2474 |
echo "configure:2474: checking for finite()" >&5 |
echo "configure:2475: checking for finite()" >&5 |
2475 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2476 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
2477 |
else |
else |
2478 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2479 |
#line 2479 "configure" |
#line 2480 "configure" |
2480 |
#include "confdefs.h" |
#include "confdefs.h" |
2481 |
#include <math.h> |
#include <math.h> |
2482 |
int main() { |
int main() { |
2484 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
2485 |
} |
} |
2486 |
EOF |
EOF |
2487 |
if { (eval echo configure:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2488 |
then |
then |
2489 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2490 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
2525 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
2526 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
2527 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
2528 |
echo "configure:2528: checking for sockets" >&5 |
echo "configure:2529: checking for sockets" >&5 |
2529 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
2530 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2531 |
echo "configure:2531: checking for connect" >&5 |
echo "configure:2532: checking for connect" >&5 |
2532 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2533 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2534 |
else |
else |
2535 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2536 |
#line 2536 "configure" |
#line 2537 "configure" |
2537 |
#include "confdefs.h" |
#include "confdefs.h" |
2538 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2539 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2556 |
|
|
2557 |
; return 0; } |
; return 0; } |
2558 |
EOF |
EOF |
2559 |
if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2560 |
rm -rf conftest* |
rm -rf conftest* |
2561 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2562 |
else |
else |
2578 |
|
|
2579 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
2580 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
2581 |
echo "configure:2581: checking for main in -lsocket" >&5 |
echo "configure:2582: checking for main in -lsocket" >&5 |
2582 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
2583 |
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 |
2584 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2586 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2587 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
2588 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2589 |
#line 2589 "configure" |
#line 2590 "configure" |
2590 |
#include "confdefs.h" |
#include "confdefs.h" |
2591 |
|
|
2592 |
int main() { |
int main() { |
2593 |
main() |
main() |
2594 |
; return 0; } |
; return 0; } |
2595 |
EOF |
EOF |
2596 |
if { (eval echo configure:2596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2597 |
rm -rf conftest* |
rm -rf conftest* |
2598 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2599 |
else |
else |
2621 |
tk_oldLibs=$LIBS |
tk_oldLibs=$LIBS |
2622 |
LIBS="$LIBS -lsocket -lnsl" |
LIBS="$LIBS -lsocket -lnsl" |
2623 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
2624 |
echo "configure:2624: checking for accept" >&5 |
echo "configure:2625: checking for accept" >&5 |
2625 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
2626 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2627 |
else |
else |
2628 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2629 |
#line 2629 "configure" |
#line 2630 "configure" |
2630 |
#include "confdefs.h" |
#include "confdefs.h" |
2631 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2632 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
2649 |
|
|
2650 |
; return 0; } |
; return 0; } |
2651 |
EOF |
EOF |
2652 |
if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2653 |
rm -rf conftest* |
rm -rf conftest* |
2654 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
2655 |
else |
else |
2671 |
|
|
2672 |
fi |
fi |
2673 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2674 |
echo "configure:2674: checking for gethostbyname" >&5 |
echo "configure:2675: checking for gethostbyname" >&5 |
2675 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2676 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2677 |
else |
else |
2678 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2679 |
#line 2679 "configure" |
#line 2680 "configure" |
2680 |
#include "confdefs.h" |
#include "confdefs.h" |
2681 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2682 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2699 |
|
|
2700 |
; return 0; } |
; return 0; } |
2701 |
EOF |
EOF |
2702 |
if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2703 |
rm -rf conftest* |
rm -rf conftest* |
2704 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2705 |
else |
else |
2717 |
else |
else |
2718 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2719 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
2720 |
echo "configure:2720: checking for main in -lnsl" >&5 |
echo "configure:2721: checking for main in -lnsl" >&5 |
2721 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
2722 |
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 |
2723 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2725 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2726 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2727 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2728 |
#line 2728 "configure" |
#line 2729 "configure" |
2729 |
#include "confdefs.h" |
#include "confdefs.h" |
2730 |
|
|
2731 |
int main() { |
int main() { |
2732 |
main() |
main() |
2733 |
; return 0; } |
; return 0; } |
2734 |
EOF |
EOF |
2735 |
if { (eval echo configure:2735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2736 |
rm -rf conftest* |
rm -rf conftest* |
2737 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2738 |
else |
else |
2757 |
|
|
2758 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
2759 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
2760 |
echo "configure:2760: checking for main in -lreadline" >&5 |
echo "configure:2761: checking for main in -lreadline" >&5 |
2761 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
2762 |
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 |
2763 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2765 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2766 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
2767 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2768 |
#line 2768 "configure" |
#line 2769 "configure" |
2769 |
#include "confdefs.h" |
#include "confdefs.h" |
2770 |
|
|
2771 |
int main() { |
int main() { |
2772 |
main() |
main() |
2773 |
; return 0; } |
; return 0; } |
2774 |
EOF |
EOF |
2775 |
if { (eval echo configure:2775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2776 |
rm -rf conftest* |
rm -rf conftest* |
2777 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2778 |
else |
else |
2805 |
|
|
2806 |
|
|
2807 |
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 |
2808 |
echo "configure:2808: checking For network code for nsocket.c" >&5 |
echo "configure:2809: checking For network code for nsocket.c" >&5 |
2809 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2810 |
#line 2810 "configure" |
#line 2811 "configure" |
2811 |
#include "confdefs.h" |
#include "confdefs.h" |
2812 |
|
|
2813 |
#include <sys/time.h> |
#include <sys/time.h> |
2834 |
|
|
2835 |
; return 0; } |
; return 0; } |
2836 |
EOF |
EOF |
2837 |
if { (eval echo configure:2837: \"$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 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2840 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
2851 |
|
|
2852 |
|
|
2853 |
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 |
2854 |
echo "configure:2854: checking check for listen using fcntl" >&5 |
echo "configure:2855: checking check for listen using fcntl" >&5 |
2855 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2856 |
#line 2856 "configure" |
#line 2857 "configure" |
2857 |
#include "confdefs.h" |
#include "confdefs.h" |
2858 |
#include <stdio.h> |
#include <stdio.h> |
2859 |
#include <fcntl.h> |
#include <fcntl.h> |
2866 |
|
|
2867 |
; return 0; } |
; return 0; } |
2868 |
EOF |
EOF |
2869 |
if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2870 |
rm -rf conftest* |
rm -rf conftest* |
2871 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2872 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2885 |
|
|
2886 |
|
|
2887 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2888 |
echo "configure:2888: checking for profil" >&5 |
echo "configure:2889: checking for profil" >&5 |
2889 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2890 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2891 |
else |
else |
2892 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2893 |
#line 2893 "configure" |
#line 2894 "configure" |
2894 |
#include "confdefs.h" |
#include "confdefs.h" |
2895 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2896 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2913 |
|
|
2914 |
; return 0; } |
; return 0; } |
2915 |
EOF |
EOF |
2916 |
if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2917 |
rm -rf conftest* |
rm -rf conftest* |
2918 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2919 |
else |
else |
2938 |
|
|
2939 |
|
|
2940 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2941 |
echo "configure:2941: checking for setenv" >&5 |
echo "configure:2942: checking for setenv" >&5 |
2942 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2943 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2944 |
else |
else |
2945 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2946 |
#line 2946 "configure" |
#line 2947 "configure" |
2947 |
#include "confdefs.h" |
#include "confdefs.h" |
2948 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2949 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2966 |
|
|
2967 |
; return 0; } |
; return 0; } |
2968 |
EOF |
EOF |
2969 |
if { (eval echo configure:2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2970 |
rm -rf conftest* |
rm -rf conftest* |
2971 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2972 |
else |
else |
2992 |
|
|
2993 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2994 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2995 |
echo "configure:2995: checking for putenv" >&5 |
echo "configure:2996: checking for putenv" >&5 |
2996 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2997 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2998 |
else |
else |
2999 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3000 |
#line 3000 "configure" |
#line 3001 "configure" |
3001 |
#include "confdefs.h" |
#include "confdefs.h" |
3002 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3003 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
3020 |
|
|
3021 |
; return 0; } |
; return 0; } |
3022 |
EOF |
EOF |
3023 |
if { (eval echo configure:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3024 |
rm -rf conftest* |
rm -rf conftest* |
3025 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
3026 |
else |
else |
3046 |
fi |
fi |
3047 |
|
|
3048 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
3049 |
echo "configure:3049: checking for _cleanup" >&5 |
echo "configure:3050: checking for _cleanup" >&5 |
3050 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
3051 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3052 |
else |
else |
3053 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3054 |
#line 3054 "configure" |
#line 3055 "configure" |
3055 |
#include "confdefs.h" |
#include "confdefs.h" |
3056 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3057 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
3074 |
|
|
3075 |
; return 0; } |
; return 0; } |
3076 |
EOF |
EOF |
3077 |
if { (eval echo configure:3077: \"$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 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
3080 |
else |
else |
3100 |
gcl_ok=no |
gcl_ok=no |
3101 |
|
|
3102 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3103 |
#line 3103 "configure" |
#line 3104 "configure" |
3104 |
#include "confdefs.h" |
#include "confdefs.h" |
3105 |
#include <ctype.h> |
#include <ctype.h> |
3106 |
EOF |
EOF |
3128 |
|
|
3129 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
3130 |
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 |
3131 |
echo "configure:3131: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:3132: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
3132 |
|
|
3133 |
case $system in |
case $system in |
3134 |
OSF*) |
OSF*) |
3159 |
|
|
3160 |
|
|
3161 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
3162 |
echo "configure:3162: checking check for SV_ONSTACK" >&5 |
echo "configure:3163: checking check for SV_ONSTACK" >&5 |
3163 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3164 |
#line 3164 "configure" |
#line 3165 "configure" |
3165 |
#include "confdefs.h" |
#include "confdefs.h" |
3166 |
#include <signal.h> |
#include <signal.h> |
3167 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
3170 |
|
|
3171 |
; return 0; } |
; return 0; } |
3172 |
EOF |
EOF |
3173 |
if { (eval echo configure:3173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3174 |
rm -rf conftest* |
rm -rf conftest* |
3175 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3176 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
3188 |
|
|
3189 |
|
|
3190 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
3191 |
echo "configure:3191: checking check for SIGSYS" >&5 |
echo "configure:3192: checking check for SIGSYS" >&5 |
3192 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3193 |
#line 3193 "configure" |
#line 3194 "configure" |
3194 |
#include "confdefs.h" |
#include "confdefs.h" |
3195 |
#include <signal.h> |
#include <signal.h> |
3196 |
int joe=SIGSYS; |
int joe=SIGSYS; |
3199 |
|
|
3200 |
; return 0; } |
; return 0; } |
3201 |
EOF |
EOF |
3202 |
if { (eval echo configure:3202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3203 |
rm -rf conftest* |
rm -rf conftest* |
3204 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3205 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
3217 |
|
|
3218 |
|
|
3219 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
3220 |
echo "configure:3220: checking check for SIGEMT" >&5 |
echo "configure:3221: checking check for SIGEMT" >&5 |
3221 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3222 |
#line 3222 "configure" |
#line 3223 "configure" |
3223 |
#include "confdefs.h" |
#include "confdefs.h" |
3224 |
#include <signal.h> |
#include <signal.h> |
3225 |
int joe=SIGEMT; |
int joe=SIGEMT; |
3228 |
|
|
3229 |
; return 0; } |
; return 0; } |
3230 |
EOF |
EOF |
3231 |
if { (eval echo configure:3231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3232 |
rm -rf conftest* |
rm -rf conftest* |
3233 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3234 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
3252 |
do |
do |
3253 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3254 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3255 |
echo "configure:3255: checking for $ac_hdr" >&5 |
echo "configure:3256: checking for $ac_hdr" >&5 |
3256 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3257 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3258 |
else |
else |
3259 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3260 |
#line 3260 "configure" |
#line 3261 "configure" |
3261 |
#include "confdefs.h" |
#include "confdefs.h" |
3262 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3263 |
EOF |
EOF |
3264 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3265 |
{ (eval echo configure:3265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3266 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3267 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3268 |
rm -rf conftest* |
rm -rf conftest* |
3292 |
do |
do |
3293 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3294 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3295 |
echo "configure:3295: checking for $ac_hdr" >&5 |
echo "configure:3296: checking for $ac_hdr" >&5 |
3296 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3297 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3298 |
else |
else |
3299 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3300 |
#line 3300 "configure" |
#line 3301 "configure" |
3301 |
#include "confdefs.h" |
#include "confdefs.h" |
3302 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3303 |
EOF |
EOF |
3304 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3305 |
{ (eval echo configure:3305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3306 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3307 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3308 |
rm -rf conftest* |
rm -rf conftest* |
3329 |
done |
done |
3330 |
|
|
3331 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3332 |
#line 3332 "configure" |
#line 3333 "configure" |
3333 |
#include "confdefs.h" |
#include "confdefs.h" |
3334 |
#include <signal.h> |
#include <signal.h> |
3335 |
long code; |
long code; |
3340 |
|
|
3341 |
; return 0; } |
; return 0; } |
3342 |
EOF |
EOF |
3343 |
if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3344 |
rm -rf conftest* |
rm -rf conftest* |
3345 |
|
|
3346 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
3361 |
rm -f conftest* |
rm -f conftest* |
3362 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
3363 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3364 |
#line 3364 "configure" |
#line 3365 "configure" |
3365 |
#include "confdefs.h" |
#include "confdefs.h" |
3366 |
#include <signal.h> |
#include <signal.h> |
3367 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
3378 |
|
|
3379 |
; return 0; } |
; return 0; } |
3380 |
EOF |
EOF |
3381 |
if { (eval echo configure:3381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3382 |
rm -rf conftest* |
rm -rf conftest* |
3383 |
|
|
3384 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
3421 |
# 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. |
3422 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
3423 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3424 |
echo "configure:3424: checking for $ac_word" >&5 |
echo "configure:3425: checking for $ac_word" >&5 |
3425 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
3426 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3427 |
else |
else |
3469 |
EOF |
EOF |
3470 |
|
|
3471 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
3472 |
echo "configure:3472: checking emacs site lisp directory" >&5 |
echo "configure:3473: checking emacs site lisp directory" >&5 |
3473 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
3474 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3475 |
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 ` |
3492 |
EOF |
EOF |
3493 |
|
|
3494 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
3495 |
echo "configure:3495: checking emacs default.el" >&5 |
echo "configure:3496: checking emacs default.el" >&5 |
3496 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3497 |
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 ` |
3498 |
else |
else |
3521 |
EOF |
EOF |
3522 |
|
|
3523 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3524 |
echo "configure:3524: checking emacs info/dir" >&5 |
echo "configure:3525: checking emacs info/dir" >&5 |
3525 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3526 |
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 ` |
3527 |
fi |
fi |
3535 |
|
|
3536 |
|
|
3537 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3538 |
echo "configure:3538: checking for tcl/tk" >&5 |
echo "configure:3539: checking for tcl/tk" >&5 |
3539 |
|
|
3540 |
|
|
3541 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3558 |
# 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. |
3559 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3560 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3561 |
echo "configure:3561: checking for $ac_word" >&5 |
echo "configure:3562: checking for $ac_word" >&5 |
3562 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3563 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3564 |
else |
else |
3658 |
fi |
fi |
3659 |
fi |
fi |
3660 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3661 |
echo "configure:3661: checking for main in -llieee" >&5 |
echo "configure:3662: checking for main in -llieee" >&5 |
3662 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3663 |
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 |
3664 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3666 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3667 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3668 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3669 |
#line 3669 "configure" |
#line 3670 "configure" |
3670 |
#include "confdefs.h" |
#include "confdefs.h" |
3671 |
|
|
3672 |
int main() { |
int main() { |
3673 |
main() |
main() |
3674 |
; return 0; } |
; return 0; } |
3675 |
EOF |
EOF |
3676 |
if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3677 |
rm -rf conftest* |
rm -rf conftest* |
3678 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3679 |
else |
else |
3738 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3739 |
|
|
3740 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3741 |
echo "configure:3741: checking alloca" >&5 |
echo "configure:3742: checking alloca" >&5 |
3742 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3743 |
gcl_ok=no |
gcl_ok=no |
3744 |
else |
else |
3745 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3746 |
#line 3746 "configure" |
#line 3747 "configure" |
3747 |
#include "confdefs.h" |
#include "confdefs.h" |
3748 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3749 |
EOF |
EOF |
3750 |
if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3751 |
then |
then |
3752 |
: |
: |
3753 |
else |
else |
3770 |
gcl_ok=no |
gcl_ok=no |
3771 |
else |
else |
3772 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3773 |
#line 3773 "configure" |
#line 3774 "configure" |
3774 |
#include "confdefs.h" |
#include "confdefs.h" |
3775 |
#include <alloca.h> |
#include <alloca.h> |
3776 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3777 |
EOF |
EOF |
3778 |
if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3779 |
then |
then |
3780 |
: |
: |
3781 |
else |
else |
3838 |
MP_INLCUDE="" |
MP_INLCUDE="" |
3839 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3840 |
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 |
3841 |
echo "configure:3841: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3842: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3842 |
case "${canonical}" in |
case "${canonical}" in |
3843 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3844 |
# (cd gmp3 ; ./configure --target=i486) ;; |
# (cd gmp3 ; ./configure --target=i486) ;; |
3845 |
*) |
*) |
3846 |
(cd gmp3 && chmod -R +x * && ./configure) ;; |
(cd gmp3 && ./configure) ;; |
3847 |
esac |
esac |
3848 |
[ "`ls -1 gmp3/mpn/add_n.* 2>/dev/null`" != "" ] || cp gmp3/mpn/generic/*.c gmp/mpn/ |
[ "`ls -1 gmp3/mpn/add_n.* 2>/dev/null`" != "" ] || cp gmp3/mpn/generic/*.c gmp/mpn/ |
3849 |
cp gmp3/gmp.h h/gmp.h |
cp gmp3/gmp.h h/gmp.h |
3850 |
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 |
3851 |
echo "configure:3851: checking "for size of gmp limbs"" >&5 |
echo "configure:3852: checking "for size of gmp limbs"" >&5 |
3852 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3853 |
mpsize=0 |
mpsize=0 |
3854 |
else |
else |
3855 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3856 |
#line 3856 "configure" |
#line 3857 "configure" |
3857 |
#include "confdefs.h" |
#include "confdefs.h" |
3858 |
#include <stdio.h> |
#include <stdio.h> |
3859 |
#include "h/gmp.h" |
#include "h/gmp.h" |
3865 |
return 0; |
return 0; |
3866 |
} |
} |
3867 |
EOF |
EOF |
3868 |
if { (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3869 |
then |
then |
3870 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
3871 |
else |
else |
3902 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3903 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3904 |
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 |
3905 |
echo "configure:3905: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3906: checking Checking for buggy gcc version from redhat" >&5 |
3906 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3907 |
then |
then |
3908 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |