/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53 by camm, Tue Jul 9 19:39:41 2002 UTC revision 1.54 by camm, Wed Jul 10 21:41:25 2002 UTC
# Line 1009  else Line 1009  else
1009    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1010  #line 1011 "configure"  #line 1011 "configure"
1011  #include "confdefs.h"  #include "confdefs.h"
1012  #include <endian.h>  #define __ARMEB__
1013                    #include <endian.h>
1014                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
1015  EOF  EOF
1016  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1017  then  then
1018    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1019  #define LITTLE_END 1  #define LITTLE_END 1
# Line 1035  done Line 1036  done
1036    
1037    
1038  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
1039  echo "configure:1039: checking "finding DBEGIN"" >&5  echo "configure:1040: checking "finding DBEGIN"" >&5
1040  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1041    dbegin=0    dbegin=0
1042  else  else
1043    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1044  #line 1044 "configure"  #line 1045 "configure"
1045  #include "confdefs.h"  #include "confdefs.h"
1046  #include <stdio.h>  #include <stdio.h>
1047              #include <stdlib.h>              #include <stdlib.h>
# Line 1053  main() Line 1054  main()
1054    return 0;    return 0;
1055  }  }
1056  EOF  EOF
1057  if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1058  then  then
1059    dbegin=`cat conftest1`    dbegin=`cat conftest1`
1060  else  else
# Line 1075  echo "$ac_t""got $dbegin" 1>&6 Line 1076  echo "$ac_t""got $dbegin" 1>&6
1076    
1077    
1078  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
1079  echo "configure:1079: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:1080: checking "finding CSTACK_ADDRESS"" >&5
1080  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1081    cstack_address=0    cstack_address=0
1082  else  else
1083    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1084  #line 1084 "configure"  #line 1085 "configure"
1085  #include "confdefs.h"  #include "confdefs.h"
1086  #include <stdio.h>  #include <stdio.h>
1087  main()  main()
# Line 1092  main() Line 1093  main()
1093    return 0;    return 0;
1094  }  }
1095  EOF  EOF
1096  if { (eval echo configure:1096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1097  then  then
1098    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
1099  else  else
# Line 1114  echo "$ac_t""got $cstack_address" 1>&6 Line 1115  echo "$ac_t""got $cstack_address" 1>&6
1115    
1116    
1117  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
1118  echo "configure:1118: checking "sizeof long long int"" >&5  echo "configure:1119: checking "sizeof long long int"" >&5
1119  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1120    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1121    
1122  else  else
1123    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1124  #line 1124 "configure"  #line 1125 "configure"
1125  #include "confdefs.h"  #include "confdefs.h"
1126  #include <stdio.h>  #include <stdio.h>
1127  main()  main()
# Line 1130  main() Line 1131  main()
1131  }  }
1132    
1133  EOF  EOF
1134  if { (eval echo configure:1134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1135  then  then
1136    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1137  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 1179  fi Line 1180  fi
1180    
1181  # pagewidth  # pagewidth
1182  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
1183  echo "configure:1183: checking for pagewidth" >&5  echo "configure:1184: checking for pagewidth" >&5
1184  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1185    PAGEWIDTH=0    PAGEWIDTH=0
1186  else  else
1187    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1188  #line 1188 "configure"  #line 1189 "configure"
1189  #include "confdefs.h"  #include "confdefs.h"
1190  #include <stdio.h>  #include <stdio.h>
1191              #include <unistd.h>              #include <unistd.h>
# Line 1194  int main() {size_t i=getpagesize(),j; Line 1195  int main() {size_t i=getpagesize(),j;
1195              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
1196              return 0;}              return 0;}
1197  EOF  EOF
1198  if { (eval echo configure:1198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1199  then  then
1200    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
1201  else  else
# Line 1313  fi Line 1314  fi
1314  for ac_func in getcwd  for ac_func in getcwd
1315  do  do
1316  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1317  echo "configure:1317: checking for $ac_func" >&5  echo "configure:1318: checking for $ac_func" >&5
1318  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1319    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1320  else  else
1321    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1322  #line 1322 "configure"  #line 1323 "configure"
1323  #include "confdefs.h"  #include "confdefs.h"
1324  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1325      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1341  $ac_func(); Line 1342  $ac_func();
1342    
1343  ; return 0; }  ; return 0; }
1344  EOF  EOF
1345  if { (eval echo configure:1345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1346    rm -rf conftest*    rm -rf conftest*
1347    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1348  else  else
# Line 1368  done Line 1369  done
1369  for ac_func in getwd  for ac_func in getwd
1370  do  do
1371  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1372  echo "configure:1372: checking for $ac_func" >&5  echo "configure:1373: checking for $ac_func" >&5
1373  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1374    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1375  else  else
1376    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1377  #line 1377 "configure"  #line 1378 "configure"
1378  #include "confdefs.h"  #include "confdefs.h"
1379  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1380      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1396  $ac_func(); Line 1397  $ac_func();
1397    
1398  ; return 0; }  ; return 0; }
1399  EOF  EOF
1400  if { (eval echo configure:1400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1401    rm -rf conftest*    rm -rf conftest*
1402    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1403  else  else
# Line 1421  fi Line 1422  fi
1422  done  done
1423    
1424  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
1425  echo "configure:1425: checking for uname" >&5  echo "configure:1426: checking for uname" >&5
1426  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
1427    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1428  else  else
1429    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1430  #line 1430 "configure"  #line 1431 "configure"
1431  #include "confdefs.h"  #include "confdefs.h"
1432  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1433      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 1449  uname(); Line 1450  uname();
1450    
1451  ; return 0; }  ; return 0; }
1452  EOF  EOF
1453  if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1454    rm -rf conftest*    rm -rf conftest*
1455    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
1456  else  else
# Line 1473  EOF Line 1474  EOF
1474  fi  fi
1475    
1476  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
1477  echo "configure:1477: checking for gettimeofday" >&5  echo "configure:1478: checking for gettimeofday" >&5
1478  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
1479    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1480  else  else
1481    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1482  #line 1482 "configure"  #line 1483 "configure"
1483  #include "confdefs.h"  #include "confdefs.h"
1484  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1485      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 1501  gettimeofday(); Line 1502  gettimeofday();
1502    
1503  ; return 0; }  ; return 0; }
1504  EOF  EOF
1505  if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1506    rm -rf conftest*    rm -rf conftest*
1507    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
1508  else  else
# Line 1530  for ac_hdr in sys/ioctl.h Line 1531  for ac_hdr in sys/ioctl.h
1531  do  do
1532  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1533  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1534  echo "configure:1534: checking for $ac_hdr" >&5  echo "configure:1535: checking for $ac_hdr" >&5
1535  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1536    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1537  else  else
1538    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1539  #line 1539 "configure"  #line 1540 "configure"
1540  #include "confdefs.h"  #include "confdefs.h"
1541  #include <$ac_hdr>  #include <$ac_hdr>
1542  EOF  EOF
1543  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1544  { (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1545  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1546  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1547    rm -rf conftest*    rm -rf conftest*
# Line 1580  done Line 1581  done
1581  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1582    
1583  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
1584  echo "configure:1584: checking for BSDgettimeofday" >&5  echo "configure:1585: checking for BSDgettimeofday" >&5
1585  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
1586    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1587  else  else
1588    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1589  #line 1589 "configure"  #line 1590 "configure"
1590  #include "confdefs.h"  #include "confdefs.h"
1591  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1592      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 1608  BSDgettimeofday(); Line 1609  BSDgettimeofday();
1609    
1610  ; return 0; }  ; return 0; }
1611  EOF  EOF
1612  if { (eval echo configure:1612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1613    rm -rf conftest*    rm -rf conftest*
1614    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
1615  else  else
# Line 1629  EOF Line 1630  EOF
1630  else  else
1631    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1632  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
1633  echo "configure:1633: checking for gettimeofday" >&5  echo "configure:1634: checking for gettimeofday" >&5
1634  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+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 1638 "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 gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 1657  gettimeofday(); Line 1658  gettimeofday();
1658    
1659  ; return 0; }  ; return 0; }
1660  EOF  EOF
1661  if { (eval echo configure:1661: \"$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_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
1664  else  else
# Line 1683  fi Line 1684  fi
1684  fi  fi
1685    
1686  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
1687  echo "configure:1687: checking for gettimeofday declaration" >&5  echo "configure:1688: checking for gettimeofday declaration" >&5
1688  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1689  #line 1689 "configure"  #line 1690 "configure"
1690  #include "confdefs.h"  #include "confdefs.h"
1691  #include <sys/time.h>  #include <sys/time.h>
1692  EOF  EOF
# Line 1708  rm -f conftest* Line 1709  rm -f conftest*
1709    
1710    
1711  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
1712  echo "configure:1712: checking for sin in -lm" >&5  echo "configure:1713: checking for sin in -lm" >&5
1713  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
1714  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
1715    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1716  else Line 1717  else
1717    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1718  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
1719  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1720  #line 1720 "configure"  #line 1721 "configure"
1721  #include "confdefs.h"  #include "confdefs.h"
1722  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1723  /* 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
# Line 1727  int main() { Line 1728  int main() {
1728  sin()  sin()
1729  ; return 0; }  ; return 0; }
1730  EOF  EOF
1731  if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1732    rm -rf conftest*    rm -rf conftest*
1733    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1734  else  else
# Line 1749  true Line 1750  true
1750  fi  fi
1751    
1752  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
1753  echo "configure:1753: checking for main in -lmingwex" >&5  echo "configure:1754: checking for main in -lmingwex" >&5
1754  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
1755  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
1756    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1757  else Line 1758  else
1758    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1759  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
1760  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1761  #line 1761 "configure"  #line 1762 "configure"
1762  #include "confdefs.h"  #include "confdefs.h"
1763    
1764  int main() {  int main() {
1765  main()  main()
1766  ; return 0; }  ; return 0; }
1767  EOF  EOF
1768  if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1769    rm -rf conftest*    rm -rf conftest*
1770    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1771  else  else
# Line 1793  for ac_hdr in math.h Line 1794  for ac_hdr in math.h
1794  do  do
1795  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1796  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1797  echo "configure:1797: checking for $ac_hdr" >&5  echo "configure:1798: checking for $ac_hdr" >&5
1798  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1799    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1800  else  else
1801    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1802  #line 1802 "configure"  #line 1803 "configure"
1803  #include "confdefs.h"  #include "confdefs.h"
1804  #include <$ac_hdr>  #include <$ac_hdr>
1805  EOF  EOF
1806  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1807  { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1808  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1809  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1810    rm -rf conftest*    rm -rf conftest*
# Line 1840  for ac_hdr in values.h Line 1841  for ac_hdr in values.h
1841  do  do
1842  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1843  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1844  echo "configure:1844: checking for $ac_hdr" >&5  echo "configure:1845: checking for $ac_hdr" >&5
1845  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1846    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1847  else  else
1848    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1849  #line 1849 "configure"  #line 1850 "configure"
1850  #include "confdefs.h"  #include "confdefs.h"
1851  #include <$ac_hdr>  #include <$ac_hdr>
1852  EOF  EOF
1853  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1854  { (eval echo configure:1854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1855  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1856  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1857    rm -rf conftest*    rm -rf conftest*
# Line 1886  done Line 1887  done
1887  # test makes sense.  CM  # test makes sense.  CM
1888  #  #
1889  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
1890  echo "configure:1890: checking for isnormal" >&5  echo "configure:1891: checking for isnormal" >&5
1891  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1892    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
1893  else  else
1894    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1895  #line 1895 "configure"  #line 1896 "configure"
1896  #include "confdefs.h"  #include "confdefs.h"
1897  #define _GNU_SOURCE  #define _GNU_SOURCE
1898              #include <math.h>              #include <math.h>
# Line 1900  else Line 1901  else
1901                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
1902                  }                  }
1903  EOF  EOF
1904  if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1905  then  then
1906    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1907  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 1911  else Line 1912  else
1912    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1913    rm -fr conftest*    rm -fr conftest*
1914    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
1915  echo "configure:1915: checking for fpclass in ieeefp.h" >&5  echo "configure:1916: checking for fpclass in ieeefp.h" >&5
1916                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
1917    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
1918  else  else
1919    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1920  #line 1920 "configure"  #line 1921 "configure"
1921  #include "confdefs.h"  #include "confdefs.h"
1922  #include <ieeefp.h>  #include <ieeefp.h>
1923                              int main() {                              int main() {
# Line 1924  else Line 1925  else
1925                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
1926                                  }                                  }
1927  EOF  EOF
1928  if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1929  then  then
1930    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1931  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 1946  fi Line 1947  fi
1947    
1948    
1949  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
1950  echo "configure:1950: checking for isfinite" >&5  echo "configure:1951: checking for isfinite" >&5
1951  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1952    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
1953  else  else
1954    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1955  #line 1955 "configure"  #line 1956 "configure"
1956  #include "confdefs.h"  #include "confdefs.h"
1957  #define _GNU_SOURCE  #define _GNU_SOURCE
1958              #include <math.h>              #include <math.h>
# Line 1960  else Line 1961  else
1961                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
1962                  }                  }
1963  EOF  EOF
1964  if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1965  then  then
1966    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1967  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 1971  else Line 1972  else
1972    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1973    rm -fr conftest*    rm -fr conftest*
1974    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
1975  echo "configure:1975: checking for finite()" >&5  echo "configure:1976: checking for finite()" >&5
1976                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
1977    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
1978  else  else
1979    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1980  #line 1980 "configure"  #line 1981 "configure"
1981  #include "confdefs.h"  #include "confdefs.h"
1982  #include <math.h>  #include <math.h>
1983                              int main() {                              int main() {
# Line 1984  else Line 1985  else
1985                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
1986                                  }                                  }
1987  EOF  EOF
1988  if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1989  then  then
1990    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1991  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 2025  fi Line 2026  fi
2026  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
2027  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2028  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
2029  echo "configure:2029: checking for sockets" >&5  echo "configure:2030: checking for sockets" >&5
2030  tcl_checkBoth=0  tcl_checkBoth=0
2031  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
2032  echo "configure:2032: checking for connect" >&5  echo "configure:2033: checking for connect" >&5
2033  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2034    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2035  else  else
2036    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2037  #line 2037 "configure"  #line 2038 "configure"
2038  #include "confdefs.h"  #include "confdefs.h"
2039  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2040      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2056  connect(); Line 2057  connect();
2057    
2058  ; return 0; }  ; return 0; }
2059  EOF  EOF
2060  if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2061    rm -rf conftest*    rm -rf conftest*
2062    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2063  else  else
# Line 2078  fi Line 2079  fi
2079    
2080  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
2081      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
2082  echo "configure:2082: checking for main in -lsocket" >&5  echo "configure:2083: checking for main in -lsocket" >&5
2083  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
2084  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
2085    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2086  else Line 2087  else
2087    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2088  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
2089  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2090  #line 2090 "configure"  #line 2091 "configure"
2091  #include "confdefs.h"  #include "confdefs.h"
2092    
2093  int main() {  int main() {
2094  main()  main()
2095  ; return 0; }  ; return 0; }
2096  EOF  EOF
2097  if { (eval echo configure:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2098    rm -rf conftest*    rm -rf conftest*
2099    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2100  else  else
# Line 2121  if test "$tcl_checkBoth" = 1; then Line 2122  if test "$tcl_checkBoth" = 1; then
2122      tk_oldLibs=$LIBS      tk_oldLibs=$LIBS
2123      LIBS="$LIBS -lsocket -lnsl"      LIBS="$LIBS -lsocket -lnsl"
2124      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
2125  echo "configure:2125: checking for accept" >&5  echo "configure:2126: checking for accept" >&5
2126  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
2127    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2128  else  else
2129    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2130  #line 2130 "configure"  #line 2131 "configure"
2131  #include "confdefs.h"  #include "confdefs.h"
2132  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2133      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 2149  accept(); Line 2150  accept();
2150    
2151  ; return 0; }  ; return 0; }
2152  EOF  EOF
2153  if { (eval echo configure:2153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2154    rm -rf conftest*    rm -rf conftest*
2155    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
2156  else  else
# Line 2171  fi Line 2172  fi
2172    
2173  fi  fi
2174  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2175  echo "configure:2175: checking for gethostbyname" >&5  echo "configure:2176: checking for gethostbyname" >&5
2176  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2177    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2178  else  else
2179    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2180  #line 2180 "configure"  #line 2181 "configure"
2181  #include "confdefs.h"  #include "confdefs.h"
2182  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2183      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2199  gethostbyname(); Line 2200  gethostbyname();
2200    
2201  ; return 0; }  ; return 0; }
2202  EOF  EOF
2203  if { (eval echo configure:2203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2204    rm -rf conftest*    rm -rf conftest*
2205    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2206  else  else
# Line 2217  if eval "test \"`echo '$ac_cv_func_'geth Line 2218  if eval "test \"`echo '$ac_cv_func_'geth
2218  else  else
2219    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2220  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
2221  echo "configure:2221: checking for main in -lnsl" >&5  echo "configure:2222: checking for main in -lnsl" >&5
2222  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
2223  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
2224    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2225  else Line 2226  else
2226    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2227  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2228  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2229  #line 2229 "configure"  #line 2230 "configure"
2230  #include "confdefs.h"  #include "confdefs.h"
2231    
2232  int main() {  int main() {
2233  main()  main()
2234  ; return 0; }  ; return 0; }
2235  EOF  EOF
2236  if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2237    rm -rf conftest*    rm -rf conftest*
2238    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2239  else  else
# Line 2257  fi Line 2258  fi
2258    
2259  if test "$enable_readline" = "yes" ; then  if test "$enable_readline" = "yes" ; then
2260          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
2261  echo "configure:2261: checking for main in -lreadline" >&5  echo "configure:2262: checking for main in -lreadline" >&5
2262  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
2263  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
2264    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2265  else Line 2266  else
2266    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2267  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
2268  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2269  #line 2269 "configure"  #line 2270 "configure"
2270  #include "confdefs.h"  #include "confdefs.h"
2271    
2272  int main() {  int main() {
2273  main()  main()
2274  ; return 0; }  ; return 0; }
2275  EOF  EOF
2276  if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2277    rm -rf conftest*    rm -rf conftest*
2278    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2279  else  else
# Line 2303  fi Line 2304  fi
2304  if test "$enable_bfd" = "yes" ; then  if test "$enable_bfd" = "yes" ; then
2305          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
2306  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
2307  echo "configure:2307: checking for bfd.h" >&5  echo "configure:2308: checking for bfd.h" >&5
2308  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2309    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2310  else  else
2311    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2312  #line 2312 "configure"  #line 2313 "configure"
2313  #include "confdefs.h"  #include "confdefs.h"
2314  #include <bfd.h>  #include <bfd.h>
2315  EOF  EOF
2316  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2317  { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2318  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2319  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2320    rm -rf conftest*    rm -rf conftest*
# Line 2330  fi Line 2331  fi
2331  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2332    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2333    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
2334  echo "configure:2334: checking for bfd_init in -lbfd" >&5  echo "configure:2335: checking for bfd_init in -lbfd" >&5
2335  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
2336  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
2337    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2338  else Line 2339  else
2339    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2340  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
2341  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2342  #line 2342 "configure"  #line 2343 "configure"
2343  #include "confdefs.h"  #include "confdefs.h"
2344  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2345  /* 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
# Line 2349  int main() { Line 2350  int main() {
2350  bfd_init()  bfd_init()
2351  ; return 0; }  ; return 0; }
2352  EOF  EOF
2353  if { (eval echo configure:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2354    rm -rf conftest*    rm -rf conftest*
2355    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2356  else  else
# Line 2373  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 2374  if eval "test \"`echo '$ac_cv_lib_'$ac_l
2374  # Old binutils appear to need CONST defined to const  # Old binutils appear to need CONST defined to const
2375  #  #
2376                          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
2377  echo "configure:2377: checking if need to define CONST for bfd" >&5  echo "configure:2378: checking if need to define CONST for bfd" >&5
2378                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
2379    echo "$ac_t""cannot use bfd" 1>&6    echo "$ac_t""cannot use bfd" 1>&6
2380  else  else
2381    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2382  #line 2382 "configure"  #line 2383 "configure"
2383  #include "confdefs.h"  #include "confdefs.h"
2384  #define IN_GCC  #define IN_GCC
2385                                      #include <bfd.h>                                      #include <bfd.h>
2386                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
2387  EOF  EOF
2388  if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2389  then  then
2390    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2391                                  cat >> confdefs.h <<\EOF                                  cat >> confdefs.h <<\EOF
# Line 2400  else Line 2401  else
2401    echo "$ac_t""cannot use bfd" 1>&6    echo "$ac_t""cannot use bfd" 1>&6
2402  else  else
2403    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2404  #line 2404 "configure"  #line 2405 "configure"
2405  #include "confdefs.h"  #include "confdefs.h"
2406  #define IN_GCC  #define IN_GCC
2407                                              #include <bfd.h>                                              #include <bfd.h>
2408                                              #define CONST const                                              #define CONST const
2409                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
2410  EOF  EOF
2411  if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2412  then  then
2413    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2414                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 2449  fi Line 2450  fi
2450    
2451    
2452  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
2453  echo "configure:2453: checking For network code for nsocket.c" >&5  echo "configure:2454: checking For network code for nsocket.c" >&5
2454  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2455  #line 2455 "configure"  #line 2456 "configure"
2456  #include "confdefs.h"  #include "confdefs.h"
2457    
2458  #include <sys/time.h>  #include <sys/time.h>
# Line 2478  int main() { Line 2479  int main() {
2479                    
2480  ; return 0; }  ; return 0; }
2481  EOF  EOF
2482  if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2483    rm -rf conftest*    rm -rf conftest*
2484    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2485  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 2495  rm -f conftest* Line 2496  rm -f conftest*
2496    
2497    
2498  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
2499  echo "configure:2499: checking check for listen using fcntl" >&5  echo "configure:2500: checking check for listen using fcntl" >&5
2500  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2501  #line 2501 "configure"  #line 2502 "configure"
2502  #include "confdefs.h"  #include "confdefs.h"
2503  #include <stdio.h>  #include <stdio.h>
2504  #include <fcntl.h>  #include <fcntl.h>
# Line 2510  FILE *fp=fopen("configure.in","r"); Line 2511  FILE *fp=fopen("configure.in","r");
2511    
2512  ; return 0; }  ; return 0; }
2513  EOF  EOF
2514  if { (eval echo configure:2514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2515    rm -rf conftest*    rm -rf conftest*
2516    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2517  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2529  rm -f conftest* Line 2530  rm -f conftest*
2530    
2531    
2532  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2533  echo "configure:2533: checking for profil" >&5  echo "configure:2534: checking for profil" >&5
2534  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2535    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2536  else  else
2537    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2538  #line 2538 "configure"  #line 2539 "configure"
2539  #include "confdefs.h"  #include "confdefs.h"
2540  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2541      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2557  profil(); Line 2558  profil();
2558    
2559  ; return 0; }  ; return 0; }
2560  EOF  EOF
2561  if { (eval echo configure:2561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2562    rm -rf conftest*    rm -rf conftest*
2563    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2564  else  else
# Line 2582  fi Line 2583  fi
2583    
2584    
2585  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2586  echo "configure:2586: checking for setenv" >&5  echo "configure:2587: checking for setenv" >&5
2587  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2588    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2589  else  else
2590    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2591  #line 2591 "configure"  #line 2592 "configure"
2592  #include "confdefs.h"  #include "confdefs.h"
2593  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2594      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2610  setenv(); Line 2611  setenv();
2611    
2612  ; return 0; }  ; return 0; }
2613  EOF  EOF
2614  if { (eval echo configure:2614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2615    rm -rf conftest*    rm -rf conftest*
2616    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2617  else  else
# Line 2636  fi Line 2637  fi
2637    
2638  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2639  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2640  echo "configure:2640: checking for putenv" >&5  echo "configure:2641: checking for putenv" >&5
2641  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2642    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2643  else  else
2644    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2645  #line 2645 "configure"  #line 2646 "configure"
2646  #include "confdefs.h"  #include "confdefs.h"
2647  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2648      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2664  putenv(); Line 2665  putenv();
2665    
2666  ; return 0; }  ; return 0; }
2667  EOF  EOF
2668  if { (eval echo configure:2668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2669    rm -rf conftest*    rm -rf conftest*
2670    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
2671  else  else
# Line 2690  fi Line 2691  fi
2691  fi  fi
2692    
2693  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
2694  echo "configure:2694: checking for _cleanup" >&5  echo "configure:2695: checking for _cleanup" >&5
2695  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
2696    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2697  else  else
2698    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2699  #line 2699 "configure"  #line 2700 "configure"
2700  #include "confdefs.h"  #include "confdefs.h"
2701  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2702      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2718  _cleanup(); Line 2719  _cleanup();
2719    
2720  ; return 0; }  ; return 0; }
2721  EOF  EOF
2722  if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2723    rm -rf conftest*    rm -rf conftest*
2724    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
2725  else  else
# Line 2744  fi Line 2745  fi
2745  gcl_ok=no  gcl_ok=no
2746    
2747  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2748  #line 2748 "configure"  #line 2749 "configure"
2749  #include "confdefs.h"  #include "confdefs.h"
2750  #include <ctype.h>  #include <ctype.h>
2751  EOF  EOF
# Line 2772  fi Line 2773  fi
2773    
2774  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
2775  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
2776  echo "configure:2776: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:2777: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
2777    
2778  case $system in  case $system in
2779         OSF*)         OSF*)
# Line 2828  else { echo "configure: error: can not r Line 2829  else { echo "configure: error: can not r
2829  fi  fi
2830    
2831  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
2832  echo "configure:2832: checking host system type" >&5  echo "configure:2833: checking host system type" >&5
2833    
2834  host_alias=$host  host_alias=$host
2835  case "$host_alias" in  case "$host_alias" in
# Line 3001  case $canonical in Line 3002  case $canonical in
3002    
3003  esac  esac
3004  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
3005  echo "configure:3005: checking check for SV_ONSTACK" >&5  echo "configure:3006: checking check for SV_ONSTACK" >&5
3006  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3007  #line 3007 "configure"  #line 3008 "configure"
3008  #include "confdefs.h"  #include "confdefs.h"
3009  #include <signal.h>  #include <signal.h>
3010  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 3012  int main() { Line 3013  int main() {
3013    
3014  ; return 0; }  ; return 0; }
3015  EOF  EOF
3016  if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3017    rm -rf conftest*    rm -rf conftest*
3018    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3019  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 3030  rm -f conftest* Line 3031  rm -f conftest*
3031    
3032    
3033  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
3034  echo "configure:3034: checking check for SIGSYS" >&5  echo "configure:3035: checking check for SIGSYS" >&5
3035  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3036  #line 3036 "configure"  #line 3037 "configure"
3037  #include "confdefs.h"  #include "confdefs.h"
3038  #include <signal.h>  #include <signal.h>
3039  int joe=SIGSYS;  int joe=SIGSYS;
# Line 3041  int main() { Line 3042  int main() {
3042    
3043  ; return 0; }  ; return 0; }
3044  EOF  EOF
3045  if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3046    rm -rf conftest*    rm -rf conftest*
3047    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3048  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 3059  rm -f conftest* Line 3060  rm -f conftest*
3060    
3061    
3062  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
3063  echo "configure:3063: checking check for SIGEMT" >&5  echo "configure:3064: checking check for SIGEMT" >&5
3064  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3065  #line 3065 "configure"  #line 3066 "configure"
3066  #include "confdefs.h"  #include "confdefs.h"
3067  #include <signal.h>  #include <signal.h>
3068  int joe=SIGEMT;  int joe=SIGEMT;
# Line 3070  int main() { Line 3071  int main() {
3071    
3072  ; return 0; }  ; return 0; }
3073  EOF  EOF
3074  if { (eval echo configure:3074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3075    rm -rf conftest*    rm -rf conftest*
3076    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3077  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 3094  rm -f conftest* Line 3095  rm -f conftest*
3095  do  do
3096  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3097  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3098  echo "configure:3098: checking for $ac_hdr" >&5  echo "configure:3099: checking for $ac_hdr" >&5
3099  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3100    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3101  else  else
3102    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3103  #line 3103 "configure"  #line 3104 "configure"
3104  #include "confdefs.h"  #include "confdefs.h"
3105  #include <$ac_hdr>  #include <$ac_hdr>
3106  EOF  EOF
3107  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3108  { (eval echo configure:3108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3109  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3110  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3111    rm -rf conftest*    rm -rf conftest*
# Line 3134  done Line 3135  done
3135  do  do
3136  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3137  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3138  echo "configure:3138: checking for $ac_hdr" >&5  echo "configure:3139: checking for $ac_hdr" >&5
3139  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3140    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3141  else  else
3142    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3143  #line 3143 "configure"  #line 3144 "configure"
3144  #include "confdefs.h"  #include "confdefs.h"
3145  #include <$ac_hdr>  #include <$ac_hdr>
3146  EOF  EOF
3147  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3148  { (eval echo configure:3148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3149  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3150  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3151    rm -rf conftest*    rm -rf conftest*
# Line 3171  fi Line 3172  fi
3172  done  done
3173    
3174          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3175  #line 3175 "configure"  #line 3176 "configure"
3176  #include "confdefs.h"  #include "confdefs.h"
3177  #include <signal.h>  #include <signal.h>
3178                          long code;                            long code;  
# Line 3182  int main() { Line 3183  int main() {
3183                
3184  ; return 0; }  ; return 0; }
3185  EOF  EOF
3186  if { (eval echo configure:3186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3187    rm -rf conftest*    rm -rf conftest*
3188        
3189          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 3203  fi Line 3204  fi
3204  rm -f conftest*  rm -f conftest*
3205         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
3206         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
3207  #line 3207 "configure"  #line 3208 "configure"
3208  #include "confdefs.h"  #include "confdefs.h"
3209  #include <signal.h>  #include <signal.h>
3210               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 3220  int main() { Line 3221  int main() {
3221                    
3222  ; return 0; }  ; return 0; }
3223  EOF  EOF
3224  if { (eval echo configure:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3225    rm -rf conftest*    rm -rf conftest*
3226        
3227          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 3263  rm -f conftest* Line 3264  rm -f conftest*
3264  # 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.
3265  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
3266  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3267  echo "configure:3267: checking for $ac_word" >&5  echo "configure:3268: checking for $ac_word" >&5
3268  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
3269    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3270  else  else
# Line 3311  cat >> conftest.el <<EOF Line 3312  cat >> conftest.el <<EOF
3312  EOF  EOF
3313    
3314  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
3315  echo "configure:3315: checking emacs site lisp directory" >&5  echo "configure:3316: checking emacs site lisp directory" >&5
3316  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
3317  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3318          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 `
# Line 3334  cat >> conftest.el <<EOF Line 3335  cat >> conftest.el <<EOF
3335  EOF  EOF
3336    
3337  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
3338  echo "configure:3338: checking emacs default.el" >&5  echo "configure:3339: checking emacs default.el" >&5
3339  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3340          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 `
3341  else  else
# Line 3363  cat >> conftest.el <<EOF Line 3364  cat >> conftest.el <<EOF
3364  EOF  EOF
3365    
3366  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
3367  echo "configure:3367: checking emacs info/dir" >&5  echo "configure:3368: checking emacs info/dir" >&5
3368  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3369          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 `
3370  fi  fi
# Line 3377  echo "$ac_t""$INFO_DIR" 1>&6 Line 3378  echo "$ac_t""$INFO_DIR" 1>&6
3378    
3379    
3380  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
3381  echo "configure:3381: checking for tcl/tk" >&5  echo "configure:3382: checking for tcl/tk" >&5
3382    
3383    
3384  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 3400  EOF Line 3401  EOF
3401  # 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.
3402  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
3403  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3404  echo "configure:3404: checking for $ac_word" >&5  echo "configure:3405: checking for $ac_word" >&5
3405  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
3406    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3407  else  else
# Line 3500  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3501  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3501    fi    fi
3502  fi  fi
3503  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3504  echo "configure:3504: checking for main in -llieee" >&5  echo "configure:3505: checking for main in -llieee" >&5
3505  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3506  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
3507    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3508  else Line 3509  else
3509    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3510  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3511  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3512  #line 3512 "configure"  #line 3513 "configure"
3513  #include "confdefs.h"  #include "confdefs.h"
3514    
3515  int main() {  int main() {
3516  main()  main()
3517  ; return 0; }  ; return 0; }
3518  EOF  EOF
3519  if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3520    rm -rf conftest*    rm -rf conftest*
3521    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3522  else  else
# Line 3540  if test "$have_ieee" = "0" ; then Line 3541  if test "$have_ieee" = "0" ; then
3541   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3542  fi  fi
3543  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3544  echo "configure:3544: checking for dlopen in -ldl" >&5  echo "configure:3545: checking for dlopen in -ldl" >&5
3545  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3546  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
3547    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3548  else Line 3549  else
3549    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3550  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3551  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3552  #line 3552 "configure"  #line 3553 "configure"
3553  #include "confdefs.h"  #include "confdefs.h"
3554  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3555  /* 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
# Line 3559  int main() { Line 3560  int main() {
3560  dlopen()  dlopen()
3561  ; return 0; }  ; return 0; }
3562  EOF  EOF
3563  if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3564    rm -rf conftest*    rm -rf conftest*
3565    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3566  else  else
# Line 3641  echo "$ac_t""use=$use" 1>&6 Line 3642  echo "$ac_t""use=$use" 1>&6
3642  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3643    
3644  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3645  echo "configure:3645: checking alloca" >&5  echo "configure:3646: checking alloca" >&5
3646  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3647    gcl_ok=no    gcl_ok=no
3648  else  else
3649    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3650  #line 3650 "configure"  #line 3651 "configure"
3651  #include "confdefs.h"  #include "confdefs.h"
3652  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3653  EOF  EOF
3654  if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3655  then  then
3656    :    :
3657  else  else
# Line 3673  else Line 3674  else
3674    gcl_ok=no    gcl_ok=no
3675  else  else
3676    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3677  #line 3677 "configure"  #line 3678 "configure"
3678  #include "confdefs.h"  #include "confdefs.h"
3679  #include <alloca.h>  #include <alloca.h>
3680    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3681  EOF  EOF
3682  if { (eval echo configure:3682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3683  then  then
3684    :    :
3685  else  else
# Line 3741  rm -f makedefsafter Line 3742  rm -f makedefsafter
3742  MP_INLCUDE=""  MP_INLCUDE=""
3743  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3744   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
3745  echo "configure:3745: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3746: checking use_gmp=yes, doing configure in gmp directory" >&5
3746   case "${canonical}" in   case "${canonical}" in
3747  #   i[[5-9]]86* | pentium* | k6* | athlon*)  #   i[[5-9]]86* | pentium* | k6* | athlon*)
3748  #      (cd gmp ; ./configure --target=i486) ;;  #      (cd gmp ; ./configure --target=i486) ;;
# Line 3765  fi Line 3766  fi
3766  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3767  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3768  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
3769  echo "configure:3769: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3770: checking Checking for buggy gcc version from redhat" >&5
3770  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3771     then     then
3772          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26