1047 |
{ |
{ |
1048 |
char *b = (void *) malloc(1000); |
char *b = (void *) malloc(1000); |
1049 |
FILE *fp = fopen("conftest1","w"); |
FILE *fp = fopen("conftest1","w"); |
1050 |
fprintf(fp,"0x%x",((unsigned int) b) & ~0xffffff); |
fprintf(fp,"0x%lx",((unsigned long) b) & ~(unsigned long)0xffffff); |
1051 |
fclose(fp); |
fclose(fp); |
1052 |
return 0; |
return 0; |
1053 |
} |
} |
1176 |
|
|
1177 |
|
|
1178 |
|
|
1179 |
|
# pagewidth |
1180 |
|
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
1181 |
|
echo "configure:1182: checking for pagewidth" >&5 |
1182 |
|
if test "$cross_compiling" = yes; then |
1183 |
|
PAGEWIDTH=0 |
1184 |
|
else |
1185 |
|
cat > conftest.$ac_ext <<EOF |
1186 |
|
#line 1187 "configure" |
1187 |
|
#include "confdefs.h" |
1188 |
|
#include <stdio.h> |
1189 |
|
#include <unistd.h> |
1190 |
|
int main() {size_t i=getpagesize(),j; |
1191 |
|
FILE *fp=fopen("conftest1","w"); |
1192 |
|
for (j=0;i>>=1;j++); |
1193 |
|
fprintf(fp,"%u",j); |
1194 |
|
return 0;} |
1195 |
|
EOF |
1196 |
|
if { (eval echo configure:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1197 |
|
then |
1198 |
|
PAGEWIDTH=`cat conftest1` |
1199 |
|
else |
1200 |
|
echo "configure: failed program was:" >&5 |
1201 |
|
cat conftest.$ac_ext >&5 |
1202 |
|
rm -fr conftest* |
1203 |
|
PAGEWIDTH=0 |
1204 |
|
fi |
1205 |
|
rm -fr conftest* |
1206 |
|
fi |
1207 |
|
|
1208 |
|
echo "$ac_t""$PAGEWIDTH" 1>&6 |
1209 |
|
cat >> confdefs.h <<EOF |
1210 |
|
#define PAGEWIDTH $PAGEWIDTH |
1211 |
|
EOF |
1212 |
|
|
1213 |
|
|
1214 |
|
|
1215 |
# bfd probe |
# bfd probe |
1216 |
|
|
1312 |
for ac_func in getcwd |
for ac_func in getcwd |
1313 |
do |
do |
1314 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1315 |
echo "configure:1281: checking for $ac_func" >&5 |
echo "configure:1316: checking for $ac_func" >&5 |
1316 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1317 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1318 |
else |
else |
1319 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1320 |
#line 1286 "configure" |
#line 1321 "configure" |
1321 |
#include "confdefs.h" |
#include "confdefs.h" |
1322 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1323 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1340 |
|
|
1341 |
; return 0; } |
; return 0; } |
1342 |
EOF |
EOF |
1343 |
if { (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1344 |
rm -rf conftest* |
rm -rf conftest* |
1345 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1346 |
else |
else |
1367 |
for ac_func in getwd |
for ac_func in getwd |
1368 |
do |
do |
1369 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1370 |
echo "configure:1336: checking for $ac_func" >&5 |
echo "configure:1371: checking for $ac_func" >&5 |
1371 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1372 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1373 |
else |
else |
1374 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1375 |
#line 1341 "configure" |
#line 1376 "configure" |
1376 |
#include "confdefs.h" |
#include "confdefs.h" |
1377 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1378 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1395 |
|
|
1396 |
; return 0; } |
; return 0; } |
1397 |
EOF |
EOF |
1398 |
if { (eval echo configure:1364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1399 |
rm -rf conftest* |
rm -rf conftest* |
1400 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1401 |
else |
else |
1420 |
done |
done |
1421 |
|
|
1422 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
1423 |
echo "configure:1389: checking for uname" >&5 |
echo "configure:1424: checking for uname" >&5 |
1424 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
1425 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1426 |
else |
else |
1427 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1428 |
#line 1394 "configure" |
#line 1429 "configure" |
1429 |
#include "confdefs.h" |
#include "confdefs.h" |
1430 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1431 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
1448 |
|
|
1449 |
; return 0; } |
; return 0; } |
1450 |
EOF |
EOF |
1451 |
if { (eval echo configure:1417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1452 |
rm -rf conftest* |
rm -rf conftest* |
1453 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
1454 |
else |
else |
1472 |
fi |
fi |
1473 |
|
|
1474 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1475 |
echo "configure:1441: checking for gettimeofday" >&5 |
echo "configure:1476: checking for gettimeofday" >&5 |
1476 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1477 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1478 |
else |
else |
1479 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1480 |
#line 1446 "configure" |
#line 1481 "configure" |
1481 |
#include "confdefs.h" |
#include "confdefs.h" |
1482 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1483 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1500 |
|
|
1501 |
; return 0; } |
; return 0; } |
1502 |
EOF |
EOF |
1503 |
if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1504 |
rm -rf conftest* |
rm -rf conftest* |
1505 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1506 |
else |
else |
1529 |
do |
do |
1530 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1531 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1532 |
echo "configure:1498: checking for $ac_hdr" >&5 |
echo "configure:1533: checking for $ac_hdr" >&5 |
1533 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1534 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1535 |
else |
else |
1536 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1537 |
#line 1503 "configure" |
#line 1538 "configure" |
1538 |
#include "confdefs.h" |
#include "confdefs.h" |
1539 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1540 |
EOF |
EOF |
1541 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1542 |
{ (eval echo configure:1508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1543 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1544 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1545 |
rm -rf conftest* |
rm -rf conftest* |
1579 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1580 |
|
|
1581 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
1582 |
echo "configure:1548: checking for BSDgettimeofday" >&5 |
echo "configure:1583: checking for BSDgettimeofday" >&5 |
1583 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
1584 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1585 |
else |
else |
1586 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1587 |
#line 1553 "configure" |
#line 1588 "configure" |
1588 |
#include "confdefs.h" |
#include "confdefs.h" |
1589 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1590 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
1607 |
|
|
1608 |
; return 0; } |
; return 0; } |
1609 |
EOF |
EOF |
1610 |
if { (eval echo configure:1576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1611 |
rm -rf conftest* |
rm -rf conftest* |
1612 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
1613 |
else |
else |
1628 |
else |
else |
1629 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1630 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1631 |
echo "configure:1597: checking for gettimeofday" >&5 |
echo "configure:1632: checking for gettimeofday" >&5 |
1632 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1633 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1634 |
else |
else |
1635 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1636 |
#line 1602 "configure" |
#line 1637 "configure" |
1637 |
#include "confdefs.h" |
#include "confdefs.h" |
1638 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1639 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1656 |
|
|
1657 |
; return 0; } |
; return 0; } |
1658 |
EOF |
EOF |
1659 |
if { (eval echo configure:1625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1660 |
rm -rf conftest* |
rm -rf conftest* |
1661 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1662 |
else |
else |
1682 |
fi |
fi |
1683 |
|
|
1684 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
1685 |
echo "configure:1651: checking for gettimeofday declaration" >&5 |
echo "configure:1686: checking for gettimeofday declaration" >&5 |
1686 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1687 |
#line 1653 "configure" |
#line 1688 "configure" |
1688 |
#include "confdefs.h" |
#include "confdefs.h" |
1689 |
#include <sys/time.h> |
#include <sys/time.h> |
1690 |
EOF |
EOF |
1707 |
|
|
1708 |
|
|
1709 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
1710 |
echo "configure:1676: checking for sin in -lm" >&5 |
echo "configure:1711: checking for sin in -lm" >&5 |
1711 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
1712 |
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 |
1713 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1715 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1716 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
1717 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1718 |
#line 1684 "configure" |
#line 1719 "configure" |
1719 |
#include "confdefs.h" |
#include "confdefs.h" |
1720 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1721 |
/* 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 |
1726 |
sin() |
sin() |
1727 |
; return 0; } |
; return 0; } |
1728 |
EOF |
EOF |
1729 |
if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1730 |
rm -rf conftest* |
rm -rf conftest* |
1731 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1732 |
else |
else |
1748 |
fi |
fi |
1749 |
|
|
1750 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
1751 |
echo "configure:1717: checking for main in -lmingwex" >&5 |
echo "configure:1752: checking for main in -lmingwex" >&5 |
1752 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
1753 |
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 |
1754 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1756 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1757 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
1758 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1759 |
#line 1725 "configure" |
#line 1760 "configure" |
1760 |
#include "confdefs.h" |
#include "confdefs.h" |
1761 |
|
|
1762 |
int main() { |
int main() { |
1763 |
main() |
main() |
1764 |
; return 0; } |
; return 0; } |
1765 |
EOF |
EOF |
1766 |
if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1767 |
rm -rf conftest* |
rm -rf conftest* |
1768 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1769 |
else |
else |
1792 |
do |
do |
1793 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1794 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1795 |
echo "configure:1761: checking for $ac_hdr" >&5 |
echo "configure:1796: checking for $ac_hdr" >&5 |
1796 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1797 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1798 |
else |
else |
1799 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1800 |
#line 1766 "configure" |
#line 1801 "configure" |
1801 |
#include "confdefs.h" |
#include "confdefs.h" |
1802 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1803 |
EOF |
EOF |
1804 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1805 |
{ (eval echo configure:1771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1806 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1807 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1808 |
rm -rf conftest* |
rm -rf conftest* |
1838 |
# test makes sense. CM |
# test makes sense. CM |
1839 |
# |
# |
1840 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
1841 |
echo "configure:1807: checking for isnormal" >&5 |
echo "configure:1842: checking for isnormal" >&5 |
1842 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1843 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
1844 |
else |
else |
1845 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1846 |
#line 1812 "configure" |
#line 1847 "configure" |
1847 |
#include "confdefs.h" |
#include "confdefs.h" |
1848 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
1849 |
#include <math.h> |
#include <math.h> |
1852 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
1853 |
} |
} |
1854 |
EOF |
EOF |
1855 |
if { (eval echo configure:1821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1856 |
then |
then |
1857 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1858 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
1863 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
1864 |
rm -fr conftest* |
rm -fr conftest* |
1865 |
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 |
1866 |
echo "configure:1832: checking for fpclass in ieeefp.h" >&5 |
echo "configure:1867: checking for fpclass in ieeefp.h" >&5 |
1867 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1868 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
1869 |
else |
else |
1870 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1871 |
#line 1837 "configure" |
#line 1872 "configure" |
1872 |
#include "confdefs.h" |
#include "confdefs.h" |
1873 |
#include <ieeefp.h> |
#include <ieeefp.h> |
1874 |
int main() { |
int main() { |
1876 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
1877 |
} |
} |
1878 |
EOF |
EOF |
1879 |
if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1880 |
then |
then |
1881 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1882 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
1898 |
|
|
1899 |
|
|
1900 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
1901 |
echo "configure:1867: checking for isfinite" >&5 |
echo "configure:1902: checking for isfinite" >&5 |
1902 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1903 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
1904 |
else |
else |
1905 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1906 |
#line 1872 "configure" |
#line 1907 "configure" |
1907 |
#include "confdefs.h" |
#include "confdefs.h" |
1908 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
1909 |
#include <math.h> |
#include <math.h> |
1912 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
1913 |
} |
} |
1914 |
EOF |
EOF |
1915 |
if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1916 |
then |
then |
1917 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1918 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
1923 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
1924 |
rm -fr conftest* |
rm -fr conftest* |
1925 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
1926 |
echo "configure:1892: checking for finite()" >&5 |
echo "configure:1927: checking for finite()" >&5 |
1927 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1928 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
1929 |
else |
else |
1930 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1931 |
#line 1897 "configure" |
#line 1932 "configure" |
1932 |
#include "confdefs.h" |
#include "confdefs.h" |
1933 |
#include <math.h> |
#include <math.h> |
1934 |
int main() { |
int main() { |
1936 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
1937 |
} |
} |
1938 |
EOF |
EOF |
1939 |
if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1940 |
then |
then |
1941 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1942 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
1977 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
1978 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1979 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
1980 |
echo "configure:1946: checking for sockets" >&5 |
echo "configure:1981: checking for sockets" >&5 |
1981 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
1982 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
1983 |
echo "configure:1949: checking for connect" >&5 |
echo "configure:1984: checking for connect" >&5 |
1984 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
1985 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1986 |
else |
else |
1987 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1988 |
#line 1954 "configure" |
#line 1989 "configure" |
1989 |
#include "confdefs.h" |
#include "confdefs.h" |
1990 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1991 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2008 |
|
|
2009 |
; return 0; } |
; return 0; } |
2010 |
EOF |
EOF |
2011 |
if { (eval echo configure:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2012 |
rm -rf conftest* |
rm -rf conftest* |
2013 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2014 |
else |
else |
2030 |
|
|
2031 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
2032 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
2033 |
echo "configure:1999: checking for main in -lsocket" >&5 |
echo "configure:2034: checking for main in -lsocket" >&5 |
2034 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
2035 |
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 |
2036 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2038 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2039 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
2040 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2041 |
#line 2007 "configure" |
#line 2042 "configure" |
2042 |
#include "confdefs.h" |
#include "confdefs.h" |
2043 |
|
|
2044 |
int main() { |
int main() { |
2045 |
main() |
main() |
2046 |
; return 0; } |
; return 0; } |
2047 |
EOF |
EOF |
2048 |
if { (eval echo configure:2014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2049 |
rm -rf conftest* |
rm -rf conftest* |
2050 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2051 |
else |
else |
2073 |
tk_oldLibs=$LIBS |
tk_oldLibs=$LIBS |
2074 |
LIBS="$LIBS -lsocket -lnsl" |
LIBS="$LIBS -lsocket -lnsl" |
2075 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
2076 |
echo "configure:2042: checking for accept" >&5 |
echo "configure:2077: checking for accept" >&5 |
2077 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
2078 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2079 |
else |
else |
2080 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2081 |
#line 2047 "configure" |
#line 2082 "configure" |
2082 |
#include "confdefs.h" |
#include "confdefs.h" |
2083 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2084 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
2101 |
|
|
2102 |
; return 0; } |
; return 0; } |
2103 |
EOF |
EOF |
2104 |
if { (eval echo configure:2070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2105 |
rm -rf conftest* |
rm -rf conftest* |
2106 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
2107 |
else |
else |
2123 |
|
|
2124 |
fi |
fi |
2125 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2126 |
echo "configure:2092: checking for gethostbyname" >&5 |
echo "configure:2127: checking for gethostbyname" >&5 |
2127 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2128 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2129 |
else |
else |
2130 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2131 |
#line 2097 "configure" |
#line 2132 "configure" |
2132 |
#include "confdefs.h" |
#include "confdefs.h" |
2133 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2134 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2151 |
|
|
2152 |
; return 0; } |
; return 0; } |
2153 |
EOF |
EOF |
2154 |
if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2155 |
rm -rf conftest* |
rm -rf conftest* |
2156 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2157 |
else |
else |
2169 |
else |
else |
2170 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2171 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
2172 |
echo "configure:2138: checking for main in -lnsl" >&5 |
echo "configure:2173: checking for main in -lnsl" >&5 |
2173 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
2174 |
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 |
2175 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2177 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2178 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2179 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2180 |
#line 2146 "configure" |
#line 2181 "configure" |
2181 |
#include "confdefs.h" |
#include "confdefs.h" |
2182 |
|
|
2183 |
int main() { |
int main() { |
2184 |
main() |
main() |
2185 |
; return 0; } |
; return 0; } |
2186 |
EOF |
EOF |
2187 |
if { (eval echo configure:2153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2188 |
rm -rf conftest* |
rm -rf conftest* |
2189 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2190 |
else |
else |
2209 |
|
|
2210 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
2211 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
2212 |
echo "configure:2178: checking for main in -lreadline" >&5 |
echo "configure:2213: checking for main in -lreadline" >&5 |
2213 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
2214 |
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 |
2215 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2217 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2218 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
2219 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2220 |
#line 2186 "configure" |
#line 2221 "configure" |
2221 |
#include "confdefs.h" |
#include "confdefs.h" |
2222 |
|
|
2223 |
int main() { |
int main() { |
2224 |
main() |
main() |
2225 |
; return 0; } |
; return 0; } |
2226 |
EOF |
EOF |
2227 |
if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2228 |
rm -rf conftest* |
rm -rf conftest* |
2229 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2230 |
else |
else |
2255 |
if test "$enable_bfd" = "yes" ; then |
if test "$enable_bfd" = "yes" ; then |
2256 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2257 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2258 |
echo "configure:2224: checking for bfd.h" >&5 |
echo "configure:2259: checking for bfd.h" >&5 |
2259 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2260 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2261 |
else |
else |
2262 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2263 |
#line 2229 "configure" |
#line 2264 "configure" |
2264 |
#include "confdefs.h" |
#include "confdefs.h" |
2265 |
#include <bfd.h> |
#include <bfd.h> |
2266 |
EOF |
EOF |
2267 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2268 |
{ (eval echo configure:2234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2269 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2270 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2271 |
rm -rf conftest* |
rm -rf conftest* |
2282 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2283 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2284 |
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 |
2285 |
echo "configure:2251: checking for bfd_init in -lbfd" >&5 |
echo "configure:2286: checking for bfd_init in -lbfd" >&5 |
2286 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2287 |
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 |
2288 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2290 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2291 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2292 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2293 |
#line 2259 "configure" |
#line 2294 "configure" |
2294 |
#include "confdefs.h" |
#include "confdefs.h" |
2295 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2296 |
/* 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 |
2301 |
bfd_init() |
bfd_init() |
2302 |
; return 0; } |
; return 0; } |
2303 |
EOF |
EOF |
2304 |
if { (eval echo configure:2270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2305 |
rm -rf conftest* |
rm -rf conftest* |
2306 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2307 |
else |
else |
2324 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
2325 |
# |
# |
2326 |
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 |
2327 |
echo "configure:2293: checking if need to define CONST for bfd" >&5 |
echo "configure:2328: checking if need to define CONST for bfd" >&5 |
2328 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2329 |
echo "$ac_t""cannot use bfd" 1>&6 |
echo "$ac_t""cannot use bfd" 1>&6 |
2330 |
else |
else |
2331 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2332 |
#line 2298 "configure" |
#line 2333 "configure" |
2333 |
#include "confdefs.h" |
#include "confdefs.h" |
2334 |
#define IN_GCC |
#define IN_GCC |
2335 |
#include <bfd.h> |
#include <bfd.h> |
2336 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
2337 |
EOF |
EOF |
2338 |
if { (eval echo configure:2304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2339 |
then |
then |
2340 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2341 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2351 |
echo "$ac_t""cannot use bfd" 1>&6 |
echo "$ac_t""cannot use bfd" 1>&6 |
2352 |
else |
else |
2353 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2354 |
#line 2320 "configure" |
#line 2355 "configure" |
2355 |
#include "confdefs.h" |
#include "confdefs.h" |
2356 |
#define IN_GCC |
#define IN_GCC |
2357 |
#include <bfd.h> |
#include <bfd.h> |
2358 |
#define CONST const |
#define CONST const |
2359 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
2360 |
EOF |
EOF |
2361 |
if { (eval echo configure:2327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2362 |
then |
then |
2363 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2364 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2400 |
|
|
2401 |
|
|
2402 |
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 |
2403 |
echo "configure:2369: checking For network code for nsocket.c" >&5 |
echo "configure:2404: checking For network code for nsocket.c" >&5 |
2404 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2405 |
#line 2371 "configure" |
#line 2406 "configure" |
2406 |
#include "confdefs.h" |
#include "confdefs.h" |
2407 |
|
|
2408 |
#include <sys/time.h> |
#include <sys/time.h> |
2429 |
|
|
2430 |
; return 0; } |
; return 0; } |
2431 |
EOF |
EOF |
2432 |
if { (eval echo configure:2398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2433 |
rm -rf conftest* |
rm -rf conftest* |
2434 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2435 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
2446 |
|
|
2447 |
|
|
2448 |
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 |
2449 |
echo "configure:2415: checking check for listen using fcntl" >&5 |
echo "configure:2450: checking check for listen using fcntl" >&5 |
2450 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2451 |
#line 2417 "configure" |
#line 2452 "configure" |
2452 |
#include "confdefs.h" |
#include "confdefs.h" |
2453 |
#include <stdio.h> |
#include <stdio.h> |
2454 |
#include <fcntl.h> |
#include <fcntl.h> |
2461 |
|
|
2462 |
; return 0; } |
; return 0; } |
2463 |
EOF |
EOF |
2464 |
if { (eval echo configure:2430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2465 |
rm -rf conftest* |
rm -rf conftest* |
2466 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2467 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2480 |
|
|
2481 |
|
|
2482 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2483 |
echo "configure:2449: checking for profil" >&5 |
echo "configure:2484: checking for profil" >&5 |
2484 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2485 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2486 |
else |
else |
2487 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2488 |
#line 2454 "configure" |
#line 2489 "configure" |
2489 |
#include "confdefs.h" |
#include "confdefs.h" |
2490 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2491 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2508 |
|
|
2509 |
; return 0; } |
; return 0; } |
2510 |
EOF |
EOF |
2511 |
if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2512 |
rm -rf conftest* |
rm -rf conftest* |
2513 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2514 |
else |
else |
2533 |
|
|
2534 |
|
|
2535 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2536 |
echo "configure:2502: checking for setenv" >&5 |
echo "configure:2537: checking for setenv" >&5 |
2537 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2538 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2539 |
else |
else |
2540 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2541 |
#line 2507 "configure" |
#line 2542 "configure" |
2542 |
#include "confdefs.h" |
#include "confdefs.h" |
2543 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2544 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2561 |
|
|
2562 |
; return 0; } |
; return 0; } |
2563 |
EOF |
EOF |
2564 |
if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2565 |
rm -rf conftest* |
rm -rf conftest* |
2566 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2567 |
else |
else |
2587 |
|
|
2588 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2589 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2590 |
echo "configure:2556: checking for putenv" >&5 |
echo "configure:2591: checking for putenv" >&5 |
2591 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2592 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2593 |
else |
else |
2594 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2595 |
#line 2561 "configure" |
#line 2596 "configure" |
2596 |
#include "confdefs.h" |
#include "confdefs.h" |
2597 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2598 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2615 |
|
|
2616 |
; return 0; } |
; return 0; } |
2617 |
EOF |
EOF |
2618 |
if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2619 |
rm -rf conftest* |
rm -rf conftest* |
2620 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2621 |
else |
else |
2641 |
fi |
fi |
2642 |
|
|
2643 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2644 |
echo "configure:2610: checking for _cleanup" >&5 |
echo "configure:2645: checking for _cleanup" >&5 |
2645 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2646 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2647 |
else |
else |
2648 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2649 |
#line 2615 "configure" |
#line 2650 "configure" |
2650 |
#include "confdefs.h" |
#include "confdefs.h" |
2651 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2652 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2669 |
|
|
2670 |
; return 0; } |
; return 0; } |
2671 |
EOF |
EOF |
2672 |
if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2673 |
rm -rf conftest* |
rm -rf conftest* |
2674 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2675 |
else |
else |
2695 |
gcl_ok=no |
gcl_ok=no |
2696 |
|
|
2697 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2698 |
#line 2664 "configure" |
#line 2699 "configure" |
2699 |
#include "confdefs.h" |
#include "confdefs.h" |
2700 |
#include <ctype.h> |
#include <ctype.h> |
2701 |
EOF |
EOF |
2723 |
|
|
2724 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2725 |
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 |
2726 |
echo "configure:2692: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2727: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2727 |
|
|
2728 |
case $system in |
case $system in |
2729 |
OSF*) |
OSF*) |
2779 |
fi |
fi |
2780 |
|
|
2781 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2782 |
echo "configure:2748: checking host system type" >&5 |
echo "configure:2783: checking host system type" >&5 |
2783 |
|
|
2784 |
host_alias=$host |
host_alias=$host |
2785 |
case "$host_alias" in |
case "$host_alias" in |
2810 |
use=386-bsd;; |
use=386-bsd;; |
2811 |
|
|
2812 |
*86-*-linux*) |
*86-*-linux*) |
2813 |
use=386-linux;; |
use=386-linux; ln -snf linux.defs h/$use.defs;; |
2814 |
|
|
2815 |
m68k-*-linux*) |
m68k-*-linux*) |
2816 |
use=m68k-linux;; |
use=m68k-linux; ln -snf linux.defs h/$use.defs;; |
2817 |
|
|
2818 |
alpha-*-linux*) |
alpha*-*-linux*) |
2819 |
use=alpha-linux;; |
use=alpha-linux; ln -snf linux.defs h/$use.defs;; |
2820 |
|
|
2821 |
mips-*-linux*) |
mips-*-linux*) |
2822 |
use=mips-linux;; |
use=mips-linux; ln -snf linux.defs h/$use.defs;; |
2823 |
|
|
2824 |
mipsel-*-linux*) |
mipsel-*-linux*) |
2825 |
use=mipsel-linux;; |
use=mipsel-linux; ln -snf linux.defs h/$use.defs;; |
2826 |
|
|
2827 |
sparc-*-linux*) |
sparc*-*-linux*) |
2828 |
use=sparc-linux;; |
use=sparc-linux; ln -snf linux.defs h/$use.defs;; |
2829 |
|
|
2830 |
arm*-*-linux*) |
arm*-*-linux*) |
2831 |
use=arm-linux;; |
use=arm-linux; ln -snf linux.defs h/$use.defs;; |
2832 |
|
|
2833 |
s390-*-linux*) |
s390-*-linux*) |
2834 |
use=s390-linux;; |
use=s390-linux; ln -snf linux.defs h/$use.defs;; |
2835 |
|
|
2836 |
ia64-*-linux*) |
ia64-*-linux*) |
2837 |
use=ia64-linux;; |
use=ia64-linux; ln -snf linux.defs h/$use.defs;; |
2838 |
|
|
2839 |
hppa-*-linux*) |
hppa-*-linux*) |
2840 |
use=hppa-linux;; |
use=hppa-linux; ln -snf linux.defs h/$use.defs;; |
2841 |
|
|
2842 |
powerpc-*-linux*) |
powerpc-*-linux*) |
2843 |
use=powerpc-linux;; |
use=powerpc-linux; ln -snf linux.defs h/$use.defs;; |
2844 |
|
|
2845 |
alpha-dec-osf) |
alpha-dec-osf) |
2846 |
use=alpha-osf1;; |
use=alpha-osf1;; |
2952 |
|
|
2953 |
esac |
esac |
2954 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2955 |
echo "configure:2921: checking check for SV_ONSTACK" >&5 |
echo "configure:2956: checking check for SV_ONSTACK" >&5 |
2956 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2957 |
#line 2923 "configure" |
#line 2958 "configure" |
2958 |
#include "confdefs.h" |
#include "confdefs.h" |
2959 |
#include <signal.h> |
#include <signal.h> |
2960 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2963 |
|
|
2964 |
; return 0; } |
; return 0; } |
2965 |
EOF |
EOF |
2966 |
if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2967 |
rm -rf conftest* |
rm -rf conftest* |
2968 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2969 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2981 |
|
|
2982 |
|
|
2983 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2984 |
echo "configure:2950: checking check for SIGSYS" >&5 |
echo "configure:2985: checking check for SIGSYS" >&5 |
2985 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2986 |
#line 2952 "configure" |
#line 2987 "configure" |
2987 |
#include "confdefs.h" |
#include "confdefs.h" |
2988 |
#include <signal.h> |
#include <signal.h> |
2989 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2992 |
|
|
2993 |
; return 0; } |
; return 0; } |
2994 |
EOF |
EOF |
2995 |
if { (eval echo configure:2961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2996 |
rm -rf conftest* |
rm -rf conftest* |
2997 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2998 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
3010 |
|
|
3011 |
|
|
3012 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
3013 |
echo "configure:2979: checking check for SIGEMT" >&5 |
echo "configure:3014: checking check for SIGEMT" >&5 |
3014 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3015 |
#line 2981 "configure" |
#line 3016 "configure" |
3016 |
#include "confdefs.h" |
#include "confdefs.h" |
3017 |
#include <signal.h> |
#include <signal.h> |
3018 |
int joe=SIGEMT; |
int joe=SIGEMT; |
3021 |
|
|
3022 |
; return 0; } |
; return 0; } |
3023 |
EOF |
EOF |
3024 |
if { (eval echo configure:2990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3025 |
rm -rf conftest* |
rm -rf conftest* |
3026 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3027 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
3045 |
do |
do |
3046 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3047 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3048 |
echo "configure:3014: checking for $ac_hdr" >&5 |
echo "configure:3049: checking for $ac_hdr" >&5 |
3049 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3050 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3051 |
else |
else |
3052 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3053 |
#line 3019 "configure" |
#line 3054 "configure" |
3054 |
#include "confdefs.h" |
#include "confdefs.h" |
3055 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3056 |
EOF |
EOF |
3057 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3058 |
{ (eval echo configure:3024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3059 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3060 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3061 |
rm -rf conftest* |
rm -rf conftest* |
3085 |
do |
do |
3086 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3087 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3088 |
echo "configure:3054: checking for $ac_hdr" >&5 |
echo "configure:3089: checking for $ac_hdr" >&5 |
3089 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3090 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3091 |
else |
else |
3092 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3093 |
#line 3059 "configure" |
#line 3094 "configure" |
3094 |
#include "confdefs.h" |
#include "confdefs.h" |
3095 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3096 |
EOF |
EOF |
3097 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3098 |
{ (eval echo configure:3064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3099 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3100 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3101 |
rm -rf conftest* |
rm -rf conftest* |
3122 |
done |
done |
3123 |
|
|
3124 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3125 |
#line 3091 "configure" |
#line 3126 "configure" |
3126 |
#include "confdefs.h" |
#include "confdefs.h" |
3127 |
#include <signal.h> |
#include <signal.h> |
3128 |
long code; |
long code; |
3133 |
|
|
3134 |
; return 0; } |
; return 0; } |
3135 |
EOF |
EOF |
3136 |
if { (eval echo configure:3102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3137 |
rm -rf conftest* |
rm -rf conftest* |
3138 |
|
|
3139 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
3154 |
rm -f conftest* |
rm -f conftest* |
3155 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
3156 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3157 |
#line 3123 "configure" |
#line 3158 "configure" |
3158 |
#include "confdefs.h" |
#include "confdefs.h" |
3159 |
#include <signal.h> |
#include <signal.h> |
3160 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
3171 |
|
|
3172 |
; return 0; } |
; return 0; } |
3173 |
EOF |
EOF |
3174 |
if { (eval echo configure:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3175 |
rm -rf conftest* |
rm -rf conftest* |
3176 |
|
|
3177 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
3214 |
# 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. |
3215 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
3216 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3217 |
echo "configure:3183: checking for $ac_word" >&5 |
echo "configure:3218: checking for $ac_word" >&5 |
3218 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
3219 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3220 |
else |
else |
3262 |
EOF |
EOF |
3263 |
|
|
3264 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
3265 |
echo "configure:3231: checking emacs site lisp directory" >&5 |
echo "configure:3266: checking emacs site lisp directory" >&5 |
3266 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
3267 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3268 |
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 ` |
3285 |
EOF |
EOF |
3286 |
|
|
3287 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
3288 |
echo "configure:3254: checking emacs default.el" >&5 |
echo "configure:3289: checking emacs default.el" >&5 |
3289 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3290 |
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 ` |
3291 |
else |
else |
3314 |
EOF |
EOF |
3315 |
|
|
3316 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3317 |
echo "configure:3283: checking emacs info/dir" >&5 |
echo "configure:3318: checking emacs info/dir" >&5 |
3318 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3319 |
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 ` |
3320 |
fi |
fi |
3328 |
|
|
3329 |
|
|
3330 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3331 |
echo "configure:3297: checking for tcl/tk" >&5 |
echo "configure:3332: checking for tcl/tk" >&5 |
3332 |
|
|
3333 |
|
|
3334 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3351 |
# 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. |
3352 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3353 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3354 |
echo "configure:3320: checking for $ac_word" >&5 |
echo "configure:3355: checking for $ac_word" >&5 |
3355 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3356 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3357 |
else |
else |
3451 |
fi |
fi |
3452 |
fi |
fi |
3453 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3454 |
echo "configure:3420: checking for main in -llieee" >&5 |
echo "configure:3455: checking for main in -llieee" >&5 |
3455 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3456 |
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 |
3457 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3459 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3460 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3461 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3462 |
#line 3428 "configure" |
#line 3463 "configure" |
3463 |
#include "confdefs.h" |
#include "confdefs.h" |
3464 |
|
|
3465 |
int main() { |
int main() { |
3466 |
main() |
main() |
3467 |
; return 0; } |
; return 0; } |
3468 |
EOF |
EOF |
3469 |
if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3470 |
rm -rf conftest* |
rm -rf conftest* |
3471 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3472 |
else |
else |
3491 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3492 |
fi |
fi |
3493 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3494 |
echo "configure:3460: checking for dlopen in -ldl" >&5 |
echo "configure:3495: checking for dlopen in -ldl" >&5 |
3495 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3496 |
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 |
3497 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3499 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3500 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3501 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3502 |
#line 3468 "configure" |
#line 3503 "configure" |
3503 |
#include "confdefs.h" |
#include "confdefs.h" |
3504 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3505 |
/* 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 |
3510 |
dlopen() |
dlopen() |
3511 |
; return 0; } |
; return 0; } |
3512 |
EOF |
EOF |
3513 |
if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3514 |
rm -rf conftest* |
rm -rf conftest* |
3515 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3516 |
else |
else |
3592 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3593 |
|
|
3594 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3595 |
echo "configure:3561: checking alloca" >&5 |
echo "configure:3596: checking alloca" >&5 |
3596 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3597 |
gcl_ok=no |
gcl_ok=no |
3598 |
else |
else |
3599 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3600 |
#line 3566 "configure" |
#line 3601 "configure" |
3601 |
#include "confdefs.h" |
#include "confdefs.h" |
3602 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3603 |
EOF |
EOF |
3604 |
if { (eval echo configure:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3605 |
then |
then |
3606 |
: |
: |
3607 |
else |
else |
3624 |
gcl_ok=no |
gcl_ok=no |
3625 |
else |
else |
3626 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3627 |
#line 3593 "configure" |
#line 3628 "configure" |
3628 |
#include "confdefs.h" |
#include "confdefs.h" |
3629 |
#include <alloca.h> |
#include <alloca.h> |
3630 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3631 |
EOF |
EOF |
3632 |
if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3633 |
then |
then |
3634 |
: |
: |
3635 |
else |
else |
3692 |
MP_INLCUDE="" |
MP_INLCUDE="" |
3693 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3694 |
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 |
3695 |
echo "configure:3661: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3696: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3696 |
case "${canonical}" in |
case "${canonical}" in |
3697 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3698 |
# (cd gmp ; ./configure --target=i486) ;; |
# (cd gmp ; ./configure --target=i486) ;; |
3716 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3717 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3718 |
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 |
3719 |
echo "configure:3685: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3720: checking Checking for buggy gcc version from redhat" >&5 |
3720 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3721 |
then |
then |
3722 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
3876 |
s%@LITTLE_END@%$LITTLE_END%g |
s%@LITTLE_END@%$LITTLE_END%g |
3877 |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
3878 |
s%@FLISP@%$FLISP%g |
s%@FLISP@%$FLISP%g |
3879 |
|
s%@PAGEWIDTH@%$PAGEWIDTH%g |
3880 |
s%@RL_OBJS@%$RL_OBJS%g |
s%@RL_OBJS@%$RL_OBJS%g |
3881 |
s%@RL_LIB@%$RL_LIB%g |
s%@RL_LIB@%$RL_LIB%g |
3882 |
s%@NO_PROFILE@%$NO_PROFILE%g |
s%@NO_PROFILE@%$NO_PROFILE%g |