1395 |
;; |
;; |
1396 |
arm*) |
arm*) |
1397 |
TCFLAGS="$TCFLAGS -mlong-calls";; |
TCFLAGS="$TCFLAGS -mlong-calls";; |
1398 |
|
powerpc*) |
1399 |
|
if $(CC) -v 2>&1 | grep -q "gcc version 3.2" ; then |
1400 |
|
echo Reducing optimization for buggy gcc-3.2 |
1401 |
|
TO3FLAGS="-O -fomit-frame-pointer" |
1402 |
|
fi;; |
1403 |
esac;; |
esac;; |
1404 |
esac |
esac |
1405 |
if test "$enable_pic" = "yes" ; then |
if test "$enable_pic" = "yes" ; then |
1412 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1413 |
|
|
1414 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
1415 |
echo "configure:1411: checking system version (for dynamic loading)" >&5 |
echo "configure:1416: checking system version (for dynamic loading)" >&5 |
1416 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1417 |
|
|
1418 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
1420 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1421 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1422 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1423 |
echo "configure:1419: checking for $ac_word" >&5 |
echo "configure:1424: checking for $ac_word" >&5 |
1424 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1425 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1426 |
else |
else |
1456 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1457 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1458 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1459 |
echo "configure:1455: checking for $ac_word" >&5 |
echo "configure:1460: checking for $ac_word" >&5 |
1460 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1461 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1462 |
else |
else |
1521 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1522 |
|
|
1523 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
1524 |
echo "configure:1520: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:1525: checking use_gmp=yes, doing configure in gmp directory" >&5 |
1525 |
echo |
echo |
1526 |
echo "#" |
echo "#" |
1527 |
echo "#" |
echo "#" |
1554 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
1555 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
1556 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
1557 |
echo "configure:1553: checking for gmp.h" >&5 |
echo "configure:1558: checking for gmp.h" >&5 |
1558 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1559 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1560 |
else |
else |
1561 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1562 |
#line 1558 "configure" |
#line 1563 "configure" |
1563 |
#include "confdefs.h" |
#include "confdefs.h" |
1564 |
#include <gmp.h> |
#include <gmp.h> |
1565 |
EOF |
EOF |
1566 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1567 |
{ (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1568 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1569 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1570 |
rm -rf conftest* |
rm -rf conftest* |
1581 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1582 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1583 |
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 |
1584 |
echo "configure:1580: checking for __gmpz_init in -lgmp" >&5 |
echo "configure:1585: checking for __gmpz_init in -lgmp" >&5 |
1585 |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
1586 |
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 |
1587 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1589 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1590 |
LIBS="-lgmp $LIBS" |
LIBS="-lgmp $LIBS" |
1591 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1592 |
#line 1588 "configure" |
#line 1593 "configure" |
1593 |
#include "confdefs.h" |
#include "confdefs.h" |
1594 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1595 |
/* 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 |
1600 |
__gmpz_init() |
__gmpz_init() |
1601 |
; return 0; } |
; return 0; } |
1602 |
EOF |
EOF |
1603 |
if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1604 |
rm -rf conftest* |
rm -rf conftest* |
1605 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1606 |
else |
else |
1646 |
fi |
fi |
1647 |
|
|
1648 |
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 |
1649 |
echo "configure:1645: checking "for size of gmp limbs"" >&5 |
echo "configure:1650: checking "for size of gmp limbs"" >&5 |
1650 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1651 |
mpsize=0 |
mpsize=0 |
1652 |
else |
else |
1653 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1654 |
#line 1650 "configure" |
#line 1655 "configure" |
1655 |
#include "confdefs.h" |
#include "confdefs.h" |
1656 |
#include <stdio.h> |
#include <stdio.h> |
1657 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1662 |
return 0; |
return 0; |
1663 |
} |
} |
1664 |
EOF |
EOF |
1665 |
if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1666 |
then |
then |
1667 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1668 |
else |
else |
1685 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$ac_t""$mpsize" 1>&6 |
1686 |
|
|
1687 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
1688 |
echo "configure:1684: checking "_SHORT_LIMB"" >&5 |
echo "configure:1689: checking "_SHORT_LIMB"" >&5 |
1689 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1690 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1691 |
else |
else |
1692 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1693 |
#line 1689 "configure" |
#line 1694 "configure" |
1694 |
#include "confdefs.h" |
#include "confdefs.h" |
1695 |
#include <stdio.h> |
#include <stdio.h> |
1696 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1702 |
#endif |
#endif |
1703 |
} |
} |
1704 |
EOF |
EOF |
1705 |
if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1706 |
then |
then |
1707 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1708 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
1718 |
fi |
fi |
1719 |
|
|
1720 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
1721 |
echo "configure:1717: checking "_LONG_LONG_LIMB"" >&5 |
echo "configure:1722: checking "_LONG_LONG_LIMB"" >&5 |
1722 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1723 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1724 |
else |
else |
1725 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1726 |
#line 1722 "configure" |
#line 1727 "configure" |
1727 |
#include "confdefs.h" |
#include "confdefs.h" |
1728 |
#include <stdio.h> |
#include <stdio.h> |
1729 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1735 |
#endif |
#endif |
1736 |
} |
} |
1737 |
EOF |
EOF |
1738 |
if { (eval echo configure:1734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1739 |
then |
then |
1740 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1741 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
1774 |
# 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. |
1775 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
1776 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1777 |
echo "configure:1773: checking for X" >&5 |
echo "configure:1778: checking for X" >&5 |
1778 |
|
|
1779 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
1780 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
1836 |
|
|
1837 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
1838 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1839 |
#line 1835 "configure" |
#line 1840 "configure" |
1840 |
#include "confdefs.h" |
#include "confdefs.h" |
1841 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
1842 |
EOF |
EOF |
1843 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1844 |
{ (eval echo configure:1840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1845 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1846 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1847 |
rm -rf conftest* |
rm -rf conftest* |
1910 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1911 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
1912 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1913 |
#line 1909 "configure" |
#line 1914 "configure" |
1914 |
#include "confdefs.h" |
#include "confdefs.h" |
1915 |
|
|
1916 |
int main() { |
int main() { |
1917 |
${x_direct_test_function}() |
${x_direct_test_function}() |
1918 |
; return 0; } |
; return 0; } |
1919 |
EOF |
EOF |
1920 |
if { (eval echo configure:1916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1921 |
rm -rf conftest* |
rm -rf conftest* |
1922 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
1923 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
2023 |
case "`(uname -sr) 2>/dev/null`" in |
case "`(uname -sr) 2>/dev/null`" in |
2024 |
"SunOS 5"*) |
"SunOS 5"*) |
2025 |
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 |
2026 |
echo "configure:2022: checking whether -R must be followed by a space" >&5 |
echo "configure:2027: checking whether -R must be followed by a space" >&5 |
2027 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
2028 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2029 |
#line 2025 "configure" |
#line 2030 "configure" |
2030 |
#include "confdefs.h" |
#include "confdefs.h" |
2031 |
|
|
2032 |
int main() { |
int main() { |
2033 |
|
|
2034 |
; return 0; } |
; return 0; } |
2035 |
EOF |
EOF |
2036 |
if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2037 |
rm -rf conftest* |
rm -rf conftest* |
2038 |
ac_R_nospace=yes |
ac_R_nospace=yes |
2039 |
else |
else |
2049 |
else |
else |
2050 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
2051 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2052 |
#line 2048 "configure" |
#line 2053 "configure" |
2053 |
#include "confdefs.h" |
#include "confdefs.h" |
2054 |
|
|
2055 |
int main() { |
int main() { |
2056 |
|
|
2057 |
; return 0; } |
; return 0; } |
2058 |
EOF |
EOF |
2059 |
if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2060 |
rm -rf conftest* |
rm -rf conftest* |
2061 |
ac_R_space=yes |
ac_R_space=yes |
2062 |
else |
else |
2088 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
2089 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
2090 |
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 |
2091 |
echo "configure:2087: checking for dnet_ntoa in -ldnet" >&5 |
echo "configure:2092: checking for dnet_ntoa in -ldnet" >&5 |
2092 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2093 |
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 |
2094 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2096 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2097 |
LIBS="-ldnet $LIBS" |
LIBS="-ldnet $LIBS" |
2098 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2099 |
#line 2095 "configure" |
#line 2100 "configure" |
2100 |
#include "confdefs.h" |
#include "confdefs.h" |
2101 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2102 |
/* 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 |
2107 |
dnet_ntoa() |
dnet_ntoa() |
2108 |
; return 0; } |
; return 0; } |
2109 |
EOF |
EOF |
2110 |
if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2111 |
rm -rf conftest* |
rm -rf conftest* |
2112 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2113 |
else |
else |
2129 |
|
|
2130 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2131 |
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 |
2132 |
echo "configure:2128: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "configure:2133: checking for dnet_ntoa in -ldnet_stub" >&5 |
2133 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2134 |
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 |
2135 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2137 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2138 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
2139 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2140 |
#line 2136 "configure" |
#line 2141 "configure" |
2141 |
#include "confdefs.h" |
#include "confdefs.h" |
2142 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2143 |
/* 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 |
2148 |
dnet_ntoa() |
dnet_ntoa() |
2149 |
; return 0; } |
; return 0; } |
2150 |
EOF |
EOF |
2151 |
if { (eval echo configure:2147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2152 |
rm -rf conftest* |
rm -rf conftest* |
2153 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2154 |
else |
else |
2177 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
2178 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to dickey@clark.net. |
2179 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2180 |
echo "configure:2176: checking for gethostbyname" >&5 |
echo "configure:2181: checking for gethostbyname" >&5 |
2181 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2182 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2183 |
else |
else |
2184 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2185 |
#line 2181 "configure" |
#line 2186 "configure" |
2186 |
#include "confdefs.h" |
#include "confdefs.h" |
2187 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2188 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2205 |
|
|
2206 |
; return 0; } |
; return 0; } |
2207 |
EOF |
EOF |
2208 |
if { (eval echo configure:2204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2209 |
rm -rf conftest* |
rm -rf conftest* |
2210 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2211 |
else |
else |
2226 |
|
|
2227 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
2228 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2229 |
echo "configure:2225: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2230: checking for gethostbyname in -lnsl" >&5 |
2230 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2231 |
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 |
2232 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2234 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2235 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2236 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2237 |
#line 2233 "configure" |
#line 2238 "configure" |
2238 |
#include "confdefs.h" |
#include "confdefs.h" |
2239 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2240 |
/* 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 |
2245 |
gethostbyname() |
gethostbyname() |
2246 |
; return 0; } |
; return 0; } |
2247 |
EOF |
EOF |
2248 |
if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2249 |
rm -rf conftest* |
rm -rf conftest* |
2250 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2251 |
else |
else |
2275 |
# -lsocket must be given before -lnsl if both are needed. |
# -lsocket must be given before -lnsl if both are needed. |
2276 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# We assume that if connect needs -lnsl, so does gethostbyname. |
2277 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2278 |
echo "configure:2274: checking for connect" >&5 |
echo "configure:2279: checking for connect" >&5 |
2279 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2280 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2281 |
else |
else |
2282 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2283 |
#line 2279 "configure" |
#line 2284 "configure" |
2284 |
#include "confdefs.h" |
#include "confdefs.h" |
2285 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2286 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2303 |
|
|
2304 |
; return 0; } |
; return 0; } |
2305 |
EOF |
EOF |
2306 |
if { (eval echo configure:2302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2307 |
rm -rf conftest* |
rm -rf conftest* |
2308 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2309 |
else |
else |
2324 |
|
|
2325 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
2326 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
2327 |
echo "configure:2323: checking for connect in -lsocket" >&5 |
echo "configure:2328: checking for connect in -lsocket" >&5 |
2328 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
2329 |
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 |
2330 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2332 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2333 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
2334 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2335 |
#line 2331 "configure" |
#line 2336 "configure" |
2336 |
#include "confdefs.h" |
#include "confdefs.h" |
2337 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2338 |
/* 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 |
2343 |
connect() |
connect() |
2344 |
; return 0; } |
; return 0; } |
2345 |
EOF |
EOF |
2346 |
if { (eval echo configure:2342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2347 |
rm -rf conftest* |
rm -rf conftest* |
2348 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2349 |
else |
else |
2367 |
|
|
2368 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
2369 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
2370 |
echo "configure:2366: checking for remove" >&5 |
echo "configure:2371: checking for remove" >&5 |
2371 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
2372 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2373 |
else |
else |
2374 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2375 |
#line 2371 "configure" |
#line 2376 "configure" |
2376 |
#include "confdefs.h" |
#include "confdefs.h" |
2377 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2378 |
which can conflict with char remove(); below. */ |
which can conflict with char remove(); below. */ |
2395 |
|
|
2396 |
; return 0; } |
; return 0; } |
2397 |
EOF |
EOF |
2398 |
if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2399 |
rm -rf conftest* |
rm -rf conftest* |
2400 |
eval "ac_cv_func_remove=yes" |
eval "ac_cv_func_remove=yes" |
2401 |
else |
else |
2416 |
|
|
2417 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
2418 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
2419 |
echo "configure:2415: checking for remove in -lposix" >&5 |
echo "configure:2420: checking for remove in -lposix" >&5 |
2420 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
2421 |
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 |
2422 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2424 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2425 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
2426 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2427 |
#line 2423 "configure" |
#line 2428 "configure" |
2428 |
#include "confdefs.h" |
#include "confdefs.h" |
2429 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2430 |
/* 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 |
2435 |
remove() |
remove() |
2436 |
; return 0; } |
; return 0; } |
2437 |
EOF |
EOF |
2438 |
if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2439 |
rm -rf conftest* |
rm -rf conftest* |
2440 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2441 |
else |
else |
2459 |
|
|
2460 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
2461 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
2462 |
echo "configure:2458: checking for shmat" >&5 |
echo "configure:2463: checking for shmat" >&5 |
2463 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
2464 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2465 |
else |
else |
2466 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2467 |
#line 2463 "configure" |
#line 2468 "configure" |
2468 |
#include "confdefs.h" |
#include "confdefs.h" |
2469 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2470 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat(); below. */ |
2487 |
|
|
2488 |
; return 0; } |
; return 0; } |
2489 |
EOF |
EOF |
2490 |
if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2491 |
rm -rf conftest* |
rm -rf conftest* |
2492 |
eval "ac_cv_func_shmat=yes" |
eval "ac_cv_func_shmat=yes" |
2493 |
else |
else |
2508 |
|
|
2509 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
2510 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
2511 |
echo "configure:2507: checking for shmat in -lipc" >&5 |
echo "configure:2512: checking for shmat in -lipc" >&5 |
2512 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
2513 |
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 |
2514 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2516 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2517 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
2518 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2519 |
#line 2515 "configure" |
#line 2520 "configure" |
2520 |
#include "confdefs.h" |
#include "confdefs.h" |
2521 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2522 |
/* 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 |
2527 |
shmat() |
shmat() |
2528 |
; return 0; } |
; return 0; } |
2529 |
EOF |
EOF |
2530 |
if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2531 |
rm -rf conftest* |
rm -rf conftest* |
2532 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2533 |
else |
else |
2560 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
2561 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
2562 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
2563 |
echo "configure:2559: checking for IceConnectionNumber in -lICE" >&5 |
echo "configure:2564: checking for IceConnectionNumber in -lICE" >&5 |
2564 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
2565 |
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 |
2566 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2568 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2569 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
2570 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2571 |
#line 2567 "configure" |
#line 2572 "configure" |
2572 |
#include "confdefs.h" |
#include "confdefs.h" |
2573 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2574 |
/* 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 |
2579 |
IceConnectionNumber() |
IceConnectionNumber() |
2580 |
; return 0; } |
; return 0; } |
2581 |
EOF |
EOF |
2582 |
if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2583 |
rm -rf conftest* |
rm -rf conftest* |
2584 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2585 |
else |
else |
2610 |
|
|
2611 |
miss=0 |
miss=0 |
2612 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
2613 |
echo "configure:2609: checking for main in -lXmu" >&5 |
echo "configure:2614: checking for main in -lXmu" >&5 |
2614 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
2615 |
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 |
2616 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2618 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2619 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
2620 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2621 |
#line 2617 "configure" |
#line 2622 "configure" |
2622 |
#include "confdefs.h" |
#include "confdefs.h" |
2623 |
|
|
2624 |
int main() { |
int main() { |
2625 |
main() |
main() |
2626 |
; return 0; } |
; return 0; } |
2627 |
EOF |
EOF |
2628 |
if { (eval echo configure:2624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2629 |
rm -rf conftest* |
rm -rf conftest* |
2630 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2631 |
else |
else |
2647 |
fi |
fi |
2648 |
|
|
2649 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
2650 |
echo "configure:2646: checking for main in -lXt" >&5 |
echo "configure:2651: checking for main in -lXt" >&5 |
2651 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
2652 |
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 |
2653 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2655 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2656 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
2657 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2658 |
#line 2654 "configure" |
#line 2659 "configure" |
2659 |
#include "confdefs.h" |
#include "confdefs.h" |
2660 |
|
|
2661 |
int main() { |
int main() { |
2662 |
main() |
main() |
2663 |
; return 0; } |
; return 0; } |
2664 |
EOF |
EOF |
2665 |
if { (eval echo configure:2661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2666 |
rm -rf conftest* |
rm -rf conftest* |
2667 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2668 |
else |
else |
2684 |
fi |
fi |
2685 |
|
|
2686 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
2687 |
echo "configure:2683: checking for main in -lXext" >&5 |
echo "configure:2688: checking for main in -lXext" >&5 |
2688 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
2689 |
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 |
2690 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2692 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2693 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
2694 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2695 |
#line 2691 "configure" |
#line 2696 "configure" |
2696 |
#include "confdefs.h" |
#include "confdefs.h" |
2697 |
|
|
2698 |
int main() { |
int main() { |
2699 |
main() |
main() |
2700 |
; return 0; } |
; return 0; } |
2701 |
EOF |
EOF |
2702 |
if { (eval echo configure:2698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2703 |
rm -rf conftest* |
rm -rf conftest* |
2704 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2705 |
else |
else |
2721 |
fi |
fi |
2722 |
|
|
2723 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
2724 |
echo "configure:2720: checking for main in -lXaw" >&5 |
echo "configure:2725: checking for main in -lXaw" >&5 |
2725 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
2726 |
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 |
2727 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2729 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2730 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
2731 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2732 |
#line 2728 "configure" |
#line 2733 "configure" |
2733 |
#include "confdefs.h" |
#include "confdefs.h" |
2734 |
|
|
2735 |
int main() { |
int main() { |
2736 |
main() |
main() |
2737 |
; return 0; } |
; return 0; } |
2738 |
EOF |
EOF |
2739 |
if { (eval echo configure:2735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2740 |
rm -rf conftest* |
rm -rf conftest* |
2741 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2742 |
else |
else |
2758 |
fi |
fi |
2759 |
|
|
2760 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
2761 |
echo "configure:2757: checking for main in -lX11" >&5 |
echo "configure:2762: checking for main in -lX11" >&5 |
2762 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
2763 |
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 |
2764 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2766 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2767 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
2768 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2769 |
#line 2765 "configure" |
#line 2770 "configure" |
2770 |
#include "confdefs.h" |
#include "confdefs.h" |
2771 |
|
|
2772 |
int main() { |
int main() { |
2773 |
main() |
main() |
2774 |
; return 0; } |
; return 0; } |
2775 |
EOF |
EOF |
2776 |
if { (eval echo configure:2772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2777 |
rm -rf conftest* |
rm -rf conftest* |
2778 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2779 |
else |
else |
2812 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
2813 |
|
|
2814 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2815 |
echo "configure:2811: checking for dlopen in -ldl" >&5 |
echo "configure:2816: checking for dlopen in -ldl" >&5 |
2816 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2817 |
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 |
2818 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2820 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2821 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2822 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2823 |
#line 2819 "configure" |
#line 2824 "configure" |
2824 |
#include "confdefs.h" |
#include "confdefs.h" |
2825 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2826 |
/* 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 |
2831 |
dlopen() |
dlopen() |
2832 |
; return 0; } |
; return 0; } |
2833 |
EOF |
EOF |
2834 |
if { (eval echo configure:2830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2835 |
rm -rf conftest* |
rm -rf conftest* |
2836 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2837 |
else |
else |
2867 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
2868 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2869 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2870 |
echo "configure:2866: checking for bfd.h" >&5 |
echo "configure:2871: checking for bfd.h" >&5 |
2871 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2872 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2873 |
else |
else |
2874 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2875 |
#line 2871 "configure" |
#line 2876 "configure" |
2876 |
#include "confdefs.h" |
#include "confdefs.h" |
2877 |
#include <bfd.h> |
#include <bfd.h> |
2878 |
EOF |
EOF |
2879 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2880 |
{ (eval echo configure:2876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2881 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2882 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2883 |
rm -rf conftest* |
rm -rf conftest* |
2894 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2895 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2896 |
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 |
2897 |
echo "configure:2893: checking for bfd_init in -lbfd" >&5 |
echo "configure:2898: checking for bfd_init in -lbfd" >&5 |
2898 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2899 |
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 |
2900 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2902 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2903 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2904 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2905 |
#line 2901 "configure" |
#line 2906 "configure" |
2906 |
#include "confdefs.h" |
#include "confdefs.h" |
2907 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2908 |
/* 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 |
2913 |
bfd_init() |
bfd_init() |
2914 |
; return 0; } |
; return 0; } |
2915 |
EOF |
EOF |
2916 |
if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2917 |
rm -rf conftest* |
rm -rf conftest* |
2918 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2919 |
else |
else |
2932 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
2933 |
# |
# |
2934 |
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 |
2935 |
echo "configure:2931: checking if need to define CONST for bfd" >&5 |
echo "configure:2936: checking if need to define CONST for bfd" >&5 |
2936 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2937 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2938 |
else |
else |
2939 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2940 |
#line 2936 "configure" |
#line 2941 "configure" |
2941 |
#include "confdefs.h" |
#include "confdefs.h" |
2942 |
#define IN_GCC |
#define IN_GCC |
2943 |
#include <bfd.h> |
#include <bfd.h> |
2944 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
2945 |
EOF |
EOF |
2946 |
if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2947 |
then |
then |
2948 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2949 |
else |
else |
2954 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2955 |
else |
else |
2956 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2957 |
#line 2953 "configure" |
#line 2958 "configure" |
2958 |
#include "confdefs.h" |
#include "confdefs.h" |
2959 |
#define CONST const |
#define CONST const |
2960 |
#define IN_GCC |
#define IN_GCC |
2961 |
#include <bfd.h> |
#include <bfd.h> |
2962 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
2963 |
EOF |
EOF |
2964 |
if { (eval echo configure:2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2965 |
then |
then |
2966 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2967 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3001 |
# |
# |
3002 |
|
|
3003 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
3004 |
echo "configure:3000: checking for useable bfd_boolean" >&5 |
echo "configure:3005: checking for useable bfd_boolean" >&5 |
3005 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3006 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3007 |
else |
else |
3008 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3009 |
#line 3005 "configure" |
#line 3010 "configure" |
3010 |
#include "confdefs.h" |
#include "confdefs.h" |
3011 |
#define IN_GCC |
#define IN_GCC |
3012 |
#include <bfd.h> |
#include <bfd.h> |
3013 |
bfd_boolean foo() {return FALSE;} |
bfd_boolean foo() {return FALSE;} |
3014 |
int main() {return 0;} |
int main() {return 0;} |
3015 |
EOF |
EOF |
3016 |
if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3017 |
then |
then |
3018 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3019 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3090 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
3091 |
|
|
3092 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
3093 |
echo "configure:3089: checking size of long *" >&5 |
echo "configure:3094: checking size of long *" >&5 |
3094 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
3095 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3096 |
else |
else |
3098 |
ac_cv_sizeof_long_p=0 |
ac_cv_sizeof_long_p=0 |
3099 |
else |
else |
3100 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3101 |
#line 3097 "configure" |
#line 3102 "configure" |
3102 |
#include "confdefs.h" |
#include "confdefs.h" |
3103 |
#include <stdio.h> |
#include <stdio.h> |
3104 |
#include <sys/types.h> |
#include <sys/types.h> |
3110 |
exit(0); |
exit(0); |
3111 |
} |
} |
3112 |
EOF |
EOF |
3113 |
if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3114 |
then |
then |
3115 |
ac_cv_sizeof_long_p=`cat conftestval` |
ac_cv_sizeof_long_p=`cat conftestval` |
3116 |
else |
else |
3134 |
do |
do |
3135 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3136 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3137 |
echo "configure:3133: checking for $ac_hdr" >&5 |
echo "configure:3138: checking for $ac_hdr" >&5 |
3138 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3139 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3140 |
else |
else |
3141 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3142 |
#line 3138 "configure" |
#line 3143 "configure" |
3143 |
#include "confdefs.h" |
#include "confdefs.h" |
3144 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3145 |
EOF |
EOF |
3146 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3147 |
{ (eval echo configure:3143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3148 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3149 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3150 |
rm -rf conftest* |
rm -rf conftest* |
3165 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
3166 |
EOF |
EOF |
3167 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
3168 |
echo "configure:3164: checking "endianness"" >&5 |
echo "configure:3169: checking "endianness"" >&5 |
3169 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3170 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
3171 |
else |
else |
3172 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3173 |
#line 3169 "configure" |
#line 3174 "configure" |
3174 |
#include "confdefs.h" |
#include "confdefs.h" |
3175 |
#define __ARMEB__ |
#define __ARMEB__ |
3176 |
#include <endian.h> |
#include <endian.h> |
3177 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
3178 |
EOF |
EOF |
3179 |
if { (eval echo configure:3175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3180 |
then |
then |
3181 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3182 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
3199 |
|
|
3200 |
|
|
3201 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
3202 |
echo "configure:3198: checking "finding DBEGIN"" >&5 |
echo "configure:3203: checking "finding DBEGIN"" >&5 |
3203 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3204 |
dbegin=0 |
dbegin=0 |
3205 |
else |
else |
3206 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3207 |
#line 3203 "configure" |
#line 3208 "configure" |
3208 |
#include "confdefs.h" |
#include "confdefs.h" |
3209 |
#include <stdio.h> |
#include <stdio.h> |
3210 |
#include <stdlib.h> |
#include <stdlib.h> |
3221 |
return 0; |
return 0; |
3222 |
} |
} |
3223 |
EOF |
EOF |
3224 |
if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3225 |
then |
then |
3226 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
3227 |
else |
else |
3243 |
|
|
3244 |
|
|
3245 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
3246 |
echo "configure:3242: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:3247: checking "finding CSTACK_ADDRESS"" >&5 |
3247 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3248 |
cstack_address=0 |
cstack_address=0 |
3249 |
else |
else |
3250 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3251 |
#line 3247 "configure" |
#line 3252 "configure" |
3252 |
#include "confdefs.h" |
#include "confdefs.h" |
3253 |
#include <stdio.h> |
#include <stdio.h> |
3254 |
main() |
main() |
3260 |
return 0; |
return 0; |
3261 |
} |
} |
3262 |
EOF |
EOF |
3263 |
if { (eval echo configure:3259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3264 |
then |
then |
3265 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
3266 |
else |
else |
3282 |
|
|
3283 |
|
|
3284 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
3285 |
echo "configure:3281: checking "sizeof long long int"" >&5 |
echo "configure:3286: checking "sizeof long long int"" >&5 |
3286 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3287 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3288 |
|
|
3289 |
else |
else |
3290 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3291 |
#line 3287 "configure" |
#line 3292 "configure" |
3292 |
#include "confdefs.h" |
#include "confdefs.h" |
3293 |
#include <stdio.h> |
#include <stdio.h> |
3294 |
main() |
main() |
3298 |
} |
} |
3299 |
|
|
3300 |
EOF |
EOF |
3301 |
if { (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3302 |
then |
then |
3303 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3304 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
3351 |
|
|
3352 |
# pagewidth |
# pagewidth |
3353 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
3354 |
echo "configure:3350: checking for pagewidth" >&5 |
echo "configure:3355: checking for pagewidth" >&5 |
3355 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3356 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
3357 |
else |
else |
3358 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3359 |
#line 3355 "configure" |
#line 3360 "configure" |
3360 |
#include "confdefs.h" |
#include "confdefs.h" |
3361 |
#include <stdio.h> |
#include <stdio.h> |
3362 |
#include <unistd.h> |
#include <unistd.h> |
3366 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
3367 |
return 0;} |
return 0;} |
3368 |
EOF |
EOF |
3369 |
if { (eval echo configure:3365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3370 |
then |
then |
3371 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
3372 |
else |
else |
3393 |
for ac_func in getcwd |
for ac_func in getcwd |
3394 |
do |
do |
3395 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3396 |
echo "configure:3392: checking for $ac_func" >&5 |
echo "configure:3397: checking for $ac_func" >&5 |
3397 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3398 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3399 |
else |
else |
3400 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3401 |
#line 3397 "configure" |
#line 3402 "configure" |
3402 |
#include "confdefs.h" |
#include "confdefs.h" |
3403 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3404 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3421 |
|
|
3422 |
; return 0; } |
; return 0; } |
3423 |
EOF |
EOF |
3424 |
if { (eval echo configure:3420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3425 |
rm -rf conftest* |
rm -rf conftest* |
3426 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3427 |
else |
else |
3448 |
for ac_func in getwd |
for ac_func in getwd |
3449 |
do |
do |
3450 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3451 |
echo "configure:3447: checking for $ac_func" >&5 |
echo "configure:3452: checking for $ac_func" >&5 |
3452 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3453 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3454 |
else |
else |
3455 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3456 |
#line 3452 "configure" |
#line 3457 "configure" |
3457 |
#include "confdefs.h" |
#include "confdefs.h" |
3458 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3459 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3476 |
|
|
3477 |
; return 0; } |
; return 0; } |
3478 |
EOF |
EOF |
3479 |
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3480 |
rm -rf conftest* |
rm -rf conftest* |
3481 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3482 |
else |
else |
3501 |
done |
done |
3502 |
|
|
3503 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
3504 |
echo "configure:3500: checking for uname" >&5 |
echo "configure:3505: checking for uname" >&5 |
3505 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
3506 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3507 |
else |
else |
3508 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3509 |
#line 3505 "configure" |
#line 3510 "configure" |
3510 |
#include "confdefs.h" |
#include "confdefs.h" |
3511 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3512 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
3529 |
|
|
3530 |
; return 0; } |
; return 0; } |
3531 |
EOF |
EOF |
3532 |
if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3533 |
rm -rf conftest* |
rm -rf conftest* |
3534 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
3535 |
else |
else |
3553 |
fi |
fi |
3554 |
|
|
3555 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3556 |
echo "configure:3552: checking for gettimeofday" >&5 |
echo "configure:3557: checking for gettimeofday" >&5 |
3557 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3558 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3559 |
else |
else |
3560 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3561 |
#line 3557 "configure" |
#line 3562 "configure" |
3562 |
#include "confdefs.h" |
#include "confdefs.h" |
3563 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3564 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3581 |
|
|
3582 |
; return 0; } |
; return 0; } |
3583 |
EOF |
EOF |
3584 |
if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3585 |
rm -rf conftest* |
rm -rf conftest* |
3586 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3587 |
else |
else |
3610 |
do |
do |
3611 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3612 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3613 |
echo "configure:3609: checking for $ac_hdr" >&5 |
echo "configure:3614: checking for $ac_hdr" >&5 |
3614 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3615 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3616 |
else |
else |
3617 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3618 |
#line 3614 "configure" |
#line 3619 "configure" |
3619 |
#include "confdefs.h" |
#include "confdefs.h" |
3620 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3621 |
EOF |
EOF |
3622 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3623 |
{ (eval echo configure:3619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3624 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3625 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3626 |
rm -rf conftest* |
rm -rf conftest* |
3660 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3661 |
|
|
3662 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
3663 |
echo "configure:3659: checking for BSDgettimeofday" >&5 |
echo "configure:3664: checking for BSDgettimeofday" >&5 |
3664 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
3665 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3666 |
else |
else |
3667 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3668 |
#line 3664 "configure" |
#line 3669 "configure" |
3669 |
#include "confdefs.h" |
#include "confdefs.h" |
3670 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3671 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
3688 |
|
|
3689 |
; return 0; } |
; return 0; } |
3690 |
EOF |
EOF |
3691 |
if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3692 |
rm -rf conftest* |
rm -rf conftest* |
3693 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
3694 |
else |
else |
3709 |
else |
else |
3710 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3711 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3712 |
echo "configure:3708: checking for gettimeofday" >&5 |
echo "configure:3713: checking for gettimeofday" >&5 |
3713 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3714 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3715 |
else |
else |
3716 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3717 |
#line 3713 "configure" |
#line 3718 "configure" |
3718 |
#include "confdefs.h" |
#include "confdefs.h" |
3719 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3720 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3737 |
|
|
3738 |
; return 0; } |
; return 0; } |
3739 |
EOF |
EOF |
3740 |
if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3741 |
rm -rf conftest* |
rm -rf conftest* |
3742 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3743 |
else |
else |
3764 |
|
|
3765 |
|
|
3766 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
3767 |
echo "configure:3763: checking for gettimeofday declaration" >&5 |
echo "configure:3768: checking for gettimeofday declaration" >&5 |
3768 |
|
|
3769 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3770 |
#line 3766 "configure" |
#line 3771 "configure" |
3771 |
#include "confdefs.h" |
#include "confdefs.h" |
3772 |
#include <sys/time.h> |
#include <sys/time.h> |
3773 |
EOF |
EOF |
3788 |
|
|
3789 |
|
|
3790 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3791 |
echo "configure:3787: checking for sin in -lm" >&5 |
echo "configure:3792: checking for sin in -lm" >&5 |
3792 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3793 |
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 |
3794 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3796 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3797 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
3798 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3799 |
#line 3795 "configure" |
#line 3800 "configure" |
3800 |
#include "confdefs.h" |
#include "confdefs.h" |
3801 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3802 |
/* 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 |
3807 |
sin() |
sin() |
3808 |
; return 0; } |
; return 0; } |
3809 |
EOF |
EOF |
3810 |
if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3811 |
rm -rf conftest* |
rm -rf conftest* |
3812 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3813 |
else |
else |
3829 |
fi |
fi |
3830 |
|
|
3831 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
3832 |
echo "configure:3828: checking for main in -lmingwex" >&5 |
echo "configure:3833: checking for main in -lmingwex" >&5 |
3833 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
3834 |
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 |
3835 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3837 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3838 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
3839 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3840 |
#line 3836 "configure" |
#line 3841 "configure" |
3841 |
#include "confdefs.h" |
#include "confdefs.h" |
3842 |
|
|
3843 |
int main() { |
int main() { |
3844 |
main() |
main() |
3845 |
; return 0; } |
; return 0; } |
3846 |
EOF |
EOF |
3847 |
if { (eval echo configure:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3848 |
rm -rf conftest* |
rm -rf conftest* |
3849 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3850 |
else |
else |
3873 |
do |
do |
3874 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3875 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3876 |
echo "configure:3872: checking for $ac_hdr" >&5 |
echo "configure:3877: checking for $ac_hdr" >&5 |
3877 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3878 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3879 |
else |
else |
3880 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3881 |
#line 3877 "configure" |
#line 3882 "configure" |
3882 |
#include "confdefs.h" |
#include "confdefs.h" |
3883 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3884 |
EOF |
EOF |
3885 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3886 |
{ (eval echo configure:3882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3887 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3888 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3889 |
rm -rf conftest* |
rm -rf conftest* |
3920 |
do |
do |
3921 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3922 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3923 |
echo "configure:3919: checking for $ac_hdr" >&5 |
echo "configure:3924: checking for $ac_hdr" >&5 |
3924 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3925 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3926 |
else |
else |
3927 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3928 |
#line 3924 "configure" |
#line 3929 "configure" |
3929 |
#include "confdefs.h" |
#include "confdefs.h" |
3930 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3931 |
EOF |
EOF |
3932 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3933 |
{ (eval echo configure:3929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3934 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3935 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3936 |
rm -rf conftest* |
rm -rf conftest* |
3967 |
do |
do |
3968 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3969 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3970 |
echo "configure:3966: checking for $ac_hdr" >&5 |
echo "configure:3971: checking for $ac_hdr" >&5 |
3971 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3972 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3973 |
else |
else |
3974 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3975 |
#line 3971 "configure" |
#line 3976 "configure" |
3976 |
#include "confdefs.h" |
#include "confdefs.h" |
3977 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3978 |
EOF |
EOF |
3979 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3980 |
{ (eval echo configure:3976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3981 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3982 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3983 |
rm -rf conftest* |
rm -rf conftest* |
4013 |
# test makes sense. CM |
# test makes sense. CM |
4014 |
# |
# |
4015 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
4016 |
echo "configure:4012: checking for isnormal" >&5 |
echo "configure:4017: checking for isnormal" >&5 |
4017 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4018 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
4019 |
else |
else |
4020 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4021 |
#line 4017 "configure" |
#line 4022 "configure" |
4022 |
#include "confdefs.h" |
#include "confdefs.h" |
4023 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4024 |
#include <math.h> |
#include <math.h> |
4027 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
4028 |
} |
} |
4029 |
EOF |
EOF |
4030 |
if { (eval echo configure:4026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4031 |
then |
then |
4032 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4033 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
4038 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4039 |
rm -fr conftest* |
rm -fr conftest* |
4040 |
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 |
4041 |
echo "configure:4037: checking for fpclass in ieeefp.h" >&5 |
echo "configure:4042: checking for fpclass in ieeefp.h" >&5 |
4042 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4043 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
4044 |
else |
else |
4045 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4046 |
#line 4042 "configure" |
#line 4047 "configure" |
4047 |
#include "confdefs.h" |
#include "confdefs.h" |
4048 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4049 |
int main() { |
int main() { |
4051 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
4052 |
} |
} |
4053 |
EOF |
EOF |
4054 |
if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4055 |
then |
then |
4056 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4057 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
4073 |
|
|
4074 |
|
|
4075 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
4076 |
echo "configure:4072: checking for isfinite" >&5 |
echo "configure:4077: checking for isfinite" >&5 |
4077 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4078 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
4079 |
else |
else |
4080 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4081 |
#line 4077 "configure" |
#line 4082 "configure" |
4082 |
#include "confdefs.h" |
#include "confdefs.h" |
4083 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4084 |
#include <math.h> |
#include <math.h> |
4087 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
4088 |
} |
} |
4089 |
EOF |
EOF |
4090 |
if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4091 |
then |
then |
4092 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4093 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
4098 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4099 |
rm -fr conftest* |
rm -fr conftest* |
4100 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
4101 |
echo "configure:4097: checking for finite()" >&5 |
echo "configure:4102: checking for finite()" >&5 |
4102 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4103 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
4104 |
else |
else |
4105 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4106 |
#line 4102 "configure" |
#line 4107 "configure" |
4107 |
#include "confdefs.h" |
#include "confdefs.h" |
4108 |
#include <math.h> |
#include <math.h> |
4109 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4112 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
4113 |
} |
} |
4114 |
EOF |
EOF |
4115 |
if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4116 |
then |
then |
4117 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4118 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4153 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4154 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4155 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4156 |
echo "configure:4152: checking for sockets" >&5 |
echo "configure:4157: checking for sockets" >&5 |
4157 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4158 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4159 |
echo "configure:4155: checking for connect" >&5 |
echo "configure:4160: checking for connect" >&5 |
4160 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4161 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4162 |
else |
else |
4163 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4164 |
#line 4160 "configure" |
#line 4165 "configure" |
4165 |
#include "confdefs.h" |
#include "confdefs.h" |
4166 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4167 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4184 |
|
|
4185 |
; return 0; } |
; return 0; } |
4186 |
EOF |
EOF |
4187 |
if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4188 |
rm -rf conftest* |
rm -rf conftest* |
4189 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4190 |
else |
else |
4206 |
|
|
4207 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4208 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4209 |
echo "configure:4205: checking for main in -lsocket" >&5 |
echo "configure:4210: checking for main in -lsocket" >&5 |
4210 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4211 |
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 |
4212 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4214 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4215 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4216 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4217 |
#line 4213 "configure" |
#line 4218 "configure" |
4218 |
#include "confdefs.h" |
#include "confdefs.h" |
4219 |
|
|
4220 |
int main() { |
int main() { |
4221 |
main() |
main() |
4222 |
; return 0; } |
; return 0; } |
4223 |
EOF |
EOF |
4224 |
if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4225 |
rm -rf conftest* |
rm -rf conftest* |
4226 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4227 |
else |
else |
4249 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4250 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4251 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4252 |
echo "configure:4248: checking for accept" >&5 |
echo "configure:4253: checking for accept" >&5 |
4253 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4254 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4255 |
else |
else |
4256 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4257 |
#line 4253 "configure" |
#line 4258 "configure" |
4258 |
#include "confdefs.h" |
#include "confdefs.h" |
4259 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4260 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4277 |
|
|
4278 |
; return 0; } |
; return 0; } |
4279 |
EOF |
EOF |
4280 |
if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4281 |
rm -rf conftest* |
rm -rf conftest* |
4282 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4283 |
else |
else |
4299 |
|
|
4300 |
fi |
fi |
4301 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4302 |
echo "configure:4298: checking for gethostbyname" >&5 |
echo "configure:4303: checking for gethostbyname" >&5 |
4303 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4304 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4305 |
else |
else |
4306 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4307 |
#line 4303 "configure" |
#line 4308 "configure" |
4308 |
#include "confdefs.h" |
#include "confdefs.h" |
4309 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4310 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4327 |
|
|
4328 |
; return 0; } |
; return 0; } |
4329 |
EOF |
EOF |
4330 |
if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4331 |
rm -rf conftest* |
rm -rf conftest* |
4332 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4333 |
else |
else |
4345 |
else |
else |
4346 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4347 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4348 |
echo "configure:4344: checking for main in -lnsl" >&5 |
echo "configure:4349: checking for main in -lnsl" >&5 |
4349 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4350 |
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 |
4351 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4353 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4354 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4355 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4356 |
#line 4352 "configure" |
#line 4357 "configure" |
4357 |
#include "confdefs.h" |
#include "confdefs.h" |
4358 |
|
|
4359 |
int main() { |
int main() { |
4360 |
main() |
main() |
4361 |
; return 0; } |
; return 0; } |
4362 |
EOF |
EOF |
4363 |
if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4364 |
rm -rf conftest* |
rm -rf conftest* |
4365 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4366 |
else |
else |
4385 |
|
|
4386 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4387 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4388 |
echo "configure:4384: checking for main in -lreadline" >&5 |
echo "configure:4389: checking for main in -lreadline" >&5 |
4389 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4390 |
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 |
4391 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4393 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4394 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4395 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4396 |
#line 4392 "configure" |
#line 4397 "configure" |
4397 |
#include "confdefs.h" |
#include "confdefs.h" |
4398 |
|
|
4399 |
int main() { |
int main() { |
4400 |
main() |
main() |
4401 |
; return 0; } |
; return 0; } |
4402 |
EOF |
EOF |
4403 |
if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4404 |
rm -rf conftest* |
rm -rf conftest* |
4405 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4406 |
else |
else |
4432 |
|
|
4433 |
|
|
4434 |
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 |
4435 |
echo "configure:4431: checking For network code for nsocket.c" >&5 |
echo "configure:4436: checking For network code for nsocket.c" >&5 |
4436 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4437 |
#line 4433 "configure" |
#line 4438 "configure" |
4438 |
#include "confdefs.h" |
#include "confdefs.h" |
4439 |
|
|
4440 |
#include <sys/time.h> |
#include <sys/time.h> |
4461 |
|
|
4462 |
; return 0; } |
; return 0; } |
4463 |
EOF |
EOF |
4464 |
if { (eval echo configure:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4465 |
rm -rf conftest* |
rm -rf conftest* |
4466 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4467 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4478 |
|
|
4479 |
|
|
4480 |
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 |
4481 |
echo "configure:4477: checking check for listen using fcntl" >&5 |
echo "configure:4482: checking check for listen using fcntl" >&5 |
4482 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4483 |
#line 4479 "configure" |
#line 4484 "configure" |
4484 |
#include "confdefs.h" |
#include "confdefs.h" |
4485 |
#include <stdio.h> |
#include <stdio.h> |
4486 |
#include <fcntl.h> |
#include <fcntl.h> |
4493 |
|
|
4494 |
; return 0; } |
; return 0; } |
4495 |
EOF |
EOF |
4496 |
if { (eval echo configure:4492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4497 |
rm -rf conftest* |
rm -rf conftest* |
4498 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4499 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4512 |
|
|
4513 |
|
|
4514 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4515 |
echo "configure:4511: checking for profil" >&5 |
echo "configure:4516: checking for profil" >&5 |
4516 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4517 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4518 |
else |
else |
4519 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4520 |
#line 4516 "configure" |
#line 4521 "configure" |
4521 |
#include "confdefs.h" |
#include "confdefs.h" |
4522 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4523 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4540 |
|
|
4541 |
; return 0; } |
; return 0; } |
4542 |
EOF |
EOF |
4543 |
if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4544 |
rm -rf conftest* |
rm -rf conftest* |
4545 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4546 |
else |
else |
4565 |
|
|
4566 |
|
|
4567 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4568 |
echo "configure:4564: checking for setenv" >&5 |
echo "configure:4569: checking for setenv" >&5 |
4569 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4570 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4571 |
else |
else |
4572 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4573 |
#line 4569 "configure" |
#line 4574 "configure" |
4574 |
#include "confdefs.h" |
#include "confdefs.h" |
4575 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4576 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4593 |
|
|
4594 |
; return 0; } |
; return 0; } |
4595 |
EOF |
EOF |
4596 |
if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4597 |
rm -rf conftest* |
rm -rf conftest* |
4598 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4599 |
else |
else |
4619 |
|
|
4620 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4621 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4622 |
echo "configure:4618: checking for putenv" >&5 |
echo "configure:4623: checking for putenv" >&5 |
4623 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4624 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4625 |
else |
else |
4626 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4627 |
#line 4623 "configure" |
#line 4628 "configure" |
4628 |
#include "confdefs.h" |
#include "confdefs.h" |
4629 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4630 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
4647 |
|
|
4648 |
; return 0; } |
; return 0; } |
4649 |
EOF |
EOF |
4650 |
if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4651 |
rm -rf conftest* |
rm -rf conftest* |
4652 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
4653 |
else |
else |
4673 |
fi |
fi |
4674 |
|
|
4675 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
4676 |
echo "configure:4672: checking for _cleanup" >&5 |
echo "configure:4677: checking for _cleanup" >&5 |
4677 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
4678 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4679 |
else |
else |
4680 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4681 |
#line 4677 "configure" |
#line 4682 "configure" |
4682 |
#include "confdefs.h" |
#include "confdefs.h" |
4683 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4684 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
4701 |
|
|
4702 |
; return 0; } |
; return 0; } |
4703 |
EOF |
EOF |
4704 |
if { (eval echo configure:4700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4705 |
rm -rf conftest* |
rm -rf conftest* |
4706 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
4707 |
else |
else |
4727 |
gcl_ok=no |
gcl_ok=no |
4728 |
|
|
4729 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4730 |
#line 4726 "configure" |
#line 4731 "configure" |
4731 |
#include "confdefs.h" |
#include "confdefs.h" |
4732 |
#include <ctype.h> |
#include <ctype.h> |
4733 |
EOF |
EOF |
4755 |
|
|
4756 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
4757 |
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 |
4758 |
echo "configure:4754: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:4759: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
4759 |
|
|
4760 |
case $system in |
case $system in |
4761 |
OSF*) |
OSF*) |
4786 |
|
|
4787 |
|
|
4788 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
4789 |
echo "configure:4785: checking check for SV_ONSTACK" >&5 |
echo "configure:4790: checking check for SV_ONSTACK" >&5 |
4790 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4791 |
#line 4787 "configure" |
#line 4792 "configure" |
4792 |
#include "confdefs.h" |
#include "confdefs.h" |
4793 |
#include <signal.h> |
#include <signal.h> |
4794 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
4797 |
|
|
4798 |
; return 0; } |
; return 0; } |
4799 |
EOF |
EOF |
4800 |
if { (eval echo configure:4796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4801 |
rm -rf conftest* |
rm -rf conftest* |
4802 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4803 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
4814 |
rm -f conftest* |
rm -f conftest* |
4815 |
|
|
4816 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
4817 |
echo "configure:4813: checking check for SIGSYS" >&5 |
echo "configure:4818: checking check for SIGSYS" >&5 |
4818 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4819 |
#line 4815 "configure" |
#line 4820 "configure" |
4820 |
#include "confdefs.h" |
#include "confdefs.h" |
4821 |
#include <signal.h> |
#include <signal.h> |
4822 |
int joe=SIGSYS; |
int joe=SIGSYS; |
4825 |
|
|
4826 |
; return 0; } |
; return 0; } |
4827 |
EOF |
EOF |
4828 |
if { (eval echo configure:4824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4829 |
rm -rf conftest* |
rm -rf conftest* |
4830 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4831 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
4843 |
|
|
4844 |
|
|
4845 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
4846 |
echo "configure:4842: checking check for SIGEMT" >&5 |
echo "configure:4847: checking check for SIGEMT" >&5 |
4847 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4848 |
#line 4844 "configure" |
#line 4849 "configure" |
4849 |
#include "confdefs.h" |
#include "confdefs.h" |
4850 |
#include <signal.h> |
#include <signal.h> |
4851 |
int joe=SIGEMT; |
int joe=SIGEMT; |
4854 |
|
|
4855 |
; return 0; } |
; return 0; } |
4856 |
EOF |
EOF |
4857 |
if { (eval echo configure:4853: \"$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 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4860 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
4878 |
do |
do |
4879 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4880 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4881 |
echo "configure:4877: checking for $ac_hdr" >&5 |
echo "configure:4882: checking for $ac_hdr" >&5 |
4882 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4883 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4884 |
else |
else |
4885 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4886 |
#line 4882 "configure" |
#line 4887 "configure" |
4887 |
#include "confdefs.h" |
#include "confdefs.h" |
4888 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4889 |
EOF |
EOF |
4890 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4891 |
{ (eval echo configure:4887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4892 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4893 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4894 |
rm -rf conftest* |
rm -rf conftest* |
4918 |
do |
do |
4919 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4920 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4921 |
echo "configure:4917: checking for $ac_hdr" >&5 |
echo "configure:4922: checking for $ac_hdr" >&5 |
4922 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4923 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4924 |
else |
else |
4925 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4926 |
#line 4922 "configure" |
#line 4927 "configure" |
4927 |
#include "confdefs.h" |
#include "confdefs.h" |
4928 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4929 |
EOF |
EOF |
4930 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4931 |
{ (eval echo configure:4927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4932 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4933 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4934 |
rm -rf conftest* |
rm -rf conftest* |
4955 |
done |
done |
4956 |
|
|
4957 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4958 |
#line 4954 "configure" |
#line 4959 "configure" |
4959 |
#include "confdefs.h" |
#include "confdefs.h" |
4960 |
#include <signal.h> |
#include <signal.h> |
4961 |
long code; |
long code; |
4966 |
|
|
4967 |
; return 0; } |
; return 0; } |
4968 |
EOF |
EOF |
4969 |
if { (eval echo configure:4965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4970 |
rm -rf conftest* |
rm -rf conftest* |
4971 |
|
|
4972 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
4987 |
rm -f conftest* |
rm -f conftest* |
4988 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
4989 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4990 |
#line 4986 "configure" |
#line 4991 "configure" |
4991 |
#include "confdefs.h" |
#include "confdefs.h" |
4992 |
#include <signal.h> |
#include <signal.h> |
4993 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
5004 |
|
|
5005 |
; return 0; } |
; return 0; } |
5006 |
EOF |
EOF |
5007 |
if { (eval echo configure:5003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5008 |
rm -rf conftest* |
rm -rf conftest* |
5009 |
|
|
5010 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
5047 |
# 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. |
5048 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
5049 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5050 |
echo "configure:5046: checking for $ac_word" >&5 |
echo "configure:5051: checking for $ac_word" >&5 |
5051 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
5052 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5053 |
else |
else |
5095 |
EOF |
EOF |
5096 |
|
|
5097 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5098 |
echo "configure:5094: checking emacs site lisp directory" >&5 |
echo "configure:5099: checking emacs site lisp directory" >&5 |
5099 |
if [ "$EMACS" != "" ] && [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS" != "" ] && [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
5100 |
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 ` |
5101 |
else |
else |
5117 |
EOF |
EOF |
5118 |
|
|
5119 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5120 |
echo "configure:5116: checking emacs default.el" >&5 |
echo "configure:5121: checking emacs default.el" >&5 |
5121 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5122 |
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 ` |
5123 |
else |
else |
5146 |
EOF |
EOF |
5147 |
|
|
5148 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5149 |
echo "configure:5145: checking emacs info/dir" >&5 |
echo "configure:5150: checking emacs info/dir" >&5 |
5150 |
if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then |
if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then |
5151 |
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 ` |
5152 |
fi |
fi |
5160 |
|
|
5161 |
|
|
5162 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5163 |
echo "configure:5159: checking for tcl/tk" >&5 |
echo "configure:5164: checking for tcl/tk" >&5 |
5164 |
|
|
5165 |
|
|
5166 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5183 |
# 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. |
5184 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5185 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5186 |
echo "configure:5182: checking for $ac_word" >&5 |
echo "configure:5187: checking for $ac_word" >&5 |
5187 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5188 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5189 |
else |
else |
5283 |
fi |
fi |
5284 |
fi |
fi |
5285 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5286 |
echo "configure:5282: checking for main in -llieee" >&5 |
echo "configure:5287: checking for main in -llieee" >&5 |
5287 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5288 |
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 |
5289 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5291 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5292 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5293 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5294 |
#line 5290 "configure" |
#line 5295 "configure" |
5295 |
#include "confdefs.h" |
#include "confdefs.h" |
5296 |
|
|
5297 |
int main() { |
int main() { |
5298 |
main() |
main() |
5299 |
; return 0; } |
; return 0; } |
5300 |
EOF |
EOF |
5301 |
if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5302 |
rm -rf conftest* |
rm -rf conftest* |
5303 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5304 |
else |
else |
5363 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5364 |
|
|
5365 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5366 |
echo "configure:5362: checking alloca" >&5 |
echo "configure:5367: checking alloca" >&5 |
5367 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5368 |
gcl_ok=no |
gcl_ok=no |
5369 |
else |
else |
5370 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5371 |
#line 5367 "configure" |
#line 5372 "configure" |
5372 |
#include "confdefs.h" |
#include "confdefs.h" |
5373 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5374 |
EOF |
EOF |
5375 |
if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5376 |
then |
then |
5377 |
: |
: |
5378 |
else |
else |
5395 |
gcl_ok=no |
gcl_ok=no |
5396 |
else |
else |
5397 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5398 |
#line 5394 "configure" |
#line 5399 "configure" |
5399 |
#include "confdefs.h" |
#include "confdefs.h" |
5400 |
#include <alloca.h> |
#include <alloca.h> |
5401 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5402 |
EOF |
EOF |
5403 |
if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5404 |
then |
then |
5405 |
: |
: |
5406 |
else |
else |
5461 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5462 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5463 |
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 |
5464 |
echo "configure:5460: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5465: checking Checking for buggy gcc version from redhat" >&5 |
5465 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5466 |
then |
then |
5467 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |