821 |
FILE *fp = fopen("conftest1","w"); |
FILE *fp = fopen("conftest1","w"); |
822 |
fprintf(fp,"0x%x",((unsigned int) b) & ~0xffffff); |
fprintf(fp,"0x%x",((unsigned int) b) & ~0xffffff); |
823 |
fclose(fp); |
fclose(fp); |
824 |
|
return 0; |
825 |
} |
} |
826 |
EOF |
EOF |
827 |
if { (eval echo configure:827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
828 |
then |
then |
829 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
830 |
else |
else |
846 |
|
|
847 |
|
|
848 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
849 |
echo "configure:849: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:850: checking "finding CSTACK_ADDRESS"" >&5 |
850 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
851 |
cstack_address=0 |
cstack_address=0 |
852 |
else |
else |
853 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
854 |
#line 854 "configure" |
#line 855 "configure" |
855 |
#include "confdefs.h" |
#include "confdefs.h" |
856 |
#include <stdio.h> |
#include <stdio.h> |
857 |
main() |
main() |
860 |
FILE *fp = fopen("conftest1","w"); |
FILE *fp = fopen("conftest1","w"); |
861 |
fprintf(fp,"%d",((int) &b)); |
fprintf(fp,"%d",((int) &b)); |
862 |
fclose(fp); |
fclose(fp); |
863 |
|
return 0; |
864 |
} |
} |
865 |
EOF |
EOF |
866 |
if { (eval echo configure:865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
867 |
then |
then |
868 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
869 |
else |
else |
885 |
|
|
886 |
|
|
887 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
888 |
echo "configure:887: checking "sizeof long long int"" >&5 |
echo "configure:889: checking "sizeof long long int"" >&5 |
889 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
890 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
891 |
|
|
892 |
else |
else |
893 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
894 |
#line 893 "configure" |
#line 895 "configure" |
895 |
#include "confdefs.h" |
#include "confdefs.h" |
896 |
#include <stdio.h> |
#include <stdio.h> |
897 |
main() |
main() |
901 |
} |
} |
902 |
|
|
903 |
EOF |
EOF |
904 |
if { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
905 |
then |
then |
906 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
907 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
999 |
for ac_func in getcwd |
for ac_func in getcwd |
1000 |
do |
do |
1001 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1002 |
echo "configure:1001: checking for $ac_func" >&5 |
echo "configure:1003: checking for $ac_func" >&5 |
1003 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1004 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1005 |
else |
else |
1006 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1007 |
#line 1006 "configure" |
#line 1008 "configure" |
1008 |
#include "confdefs.h" |
#include "confdefs.h" |
1009 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1010 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1027 |
|
|
1028 |
; return 0; } |
; return 0; } |
1029 |
EOF |
EOF |
1030 |
if { (eval echo configure:1029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1031 |
rm -rf conftest* |
rm -rf conftest* |
1032 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1033 |
else |
else |
1054 |
for ac_func in getwd |
for ac_func in getwd |
1055 |
do |
do |
1056 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1057 |
echo "configure:1056: checking for $ac_func" >&5 |
echo "configure:1058: checking for $ac_func" >&5 |
1058 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1059 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1060 |
else |
else |
1061 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1062 |
#line 1061 "configure" |
#line 1063 "configure" |
1063 |
#include "confdefs.h" |
#include "confdefs.h" |
1064 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1065 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1082 |
|
|
1083 |
; return 0; } |
; return 0; } |
1084 |
EOF |
EOF |
1085 |
if { (eval echo configure:1084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1086 |
rm -rf conftest* |
rm -rf conftest* |
1087 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1088 |
else |
else |
1107 |
done |
done |
1108 |
|
|
1109 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
1110 |
echo "configure:1109: checking for uname" >&5 |
echo "configure:1111: checking for uname" >&5 |
1111 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
1112 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1113 |
else |
else |
1114 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1115 |
#line 1114 "configure" |
#line 1116 "configure" |
1116 |
#include "confdefs.h" |
#include "confdefs.h" |
1117 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1118 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
1135 |
|
|
1136 |
; return 0; } |
; return 0; } |
1137 |
EOF |
EOF |
1138 |
if { (eval echo configure:1137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1139 |
rm -rf conftest* |
rm -rf conftest* |
1140 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
1141 |
else |
else |
1159 |
fi |
fi |
1160 |
|
|
1161 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1162 |
echo "configure:1161: checking for gettimeofday" >&5 |
echo "configure:1163: checking for gettimeofday" >&5 |
1163 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1164 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1165 |
else |
else |
1166 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1167 |
#line 1166 "configure" |
#line 1168 "configure" |
1168 |
#include "confdefs.h" |
#include "confdefs.h" |
1169 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1170 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1187 |
|
|
1188 |
; return 0; } |
; return 0; } |
1189 |
EOF |
EOF |
1190 |
if { (eval echo configure:1189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1191 |
rm -rf conftest* |
rm -rf conftest* |
1192 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1193 |
else |
else |
1213 |
|
|
1214 |
|
|
1215 |
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 |
1216 |
echo "configure:1215: checking how to run the C preprocessor" >&5 |
echo "configure:1217: checking how to run the C preprocessor" >&5 |
1217 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
1218 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
1219 |
CPP= |
CPP= |
1228 |
# 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, |
1229 |
# not just through cpp. |
# not just through cpp. |
1230 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1231 |
#line 1230 "configure" |
#line 1232 "configure" |
1232 |
#include "confdefs.h" |
#include "confdefs.h" |
1233 |
#include <assert.h> |
#include <assert.h> |
1234 |
Syntax Error |
Syntax Error |
1235 |
EOF |
EOF |
1236 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1237 |
{ (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1238 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1239 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1240 |
: |
: |
1245 |
rm -rf conftest* |
rm -rf conftest* |
1246 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
1247 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1248 |
#line 1247 "configure" |
#line 1249 "configure" |
1249 |
#include "confdefs.h" |
#include "confdefs.h" |
1250 |
#include <assert.h> |
#include <assert.h> |
1251 |
Syntax Error |
Syntax Error |
1252 |
EOF |
EOF |
1253 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1254 |
{ (eval echo configure:1253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1255 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1256 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1257 |
: |
: |
1262 |
rm -rf conftest* |
rm -rf conftest* |
1263 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
1264 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1265 |
#line 1264 "configure" |
#line 1266 "configure" |
1266 |
#include "confdefs.h" |
#include "confdefs.h" |
1267 |
#include <assert.h> |
#include <assert.h> |
1268 |
Syntax Error |
Syntax Error |
1269 |
EOF |
EOF |
1270 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1271 |
{ (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1272 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1273 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1274 |
: |
: |
1296 |
do |
do |
1297 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1298 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1299 |
echo "configure:1298: checking for $ac_hdr" >&5 |
echo "configure:1300: checking for $ac_hdr" >&5 |
1300 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1301 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1302 |
else |
else |
1303 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1304 |
#line 1303 "configure" |
#line 1305 "configure" |
1305 |
#include "confdefs.h" |
#include "confdefs.h" |
1306 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1307 |
EOF |
EOF |
1308 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1309 |
{ (eval echo configure:1308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1310 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1311 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1312 |
rm -rf conftest* |
rm -rf conftest* |
1346 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1347 |
|
|
1348 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
1349 |
echo "configure:1348: checking for BSDgettimeofday" >&5 |
echo "configure:1350: checking for BSDgettimeofday" >&5 |
1350 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
1351 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1352 |
else |
else |
1353 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1354 |
#line 1353 "configure" |
#line 1355 "configure" |
1355 |
#include "confdefs.h" |
#include "confdefs.h" |
1356 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1357 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
1374 |
|
|
1375 |
; return 0; } |
; return 0; } |
1376 |
EOF |
EOF |
1377 |
if { (eval echo configure:1376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1378 |
rm -rf conftest* |
rm -rf conftest* |
1379 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
1380 |
else |
else |
1395 |
else |
else |
1396 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1397 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1398 |
echo "configure:1397: checking for gettimeofday" >&5 |
echo "configure:1399: checking for gettimeofday" >&5 |
1399 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1400 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1401 |
else |
else |
1402 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1403 |
#line 1402 "configure" |
#line 1404 "configure" |
1404 |
#include "confdefs.h" |
#include "confdefs.h" |
1405 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1406 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1423 |
|
|
1424 |
; return 0; } |
; return 0; } |
1425 |
EOF |
EOF |
1426 |
if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1427 |
rm -rf conftest* |
rm -rf conftest* |
1428 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1429 |
else |
else |
1449 |
fi |
fi |
1450 |
|
|
1451 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
1452 |
echo "configure:1451: checking for gettimeofday declaration" >&5 |
echo "configure:1453: checking for gettimeofday declaration" >&5 |
1453 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1454 |
#line 1453 "configure" |
#line 1455 "configure" |
1455 |
#include "confdefs.h" |
#include "confdefs.h" |
1456 |
#include <sys/time.h> |
#include <sys/time.h> |
1457 |
EOF |
EOF |
1474 |
|
|
1475 |
|
|
1476 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
1477 |
echo "configure:1476: checking for sin in -lm" >&5 |
echo "configure:1478: checking for sin in -lm" >&5 |
1478 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
1479 |
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 |
1480 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1482 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1483 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
1484 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1485 |
#line 1484 "configure" |
#line 1486 "configure" |
1486 |
#include "confdefs.h" |
#include "confdefs.h" |
1487 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1488 |
/* 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 |
1493 |
sin() |
sin() |
1494 |
; return 0; } |
; return 0; } |
1495 |
EOF |
EOF |
1496 |
if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1497 |
rm -rf conftest* |
rm -rf conftest* |
1498 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1499 |
else |
else |
1534 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
1535 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1536 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
1537 |
echo "configure:1536: checking for sockets" >&5 |
echo "configure:1538: checking for sockets" >&5 |
1538 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
1539 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
1540 |
echo "configure:1539: checking for connect" >&5 |
echo "configure:1541: checking for connect" >&5 |
1541 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
1542 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1543 |
else |
else |
1544 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1545 |
#line 1544 "configure" |
#line 1546 "configure" |
1546 |
#include "confdefs.h" |
#include "confdefs.h" |
1547 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1548 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
1565 |
|
|
1566 |
; return 0; } |
; return 0; } |
1567 |
EOF |
EOF |
1568 |
if { (eval echo configure:1567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1569 |
rm -rf conftest* |
rm -rf conftest* |
1570 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
1571 |
else |
else |
1587 |
|
|
1588 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
1589 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
1590 |
echo "configure:1589: checking for main in -lsocket" >&5 |
echo "configure:1591: checking for main in -lsocket" >&5 |
1591 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
1592 |
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 |
1593 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1595 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1596 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
1597 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1598 |
#line 1597 "configure" |
#line 1599 "configure" |
1599 |
#include "confdefs.h" |
#include "confdefs.h" |
1600 |
|
|
1601 |
int main() { |
int main() { |
1602 |
main() |
main() |
1603 |
; return 0; } |
; return 0; } |
1604 |
EOF |
EOF |
1605 |
if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1606 |
rm -rf conftest* |
rm -rf conftest* |
1607 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1608 |
else |
else |
1630 |
tk_oldLibs=$LIBS |
tk_oldLibs=$LIBS |
1631 |
LIBS="$LIBS -lsocket -lnsl" |
LIBS="$LIBS -lsocket -lnsl" |
1632 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
1633 |
echo "configure:1632: checking for accept" >&5 |
echo "configure:1634: checking for accept" >&5 |
1634 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
1635 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1636 |
else |
else |
1637 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1638 |
#line 1637 "configure" |
#line 1639 "configure" |
1639 |
#include "confdefs.h" |
#include "confdefs.h" |
1640 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1641 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
1658 |
|
|
1659 |
; return 0; } |
; return 0; } |
1660 |
EOF |
EOF |
1661 |
if { (eval echo configure:1660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1662 |
rm -rf conftest* |
rm -rf conftest* |
1663 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
1664 |
else |
else |
1680 |
|
|
1681 |
fi |
fi |
1682 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
1683 |
echo "configure:1682: checking for gethostbyname" >&5 |
echo "configure:1684: checking for gethostbyname" >&5 |
1684 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
1685 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1686 |
else |
else |
1687 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1688 |
#line 1687 "configure" |
#line 1689 "configure" |
1689 |
#include "confdefs.h" |
#include "confdefs.h" |
1690 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1691 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
1708 |
|
|
1709 |
; return 0; } |
; return 0; } |
1710 |
EOF |
EOF |
1711 |
if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1712 |
rm -rf conftest* |
rm -rf conftest* |
1713 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
1714 |
else |
else |
1726 |
else |
else |
1727 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1728 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
1729 |
echo "configure:1728: checking for main in -lnsl" >&5 |
echo "configure:1730: checking for main in -lnsl" >&5 |
1730 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
1731 |
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 |
1732 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1734 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1735 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
1736 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1737 |
#line 1736 "configure" |
#line 1738 "configure" |
1738 |
#include "confdefs.h" |
#include "confdefs.h" |
1739 |
|
|
1740 |
int main() { |
int main() { |
1741 |
main() |
main() |
1742 |
; return 0; } |
; return 0; } |
1743 |
EOF |
EOF |
1744 |
if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1745 |
rm -rf conftest* |
rm -rf conftest* |
1746 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1747 |
else |
else |
1764 |
fi |
fi |
1765 |
|
|
1766 |
|
|
1767 |
|
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
1768 |
|
echo "configure:1769: checking for main in -lreadline" >&5 |
1769 |
|
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
1770 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1771 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1772 |
|
else |
1773 |
|
ac_save_LIBS="$LIBS" |
1774 |
|
LIBS="-lreadline $LIBS" |
1775 |
|
cat > conftest.$ac_ext <<EOF |
1776 |
|
#line 1777 "configure" |
1777 |
|
#include "confdefs.h" |
1778 |
|
|
1779 |
|
int main() { |
1780 |
|
main() |
1781 |
|
; return 0; } |
1782 |
|
EOF |
1783 |
|
if { (eval echo configure:1784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1784 |
|
rm -rf conftest* |
1785 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1786 |
|
else |
1787 |
|
echo "configure: failed program was:" >&5 |
1788 |
|
cat conftest.$ac_ext >&5 |
1789 |
|
rm -rf conftest* |
1790 |
|
eval "ac_cv_lib_$ac_lib_var=no" |
1791 |
|
fi |
1792 |
|
rm -f conftest* |
1793 |
|
LIBS="$ac_save_LIBS" |
1794 |
|
|
1795 |
|
fi |
1796 |
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1797 |
|
echo "$ac_t""yes" 1>&6 |
1798 |
|
echo $ac_n "checking for main in -lncurses""... $ac_c" 1>&6 |
1799 |
|
echo "configure:1800: checking for main in -lncurses" >&5 |
1800 |
|
ac_lib_var=`echo ncurses'_'main | sed 'y%./+-%__p_%'` |
1801 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1802 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1803 |
|
else |
1804 |
|
ac_save_LIBS="$LIBS" |
1805 |
|
LIBS="-lncurses $LIBS" |
1806 |
|
cat > conftest.$ac_ext <<EOF |
1807 |
|
#line 1808 "configure" |
1808 |
|
#include "confdefs.h" |
1809 |
|
|
1810 |
|
int main() { |
1811 |
|
main() |
1812 |
|
; return 0; } |
1813 |
|
EOF |
1814 |
|
if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1815 |
|
rm -rf conftest* |
1816 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1817 |
|
else |
1818 |
|
echo "configure: failed program was:" >&5 |
1819 |
|
cat conftest.$ac_ext >&5 |
1820 |
|
rm -rf conftest* |
1821 |
|
eval "ac_cv_lib_$ac_lib_var=no" |
1822 |
|
fi |
1823 |
|
rm -f conftest* |
1824 |
|
LIBS="$ac_save_LIBS" |
1825 |
|
|
1826 |
|
fi |
1827 |
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1828 |
|
echo "$ac_t""yes" 1>&6 |
1829 |
|
cat >> confdefs.h <<\EOF |
1830 |
|
#define HAVE_READLINE 1 |
1831 |
|
EOF |
1832 |
|
|
1833 |
|
LIBS="$LIBS -lreadline -lncurses" |
1834 |
|
RL_OBJS=readline.o |
1835 |
|
RL_LIB=lsp/readline.o |
1836 |
|
else |
1837 |
|
echo "$ac_t""no" 1>&6 |
1838 |
|
fi |
1839 |
|
|
1840 |
|
else |
1841 |
|
echo "$ac_t""no" 1>&6 |
1842 |
|
fi |
1843 |
|
|
1844 |
|
|
1845 |
|
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
1846 |
|
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
1847 |
|
echo "configure:1848: checking for bfd.h" >&5 |
1848 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1849 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1850 |
|
else |
1851 |
|
cat > conftest.$ac_ext <<EOF |
1852 |
|
#line 1853 "configure" |
1853 |
|
#include "confdefs.h" |
1854 |
|
#include <bfd.h> |
1855 |
|
EOF |
1856 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1857 |
|
{ (eval echo configure:1858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1858 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1859 |
|
if test -z "$ac_err"; then |
1860 |
|
rm -rf conftest* |
1861 |
|
eval "ac_cv_header_$ac_safe=yes" |
1862 |
|
else |
1863 |
|
echo "$ac_err" >&5 |
1864 |
|
echo "configure: failed program was:" >&5 |
1865 |
|
cat conftest.$ac_ext >&5 |
1866 |
|
rm -rf conftest* |
1867 |
|
eval "ac_cv_header_$ac_safe=no" |
1868 |
|
fi |
1869 |
|
rm -f conftest* |
1870 |
|
fi |
1871 |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1872 |
|
echo "$ac_t""yes" 1>&6 |
1873 |
|
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
1874 |
|
echo "configure:1875: checking for bfd_init in -lbfd" >&5 |
1875 |
|
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
1876 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1877 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1878 |
|
else |
1879 |
|
ac_save_LIBS="$LIBS" |
1880 |
|
LIBS="-lbfd -liberty $LIBS" |
1881 |
|
cat > conftest.$ac_ext <<EOF |
1882 |
|
#line 1883 "configure" |
1883 |
|
#include "confdefs.h" |
1884 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1885 |
|
/* We use char because int might match the return type of a gcc2 |
1886 |
|
builtin and then its argument prototype would still apply. */ |
1887 |
|
char bfd_init(); |
1888 |
|
|
1889 |
|
int main() { |
1890 |
|
bfd_init() |
1891 |
|
; return 0; } |
1892 |
|
EOF |
1893 |
|
if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1894 |
|
rm -rf conftest* |
1895 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1896 |
|
else |
1897 |
|
echo "configure: failed program was:" >&5 |
1898 |
|
cat conftest.$ac_ext >&5 |
1899 |
|
rm -rf conftest* |
1900 |
|
eval "ac_cv_lib_$ac_lib_var=no" |
1901 |
|
fi |
1902 |
|
rm -f conftest* |
1903 |
|
LIBS="$ac_save_LIBS" |
1904 |
|
|
1905 |
|
fi |
1906 |
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1907 |
|
echo "$ac_t""yes" 1>&6 |
1908 |
|
cat >> confdefs.h <<\EOF |
1909 |
|
#define HAVE_LIBBFD 1 |
1910 |
|
EOF |
1911 |
|
|
1912 |
|
LIBS="$LIBS -lbfd -liberty" |
1913 |
|
|
1914 |
|
else |
1915 |
|
echo "$ac_t""no" 1>&6 |
1916 |
|
fi |
1917 |
|
|
1918 |
|
else |
1919 |
|
echo "$ac_t""no" 1>&6 |
1920 |
|
fi |
1921 |
|
|
1922 |
|
|
1923 |
|
|
1924 |
|
|
1925 |
|
|
1926 |
|
|
1927 |
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 |
1928 |
echo "configure:1769: checking For network code for nsocket.c" >&5 |
echo "configure:1929: checking For network code for nsocket.c" >&5 |
1929 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1930 |
#line 1771 "configure" |
#line 1931 "configure" |
1931 |
#include "confdefs.h" |
#include "confdefs.h" |
1932 |
|
|
1933 |
#include <sys/time.h> |
#include <sys/time.h> |
1954 |
|
|
1955 |
; return 0; } |
; return 0; } |
1956 |
EOF |
EOF |
1957 |
if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1958 |
rm -rf conftest* |
rm -rf conftest* |
1959 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1960 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
1971 |
|
|
1972 |
|
|
1973 |
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 |
1974 |
echo "configure:1815: checking check for listen using fcntl" >&5 |
echo "configure:1975: checking check for listen using fcntl" >&5 |
1975 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1976 |
#line 1817 "configure" |
#line 1977 "configure" |
1977 |
#include "confdefs.h" |
#include "confdefs.h" |
1978 |
#include <stdio.h> |
#include <stdio.h> |
1979 |
#include <fcntl.h> |
#include <fcntl.h> |
1986 |
|
|
1987 |
; return 0; } |
; return 0; } |
1988 |
EOF |
EOF |
1989 |
if { (eval echo configure:1830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1990 |
rm -rf conftest* |
rm -rf conftest* |
1991 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1992 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2005 |
|
|
2006 |
|
|
2007 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2008 |
echo "configure:1849: checking for profil" >&5 |
echo "configure:2009: checking for profil" >&5 |
2009 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2010 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2011 |
else |
else |
2012 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2013 |
#line 1854 "configure" |
#line 2014 "configure" |
2014 |
#include "confdefs.h" |
#include "confdefs.h" |
2015 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2016 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2033 |
|
|
2034 |
; return 0; } |
; return 0; } |
2035 |
EOF |
EOF |
2036 |
if { (eval echo configure:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2037 |
rm -rf conftest* |
rm -rf conftest* |
2038 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2039 |
else |
else |
2058 |
|
|
2059 |
|
|
2060 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2061 |
echo "configure:1902: checking for setenv" >&5 |
echo "configure:2062: checking for setenv" >&5 |
2062 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2063 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2064 |
else |
else |
2065 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2066 |
#line 1907 "configure" |
#line 2067 "configure" |
2067 |
#include "confdefs.h" |
#include "confdefs.h" |
2068 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2069 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2086 |
|
|
2087 |
; return 0; } |
; return 0; } |
2088 |
EOF |
EOF |
2089 |
if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2090 |
rm -rf conftest* |
rm -rf conftest* |
2091 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2092 |
else |
else |
2112 |
|
|
2113 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2114 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2115 |
echo "configure:1956: checking for putenv" >&5 |
echo "configure:2116: checking for putenv" >&5 |
2116 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2117 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2118 |
else |
else |
2119 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2120 |
#line 1961 "configure" |
#line 2121 "configure" |
2121 |
#include "confdefs.h" |
#include "confdefs.h" |
2122 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2123 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2140 |
|
|
2141 |
; return 0; } |
; return 0; } |
2142 |
EOF |
EOF |
2143 |
if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2144 |
rm -rf conftest* |
rm -rf conftest* |
2145 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2146 |
else |
else |
2166 |
fi |
fi |
2167 |
|
|
2168 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2169 |
echo "configure:2010: checking for _cleanup" >&5 |
echo "configure:2170: checking for _cleanup" >&5 |
2170 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2171 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2172 |
else |
else |
2173 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2174 |
#line 2015 "configure" |
#line 2175 "configure" |
2175 |
#include "confdefs.h" |
#include "confdefs.h" |
2176 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2177 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2194 |
|
|
2195 |
; return 0; } |
; return 0; } |
2196 |
EOF |
EOF |
2197 |
if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2198 |
rm -rf conftest* |
rm -rf conftest* |
2199 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2200 |
else |
else |
2220 |
gcl_ok=no |
gcl_ok=no |
2221 |
|
|
2222 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2223 |
#line 2064 "configure" |
#line 2224 "configure" |
2224 |
#include "confdefs.h" |
#include "confdefs.h" |
2225 |
#include <ctype.h> |
#include <ctype.h> |
2226 |
EOF |
EOF |
2248 |
|
|
2249 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2250 |
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 |
2251 |
echo "configure:2092: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2252: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2252 |
|
|
2253 |
case $system in |
case $system in |
2254 |
OSF*) |
OSF*) |
2304 |
fi |
fi |
2305 |
|
|
2306 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2307 |
echo "configure:2148: checking host system type" >&5 |
echo "configure:2308: checking host system type" >&5 |
2308 |
|
|
2309 |
host_alias=$host |
host_alias=$host |
2310 |
case "$host_alias" in |
case "$host_alias" in |
2337 |
*86-*-linux*) |
*86-*-linux*) |
2338 |
use=386-linux;; |
use=386-linux;; |
2339 |
|
|
2340 |
|
m68k-*-linux*) |
2341 |
|
use=m68k-linux;; |
2342 |
|
|
2343 |
|
alpha-*-linux*) |
2344 |
|
use=alpha-linux;; |
2345 |
|
|
2346 |
|
mips-*-linux*) |
2347 |
|
use=mips-linux;; |
2348 |
|
|
2349 |
|
sparc-*-linux*) |
2350 |
|
use=sparc-linux;; |
2351 |
|
|
2352 |
|
arm*-*-linux*) |
2353 |
|
use=arm-linux;; |
2354 |
|
|
2355 |
|
s390-*-linux*) |
2356 |
|
use=s390-linux;; |
2357 |
|
|
2358 |
|
ia64-*-linux*) |
2359 |
|
use=ia64-linux;; |
2360 |
|
|
2361 |
|
hppa-*-linux*) |
2362 |
|
use=hppa-linux;; |
2363 |
|
|
2364 |
|
powerpc-*-linux*) |
2365 |
|
use=powerpc-linux;; |
2366 |
|
|
2367 |
alpha-dec-osf) |
alpha-dec-osf) |
2368 |
use=alpha-osf1;; |
use=alpha-osf1;; |
2369 |
|
|
2474 |
|
|
2475 |
esac |
esac |
2476 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2477 |
echo "configure:2291: checking check for SV_ONSTACK" >&5 |
echo "configure:2478: checking check for SV_ONSTACK" >&5 |
2478 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2479 |
#line 2293 "configure" |
#line 2480 "configure" |
2480 |
#include "confdefs.h" |
#include "confdefs.h" |
2481 |
#include <signal.h> |
#include <signal.h> |
2482 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2485 |
|
|
2486 |
; return 0; } |
; return 0; } |
2487 |
EOF |
EOF |
2488 |
if { (eval echo configure:2302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2489 |
rm -rf conftest* |
rm -rf conftest* |
2490 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2491 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2503 |
|
|
2504 |
|
|
2505 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2506 |
echo "configure:2320: checking check for SIGSYS" >&5 |
echo "configure:2507: checking check for SIGSYS" >&5 |
2507 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2508 |
#line 2322 "configure" |
#line 2509 "configure" |
2509 |
#include "confdefs.h" |
#include "confdefs.h" |
2510 |
#include <signal.h> |
#include <signal.h> |
2511 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2514 |
|
|
2515 |
; return 0; } |
; return 0; } |
2516 |
EOF |
EOF |
2517 |
if { (eval echo configure:2331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2518 |
rm -rf conftest* |
rm -rf conftest* |
2519 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2520 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
2532 |
|
|
2533 |
|
|
2534 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
2535 |
echo "configure:2349: checking check for SIGEMT" >&5 |
echo "configure:2536: checking check for SIGEMT" >&5 |
2536 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2537 |
#line 2351 "configure" |
#line 2538 "configure" |
2538 |
#include "confdefs.h" |
#include "confdefs.h" |
2539 |
#include <signal.h> |
#include <signal.h> |
2540 |
int joe=SIGEMT; |
int joe=SIGEMT; |
2543 |
|
|
2544 |
; return 0; } |
; return 0; } |
2545 |
EOF |
EOF |
2546 |
if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2547 |
rm -rf conftest* |
rm -rf conftest* |
2548 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2549 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
2562 |
|
|
2563 |
|
|
2564 |
|
|
2565 |
if test $use = "386-linux" ; then |
#if test $use = "386-linux" ; then |
2566 |
for ac_hdr in asm/sigcontext.h |
for ac_hdr in asm/sigcontext.h |
2567 |
do |
do |
2568 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2569 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2570 |
echo "configure:2384: checking for $ac_hdr" >&5 |
echo "configure:2571: checking for $ac_hdr" >&5 |
2571 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2572 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2573 |
else |
else |
2574 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2575 |
#line 2389 "configure" |
#line 2576 "configure" |
2576 |
#include "confdefs.h" |
#include "confdefs.h" |
2577 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2578 |
EOF |
EOF |
2579 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2580 |
{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2581 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2582 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2583 |
rm -rf conftest* |
rm -rf conftest* |
2607 |
do |
do |
2608 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2609 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2610 |
echo "configure:2424: checking for $ac_hdr" >&5 |
echo "configure:2611: checking for $ac_hdr" >&5 |
2611 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2612 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2613 |
else |
else |
2614 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2615 |
#line 2429 "configure" |
#line 2616 "configure" |
2616 |
#include "confdefs.h" |
#include "confdefs.h" |
2617 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2618 |
EOF |
EOF |
2619 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2620 |
{ (eval echo configure:2434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2621 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2622 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2623 |
rm -rf conftest* |
rm -rf conftest* |
2644 |
done |
done |
2645 |
|
|
2646 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2647 |
#line 2461 "configure" |
#line 2648 "configure" |
2648 |
#include "confdefs.h" |
#include "confdefs.h" |
2649 |
#include <signal.h> |
#include <signal.h> |
2650 |
long code; |
long code; |
2651 |
|
|
2652 |
int main() { |
int main() { |
2653 |
|
|
2654 |
void *p = ((void *)(((struct sigcontext_struct *)(&code))->cr2)); |
void *p = ((void *)(((struct sigcontext_struct *)(&code)))); |
2655 |
|
|
2656 |
; return 0; } |
; return 0; } |
2657 |
EOF |
EOF |
2658 |
if { (eval echo configure:2472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2659 |
rm -rf conftest* |
rm -rf conftest* |
2660 |
|
|
2661 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
2676 |
rm -f conftest* |
rm -f conftest* |
2677 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
2678 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2679 |
#line 2493 "configure" |
#line 2680 "configure" |
2680 |
#include "confdefs.h" |
#include "confdefs.h" |
2681 |
#include <signal.h> |
#include <signal.h> |
2682 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
2689 |
|
|
2690 |
int main() { |
int main() { |
2691 |
|
|
2692 |
void *p = ((void *)(((struct sigcontext *)(&code))->cr2)); |
void *p = ((void *)(((struct sigcontext *)(&code)))); |
2693 |
|
|
2694 |
; return 0; } |
; return 0; } |
2695 |
EOF |
EOF |
2696 |
if { (eval echo configure:2510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2697 |
rm -rf conftest* |
rm -rf conftest* |
2698 |
|
|
2699 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
2715 |
|
|
2716 |
|
|
2717 |
fi |
fi |
2718 |
echo 'foo() {}' > conftest1.c |
# echo 'foo() {}' > conftest1.c |
2719 |
$CC -S conftest1.c |
# $CC -S conftest1.c |
2720 |
use_underscore=0 |
# use_underscore=0 |
2721 |
if fgrep _foo conftest1.s ; then use_underscore=1 ; fi |
# if fgrep _foo conftest1.s ; then use_underscore=1 ; fi |
2722 |
if test $use_underscore = 0 ; then |
# if test $use_underscore = 0 ; then |
2723 |
MPI_FILE=mpi-386_no_under.o |
# MPI_FILE=mpi-386_no_under.o |
2724 |
else |
# else |
2725 |
MPI_FILE=mpi-386d.o |
# MPI_FILE=mpi-386d.o |
2726 |
fi |
# fi |
2727 |
|
# AC_SUBST(MPI_FILE) |
2728 |
# GCC=$CC |
# GCC=$CC |
2729 |
# if test -x /usr/bin/i386-glibc20-linux-gcc ; then |
# if test -x /usr/bin/i386-glibc20-linux-gcc ; then |
2730 |
# GCC=/usr/bin/i386-glibc20-linux-gcc |
# GCC=/usr/bin/i386-glibc20-linux-gcc |
2731 |
# fi |
# fi |
2732 |
# AC_SUBST(GCC) |
# AC_SUBST(GCC) |
2733 |
|
|
2734 |
fi |
#fi |
2735 |
|
|
2736 |
# 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. |
2737 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
2738 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2739 |
echo "configure:2553: checking for $ac_word" >&5 |
echo "configure:2740: checking for $ac_word" >&5 |
2740 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
2741 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2742 |
else |
else |
2784 |
EOF |
EOF |
2785 |
|
|
2786 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
2787 |
echo "configure:2601: checking emacs site lisp directory" >&5 |
echo "configure:2788: checking emacs site lisp directory" >&5 |
2788 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
2789 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2790 |
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 ` |
2807 |
EOF |
EOF |
2808 |
|
|
2809 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
2810 |
echo "configure:2624: checking emacs default.el" >&5 |
echo "configure:2811: checking emacs default.el" >&5 |
2811 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2812 |
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 ` |
2813 |
else |
else |
2836 |
EOF |
EOF |
2837 |
|
|
2838 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
2839 |
echo "configure:2653: checking emacs info/dir" >&5 |
echo "configure:2840: checking emacs info/dir" >&5 |
2840 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2841 |
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 ` |
2842 |
fi |
fi |
2850 |
|
|
2851 |
|
|
2852 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
2853 |
echo "configure:2667: checking for tcl/tk" >&5 |
echo "configure:2854: checking for tcl/tk" >&5 |
2854 |
|
|
2855 |
|
|
2856 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
2873 |
# 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. |
2874 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
2875 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2876 |
echo "configure:2690: checking for $ac_word" >&5 |
echo "configure:2877: checking for $ac_word" >&5 |
2877 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
2878 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2879 |
else |
else |
2931 |
# Extract the first word of "wish", so it can be a program name with args. |
# Extract the first word of "wish", so it can be a program name with args. |
2932 |
set dummy wish; ac_word=$2 |
set dummy wish; ac_word=$2 |
2933 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2934 |
echo "configure:2748: checking for $ac_word" >&5 |
echo "configure:2935: checking for $ac_word" >&5 |
2935 |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
2936 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2937 |
else |
else |
2997 |
fi |
fi |
2998 |
fi |
fi |
2999 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3000 |
echo "configure:2814: checking for main in -llieee" >&5 |
echo "configure:3001: checking for main in -llieee" >&5 |
3001 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3002 |
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 |
3003 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3005 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3006 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3007 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3008 |
#line 2822 "configure" |
#line 3009 "configure" |
3009 |
#include "confdefs.h" |
#include "confdefs.h" |
3010 |
|
|
3011 |
int main() { |
int main() { |
3012 |
main() |
main() |
3013 |
; return 0; } |
; return 0; } |
3014 |
EOF |
EOF |
3015 |
if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3016 |
rm -rf conftest* |
rm -rf conftest* |
3017 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3018 |
else |
else |
3037 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3038 |
fi |
fi |
3039 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3040 |
echo "configure:2854: checking for dlopen in -ldl" >&5 |
echo "configure:3041: checking for dlopen in -ldl" >&5 |
3041 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3042 |
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 |
3043 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3045 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3046 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3047 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3048 |
#line 2862 "configure" |
#line 3049 "configure" |
3049 |
#include "confdefs.h" |
#include "confdefs.h" |
3050 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3051 |
/* 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 |
3056 |
dlopen() |
dlopen() |
3057 |
; return 0; } |
; return 0; } |
3058 |
EOF |
EOF |
3059 |
if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3060 |
rm -rf conftest* |
rm -rf conftest* |
3061 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3062 |
else |
else |
3138 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3139 |
|
|
3140 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3141 |
echo "configure:2955: checking alloca" >&5 |
echo "configure:3142: checking alloca" >&5 |
3142 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3143 |
gcl_ok=no |
gcl_ok=no |
3144 |
else |
else |
3145 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3146 |
#line 2960 "configure" |
#line 3147 "configure" |
3147 |
#include "confdefs.h" |
#include "confdefs.h" |
3148 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3149 |
EOF |
EOF |
3150 |
if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3151 |
then |
then |
3152 |
: |
: |
3153 |
else |
else |
3170 |
gcl_ok=no |
gcl_ok=no |
3171 |
else |
else |
3172 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3173 |
#line 2987 "configure" |
#line 3174 "configure" |
3174 |
#include "confdefs.h" |
#include "confdefs.h" |
3175 |
#include <alloca.h> |
#include <alloca.h> |
3176 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3177 |
EOF |
EOF |
3178 |
if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3179 |
then |
then |
3180 |
: |
: |
3181 |
else |
else |
3237 |
|
|
3238 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3239 |
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 |
3240 |
echo "configure:3054: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3241: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3241 |
case "${canonical}" in |
case "${canonical}" in |
3242 |
i[5-9]86* | pentium* | k6* | athlon*) |
i[5-9]86* | pentium* | k6* | athlon*) |
3243 |
(cd gmp ; ./configure --target=i486) ;; |
(cd gmp ; ./configure --target=i486) ;; |
3259 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3260 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3261 |
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 |
3262 |
echo "configure:3076: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3263: checking Checking for buggy gcc version from redhat" >&5 |
3263 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3264 |
then |
then |
3265 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
3415 |
s%@GCC@%$GCC%g |
s%@GCC@%$GCC%g |
3416 |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
3417 |
s%@CPP@%$CPP%g |
s%@CPP@%$CPP%g |
3418 |
|
s%@RL_OBJS@%$RL_OBJS%g |
3419 |
|
s%@RL_LIB@%$RL_LIB%g |
3420 |
s%@NO_PROFILE@%$NO_PROFILE%g |
s%@NO_PROFILE@%$NO_PROFILE%g |
3421 |
s%@HAVE_SETENV@%$HAVE_SETENV%g |
s%@HAVE_SETENV@%$HAVE_SETENV%g |
3422 |
s%@HAVE_PUTENV@%$HAVE_PUTENV%g |
s%@HAVE_PUTENV@%$HAVE_PUTENV%g |
3430 |
s%@HAVE_SV_ONSTACK@%$HAVE_SV_ONSTACK%g |
s%@HAVE_SV_ONSTACK@%$HAVE_SV_ONSTACK%g |
3431 |
s%@HAVE_SIGSYS@%$HAVE_SIGSYS%g |
s%@HAVE_SIGSYS@%$HAVE_SIGSYS%g |
3432 |
s%@HAVE_SIGEMT@%$HAVE_SIGEMT%g |
s%@HAVE_SIGEMT@%$HAVE_SIGEMT%g |
|
s%@MPI_FILE@%$MPI_FILE%g |
|
3433 |
s%@EMACS@%$EMACS%g |
s%@EMACS@%$EMACS%g |
3434 |
s%@EMACS_SITE_LISP@%$EMACS_SITE_LISP%g |
s%@EMACS_SITE_LISP@%$EMACS_SITE_LISP%g |
3435 |
s%@EMACS_DEFAULT_EL@%$EMACS_DEFAULT_EL%g |
s%@EMACS_DEFAULT_EL@%$EMACS_DEFAULT_EL%g |