880 |
def_dlopen="yes" ; def_statsysbfd="no" ;; |
def_dlopen="yes" ; def_statsysbfd="no" ;; |
881 |
hppa*) |
hppa*) |
882 |
def_dlopen="yes" ; def_statsysbfd="no" def_pic="yes" ;; |
def_dlopen="yes" ; def_statsysbfd="no" def_pic="yes" ;; |
883 |
m68k*) |
# m68k*) |
884 |
def_oldgmp="yes" ;; |
# def_oldgmp="yes" ;; |
885 |
esac;; |
esac;; |
886 |
*mingw*) |
*mingw*) |
887 |
def_statsysbfd="no" ; def_custreloc="yes" ;; |
def_statsysbfd="no" ; def_custreloc="yes" ;; |
1334 |
case $use in |
case $use in |
1335 |
alpha*) |
alpha*) |
1336 |
TCFLAGS="$TCFLAGS -mieee";; |
TCFLAGS="$TCFLAGS -mieee";; |
1337 |
m68k*) |
# m68k*) |
1338 |
TCFLAGS="$TCFLAGS -ffloat-store";; |
# TCFLAGS="$TCFLAGS -ffloat-store";; |
1339 |
# hppa*) |
# hppa*) |
1340 |
# TCFLAGS="$TCFLAGS -fPIC";; |
# TCFLAGS="$TCFLAGS -fPIC";; |
1341 |
esac;; |
esac;; |
1487 |
echo "# ------------------------" |
echo "# ------------------------" |
1488 |
echo "#" |
echo "#" |
1489 |
|
|
1490 |
|
PATCHED_SYMBOLS="" |
1491 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
1492 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
1493 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
1494 |
echo "configure:1494: checking for gmp.h" >&5 |
echo "configure:1495: checking for gmp.h" >&5 |
1495 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1496 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1497 |
else |
else |
1498 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1499 |
#line 1499 "configure" |
#line 1500 "configure" |
1500 |
#include "confdefs.h" |
#include "confdefs.h" |
1501 |
#include <gmp.h> |
#include <gmp.h> |
1502 |
EOF |
EOF |
1503 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1504 |
{ (eval echo configure:1504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1505 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1506 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1507 |
rm -rf conftest* |
rm -rf conftest* |
1518 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1519 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1520 |
echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
1521 |
echo "configure:1521: checking for __gmpz_init in -lgmp" >&5 |
echo "configure:1522: checking for __gmpz_init in -lgmp" >&5 |
1522 |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
1523 |
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 |
1524 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1526 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1527 |
LIBS="-lgmp $LIBS" |
LIBS="-lgmp $LIBS" |
1528 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1529 |
#line 1529 "configure" |
#line 1530 "configure" |
1530 |
#include "confdefs.h" |
#include "confdefs.h" |
1531 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1532 |
/* 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 |
1537 |
__gmpz_init() |
__gmpz_init() |
1538 |
; return 0; } |
; return 0; } |
1539 |
EOF |
EOF |
1540 |
if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1541 |
rm -rf conftest* |
rm -rf conftest* |
1542 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1543 |
else |
else |
1553 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1554 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1555 |
MPFILES=$GMPDIR/mpn/mul_n.o |
MPFILES=$GMPDIR/mpn/mul_n.o |
1556 |
|
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
1557 |
if test "$use" = "m68k-linux" ; then |
if test "$use" = "m68k-linux" ; then |
1558 |
MPFILES="$MPFILES $GMPDIR/mpn/lshift.o $GMPDIR/mpn/rshift.o" |
MPFILES="$MPFILES $GMPDIR/mpn/lshift.o $GMPDIR/mpn/rshift.o" |
1559 |
|
PATCHED_SYMBOLS="$PATCHED_SYMBOLS __gmpn_lshift __gmpn_rshift" |
1560 |
fi |
fi |
1561 |
TLIBS="$TLIBS -lgmp" |
TLIBS="$TLIBS -lgmp" |
1562 |
echo "#include \"gmp.h\"" >foo.c |
echo "#include \"gmp.h\"" >foo.c |
1583 |
fi |
fi |
1584 |
|
|
1585 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
1586 |
echo "configure:1584: checking "for size of gmp limbs"" >&5 |
echo "configure:1587: checking "for size of gmp limbs"" >&5 |
1587 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1588 |
mpsize=0 |
mpsize=0 |
1589 |
else |
else |
1590 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1591 |
#line 1589 "configure" |
#line 1592 "configure" |
1592 |
#include "confdefs.h" |
#include "confdefs.h" |
1593 |
#include <stdio.h> |
#include <stdio.h> |
1594 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1599 |
return 0; |
return 0; |
1600 |
} |
} |
1601 |
EOF |
EOF |
1602 |
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1603 |
then |
then |
1604 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1605 |
else |
else |
1622 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$ac_t""$mpsize" 1>&6 |
1623 |
|
|
1624 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
1625 |
echo "configure:1623: checking "_SHORT_LIMB"" >&5 |
echo "configure:1626: checking "_SHORT_LIMB"" >&5 |
1626 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1627 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1628 |
else |
else |
1629 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1630 |
#line 1628 "configure" |
#line 1631 "configure" |
1631 |
#include "confdefs.h" |
#include "confdefs.h" |
1632 |
#include <stdio.h> |
#include <stdio.h> |
1633 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1639 |
#endif |
#endif |
1640 |
} |
} |
1641 |
EOF |
EOF |
1642 |
if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1643 |
then |
then |
1644 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1645 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
1655 |
fi |
fi |
1656 |
|
|
1657 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
1658 |
echo "configure:1656: checking "_LONG_LONG_LIMB"" >&5 |
echo "configure:1659: checking "_LONG_LONG_LIMB"" >&5 |
1659 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1660 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1661 |
else |
else |
1662 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1663 |
#line 1661 "configure" |
#line 1664 "configure" |
1664 |
#include "confdefs.h" |
#include "confdefs.h" |
1665 |
#include <stdio.h> |
#include <stdio.h> |
1666 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1672 |
#endif |
#endif |
1673 |
} |
} |
1674 |
EOF |
EOF |
1675 |
if { (eval echo configure:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1676 |
then |
then |
1677 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1678 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
1697 |
|
|
1698 |
echo > makedefsafter |
echo > makedefsafter |
1699 |
echo "MPFILES=$MPFILES" >> makedefsafter |
echo "MPFILES=$MPFILES" >> makedefsafter |
1700 |
|
echo "PATCHED_SYMBOLS=$PATCHED_SYMBOLS" >> makedefsafter |
1701 |
echo >> makedefsafter |
echo >> makedefsafter |
1702 |
fi |
fi |
1703 |
|
|
1711 |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
1712 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
1713 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1714 |
echo "configure:1711: checking for X" >&5 |
echo "configure:1715: checking for X" >&5 |
1715 |
|
|
1716 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
1717 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
1773 |
|
|
1774 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
1775 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1776 |
#line 1773 "configure" |
#line 1777 "configure" |
1777 |
#include "confdefs.h" |
#include "confdefs.h" |
1778 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
1779 |
EOF |
EOF |
1780 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1781 |
{ (eval echo configure:1778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1782 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1783 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1784 |
rm -rf conftest* |
rm -rf conftest* |
1847 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1848 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
1849 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1850 |
#line 1847 "configure" |
#line 1851 "configure" |
1851 |
#include "confdefs.h" |
#include "confdefs.h" |
1852 |
|
|
1853 |
int main() { |
int main() { |
1854 |
${x_direct_test_function}() |
${x_direct_test_function}() |
1855 |
; return 0; } |
; return 0; } |
1856 |
EOF |
EOF |
1857 |
if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1858 |
rm -rf conftest* |
rm -rf conftest* |
1859 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
1860 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
1960 |
case "`(uname -sr) 2>/dev/null`" in |
case "`(uname -sr) 2>/dev/null`" in |
1961 |
"SunOS 5"*) |
"SunOS 5"*) |
1962 |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
1963 |
echo "configure:1960: checking whether -R must be followed by a space" >&5 |
echo "configure:1964: checking whether -R must be followed by a space" >&5 |
1964 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
1965 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1966 |
#line 1963 "configure" |
#line 1967 "configure" |
1967 |
#include "confdefs.h" |
#include "confdefs.h" |
1968 |
|
|
1969 |
int main() { |
int main() { |
1970 |
|
|
1971 |
; return 0; } |
; return 0; } |
1972 |
EOF |
EOF |
1973 |
if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1974 |
rm -rf conftest* |
rm -rf conftest* |
1975 |
ac_R_nospace=yes |
ac_R_nospace=yes |
1976 |
else |
else |
1986 |
else |
else |
1987 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
1988 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1989 |
#line 1986 "configure" |
#line 1990 "configure" |
1990 |
#include "confdefs.h" |
#include "confdefs.h" |
1991 |
|
|
1992 |
int main() { |
int main() { |
1993 |
|
|
1994 |
; return 0; } |
; return 0; } |
1995 |
EOF |
EOF |
1996 |
if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1997 |
rm -rf conftest* |
rm -rf conftest* |
1998 |
ac_R_space=yes |
ac_R_space=yes |
1999 |
else |
else |
2025 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
2026 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
2027 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
2028 |
echo "configure:2025: checking for dnet_ntoa in -ldnet" >&5 |
echo "configure:2029: checking for dnet_ntoa in -ldnet" >&5 |
2029 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2030 |
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 |
2031 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2033 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2034 |
LIBS="-ldnet $LIBS" |
LIBS="-ldnet $LIBS" |
2035 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2036 |
#line 2033 "configure" |
#line 2037 "configure" |
2037 |
#include "confdefs.h" |
#include "confdefs.h" |
2038 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2039 |
/* 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 |
2044 |
dnet_ntoa() |
dnet_ntoa() |
2045 |
; return 0; } |
; return 0; } |
2046 |
EOF |
EOF |
2047 |
if { (eval echo configure:2044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2048 |
rm -rf conftest* |
rm -rf conftest* |
2049 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2050 |
else |
else |
2066 |
|
|
2067 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2068 |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
2069 |
echo "configure:2066: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "configure:2070: checking for dnet_ntoa in -ldnet_stub" >&5 |
2070 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2071 |
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 |
2072 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2074 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2075 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
2076 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2077 |
#line 2074 "configure" |
#line 2078 "configure" |
2078 |
#include "confdefs.h" |
#include "confdefs.h" |
2079 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2080 |
/* 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 |
2085 |
dnet_ntoa() |
dnet_ntoa() |
2086 |
; return 0; } |
; return 0; } |
2087 |
EOF |
EOF |
2088 |
if { (eval echo configure:2085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2089 |
rm -rf conftest* |
rm -rf conftest* |
2090 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2091 |
else |
else |
2114 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
2115 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to dickey@clark.net. |
2116 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2117 |
echo "configure:2114: checking for gethostbyname" >&5 |
echo "configure:2118: checking for gethostbyname" >&5 |
2118 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2119 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2120 |
else |
else |
2121 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2122 |
#line 2119 "configure" |
#line 2123 "configure" |
2123 |
#include "confdefs.h" |
#include "confdefs.h" |
2124 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2125 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2142 |
|
|
2143 |
; return 0; } |
; return 0; } |
2144 |
EOF |
EOF |
2145 |
if { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2146 |
rm -rf conftest* |
rm -rf conftest* |
2147 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2148 |
else |
else |
2163 |
|
|
2164 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
2165 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2166 |
echo "configure:2163: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2167: checking for gethostbyname in -lnsl" >&5 |
2167 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2168 |
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 |
2169 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2171 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2172 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2173 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2174 |
#line 2171 "configure" |
#line 2175 "configure" |
2175 |
#include "confdefs.h" |
#include "confdefs.h" |
2176 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2177 |
/* 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 |
2182 |
gethostbyname() |
gethostbyname() |
2183 |
; return 0; } |
; return 0; } |
2184 |
EOF |
EOF |
2185 |
if { (eval echo configure:2182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2186 |
rm -rf conftest* |
rm -rf conftest* |
2187 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2188 |
else |
else |
2212 |
# -lsocket must be given before -lnsl if both are needed. |
# -lsocket must be given before -lnsl if both are needed. |
2213 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# We assume that if connect needs -lnsl, so does gethostbyname. |
2214 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2215 |
echo "configure:2212: checking for connect" >&5 |
echo "configure:2216: checking for connect" >&5 |
2216 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2217 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2218 |
else |
else |
2219 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2220 |
#line 2217 "configure" |
#line 2221 "configure" |
2221 |
#include "confdefs.h" |
#include "confdefs.h" |
2222 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2223 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2240 |
|
|
2241 |
; return 0; } |
; return 0; } |
2242 |
EOF |
EOF |
2243 |
if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2244 |
rm -rf conftest* |
rm -rf conftest* |
2245 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2246 |
else |
else |
2261 |
|
|
2262 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
2263 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
2264 |
echo "configure:2261: checking for connect in -lsocket" >&5 |
echo "configure:2265: checking for connect in -lsocket" >&5 |
2265 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
2266 |
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 |
2267 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2269 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2270 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
2271 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2272 |
#line 2269 "configure" |
#line 2273 "configure" |
2273 |
#include "confdefs.h" |
#include "confdefs.h" |
2274 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2275 |
/* 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 |
2280 |
connect() |
connect() |
2281 |
; return 0; } |
; return 0; } |
2282 |
EOF |
EOF |
2283 |
if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2284 |
rm -rf conftest* |
rm -rf conftest* |
2285 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2286 |
else |
else |
2304 |
|
|
2305 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
2306 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
2307 |
echo "configure:2304: checking for remove" >&5 |
echo "configure:2308: checking for remove" >&5 |
2308 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_remove'+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 2309 "configure" |
#line 2313 "configure" |
2313 |
#include "confdefs.h" |
#include "confdefs.h" |
2314 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2315 |
which can conflict with char remove(); below. */ |
which can conflict with char remove(); below. */ |
2332 |
|
|
2333 |
; return 0; } |
; return 0; } |
2334 |
EOF |
EOF |
2335 |
if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2336 |
rm -rf conftest* |
rm -rf conftest* |
2337 |
eval "ac_cv_func_remove=yes" |
eval "ac_cv_func_remove=yes" |
2338 |
else |
else |
2353 |
|
|
2354 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
2355 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
2356 |
echo "configure:2353: checking for remove in -lposix" >&5 |
echo "configure:2357: checking for remove in -lposix" >&5 |
2357 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
2358 |
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 |
2359 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2361 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2362 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
2363 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2364 |
#line 2361 "configure" |
#line 2365 "configure" |
2365 |
#include "confdefs.h" |
#include "confdefs.h" |
2366 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2367 |
/* 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 |
2372 |
remove() |
remove() |
2373 |
; return 0; } |
; return 0; } |
2374 |
EOF |
EOF |
2375 |
if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2376 |
rm -rf conftest* |
rm -rf conftest* |
2377 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2378 |
else |
else |
2396 |
|
|
2397 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
2398 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
2399 |
echo "configure:2396: checking for shmat" >&5 |
echo "configure:2400: checking for shmat" >&5 |
2400 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
2401 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2402 |
else |
else |
2403 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2404 |
#line 2401 "configure" |
#line 2405 "configure" |
2405 |
#include "confdefs.h" |
#include "confdefs.h" |
2406 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2407 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat(); below. */ |
2424 |
|
|
2425 |
; return 0; } |
; return 0; } |
2426 |
EOF |
EOF |
2427 |
if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2428 |
rm -rf conftest* |
rm -rf conftest* |
2429 |
eval "ac_cv_func_shmat=yes" |
eval "ac_cv_func_shmat=yes" |
2430 |
else |
else |
2445 |
|
|
2446 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
2447 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
2448 |
echo "configure:2445: checking for shmat in -lipc" >&5 |
echo "configure:2449: checking for shmat in -lipc" >&5 |
2449 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
2450 |
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 |
2451 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2453 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2454 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
2455 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2456 |
#line 2453 "configure" |
#line 2457 "configure" |
2457 |
#include "confdefs.h" |
#include "confdefs.h" |
2458 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2459 |
/* 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 |
2464 |
shmat() |
shmat() |
2465 |
; return 0; } |
; return 0; } |
2466 |
EOF |
EOF |
2467 |
if { (eval echo configure:2464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2468 |
rm -rf conftest* |
rm -rf conftest* |
2469 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2470 |
else |
else |
2497 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
2498 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
2499 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
2500 |
echo "configure:2497: checking for IceConnectionNumber in -lICE" >&5 |
echo "configure:2501: checking for IceConnectionNumber in -lICE" >&5 |
2501 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
2502 |
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 |
2503 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2505 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2506 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
2507 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2508 |
#line 2505 "configure" |
#line 2509 "configure" |
2509 |
#include "confdefs.h" |
#include "confdefs.h" |
2510 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2511 |
/* 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 |
2516 |
IceConnectionNumber() |
IceConnectionNumber() |
2517 |
; return 0; } |
; return 0; } |
2518 |
EOF |
EOF |
2519 |
if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2520 |
rm -rf conftest* |
rm -rf conftest* |
2521 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2522 |
else |
else |
2547 |
|
|
2548 |
miss=0 |
miss=0 |
2549 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
2550 |
echo "configure:2547: checking for main in -lXaw" >&5 |
echo "configure:2551: checking for main in -lXaw" >&5 |
2551 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
2552 |
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 |
2553 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2555 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2556 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
2557 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2558 |
#line 2555 "configure" |
#line 2559 "configure" |
2559 |
#include "confdefs.h" |
#include "confdefs.h" |
2560 |
|
|
2561 |
int main() { |
int main() { |
2562 |
main() |
main() |
2563 |
; return 0; } |
; return 0; } |
2564 |
EOF |
EOF |
2565 |
if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2566 |
rm -rf conftest* |
rm -rf conftest* |
2567 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2568 |
else |
else |
2584 |
fi |
fi |
2585 |
|
|
2586 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
2587 |
echo "configure:2584: checking for main in -lXmu" >&5 |
echo "configure:2588: checking for main in -lXmu" >&5 |
2588 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
2589 |
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 |
2590 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2592 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2593 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
2594 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2595 |
#line 2592 "configure" |
#line 2596 "configure" |
2596 |
#include "confdefs.h" |
#include "confdefs.h" |
2597 |
|
|
2598 |
int main() { |
int main() { |
2599 |
main() |
main() |
2600 |
; return 0; } |
; return 0; } |
2601 |
EOF |
EOF |
2602 |
if { (eval echo configure:2599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2603 |
rm -rf conftest* |
rm -rf conftest* |
2604 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2605 |
else |
else |
2621 |
fi |
fi |
2622 |
|
|
2623 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
2624 |
echo "configure:2621: checking for main in -lXt" >&5 |
echo "configure:2625: checking for main in -lXt" >&5 |
2625 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
2626 |
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 |
2627 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2629 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2630 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
2631 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2632 |
#line 2629 "configure" |
#line 2633 "configure" |
2633 |
#include "confdefs.h" |
#include "confdefs.h" |
2634 |
|
|
2635 |
int main() { |
int main() { |
2636 |
main() |
main() |
2637 |
; return 0; } |
; return 0; } |
2638 |
EOF |
EOF |
2639 |
if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2640 |
rm -rf conftest* |
rm -rf conftest* |
2641 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2642 |
else |
else |
2658 |
fi |
fi |
2659 |
|
|
2660 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
2661 |
echo "configure:2658: checking for main in -lXext" >&5 |
echo "configure:2662: checking for main in -lXext" >&5 |
2662 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
2663 |
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 |
2664 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2666 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2667 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
2668 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2669 |
#line 2666 "configure" |
#line 2670 "configure" |
2670 |
#include "confdefs.h" |
#include "confdefs.h" |
2671 |
|
|
2672 |
int main() { |
int main() { |
2673 |
main() |
main() |
2674 |
; return 0; } |
; return 0; } |
2675 |
EOF |
EOF |
2676 |
if { (eval echo configure:2673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2677 |
rm -rf conftest* |
rm -rf conftest* |
2678 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2679 |
else |
else |
2695 |
fi |
fi |
2696 |
|
|
2697 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
2698 |
echo "configure:2695: checking for main in -lX11" >&5 |
echo "configure:2699: checking for main in -lX11" >&5 |
2699 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
2700 |
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 |
2701 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2703 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2704 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
2705 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2706 |
#line 2703 "configure" |
#line 2707 "configure" |
2707 |
#include "confdefs.h" |
#include "confdefs.h" |
2708 |
|
|
2709 |
int main() { |
int main() { |
2710 |
main() |
main() |
2711 |
; return 0; } |
; return 0; } |
2712 |
EOF |
EOF |
2713 |
if { (eval echo configure:2710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2714 |
rm -rf conftest* |
rm -rf conftest* |
2715 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2716 |
else |
else |
2749 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
2750 |
|
|
2751 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2752 |
echo "configure:2749: checking for dlopen in -ldl" >&5 |
echo "configure:2753: checking for dlopen in -ldl" >&5 |
2753 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2754 |
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 |
2755 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2757 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2758 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2759 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2760 |
#line 2757 "configure" |
#line 2761 "configure" |
2761 |
#include "confdefs.h" |
#include "confdefs.h" |
2762 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2763 |
/* 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 |
2768 |
dlopen() |
dlopen() |
2769 |
; return 0; } |
; return 0; } |
2770 |
EOF |
EOF |
2771 |
if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2772 |
rm -rf conftest* |
rm -rf conftest* |
2773 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2774 |
else |
else |
2804 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
2805 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2806 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2807 |
echo "configure:2804: checking for bfd.h" >&5 |
echo "configure:2808: checking for bfd.h" >&5 |
2808 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2809 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2810 |
else |
else |
2811 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2812 |
#line 2809 "configure" |
#line 2813 "configure" |
2813 |
#include "confdefs.h" |
#include "confdefs.h" |
2814 |
#include <bfd.h> |
#include <bfd.h> |
2815 |
EOF |
EOF |
2816 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2817 |
{ (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2818 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2819 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2820 |
rm -rf conftest* |
rm -rf conftest* |
2831 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2832 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2833 |
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 |
2834 |
echo "configure:2831: checking for bfd_init in -lbfd" >&5 |
echo "configure:2835: checking for bfd_init in -lbfd" >&5 |
2835 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2836 |
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 |
2837 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2839 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2840 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2841 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2842 |
#line 2839 "configure" |
#line 2843 "configure" |
2843 |
#include "confdefs.h" |
#include "confdefs.h" |
2844 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2845 |
/* 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 |
2850 |
bfd_init() |
bfd_init() |
2851 |
; return 0; } |
; return 0; } |
2852 |
EOF |
EOF |
2853 |
if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2854 |
rm -rf conftest* |
rm -rf conftest* |
2855 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2856 |
else |
else |
2869 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
2870 |
# |
# |
2871 |
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 |
2872 |
echo "configure:2869: checking if need to define CONST for bfd" >&5 |
echo "configure:2873: checking if need to define CONST for bfd" >&5 |
2873 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2874 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2875 |
else |
else |
2876 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2877 |
#line 2874 "configure" |
#line 2878 "configure" |
2878 |
#include "confdefs.h" |
#include "confdefs.h" |
2879 |
#define IN_GCC |
#define IN_GCC |
2880 |
#include <bfd.h> |
#include <bfd.h> |
2881 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
2882 |
EOF |
EOF |
2883 |
if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2884 |
then |
then |
2885 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2886 |
else |
else |
2891 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2892 |
else |
else |
2893 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2894 |
#line 2891 "configure" |
#line 2895 "configure" |
2895 |
#include "confdefs.h" |
#include "confdefs.h" |
2896 |
#define CONST const |
#define CONST const |
2897 |
#define IN_GCC |
#define IN_GCC |
2898 |
#include <bfd.h> |
#include <bfd.h> |
2899 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
2900 |
EOF |
EOF |
2901 |
if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2902 |
then |
then |
2903 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2904 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2988 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
2989 |
|
|
2990 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
2991 |
echo "configure:2988: checking size of long *" >&5 |
echo "configure:2992: checking size of long *" >&5 |
2992 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
2993 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2994 |
else |
else |
2996 |
ac_cv_sizeof_long_p=0 |
ac_cv_sizeof_long_p=0 |
2997 |
else |
else |
2998 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2999 |
#line 2996 "configure" |
#line 3000 "configure" |
3000 |
#include "confdefs.h" |
#include "confdefs.h" |
3001 |
#include <stdio.h> |
#include <stdio.h> |
3002 |
#include <sys/types.h> |
#include <sys/types.h> |
3008 |
exit(0); |
exit(0); |
3009 |
} |
} |
3010 |
EOF |
EOF |
3011 |
if { (eval echo configure:3008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3012 |
then |
then |
3013 |
ac_cv_sizeof_long_p=`cat conftestval` |
ac_cv_sizeof_long_p=`cat conftestval` |
3014 |
else |
else |
3032 |
do |
do |
3033 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3034 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3035 |
echo "configure:3032: checking for $ac_hdr" >&5 |
echo "configure:3036: checking for $ac_hdr" >&5 |
3036 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3037 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3038 |
else |
else |
3039 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3040 |
#line 3037 "configure" |
#line 3041 "configure" |
3041 |
#include "confdefs.h" |
#include "confdefs.h" |
3042 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3043 |
EOF |
EOF |
3044 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3045 |
{ (eval echo configure:3042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3046 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3047 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3048 |
rm -rf conftest* |
rm -rf conftest* |
3063 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
3064 |
EOF |
EOF |
3065 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
3066 |
echo "configure:3063: checking "endianness"" >&5 |
echo "configure:3067: checking "endianness"" >&5 |
3067 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3068 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
3069 |
else |
else |
3070 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3071 |
#line 3068 "configure" |
#line 3072 "configure" |
3072 |
#include "confdefs.h" |
#include "confdefs.h" |
3073 |
#define __ARMEB__ |
#define __ARMEB__ |
3074 |
#include <endian.h> |
#include <endian.h> |
3075 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
3076 |
EOF |
EOF |
3077 |
if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3078 |
then |
then |
3079 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3080 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
3097 |
|
|
3098 |
|
|
3099 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
3100 |
echo "configure:3097: checking "finding DBEGIN"" >&5 |
echo "configure:3101: checking "finding DBEGIN"" >&5 |
3101 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3102 |
dbegin=0 |
dbegin=0 |
3103 |
else |
else |
3104 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3105 |
#line 3102 "configure" |
#line 3106 "configure" |
3106 |
#include "confdefs.h" |
#include "confdefs.h" |
3107 |
#include <stdio.h> |
#include <stdio.h> |
3108 |
#include <stdlib.h> |
#include <stdlib.h> |
3119 |
return 0; |
return 0; |
3120 |
} |
} |
3121 |
EOF |
EOF |
3122 |
if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3123 |
then |
then |
3124 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
3125 |
else |
else |
3141 |
|
|
3142 |
|
|
3143 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
3144 |
echo "configure:3141: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:3145: checking "finding CSTACK_ADDRESS"" >&5 |
3145 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3146 |
cstack_address=0 |
cstack_address=0 |
3147 |
else |
else |
3148 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3149 |
#line 3146 "configure" |
#line 3150 "configure" |
3150 |
#include "confdefs.h" |
#include "confdefs.h" |
3151 |
#include <stdio.h> |
#include <stdio.h> |
3152 |
main() |
main() |
3158 |
return 0; |
return 0; |
3159 |
} |
} |
3160 |
EOF |
EOF |
3161 |
if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3162 |
then |
then |
3163 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
3164 |
else |
else |
3180 |
|
|
3181 |
|
|
3182 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
3183 |
echo "configure:3180: checking "sizeof long long int"" >&5 |
echo "configure:3184: checking "sizeof long long int"" >&5 |
3184 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3185 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3186 |
|
|
3187 |
else |
else |
3188 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3189 |
#line 3186 "configure" |
#line 3190 "configure" |
3190 |
#include "confdefs.h" |
#include "confdefs.h" |
3191 |
#include <stdio.h> |
#include <stdio.h> |
3192 |
main() |
main() |
3196 |
} |
} |
3197 |
|
|
3198 |
EOF |
EOF |
3199 |
if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3200 |
then |
then |
3201 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3202 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
3249 |
|
|
3250 |
# pagewidth |
# pagewidth |
3251 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
3252 |
echo "configure:3249: checking for pagewidth" >&5 |
echo "configure:3253: checking for pagewidth" >&5 |
3253 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3254 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
3255 |
else |
else |
3256 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3257 |
#line 3254 "configure" |
#line 3258 "configure" |
3258 |
#include "confdefs.h" |
#include "confdefs.h" |
3259 |
#include <stdio.h> |
#include <stdio.h> |
3260 |
#include <unistd.h> |
#include <unistd.h> |
3264 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
3265 |
return 0;} |
return 0;} |
3266 |
EOF |
EOF |
3267 |
if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3268 |
then |
then |
3269 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
3270 |
else |
else |
3291 |
for ac_func in getcwd |
for ac_func in getcwd |
3292 |
do |
do |
3293 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3294 |
echo "configure:3291: checking for $ac_func" >&5 |
echo "configure:3295: checking for $ac_func" >&5 |
3295 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3296 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3297 |
else |
else |
3298 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3299 |
#line 3296 "configure" |
#line 3300 "configure" |
3300 |
#include "confdefs.h" |
#include "confdefs.h" |
3301 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3302 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3319 |
|
|
3320 |
; return 0; } |
; return 0; } |
3321 |
EOF |
EOF |
3322 |
if { (eval echo configure:3319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3323 |
rm -rf conftest* |
rm -rf conftest* |
3324 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3325 |
else |
else |
3346 |
for ac_func in getwd |
for ac_func in getwd |
3347 |
do |
do |
3348 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3349 |
echo "configure:3346: checking for $ac_func" >&5 |
echo "configure:3350: checking for $ac_func" >&5 |
3350 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3351 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3352 |
else |
else |
3353 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3354 |
#line 3351 "configure" |
#line 3355 "configure" |
3355 |
#include "confdefs.h" |
#include "confdefs.h" |
3356 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3357 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3374 |
|
|
3375 |
; return 0; } |
; return 0; } |
3376 |
EOF |
EOF |
3377 |
if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3378 |
rm -rf conftest* |
rm -rf conftest* |
3379 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3380 |
else |
else |
3399 |
done |
done |
3400 |
|
|
3401 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
3402 |
echo "configure:3399: checking for uname" >&5 |
echo "configure:3403: checking for uname" >&5 |
3403 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
3404 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3405 |
else |
else |
3406 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3407 |
#line 3404 "configure" |
#line 3408 "configure" |
3408 |
#include "confdefs.h" |
#include "confdefs.h" |
3409 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3410 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
3427 |
|
|
3428 |
; return 0; } |
; return 0; } |
3429 |
EOF |
EOF |
3430 |
if { (eval echo configure:3427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3431 |
rm -rf conftest* |
rm -rf conftest* |
3432 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
3433 |
else |
else |
3451 |
fi |
fi |
3452 |
|
|
3453 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3454 |
echo "configure:3451: checking for gettimeofday" >&5 |
echo "configure:3455: checking for gettimeofday" >&5 |
3455 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3456 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3457 |
else |
else |
3458 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3459 |
#line 3456 "configure" |
#line 3460 "configure" |
3460 |
#include "confdefs.h" |
#include "confdefs.h" |
3461 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3462 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3479 |
|
|
3480 |
; return 0; } |
; return 0; } |
3481 |
EOF |
EOF |
3482 |
if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3483 |
rm -rf conftest* |
rm -rf conftest* |
3484 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3485 |
else |
else |
3508 |
do |
do |
3509 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3510 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3511 |
echo "configure:3508: checking for $ac_hdr" >&5 |
echo "configure:3512: checking for $ac_hdr" >&5 |
3512 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3513 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3514 |
else |
else |
3515 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3516 |
#line 3513 "configure" |
#line 3517 "configure" |
3517 |
#include "confdefs.h" |
#include "confdefs.h" |
3518 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3519 |
EOF |
EOF |
3520 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3521 |
{ (eval echo configure:3518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3522 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3523 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3524 |
rm -rf conftest* |
rm -rf conftest* |
3558 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3559 |
|
|
3560 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
3561 |
echo "configure:3558: checking for BSDgettimeofday" >&5 |
echo "configure:3562: checking for BSDgettimeofday" >&5 |
3562 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
3563 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3564 |
else |
else |
3565 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3566 |
#line 3563 "configure" |
#line 3567 "configure" |
3567 |
#include "confdefs.h" |
#include "confdefs.h" |
3568 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3569 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
3586 |
|
|
3587 |
; return 0; } |
; return 0; } |
3588 |
EOF |
EOF |
3589 |
if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3590 |
rm -rf conftest* |
rm -rf conftest* |
3591 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
3592 |
else |
else |
3607 |
else |
else |
3608 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3609 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3610 |
echo "configure:3607: checking for gettimeofday" >&5 |
echo "configure:3611: checking for gettimeofday" >&5 |
3611 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3612 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3613 |
else |
else |
3614 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3615 |
#line 3612 "configure" |
#line 3616 "configure" |
3616 |
#include "confdefs.h" |
#include "confdefs.h" |
3617 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3618 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3635 |
|
|
3636 |
; return 0; } |
; return 0; } |
3637 |
EOF |
EOF |
3638 |
if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3639 |
rm -rf conftest* |
rm -rf conftest* |
3640 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3641 |
else |
else |
3662 |
|
|
3663 |
|
|
3664 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
3665 |
echo "configure:3662: checking for gettimeofday declaration" >&5 |
echo "configure:3666: checking for gettimeofday declaration" >&5 |
3666 |
|
|
3667 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3668 |
#line 3665 "configure" |
#line 3669 "configure" |
3669 |
#include "confdefs.h" |
#include "confdefs.h" |
3670 |
#include <sys/time.h> |
#include <sys/time.h> |
3671 |
EOF |
EOF |
3686 |
|
|
3687 |
|
|
3688 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3689 |
echo "configure:3686: checking for sin in -lm" >&5 |
echo "configure:3690: checking for sin in -lm" >&5 |
3690 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3691 |
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 |
3692 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3694 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3695 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
3696 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3697 |
#line 3694 "configure" |
#line 3698 "configure" |
3698 |
#include "confdefs.h" |
#include "confdefs.h" |
3699 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3700 |
/* 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 |
3705 |
sin() |
sin() |
3706 |
; return 0; } |
; return 0; } |
3707 |
EOF |
EOF |
3708 |
if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3709 |
rm -rf conftest* |
rm -rf conftest* |
3710 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3711 |
else |
else |
3727 |
fi |
fi |
3728 |
|
|
3729 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
3730 |
echo "configure:3727: checking for main in -lmingwex" >&5 |
echo "configure:3731: checking for main in -lmingwex" >&5 |
3731 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
3732 |
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 |
3733 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3735 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3736 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
3737 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3738 |
#line 3735 "configure" |
#line 3739 "configure" |
3739 |
#include "confdefs.h" |
#include "confdefs.h" |
3740 |
|
|
3741 |
int main() { |
int main() { |
3742 |
main() |
main() |
3743 |
; return 0; } |
; return 0; } |
3744 |
EOF |
EOF |
3745 |
if { (eval echo configure:3742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3746 |
rm -rf conftest* |
rm -rf conftest* |
3747 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3748 |
else |
else |
3771 |
do |
do |
3772 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3773 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3774 |
echo "configure:3771: checking for $ac_hdr" >&5 |
echo "configure:3775: checking for $ac_hdr" >&5 |
3775 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3776 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3777 |
else |
else |
3778 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3779 |
#line 3776 "configure" |
#line 3780 "configure" |
3780 |
#include "confdefs.h" |
#include "confdefs.h" |
3781 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3782 |
EOF |
EOF |
3783 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3784 |
{ (eval echo configure:3781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3785 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3786 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3787 |
rm -rf conftest* |
rm -rf conftest* |
3818 |
do |
do |
3819 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3820 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3821 |
echo "configure:3818: checking for $ac_hdr" >&5 |
echo "configure:3822: checking for $ac_hdr" >&5 |
3822 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3823 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3824 |
else |
else |
3825 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3826 |
#line 3823 "configure" |
#line 3827 "configure" |
3827 |
#include "confdefs.h" |
#include "confdefs.h" |
3828 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3829 |
EOF |
EOF |
3830 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3831 |
{ (eval echo configure:3828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3832 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3833 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3834 |
rm -rf conftest* |
rm -rf conftest* |
3864 |
# test makes sense. CM |
# test makes sense. CM |
3865 |
# |
# |
3866 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
3867 |
echo "configure:3864: checking for isnormal" >&5 |
echo "configure:3868: checking for isnormal" >&5 |
3868 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3869 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
3870 |
else |
else |
3871 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3872 |
#line 3869 "configure" |
#line 3873 "configure" |
3873 |
#include "confdefs.h" |
#include "confdefs.h" |
3874 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
3875 |
#include <math.h> |
#include <math.h> |
3878 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
3879 |
} |
} |
3880 |
EOF |
EOF |
3881 |
if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3882 |
then |
then |
3883 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3884 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
3889 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
3890 |
rm -fr conftest* |
rm -fr conftest* |
3891 |
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 |
3892 |
echo "configure:3889: checking for fpclass in ieeefp.h" >&5 |
echo "configure:3893: checking for fpclass in ieeefp.h" >&5 |
3893 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3894 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
3895 |
else |
else |
3896 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3897 |
#line 3894 "configure" |
#line 3898 "configure" |
3898 |
#include "confdefs.h" |
#include "confdefs.h" |
3899 |
#include <ieeefp.h> |
#include <ieeefp.h> |
3900 |
int main() { |
int main() { |
3902 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
3903 |
} |
} |
3904 |
EOF |
EOF |
3905 |
if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3906 |
then |
then |
3907 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3908 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
3924 |
|
|
3925 |
|
|
3926 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
3927 |
echo "configure:3924: checking for isfinite" >&5 |
echo "configure:3928: checking for isfinite" >&5 |
3928 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3929 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
3930 |
else |
else |
3931 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3932 |
#line 3929 "configure" |
#line 3933 "configure" |
3933 |
#include "confdefs.h" |
#include "confdefs.h" |
3934 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
3935 |
#include <math.h> |
#include <math.h> |
3938 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
3939 |
} |
} |
3940 |
EOF |
EOF |
3941 |
if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3942 |
then |
then |
3943 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3944 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
3949 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
3950 |
rm -fr conftest* |
rm -fr conftest* |
3951 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
3952 |
echo "configure:3949: checking for finite()" >&5 |
echo "configure:3953: checking for finite()" >&5 |
3953 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3954 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
3955 |
else |
else |
3956 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3957 |
#line 3954 "configure" |
#line 3958 "configure" |
3958 |
#include "confdefs.h" |
#include "confdefs.h" |
3959 |
#include <math.h> |
#include <math.h> |
3960 |
int main() { |
int main() { |
3962 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
3963 |
} |
} |
3964 |
EOF |
EOF |
3965 |
if { (eval echo configure:3962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3966 |
then |
then |
3967 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3968 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4003 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4004 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4005 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4006 |
echo "configure:4003: checking for sockets" >&5 |
echo "configure:4007: checking for sockets" >&5 |
4007 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4008 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4009 |
echo "configure:4006: checking for connect" >&5 |
echo "configure:4010: checking for connect" >&5 |
4010 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4011 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4012 |
else |
else |
4013 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4014 |
#line 4011 "configure" |
#line 4015 "configure" |
4015 |
#include "confdefs.h" |
#include "confdefs.h" |
4016 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4017 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4034 |
|
|
4035 |
; return 0; } |
; return 0; } |
4036 |
EOF |
EOF |
4037 |
if { (eval echo configure:4034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4038 |
rm -rf conftest* |
rm -rf conftest* |
4039 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4040 |
else |
else |
4056 |
|
|
4057 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4058 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4059 |
echo "configure:4056: checking for main in -lsocket" >&5 |
echo "configure:4060: checking for main in -lsocket" >&5 |
4060 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4061 |
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 |
4062 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4064 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4065 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4066 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4067 |
#line 4064 "configure" |
#line 4068 "configure" |
4068 |
#include "confdefs.h" |
#include "confdefs.h" |
4069 |
|
|
4070 |
int main() { |
int main() { |
4071 |
main() |
main() |
4072 |
; return 0; } |
; return 0; } |
4073 |
EOF |
EOF |
4074 |
if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4075 |
rm -rf conftest* |
rm -rf conftest* |
4076 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4077 |
else |
else |
4099 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4100 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4101 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4102 |
echo "configure:4099: checking for accept" >&5 |
echo "configure:4103: checking for accept" >&5 |
4103 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4104 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4105 |
else |
else |
4106 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4107 |
#line 4104 "configure" |
#line 4108 "configure" |
4108 |
#include "confdefs.h" |
#include "confdefs.h" |
4109 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4110 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4127 |
|
|
4128 |
; return 0; } |
; return 0; } |
4129 |
EOF |
EOF |
4130 |
if { (eval echo configure:4127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4131 |
rm -rf conftest* |
rm -rf conftest* |
4132 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4133 |
else |
else |
4149 |
|
|
4150 |
fi |
fi |
4151 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4152 |
echo "configure:4149: checking for gethostbyname" >&5 |
echo "configure:4153: checking for gethostbyname" >&5 |
4153 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4154 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4155 |
else |
else |
4156 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4157 |
#line 4154 "configure" |
#line 4158 "configure" |
4158 |
#include "confdefs.h" |
#include "confdefs.h" |
4159 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4160 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4177 |
|
|
4178 |
; return 0; } |
; return 0; } |
4179 |
EOF |
EOF |
4180 |
if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4181 |
rm -rf conftest* |
rm -rf conftest* |
4182 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4183 |
else |
else |
4195 |
else |
else |
4196 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4197 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4198 |
echo "configure:4195: checking for main in -lnsl" >&5 |
echo "configure:4199: checking for main in -lnsl" >&5 |
4199 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4200 |
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 |
4201 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4203 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4204 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4205 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4206 |
#line 4203 "configure" |
#line 4207 "configure" |
4207 |
#include "confdefs.h" |
#include "confdefs.h" |
4208 |
|
|
4209 |
int main() { |
int main() { |
4210 |
main() |
main() |
4211 |
; return 0; } |
; return 0; } |
4212 |
EOF |
EOF |
4213 |
if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4214 |
rm -rf conftest* |
rm -rf conftest* |
4215 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4216 |
else |
else |
4235 |
|
|
4236 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4237 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4238 |
echo "configure:4235: checking for main in -lreadline" >&5 |
echo "configure:4239: checking for main in -lreadline" >&5 |
4239 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4240 |
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 |
4241 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4243 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4244 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4245 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4246 |
#line 4243 "configure" |
#line 4247 "configure" |
4247 |
#include "confdefs.h" |
#include "confdefs.h" |
4248 |
|
|
4249 |
int main() { |
int main() { |
4250 |
main() |
main() |
4251 |
; return 0; } |
; return 0; } |
4252 |
EOF |
EOF |
4253 |
if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4254 |
rm -rf conftest* |
rm -rf conftest* |
4255 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4256 |
else |
else |
4282 |
|
|
4283 |
|
|
4284 |
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 |
4285 |
echo "configure:4282: checking For network code for nsocket.c" >&5 |
echo "configure:4286: checking For network code for nsocket.c" >&5 |
4286 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4287 |
#line 4284 "configure" |
#line 4288 "configure" |
4288 |
#include "confdefs.h" |
#include "confdefs.h" |
4289 |
|
|
4290 |
#include <sys/time.h> |
#include <sys/time.h> |
4311 |
|
|
4312 |
; return 0; } |
; return 0; } |
4313 |
EOF |
EOF |
4314 |
if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4315 |
rm -rf conftest* |
rm -rf conftest* |
4316 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4317 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4328 |
|
|
4329 |
|
|
4330 |
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 |
4331 |
echo "configure:4328: checking check for listen using fcntl" >&5 |
echo "configure:4332: checking check for listen using fcntl" >&5 |
4332 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4333 |
#line 4330 "configure" |
#line 4334 "configure" |
4334 |
#include "confdefs.h" |
#include "confdefs.h" |
4335 |
#include <stdio.h> |
#include <stdio.h> |
4336 |
#include <fcntl.h> |
#include <fcntl.h> |
4343 |
|
|
4344 |
; return 0; } |
; return 0; } |
4345 |
EOF |
EOF |
4346 |
if { (eval echo configure:4343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4347 |
rm -rf conftest* |
rm -rf conftest* |
4348 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4349 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4362 |
|
|
4363 |
|
|
4364 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4365 |
echo "configure:4362: checking for profil" >&5 |
echo "configure:4366: checking for profil" >&5 |
4366 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4367 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4368 |
else |
else |
4369 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4370 |
#line 4367 "configure" |
#line 4371 "configure" |
4371 |
#include "confdefs.h" |
#include "confdefs.h" |
4372 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4373 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4390 |
|
|
4391 |
; return 0; } |
; return 0; } |
4392 |
EOF |
EOF |
4393 |
if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4394 |
rm -rf conftest* |
rm -rf conftest* |
4395 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4396 |
else |
else |
4415 |
|
|
4416 |
|
|
4417 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4418 |
echo "configure:4415: checking for setenv" >&5 |
echo "configure:4419: checking for setenv" >&5 |
4419 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4420 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4421 |
else |
else |
4422 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4423 |
#line 4420 "configure" |
#line 4424 "configure" |
4424 |
#include "confdefs.h" |
#include "confdefs.h" |
4425 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4426 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4443 |
|
|
4444 |
; return 0; } |
; return 0; } |
4445 |
EOF |
EOF |
4446 |
if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4447 |
rm -rf conftest* |
rm -rf conftest* |
4448 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4449 |
else |
else |
4469 |
|
|
4470 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4471 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4472 |
echo "configure:4469: checking for putenv" >&5 |
echo "configure:4473: checking for putenv" >&5 |
4473 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4474 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4475 |
else |
else |
4476 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4477 |
#line 4474 "configure" |
#line 4478 "configure" |
4478 |
#include "confdefs.h" |
#include "confdefs.h" |
4479 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4480 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
4497 |
|
|
4498 |
; return 0; } |
; return 0; } |
4499 |
EOF |
EOF |
4500 |
if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4501 |
rm -rf conftest* |
rm -rf conftest* |
4502 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
4503 |
else |
else |
4523 |
fi |
fi |
4524 |
|
|
4525 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
4526 |
echo "configure:4523: checking for _cleanup" >&5 |
echo "configure:4527: checking for _cleanup" >&5 |
4527 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
4528 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4529 |
else |
else |
4530 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4531 |
#line 4528 "configure" |
#line 4532 "configure" |
4532 |
#include "confdefs.h" |
#include "confdefs.h" |
4533 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4534 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
4551 |
|
|
4552 |
; return 0; } |
; return 0; } |
4553 |
EOF |
EOF |
4554 |
if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4555 |
rm -rf conftest* |
rm -rf conftest* |
4556 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
4557 |
else |
else |
4577 |
gcl_ok=no |
gcl_ok=no |
4578 |
|
|
4579 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4580 |
#line 4577 "configure" |
#line 4581 "configure" |
4581 |
#include "confdefs.h" |
#include "confdefs.h" |
4582 |
#include <ctype.h> |
#include <ctype.h> |
4583 |
EOF |
EOF |
4605 |
|
|
4606 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
4607 |
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 |
4608 |
echo "configure:4605: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:4609: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
4609 |
|
|
4610 |
case $system in |
case $system in |
4611 |
OSF*) |
OSF*) |
4636 |
|
|
4637 |
|
|
4638 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
4639 |
echo "configure:4636: checking check for SV_ONSTACK" >&5 |
echo "configure:4640: checking check for SV_ONSTACK" >&5 |
4640 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4641 |
#line 4638 "configure" |
#line 4642 "configure" |
4642 |
#include "confdefs.h" |
#include "confdefs.h" |
4643 |
#include <signal.h> |
#include <signal.h> |
4644 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
4647 |
|
|
4648 |
; return 0; } |
; return 0; } |
4649 |
EOF |
EOF |
4650 |
if { (eval echo configure:4647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4651 |
rm -rf conftest* |
rm -rf conftest* |
4652 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4653 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
4664 |
rm -f conftest* |
rm -f conftest* |
4665 |
|
|
4666 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
4667 |
echo "configure:4664: checking check for SIGSYS" >&5 |
echo "configure:4668: checking check for SIGSYS" >&5 |
4668 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4669 |
#line 4666 "configure" |
#line 4670 "configure" |
4670 |
#include "confdefs.h" |
#include "confdefs.h" |
4671 |
#include <signal.h> |
#include <signal.h> |
4672 |
int joe=SIGSYS; |
int joe=SIGSYS; |
4675 |
|
|
4676 |
; return 0; } |
; return 0; } |
4677 |
EOF |
EOF |
4678 |
if { (eval echo configure:4675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4679 |
rm -rf conftest* |
rm -rf conftest* |
4680 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4681 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
4693 |
|
|
4694 |
|
|
4695 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
4696 |
echo "configure:4693: checking check for SIGEMT" >&5 |
echo "configure:4697: checking check for SIGEMT" >&5 |
4697 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4698 |
#line 4695 "configure" |
#line 4699 "configure" |
4699 |
#include "confdefs.h" |
#include "confdefs.h" |
4700 |
#include <signal.h> |
#include <signal.h> |
4701 |
int joe=SIGEMT; |
int joe=SIGEMT; |
4704 |
|
|
4705 |
; return 0; } |
; return 0; } |
4706 |
EOF |
EOF |
4707 |
if { (eval echo configure:4704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4708 |
rm -rf conftest* |
rm -rf conftest* |
4709 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4710 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
4728 |
do |
do |
4729 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4730 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4731 |
echo "configure:4728: checking for $ac_hdr" >&5 |
echo "configure:4732: checking for $ac_hdr" >&5 |
4732 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4733 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4734 |
else |
else |
4735 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4736 |
#line 4733 "configure" |
#line 4737 "configure" |
4737 |
#include "confdefs.h" |
#include "confdefs.h" |
4738 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4739 |
EOF |
EOF |
4740 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4741 |
{ (eval echo configure:4738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4742 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4743 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4744 |
rm -rf conftest* |
rm -rf conftest* |
4768 |
do |
do |
4769 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4770 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4771 |
echo "configure:4768: checking for $ac_hdr" >&5 |
echo "configure:4772: checking for $ac_hdr" >&5 |
4772 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4773 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4774 |
else |
else |
4775 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4776 |
#line 4773 "configure" |
#line 4777 "configure" |
4777 |
#include "confdefs.h" |
#include "confdefs.h" |
4778 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4779 |
EOF |
EOF |
4780 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4781 |
{ (eval echo configure:4778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4782 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4783 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4784 |
rm -rf conftest* |
rm -rf conftest* |
4805 |
done |
done |
4806 |
|
|
4807 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4808 |
#line 4805 "configure" |
#line 4809 "configure" |
4809 |
#include "confdefs.h" |
#include "confdefs.h" |
4810 |
#include <signal.h> |
#include <signal.h> |
4811 |
long code; |
long code; |
4816 |
|
|
4817 |
; return 0; } |
; return 0; } |
4818 |
EOF |
EOF |
4819 |
if { (eval echo configure:4816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4820 |
rm -rf conftest* |
rm -rf conftest* |
4821 |
|
|
4822 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
4837 |
rm -f conftest* |
rm -f conftest* |
4838 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
4839 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4840 |
#line 4837 "configure" |
#line 4841 "configure" |
4841 |
#include "confdefs.h" |
#include "confdefs.h" |
4842 |
#include <signal.h> |
#include <signal.h> |
4843 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
4854 |
|
|
4855 |
; return 0; } |
; return 0; } |
4856 |
EOF |
EOF |
4857 |
if { (eval echo configure:4854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4858 |
rm -rf conftest* |
rm -rf conftest* |
4859 |
|
|
4860 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
4897 |
# 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. |
4898 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
4899 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4900 |
echo "configure:4897: checking for $ac_word" >&5 |
echo "configure:4901: checking for $ac_word" >&5 |
4901 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
4902 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4903 |
else |
else |
4945 |
EOF |
EOF |
4946 |
|
|
4947 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
4948 |
echo "configure:4945: checking emacs site lisp directory" >&5 |
echo "configure:4949: checking emacs site lisp directory" >&5 |
4949 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
4950 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
4951 |
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 ` |
4968 |
EOF |
EOF |
4969 |
|
|
4970 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
4971 |
echo "configure:4968: checking emacs default.el" >&5 |
echo "configure:4972: checking emacs default.el" >&5 |
4972 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
4973 |
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 ` |
4974 |
else |
else |
4997 |
EOF |
EOF |
4998 |
|
|
4999 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5000 |
echo "configure:4997: checking emacs info/dir" >&5 |
echo "configure:5001: checking emacs info/dir" >&5 |
5001 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5002 |
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 ` |
5003 |
fi |
fi |
5011 |
|
|
5012 |
|
|
5013 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5014 |
echo "configure:5011: checking for tcl/tk" >&5 |
echo "configure:5015: checking for tcl/tk" >&5 |
5015 |
|
|
5016 |
|
|
5017 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5034 |
# 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. |
5035 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5036 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5037 |
echo "configure:5034: checking for $ac_word" >&5 |
echo "configure:5038: checking for $ac_word" >&5 |
5038 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5039 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5040 |
else |
else |
5134 |
fi |
fi |
5135 |
fi |
fi |
5136 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5137 |
echo "configure:5134: checking for main in -llieee" >&5 |
echo "configure:5138: checking for main in -llieee" >&5 |
5138 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5139 |
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 |
5140 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5142 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5143 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5144 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5145 |
#line 5142 "configure" |
#line 5146 "configure" |
5146 |
#include "confdefs.h" |
#include "confdefs.h" |
5147 |
|
|
5148 |
int main() { |
int main() { |
5149 |
main() |
main() |
5150 |
; return 0; } |
; return 0; } |
5151 |
EOF |
EOF |
5152 |
if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5153 |
rm -rf conftest* |
rm -rf conftest* |
5154 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5155 |
else |
else |
5214 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5215 |
|
|
5216 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5217 |
echo "configure:5214: checking alloca" >&5 |
echo "configure:5218: checking alloca" >&5 |
5218 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5219 |
gcl_ok=no |
gcl_ok=no |
5220 |
else |
else |
5221 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5222 |
#line 5219 "configure" |
#line 5223 "configure" |
5223 |
#include "confdefs.h" |
#include "confdefs.h" |
5224 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5225 |
EOF |
EOF |
5226 |
if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5227 |
then |
then |
5228 |
: |
: |
5229 |
else |
else |
5246 |
gcl_ok=no |
gcl_ok=no |
5247 |
else |
else |
5248 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5249 |
#line 5246 "configure" |
#line 5250 "configure" |
5250 |
#include "confdefs.h" |
#include "confdefs.h" |
5251 |
#include <alloca.h> |
#include <alloca.h> |
5252 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5253 |
EOF |
EOF |
5254 |
if { (eval echo configure:5251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5255 |
then |
then |
5256 |
: |
: |
5257 |
else |
else |
5312 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5313 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5314 |
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 |
5315 |
echo "configure:5312: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5316: checking Checking for buggy gcc version from redhat" >&5 |
5316 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5317 |
then |
then |
5318 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |