1450 |
if test "$GCC" = "yes" ; then |
if test "$GCC" = "yes" ; then |
1451 |
TCFLAGS="$TCFLAGS -fwritable-strings -pipe" |
TCFLAGS="$TCFLAGS -fwritable-strings -pipe" |
1452 |
fi |
fi |
1453 |
|
if test -f /proc/sys/kernel/exec-shield ; then |
1454 |
|
exec_stat=`cat /proc/sys/kernel/exec-shield` |
1455 |
|
if test "$exec_stat" != "0" ; then |
1456 |
|
TCFLAGS="$TCFLAGS -Wa,--execstack" |
1457 |
|
fi |
1458 |
|
fi |
1459 |
|
|
1460 |
TO3FLAGS="" |
TO3FLAGS="" |
1461 |
TO2FLAGS="" |
TO2FLAGS="" |
1462 |
if test "$enable_debug" = "yes" ; then |
if test "$enable_debug" = "yes" ; then |
1463 |
TCFLAGS="$TCFLAGS -g" |
TCFLAGS="$TCFLAGS -g" |
1464 |
# for subconfigurations |
# for subconfigurations |
1465 |
CFLAGS=-g |
CFLAGS="$CFLAGS -g" |
1466 |
else |
else |
1467 |
TO3FLAGS="-O3 -fomit-frame-pointer" |
TO3FLAGS="-O3 -fomit-frame-pointer" |
1468 |
TO2FLAGS="-O" |
TO2FLAGS="-O" |
1473 |
# 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. |
1474 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1475 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1476 |
echo "configure:1471: checking for $ac_word" >&5 |
echo "configure:1477: checking for $ac_word" >&5 |
1477 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1478 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1479 |
else |
else |
1546 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1547 |
|
|
1548 |
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 |
1549 |
echo "configure:1544: checking system version (for dynamic loading)" >&5 |
echo "configure:1550: checking system version (for dynamic loading)" >&5 |
1550 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1551 |
|
|
1552 |
for ac_prog in makeinfo |
for ac_prog in makeinfo |
1554 |
# 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. |
1555 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1556 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1557 |
echo "configure:1552: checking for $ac_word" >&5 |
echo "configure:1558: checking for $ac_word" >&5 |
1558 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1559 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1560 |
else |
else |
1619 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1620 |
|
|
1621 |
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 |
1622 |
echo "configure:1617: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:1623: checking use_gmp=yes, doing configure in gmp directory" >&5 |
1623 |
echo |
echo |
1624 |
echo "#" |
echo "#" |
1625 |
echo "#" |
echo "#" |
1652 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
1653 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
1654 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
1655 |
echo "configure:1650: checking for gmp.h" >&5 |
echo "configure:1656: checking for gmp.h" >&5 |
1656 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1657 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1658 |
else |
else |
1659 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1660 |
#line 1655 "configure" |
#line 1661 "configure" |
1661 |
#include "confdefs.h" |
#include "confdefs.h" |
1662 |
#include <gmp.h> |
#include <gmp.h> |
1663 |
EOF |
EOF |
1664 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1665 |
{ (eval echo configure:1660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1666 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1667 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1668 |
rm -rf conftest* |
rm -rf conftest* |
1679 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1680 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1681 |
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 |
1682 |
echo "configure:1677: checking for __gmpz_init in -lgmp" >&5 |
echo "configure:1683: checking for __gmpz_init in -lgmp" >&5 |
1683 |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
1684 |
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 |
1685 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1687 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1688 |
LIBS="-lgmp $LIBS" |
LIBS="-lgmp $LIBS" |
1689 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1690 |
#line 1685 "configure" |
#line 1691 "configure" |
1691 |
#include "confdefs.h" |
#include "confdefs.h" |
1692 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1693 |
/* 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 |
1698 |
__gmpz_init() |
__gmpz_init() |
1699 |
; return 0; } |
; return 0; } |
1700 |
EOF |
EOF |
1701 |
if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1702 |
rm -rf conftest* |
rm -rf conftest* |
1703 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1704 |
else |
else |
1714 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1715 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1716 |
echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6 |
echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6 |
1717 |
echo "configure:1712: checking "for external gmp version"" >&5 |
echo "configure:1718: checking "for external gmp version"" >&5 |
1718 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1719 |
echo "Cannot use dynamic gmp lib" |
echo "Cannot use dynamic gmp lib" |
1720 |
else |
else |
1721 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1722 |
#line 1717 "configure" |
#line 1723 "configure" |
1723 |
#include "confdefs.h" |
#include "confdefs.h" |
1724 |
#include <gmp.h> |
#include <gmp.h> |
1725 |
int main() { |
int main() { |
1730 |
#endif |
#endif |
1731 |
} |
} |
1732 |
EOF |
EOF |
1733 |
if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1734 |
then |
then |
1735 |
MPFILES=$GMPDIR/mpn/mul_n.o |
MPFILES=$GMPDIR/mpn/mul_n.o |
1736 |
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
1773 |
fi |
fi |
1774 |
|
|
1775 |
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 |
1776 |
echo "configure:1771: checking "for size of gmp limbs"" >&5 |
echo "configure:1777: checking "for size of gmp limbs"" >&5 |
1777 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1778 |
mpsize=0 |
mpsize=0 |
1779 |
else |
else |
1780 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1781 |
#line 1776 "configure" |
#line 1782 "configure" |
1782 |
#include "confdefs.h" |
#include "confdefs.h" |
1783 |
#include <stdio.h> |
#include <stdio.h> |
1784 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1789 |
return 0; |
return 0; |
1790 |
} |
} |
1791 |
EOF |
EOF |
1792 |
if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1793 |
then |
then |
1794 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1795 |
else |
else |
1812 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$ac_t""$mpsize" 1>&6 |
1813 |
|
|
1814 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
1815 |
echo "configure:1810: checking "_SHORT_LIMB"" >&5 |
echo "configure:1816: checking "_SHORT_LIMB"" >&5 |
1816 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1817 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1818 |
else |
else |
1819 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1820 |
#line 1815 "configure" |
#line 1821 "configure" |
1821 |
#include "confdefs.h" |
#include "confdefs.h" |
1822 |
#include <stdio.h> |
#include <stdio.h> |
1823 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1829 |
#endif |
#endif |
1830 |
} |
} |
1831 |
EOF |
EOF |
1832 |
if { (eval echo configure:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1833 |
then |
then |
1834 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1835 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
1845 |
fi |
fi |
1846 |
|
|
1847 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
1848 |
echo "configure:1843: checking "_LONG_LONG_LIMB"" >&5 |
echo "configure:1849: checking "_LONG_LONG_LIMB"" >&5 |
1849 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1850 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1851 |
else |
else |
1852 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1853 |
#line 1848 "configure" |
#line 1854 "configure" |
1854 |
#include "confdefs.h" |
#include "confdefs.h" |
1855 |
#include <stdio.h> |
#include <stdio.h> |
1856 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1862 |
#endif |
#endif |
1863 |
} |
} |
1864 |
EOF |
EOF |
1865 |
if { (eval echo configure:1860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1866 |
then |
then |
1867 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1868 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
1901 |
# 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. |
1902 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
1903 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1904 |
echo "configure:1899: checking for X" >&5 |
echo "configure:1905: checking for X" >&5 |
1905 |
|
|
1906 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
1907 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
1963 |
|
|
1964 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
1965 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1966 |
#line 1961 "configure" |
#line 1967 "configure" |
1967 |
#include "confdefs.h" |
#include "confdefs.h" |
1968 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
1969 |
EOF |
EOF |
1970 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1971 |
{ (eval echo configure:1966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1972 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1973 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1974 |
rm -rf conftest* |
rm -rf conftest* |
2037 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2038 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
2039 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2040 |
#line 2035 "configure" |
#line 2041 "configure" |
2041 |
#include "confdefs.h" |
#include "confdefs.h" |
2042 |
|
|
2043 |
int main() { |
int main() { |
2044 |
${x_direct_test_function}() |
${x_direct_test_function}() |
2045 |
; return 0; } |
; return 0; } |
2046 |
EOF |
EOF |
2047 |
if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2048 |
rm -rf conftest* |
rm -rf conftest* |
2049 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
2050 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
2150 |
case "`(uname -sr) 2>/dev/null`" in |
case "`(uname -sr) 2>/dev/null`" in |
2151 |
"SunOS 5"*) |
"SunOS 5"*) |
2152 |
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 |
2153 |
echo "configure:2148: checking whether -R must be followed by a space" >&5 |
echo "configure:2154: checking whether -R must be followed by a space" >&5 |
2154 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
2155 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2156 |
#line 2151 "configure" |
#line 2157 "configure" |
2157 |
#include "confdefs.h" |
#include "confdefs.h" |
2158 |
|
|
2159 |
int main() { |
int main() { |
2160 |
|
|
2161 |
; return 0; } |
; return 0; } |
2162 |
EOF |
EOF |
2163 |
if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2164 |
rm -rf conftest* |
rm -rf conftest* |
2165 |
ac_R_nospace=yes |
ac_R_nospace=yes |
2166 |
else |
else |
2176 |
else |
else |
2177 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
2178 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2179 |
#line 2174 "configure" |
#line 2180 "configure" |
2180 |
#include "confdefs.h" |
#include "confdefs.h" |
2181 |
|
|
2182 |
int main() { |
int main() { |
2183 |
|
|
2184 |
; return 0; } |
; return 0; } |
2185 |
EOF |
EOF |
2186 |
if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2187 |
rm -rf conftest* |
rm -rf conftest* |
2188 |
ac_R_space=yes |
ac_R_space=yes |
2189 |
else |
else |
2215 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
2216 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
2217 |
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 |
2218 |
echo "configure:2213: checking for dnet_ntoa in -ldnet" >&5 |
echo "configure:2219: checking for dnet_ntoa in -ldnet" >&5 |
2219 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2220 |
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 |
2221 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2223 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2224 |
LIBS="-ldnet $LIBS" |
LIBS="-ldnet $LIBS" |
2225 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2226 |
#line 2221 "configure" |
#line 2227 "configure" |
2227 |
#include "confdefs.h" |
#include "confdefs.h" |
2228 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2229 |
/* 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 |
2234 |
dnet_ntoa() |
dnet_ntoa() |
2235 |
; return 0; } |
; return 0; } |
2236 |
EOF |
EOF |
2237 |
if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2238 |
rm -rf conftest* |
rm -rf conftest* |
2239 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2240 |
else |
else |
2256 |
|
|
2257 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2258 |
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 |
2259 |
echo "configure:2254: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "configure:2260: checking for dnet_ntoa in -ldnet_stub" >&5 |
2260 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2261 |
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 |
2262 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2264 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2265 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
2266 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2267 |
#line 2262 "configure" |
#line 2268 "configure" |
2268 |
#include "confdefs.h" |
#include "confdefs.h" |
2269 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2270 |
/* 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 |
2275 |
dnet_ntoa() |
dnet_ntoa() |
2276 |
; return 0; } |
; return 0; } |
2277 |
EOF |
EOF |
2278 |
if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2279 |
rm -rf conftest* |
rm -rf conftest* |
2280 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2281 |
else |
else |
2304 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
2305 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to dickey@clark.net. |
2306 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2307 |
echo "configure:2302: checking for gethostbyname" >&5 |
echo "configure:2308: checking for gethostbyname" >&5 |
2308 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2309 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2310 |
else |
else |
2311 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2312 |
#line 2307 "configure" |
#line 2313 "configure" |
2313 |
#include "confdefs.h" |
#include "confdefs.h" |
2314 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2315 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2332 |
|
|
2333 |
; return 0; } |
; return 0; } |
2334 |
EOF |
EOF |
2335 |
if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2336 |
rm -rf conftest* |
rm -rf conftest* |
2337 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2338 |
else |
else |
2353 |
|
|
2354 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
2355 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2356 |
echo "configure:2351: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2357: checking for gethostbyname in -lnsl" >&5 |
2357 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2358 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2359 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2361 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2362 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2363 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2364 |
#line 2359 "configure" |
#line 2365 "configure" |
2365 |
#include "confdefs.h" |
#include "confdefs.h" |
2366 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2367 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
2372 |
gethostbyname() |
gethostbyname() |
2373 |
; return 0; } |
; return 0; } |
2374 |
EOF |
EOF |
2375 |
if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2376 |
rm -rf conftest* |
rm -rf conftest* |
2377 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2378 |
else |
else |
2402 |
# -lsocket must be given before -lnsl if both are needed. |
# -lsocket must be given before -lnsl if both are needed. |
2403 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# We assume that if connect needs -lnsl, so does gethostbyname. |
2404 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2405 |
echo "configure:2400: checking for connect" >&5 |
echo "configure:2406: checking for connect" >&5 |
2406 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2407 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2408 |
else |
else |
2409 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2410 |
#line 2405 "configure" |
#line 2411 "configure" |
2411 |
#include "confdefs.h" |
#include "confdefs.h" |
2412 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2413 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2430 |
|
|
2431 |
; return 0; } |
; return 0; } |
2432 |
EOF |
EOF |
2433 |
if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2434 |
rm -rf conftest* |
rm -rf conftest* |
2435 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2436 |
else |
else |
2451 |
|
|
2452 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
2453 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
2454 |
echo "configure:2449: checking for connect in -lsocket" >&5 |
echo "configure:2455: checking for connect in -lsocket" >&5 |
2455 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
2456 |
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 |
2457 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2459 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2460 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
2461 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2462 |
#line 2457 "configure" |
#line 2463 "configure" |
2463 |
#include "confdefs.h" |
#include "confdefs.h" |
2464 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2465 |
/* 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 |
2470 |
connect() |
connect() |
2471 |
; return 0; } |
; return 0; } |
2472 |
EOF |
EOF |
2473 |
if { (eval echo configure:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2474 |
rm -rf conftest* |
rm -rf conftest* |
2475 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2476 |
else |
else |
2494 |
|
|
2495 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
2496 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
2497 |
echo "configure:2492: checking for remove" >&5 |
echo "configure:2498: checking for remove" >&5 |
2498 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
2499 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2500 |
else |
else |
2501 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2502 |
#line 2497 "configure" |
#line 2503 "configure" |
2503 |
#include "confdefs.h" |
#include "confdefs.h" |
2504 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2505 |
which can conflict with char remove(); below. */ |
which can conflict with char remove(); below. */ |
2522 |
|
|
2523 |
; return 0; } |
; return 0; } |
2524 |
EOF |
EOF |
2525 |
if { (eval echo configure:2520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2526 |
rm -rf conftest* |
rm -rf conftest* |
2527 |
eval "ac_cv_func_remove=yes" |
eval "ac_cv_func_remove=yes" |
2528 |
else |
else |
2543 |
|
|
2544 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
2545 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
2546 |
echo "configure:2541: checking for remove in -lposix" >&5 |
echo "configure:2547: checking for remove in -lposix" >&5 |
2547 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
2548 |
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 |
2549 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2551 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2552 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
2553 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2554 |
#line 2549 "configure" |
#line 2555 "configure" |
2555 |
#include "confdefs.h" |
#include "confdefs.h" |
2556 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2557 |
/* 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 |
2562 |
remove() |
remove() |
2563 |
; return 0; } |
; return 0; } |
2564 |
EOF |
EOF |
2565 |
if { (eval echo configure:2560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2566 |
rm -rf conftest* |
rm -rf conftest* |
2567 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2568 |
else |
else |
2586 |
|
|
2587 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
2588 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
2589 |
echo "configure:2584: checking for shmat" >&5 |
echo "configure:2590: checking for shmat" >&5 |
2590 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
2591 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2592 |
else |
else |
2593 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2594 |
#line 2589 "configure" |
#line 2595 "configure" |
2595 |
#include "confdefs.h" |
#include "confdefs.h" |
2596 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2597 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat(); below. */ |
2614 |
|
|
2615 |
; return 0; } |
; return 0; } |
2616 |
EOF |
EOF |
2617 |
if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2618 |
rm -rf conftest* |
rm -rf conftest* |
2619 |
eval "ac_cv_func_shmat=yes" |
eval "ac_cv_func_shmat=yes" |
2620 |
else |
else |
2635 |
|
|
2636 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
2637 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
2638 |
echo "configure:2633: checking for shmat in -lipc" >&5 |
echo "configure:2639: checking for shmat in -lipc" >&5 |
2639 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
2640 |
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 |
2641 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2643 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2644 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
2645 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2646 |
#line 2641 "configure" |
#line 2647 "configure" |
2647 |
#include "confdefs.h" |
#include "confdefs.h" |
2648 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2649 |
/* 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 |
2654 |
shmat() |
shmat() |
2655 |
; return 0; } |
; return 0; } |
2656 |
EOF |
EOF |
2657 |
if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2658 |
rm -rf conftest* |
rm -rf conftest* |
2659 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2660 |
else |
else |
2687 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
2688 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
2689 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
2690 |
echo "configure:2685: checking for IceConnectionNumber in -lICE" >&5 |
echo "configure:2691: checking for IceConnectionNumber in -lICE" >&5 |
2691 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
2692 |
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 |
2693 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2695 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2696 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
2697 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2698 |
#line 2693 "configure" |
#line 2699 "configure" |
2699 |
#include "confdefs.h" |
#include "confdefs.h" |
2700 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2701 |
/* 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 |
2706 |
IceConnectionNumber() |
IceConnectionNumber() |
2707 |
; return 0; } |
; return 0; } |
2708 |
EOF |
EOF |
2709 |
if { (eval echo configure:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2710 |
rm -rf conftest* |
rm -rf conftest* |
2711 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2712 |
else |
else |
2737 |
|
|
2738 |
miss=0 |
miss=0 |
2739 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
2740 |
echo "configure:2735: checking for main in -lXmu" >&5 |
echo "configure:2741: checking for main in -lXmu" >&5 |
2741 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
2742 |
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 |
2743 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2745 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2746 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
2747 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2748 |
#line 2743 "configure" |
#line 2749 "configure" |
2749 |
#include "confdefs.h" |
#include "confdefs.h" |
2750 |
|
|
2751 |
int main() { |
int main() { |
2752 |
main() |
main() |
2753 |
; return 0; } |
; return 0; } |
2754 |
EOF |
EOF |
2755 |
if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2756 |
rm -rf conftest* |
rm -rf conftest* |
2757 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2758 |
else |
else |
2774 |
fi |
fi |
2775 |
|
|
2776 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
2777 |
echo "configure:2772: checking for main in -lXt" >&5 |
echo "configure:2778: checking for main in -lXt" >&5 |
2778 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
2779 |
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 |
2780 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2782 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2783 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
2784 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2785 |
#line 2780 "configure" |
#line 2786 "configure" |
2786 |
#include "confdefs.h" |
#include "confdefs.h" |
2787 |
|
|
2788 |
int main() { |
int main() { |
2789 |
main() |
main() |
2790 |
; return 0; } |
; return 0; } |
2791 |
EOF |
EOF |
2792 |
if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2793 |
rm -rf conftest* |
rm -rf conftest* |
2794 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2795 |
else |
else |
2811 |
fi |
fi |
2812 |
|
|
2813 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
2814 |
echo "configure:2809: checking for main in -lXext" >&5 |
echo "configure:2815: checking for main in -lXext" >&5 |
2815 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
2816 |
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 |
2817 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2819 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2820 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
2821 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2822 |
#line 2817 "configure" |
#line 2823 "configure" |
2823 |
#include "confdefs.h" |
#include "confdefs.h" |
2824 |
|
|
2825 |
int main() { |
int main() { |
2826 |
main() |
main() |
2827 |
; return 0; } |
; return 0; } |
2828 |
EOF |
EOF |
2829 |
if { (eval echo configure:2824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2830 |
rm -rf conftest* |
rm -rf conftest* |
2831 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2832 |
else |
else |
2848 |
fi |
fi |
2849 |
|
|
2850 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
2851 |
echo "configure:2846: checking for main in -lXaw" >&5 |
echo "configure:2852: checking for main in -lXaw" >&5 |
2852 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
2853 |
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 |
2854 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2856 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2857 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
2858 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2859 |
#line 2854 "configure" |
#line 2860 "configure" |
2860 |
#include "confdefs.h" |
#include "confdefs.h" |
2861 |
|
|
2862 |
int main() { |
int main() { |
2863 |
main() |
main() |
2864 |
; return 0; } |
; return 0; } |
2865 |
EOF |
EOF |
2866 |
if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2867 |
rm -rf conftest* |
rm -rf conftest* |
2868 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2869 |
else |
else |
2885 |
fi |
fi |
2886 |
|
|
2887 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
2888 |
echo "configure:2883: checking for main in -lX11" >&5 |
echo "configure:2889: checking for main in -lX11" >&5 |
2889 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
2890 |
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 |
2891 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2893 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2894 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
2895 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2896 |
#line 2891 "configure" |
#line 2897 "configure" |
2897 |
#include "confdefs.h" |
#include "confdefs.h" |
2898 |
|
|
2899 |
int main() { |
int main() { |
2900 |
main() |
main() |
2901 |
; return 0; } |
; return 0; } |
2902 |
EOF |
EOF |
2903 |
if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2904 |
rm -rf conftest* |
rm -rf conftest* |
2905 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2906 |
else |
else |
2939 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
2940 |
|
|
2941 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2942 |
echo "configure:2937: checking for dlopen in -ldl" >&5 |
echo "configure:2943: checking for dlopen in -ldl" >&5 |
2943 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2944 |
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 |
2945 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2947 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2948 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2949 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2950 |
#line 2945 "configure" |
#line 2951 "configure" |
2951 |
#include "confdefs.h" |
#include "confdefs.h" |
2952 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2953 |
/* 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 |
2958 |
dlopen() |
dlopen() |
2959 |
; return 0; } |
; return 0; } |
2960 |
EOF |
EOF |
2961 |
if { (eval echo configure:2956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2962 |
rm -rf conftest* |
rm -rf conftest* |
2963 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2964 |
else |
else |
2994 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
2995 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2996 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2997 |
echo "configure:2992: checking for bfd.h" >&5 |
echo "configure:2998: checking for bfd.h" >&5 |
2998 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2999 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3000 |
else |
else |
3001 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3002 |
#line 2997 "configure" |
#line 3003 "configure" |
3003 |
#include "confdefs.h" |
#include "confdefs.h" |
3004 |
#include <bfd.h> |
#include <bfd.h> |
3005 |
EOF |
EOF |
3006 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3007 |
{ (eval echo configure:3002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3008 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3009 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3010 |
rm -rf conftest* |
rm -rf conftest* |
3021 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
3022 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3023 |
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 |
3024 |
echo "configure:3019: checking for bfd_init in -lbfd" >&5 |
echo "configure:3025: checking for bfd_init in -lbfd" >&5 |
3025 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
3026 |
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 |
3027 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3029 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3030 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
3031 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3032 |
#line 3027 "configure" |
#line 3033 "configure" |
3033 |
#include "confdefs.h" |
#include "confdefs.h" |
3034 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3035 |
/* 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 |
3040 |
bfd_init() |
bfd_init() |
3041 |
; return 0; } |
; return 0; } |
3042 |
EOF |
EOF |
3043 |
if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3044 |
rm -rf conftest* |
rm -rf conftest* |
3045 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3046 |
else |
else |
3059 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
3060 |
# |
# |
3061 |
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 |
3062 |
echo "configure:3057: checking if need to define CONST for bfd" >&5 |
echo "configure:3063: checking if need to define CONST for bfd" >&5 |
3063 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3064 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
3065 |
else |
else |
3066 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3067 |
#line 3062 "configure" |
#line 3068 "configure" |
3068 |
#include "confdefs.h" |
#include "confdefs.h" |
3069 |
#define IN_GCC |
#define IN_GCC |
3070 |
#include <bfd.h> |
#include <bfd.h> |
3071 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
3072 |
EOF |
EOF |
3073 |
if { (eval echo configure:3068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3074 |
then |
then |
3075 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3076 |
else |
else |
3081 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
3082 |
else |
else |
3083 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3084 |
#line 3079 "configure" |
#line 3085 "configure" |
3085 |
#include "confdefs.h" |
#include "confdefs.h" |
3086 |
#define CONST const |
#define CONST const |
3087 |
#define IN_GCC |
#define IN_GCC |
3088 |
#include <bfd.h> |
#include <bfd.h> |
3089 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
3090 |
EOF |
EOF |
3091 |
if { (eval echo configure:3086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3092 |
then |
then |
3093 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3094 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3128 |
# |
# |
3129 |
|
|
3130 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
3131 |
echo "configure:3126: checking for useable bfd_boolean" >&5 |
echo "configure:3132: checking for useable bfd_boolean" >&5 |
3132 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3133 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3134 |
else |
else |
3135 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3136 |
#line 3131 "configure" |
#line 3137 "configure" |
3137 |
#include "confdefs.h" |
#include "confdefs.h" |
3138 |
#define IN_GCC |
#define IN_GCC |
3139 |
#include <bfd.h> |
#include <bfd.h> |
3140 |
bfd_boolean foo() {return FALSE;} |
bfd_boolean foo() {return FALSE;} |
3141 |
int main() {return 0;} |
int main() {return 0;} |
3142 |
EOF |
EOF |
3143 |
if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3144 |
then |
then |
3145 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3146 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3227 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
3228 |
|
|
3229 |
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3230 |
echo "configure:3225: checking size of long" >&5 |
echo "configure:3231: checking size of long" >&5 |
3231 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
3232 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3233 |
else |
else |
3235 |
ac_cv_sizeof_long=0 |
ac_cv_sizeof_long=0 |
3236 |
else |
else |
3237 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3238 |
#line 3233 "configure" |
#line 3239 "configure" |
3239 |
#include "confdefs.h" |
#include "confdefs.h" |
3240 |
#include <stdio.h> |
#include <stdio.h> |
3241 |
#include <sys/types.h> |
#include <sys/types.h> |
3247 |
exit(0); |
exit(0); |
3248 |
} |
} |
3249 |
EOF |
EOF |
3250 |
if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3251 |
then |
then |
3252 |
ac_cv_sizeof_long=`cat conftestval` |
ac_cv_sizeof_long=`cat conftestval` |
3253 |
else |
else |
3267 |
|
|
3268 |
|
|
3269 |
echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6 |
echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6 |
3270 |
echo "configure:3265: checking sizeof struct contblock" >&5 |
echo "configure:3271: checking sizeof struct contblock" >&5 |
3271 |
|
|
3272 |
# work around MSYS pwd result incompatibility |
# work around MSYS pwd result incompatibility |
3273 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
3275 |
echo Cannot find sizeof struct contblock;exit 1 |
echo Cannot find sizeof struct contblock;exit 1 |
3276 |
else |
else |
3277 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3278 |
#line 3273 "configure" |
#line 3279 "configure" |
3279 |
#include "confdefs.h" |
#include "confdefs.h" |
3280 |
#include <stdio.h> |
#include <stdio.h> |
3281 |
#define EXTER |
#define EXTER |
3289 |
return 0; |
return 0; |
3290 |
} |
} |
3291 |
EOF |
EOF |
3292 |
if { (eval echo configure:3287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3293 |
then |
then |
3294 |
sizeof_contblock=`cat conftest1` |
sizeof_contblock=`cat conftest1` |
3295 |
else |
else |
3306 |
echo Cannot find sizeof struct contblock;exit 1 |
echo Cannot find sizeof struct contblock;exit 1 |
3307 |
else |
else |
3308 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3309 |
#line 3304 "configure" |
#line 3310 "configure" |
3310 |
#include "confdefs.h" |
#include "confdefs.h" |
3311 |
#include <stdio.h> |
#include <stdio.h> |
3312 |
#define EXTER |
#define EXTER |
3320 |
return 0; |
return 0; |
3321 |
} |
} |
3322 |
EOF |
EOF |
3323 |
if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3324 |
then |
then |
3325 |
sizeof_contblock=`cat conftest1` |
sizeof_contblock=`cat conftest1` |
3326 |
else |
else |
3345 |
do |
do |
3346 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3347 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3348 |
echo "configure:3343: checking for $ac_hdr" >&5 |
echo "configure:3349: checking for $ac_hdr" >&5 |
3349 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3350 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3351 |
else |
else |
3352 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3353 |
#line 3348 "configure" |
#line 3354 "configure" |
3354 |
#include "confdefs.h" |
#include "confdefs.h" |
3355 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3356 |
EOF |
EOF |
3357 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3358 |
{ (eval echo configure:3353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3359 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3360 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3361 |
rm -rf conftest* |
rm -rf conftest* |
3376 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
3377 |
EOF |
EOF |
3378 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
3379 |
echo "configure:3374: checking "endianness"" >&5 |
echo "configure:3380: checking "endianness"" >&5 |
3380 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3381 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
3382 |
else |
else |
3383 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3384 |
#line 3379 "configure" |
#line 3385 "configure" |
3385 |
#include "confdefs.h" |
#include "confdefs.h" |
3386 |
#define __ARMEB__ |
#define __ARMEB__ |
3387 |
#include <endian.h> |
#include <endian.h> |
3388 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
3389 |
EOF |
EOF |
3390 |
if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3391 |
then |
then |
3392 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3393 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
3410 |
|
|
3411 |
|
|
3412 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
3413 |
echo "configure:3408: checking "finding DBEGIN"" >&5 |
echo "configure:3414: checking "finding DBEGIN"" >&5 |
3414 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3415 |
dbegin=0 |
dbegin=0 |
3416 |
else |
else |
3417 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3418 |
#line 3413 "configure" |
#line 3419 "configure" |
3419 |
#include "confdefs.h" |
#include "confdefs.h" |
3420 |
#include <stdio.h> |
#include <stdio.h> |
3421 |
#include <stdlib.h> |
#include <stdlib.h> |
3432 |
return 0; |
return 0; |
3433 |
} |
} |
3434 |
EOF |
EOF |
3435 |
if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3436 |
then |
then |
3437 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
3438 |
else |
else |
3454 |
|
|
3455 |
|
|
3456 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
3457 |
echo "configure:3452: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:3458: checking "finding CSTACK_ADDRESS"" >&5 |
3458 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3459 |
cstack_address=0 |
cstack_address=0 |
3460 |
else |
else |
3461 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3462 |
#line 3457 "configure" |
#line 3463 "configure" |
3463 |
#include "confdefs.h" |
#include "confdefs.h" |
3464 |
#include <stdio.h> |
#include <stdio.h> |
3465 |
main() |
main() |
3471 |
return 0; |
return 0; |
3472 |
} |
} |
3473 |
EOF |
EOF |
3474 |
if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3475 |
then |
then |
3476 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
3477 |
else |
else |
3493 |
|
|
3494 |
|
|
3495 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
3496 |
echo "configure:3491: checking "sizeof long long int"" >&5 |
echo "configure:3497: checking "sizeof long long int"" >&5 |
3497 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3498 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3499 |
|
|
3500 |
else |
else |
3501 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3502 |
#line 3497 "configure" |
#line 3503 "configure" |
3503 |
#include "confdefs.h" |
#include "confdefs.h" |
3504 |
#include <stdio.h> |
#include <stdio.h> |
3505 |
main() |
main() |
3509 |
} |
} |
3510 |
|
|
3511 |
EOF |
EOF |
3512 |
if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3513 |
then |
then |
3514 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3515 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
3564 |
|
|
3565 |
# pagewidth |
# pagewidth |
3566 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
3567 |
echo "configure:3562: checking for pagewidth" >&5 |
echo "configure:3568: checking for pagewidth" >&5 |
3568 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3569 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
3570 |
else |
else |
3571 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3572 |
#line 3567 "configure" |
#line 3573 "configure" |
3573 |
#include "confdefs.h" |
#include "confdefs.h" |
3574 |
#include <stdio.h> |
#include <stdio.h> |
3575 |
#include <unistd.h> |
#include <unistd.h> |
3579 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
3580 |
return 0;} |
return 0;} |
3581 |
EOF |
EOF |
3582 |
if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3583 |
then |
then |
3584 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
3585 |
else |
else |
3606 |
for ac_func in getcwd |
for ac_func in getcwd |
3607 |
do |
do |
3608 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3609 |
echo "configure:3604: checking for $ac_func" >&5 |
echo "configure:3610: checking for $ac_func" >&5 |
3610 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3611 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3612 |
else |
else |
3613 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3614 |
#line 3609 "configure" |
#line 3615 "configure" |
3615 |
#include "confdefs.h" |
#include "confdefs.h" |
3616 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3617 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3634 |
|
|
3635 |
; return 0; } |
; return 0; } |
3636 |
EOF |
EOF |
3637 |
if { (eval echo configure:3632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3638 |
rm -rf conftest* |
rm -rf conftest* |
3639 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3640 |
else |
else |
3661 |
for ac_func in getwd |
for ac_func in getwd |
3662 |
do |
do |
3663 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3664 |
echo "configure:3659: checking for $ac_func" >&5 |
echo "configure:3665: checking for $ac_func" >&5 |
3665 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3666 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3667 |
else |
else |
3668 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3669 |
#line 3664 "configure" |
#line 3670 "configure" |
3670 |
#include "confdefs.h" |
#include "confdefs.h" |
3671 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3672 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3689 |
|
|
3690 |
; return 0; } |
; return 0; } |
3691 |
EOF |
EOF |
3692 |
if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3693 |
rm -rf conftest* |
rm -rf conftest* |
3694 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3695 |
else |
else |
3714 |
done |
done |
3715 |
|
|
3716 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
3717 |
echo "configure:3712: checking for uname" >&5 |
echo "configure:3718: checking for uname" >&5 |
3718 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
3719 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3720 |
else |
else |
3721 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3722 |
#line 3717 "configure" |
#line 3723 "configure" |
3723 |
#include "confdefs.h" |
#include "confdefs.h" |
3724 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3725 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
3742 |
|
|
3743 |
; return 0; } |
; return 0; } |
3744 |
EOF |
EOF |
3745 |
if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3746 |
rm -rf conftest* |
rm -rf conftest* |
3747 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
3748 |
else |
else |
3766 |
fi |
fi |
3767 |
|
|
3768 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3769 |
echo "configure:3764: checking for gettimeofday" >&5 |
echo "configure:3770: checking for gettimeofday" >&5 |
3770 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3771 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3772 |
else |
else |
3773 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3774 |
#line 3769 "configure" |
#line 3775 "configure" |
3775 |
#include "confdefs.h" |
#include "confdefs.h" |
3776 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3777 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3794 |
|
|
3795 |
; return 0; } |
; return 0; } |
3796 |
EOF |
EOF |
3797 |
if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3798 |
rm -rf conftest* |
rm -rf conftest* |
3799 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3800 |
else |
else |
3823 |
do |
do |
3824 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3825 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3826 |
echo "configure:3821: checking for $ac_hdr" >&5 |
echo "configure:3827: checking for $ac_hdr" >&5 |
3827 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3828 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3829 |
else |
else |
3830 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3831 |
#line 3826 "configure" |
#line 3832 "configure" |
3832 |
#include "confdefs.h" |
#include "confdefs.h" |
3833 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3834 |
EOF |
EOF |
3835 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3836 |
{ (eval echo configure:3831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3837 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3838 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3839 |
rm -rf conftest* |
rm -rf conftest* |
3873 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3874 |
|
|
3875 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
3876 |
echo "configure:3871: checking for BSDgettimeofday" >&5 |
echo "configure:3877: checking for BSDgettimeofday" >&5 |
3877 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+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 3876 "configure" |
#line 3882 "configure" |
3882 |
#include "confdefs.h" |
#include "confdefs.h" |
3883 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3884 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
3901 |
|
|
3902 |
; return 0; } |
; return 0; } |
3903 |
EOF |
EOF |
3904 |
if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3905 |
rm -rf conftest* |
rm -rf conftest* |
3906 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
3907 |
else |
else |
3922 |
else |
else |
3923 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3924 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3925 |
echo "configure:3920: checking for gettimeofday" >&5 |
echo "configure:3926: checking for gettimeofday" >&5 |
3926 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3927 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3928 |
else |
else |
3929 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3930 |
#line 3925 "configure" |
#line 3931 "configure" |
3931 |
#include "confdefs.h" |
#include "confdefs.h" |
3932 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3933 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3950 |
|
|
3951 |
; return 0; } |
; return 0; } |
3952 |
EOF |
EOF |
3953 |
if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3954 |
rm -rf conftest* |
rm -rf conftest* |
3955 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3956 |
else |
else |
3977 |
|
|
3978 |
|
|
3979 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
3980 |
echo "configure:3975: checking for gettimeofday declaration" >&5 |
echo "configure:3981: checking for gettimeofday declaration" >&5 |
3981 |
|
|
3982 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3983 |
#line 3978 "configure" |
#line 3984 "configure" |
3984 |
#include "confdefs.h" |
#include "confdefs.h" |
3985 |
#include <sys/time.h> |
#include <sys/time.h> |
3986 |
EOF |
EOF |
4001 |
|
|
4002 |
|
|
4003 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4004 |
echo "configure:3999: checking for sin in -lm" >&5 |
echo "configure:4005: checking for sin in -lm" >&5 |
4005 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4006 |
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 |
4007 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4009 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4010 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
4011 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4012 |
#line 4007 "configure" |
#line 4013 "configure" |
4013 |
#include "confdefs.h" |
#include "confdefs.h" |
4014 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4015 |
/* 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 |
4020 |
sin() |
sin() |
4021 |
; return 0; } |
; return 0; } |
4022 |
EOF |
EOF |
4023 |
if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4024 |
rm -rf conftest* |
rm -rf conftest* |
4025 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4026 |
else |
else |
4042 |
fi |
fi |
4043 |
|
|
4044 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
4045 |
echo "configure:4040: checking for main in -lmingwex" >&5 |
echo "configure:4046: checking for main in -lmingwex" >&5 |
4046 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
4047 |
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 |
4048 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4050 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4051 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
4052 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4053 |
#line 4048 "configure" |
#line 4054 "configure" |
4054 |
#include "confdefs.h" |
#include "confdefs.h" |
4055 |
|
|
4056 |
int main() { |
int main() { |
4057 |
main() |
main() |
4058 |
; return 0; } |
; return 0; } |
4059 |
EOF |
EOF |
4060 |
if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4061 |
rm -rf conftest* |
rm -rf conftest* |
4062 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4063 |
else |
else |
4085 |
do |
do |
4086 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4087 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4088 |
echo "configure:4083: checking for $ac_hdr" >&5 |
echo "configure:4089: checking for $ac_hdr" >&5 |
4089 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4090 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4091 |
else |
else |
4092 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4093 |
#line 4088 "configure" |
#line 4094 "configure" |
4094 |
#include "confdefs.h" |
#include "confdefs.h" |
4095 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4096 |
EOF |
EOF |
4097 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4098 |
{ (eval echo configure:4093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4099 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4100 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4101 |
rm -rf conftest* |
rm -rf conftest* |
4133 |
do |
do |
4134 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4135 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4136 |
echo "configure:4131: checking for $ac_hdr" >&5 |
echo "configure:4137: checking for $ac_hdr" >&5 |
4137 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4138 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4139 |
else |
else |
4140 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4141 |
#line 4136 "configure" |
#line 4142 "configure" |
4142 |
#include "confdefs.h" |
#include "confdefs.h" |
4143 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4144 |
EOF |
EOF |
4145 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4146 |
{ (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4147 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4148 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4149 |
rm -rf conftest* |
rm -rf conftest* |
4180 |
do |
do |
4181 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4182 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4183 |
echo "configure:4178: checking for $ac_hdr" >&5 |
echo "configure:4184: checking for $ac_hdr" >&5 |
4184 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4185 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4186 |
else |
else |
4187 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4188 |
#line 4183 "configure" |
#line 4189 "configure" |
4189 |
#include "confdefs.h" |
#include "confdefs.h" |
4190 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4191 |
EOF |
EOF |
4192 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4193 |
{ (eval echo configure:4188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4194 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4195 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4196 |
rm -rf conftest* |
rm -rf conftest* |
4230 |
do |
do |
4231 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4232 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4233 |
echo "configure:4228: checking for $ac_hdr" >&5 |
echo "configure:4234: checking for $ac_hdr" >&5 |
4234 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4235 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4236 |
else |
else |
4237 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4238 |
#line 4233 "configure" |
#line 4239 "configure" |
4239 |
#include "confdefs.h" |
#include "confdefs.h" |
4240 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4241 |
EOF |
EOF |
4242 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4243 |
{ (eval echo configure:4238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4244 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4245 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4246 |
rm -rf conftest* |
rm -rf conftest* |
4277 |
do |
do |
4278 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4279 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4280 |
echo "configure:4275: checking for $ac_hdr" >&5 |
echo "configure:4281: checking for $ac_hdr" >&5 |
4281 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4282 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4283 |
else |
else |
4284 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4285 |
#line 4280 "configure" |
#line 4286 "configure" |
4286 |
#include "confdefs.h" |
#include "confdefs.h" |
4287 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4288 |
EOF |
EOF |
4289 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4290 |
{ (eval echo configure:4285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4291 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4292 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4293 |
rm -rf conftest* |
rm -rf conftest* |
4324 |
do |
do |
4325 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4326 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4327 |
echo "configure:4322: checking for $ac_hdr" >&5 |
echo "configure:4328: checking for $ac_hdr" >&5 |
4328 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4329 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4330 |
else |
else |
4331 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4332 |
#line 4327 "configure" |
#line 4333 "configure" |
4333 |
#include "confdefs.h" |
#include "confdefs.h" |
4334 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4335 |
EOF |
EOF |
4336 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4337 |
{ (eval echo configure:4332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4338 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4339 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4340 |
rm -rf conftest* |
rm -rf conftest* |
4370 |
# test makes sense. CM |
# test makes sense. CM |
4371 |
# |
# |
4372 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
4373 |
echo "configure:4368: checking for isnormal" >&5 |
echo "configure:4374: checking for isnormal" >&5 |
4374 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4375 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
4376 |
else |
else |
4377 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4378 |
#line 4373 "configure" |
#line 4379 "configure" |
4379 |
#include "confdefs.h" |
#include "confdefs.h" |
4380 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4381 |
#include <math.h> |
#include <math.h> |
4384 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
4385 |
} |
} |
4386 |
EOF |
EOF |
4387 |
if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4388 |
then |
then |
4389 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4390 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
4395 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4396 |
rm -fr conftest* |
rm -fr conftest* |
4397 |
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 |
4398 |
echo "configure:4393: checking for fpclass in ieeefp.h" >&5 |
echo "configure:4399: checking for fpclass in ieeefp.h" >&5 |
4399 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4400 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
4401 |
else |
else |
4402 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4403 |
#line 4398 "configure" |
#line 4404 "configure" |
4404 |
#include "confdefs.h" |
#include "confdefs.h" |
4405 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4406 |
int main() { |
int main() { |
4408 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
4409 |
} |
} |
4410 |
EOF |
EOF |
4411 |
if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4412 |
then |
then |
4413 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4414 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
4430 |
|
|
4431 |
|
|
4432 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
4433 |
echo "configure:4428: checking for isfinite" >&5 |
echo "configure:4434: checking for isfinite" >&5 |
4434 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4435 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
4436 |
else |
else |
4437 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4438 |
#line 4433 "configure" |
#line 4439 "configure" |
4439 |
#include "confdefs.h" |
#include "confdefs.h" |
4440 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4441 |
#include <math.h> |
#include <math.h> |
4444 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
4445 |
} |
} |
4446 |
EOF |
EOF |
4447 |
if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4448 |
then |
then |
4449 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4450 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
4455 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4456 |
rm -fr conftest* |
rm -fr conftest* |
4457 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
4458 |
echo "configure:4453: checking for finite()" >&5 |
echo "configure:4459: checking for finite()" >&5 |
4459 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4460 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
4461 |
else |
else |
4462 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4463 |
#line 4458 "configure" |
#line 4464 "configure" |
4464 |
#include "confdefs.h" |
#include "confdefs.h" |
4465 |
#include <math.h> |
#include <math.h> |
4466 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4469 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
4470 |
} |
} |
4471 |
EOF |
EOF |
4472 |
if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4473 |
then |
then |
4474 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4475 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4510 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4511 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4512 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4513 |
echo "configure:4508: checking for sockets" >&5 |
echo "configure:4514: checking for sockets" >&5 |
4514 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4515 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4516 |
echo "configure:4511: checking for connect" >&5 |
echo "configure:4517: checking for connect" >&5 |
4517 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4518 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4519 |
else |
else |
4520 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4521 |
#line 4516 "configure" |
#line 4522 "configure" |
4522 |
#include "confdefs.h" |
#include "confdefs.h" |
4523 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4524 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4541 |
|
|
4542 |
; return 0; } |
; return 0; } |
4543 |
EOF |
EOF |
4544 |
if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4545 |
rm -rf conftest* |
rm -rf conftest* |
4546 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4547 |
else |
else |
4563 |
|
|
4564 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4565 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4566 |
echo "configure:4561: checking for main in -lsocket" >&5 |
echo "configure:4567: checking for main in -lsocket" >&5 |
4567 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4568 |
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 |
4569 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4571 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4572 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4573 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4574 |
#line 4569 "configure" |
#line 4575 "configure" |
4575 |
#include "confdefs.h" |
#include "confdefs.h" |
4576 |
|
|
4577 |
int main() { |
int main() { |
4578 |
main() |
main() |
4579 |
; return 0; } |
; return 0; } |
4580 |
EOF |
EOF |
4581 |
if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4582 |
rm -rf conftest* |
rm -rf conftest* |
4583 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4584 |
else |
else |
4606 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4607 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4608 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4609 |
echo "configure:4604: checking for accept" >&5 |
echo "configure:4610: checking for accept" >&5 |
4610 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4611 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4612 |
else |
else |
4613 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4614 |
#line 4609 "configure" |
#line 4615 "configure" |
4615 |
#include "confdefs.h" |
#include "confdefs.h" |
4616 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4617 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4634 |
|
|
4635 |
; return 0; } |
; return 0; } |
4636 |
EOF |
EOF |
4637 |
if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4638 |
rm -rf conftest* |
rm -rf conftest* |
4639 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4640 |
else |
else |
4656 |
|
|
4657 |
fi |
fi |
4658 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4659 |
echo "configure:4654: checking for gethostbyname" >&5 |
echo "configure:4660: checking for gethostbyname" >&5 |
4660 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4661 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4662 |
else |
else |
4663 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4664 |
#line 4659 "configure" |
#line 4665 "configure" |
4665 |
#include "confdefs.h" |
#include "confdefs.h" |
4666 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4667 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4684 |
|
|
4685 |
; return 0; } |
; return 0; } |
4686 |
EOF |
EOF |
4687 |
if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4688 |
rm -rf conftest* |
rm -rf conftest* |
4689 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4690 |
else |
else |
4702 |
else |
else |
4703 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4704 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4705 |
echo "configure:4700: checking for main in -lnsl" >&5 |
echo "configure:4706: checking for main in -lnsl" >&5 |
4706 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4707 |
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 |
4708 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4710 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4711 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4712 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4713 |
#line 4708 "configure" |
#line 4714 "configure" |
4714 |
#include "confdefs.h" |
#include "confdefs.h" |
4715 |
|
|
4716 |
int main() { |
int main() { |
4717 |
main() |
main() |
4718 |
; return 0; } |
; return 0; } |
4719 |
EOF |
EOF |
4720 |
if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4721 |
rm -rf conftest* |
rm -rf conftest* |
4722 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4723 |
else |
else |
4745 |
do |
do |
4746 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4747 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4748 |
echo "configure:4743: checking for $ac_hdr" >&5 |
echo "configure:4749: checking for $ac_hdr" >&5 |
4749 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4750 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4751 |
else |
else |
4752 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4753 |
#line 4748 "configure" |
#line 4754 "configure" |
4754 |
#include "confdefs.h" |
#include "confdefs.h" |
4755 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4756 |
EOF |
EOF |
4757 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4758 |
{ (eval echo configure:4753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4759 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4760 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4761 |
rm -rf conftest* |
rm -rf conftest* |
4776 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
4777 |
EOF |
EOF |
4778 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4779 |
echo "configure:4774: checking for main in -lreadline" >&5 |
echo "configure:4780: checking for main in -lreadline" >&5 |
4780 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4781 |
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 |
4782 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4784 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4785 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4786 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4787 |
#line 4782 "configure" |
#line 4788 "configure" |
4788 |
#include "confdefs.h" |
#include "confdefs.h" |
4789 |
|
|
4790 |
int main() { |
int main() { |
4791 |
main() |
main() |
4792 |
; return 0; } |
; return 0; } |
4793 |
EOF |
EOF |
4794 |
if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4795 |
rm -rf conftest* |
rm -rf conftest* |
4796 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4797 |
else |
else |
4828 |
|
|
4829 |
|
|
4830 |
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 |
4831 |
echo "configure:4826: checking For network code for nsocket.c" >&5 |
echo "configure:4832: checking For network code for nsocket.c" >&5 |
4832 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4833 |
#line 4828 "configure" |
#line 4834 "configure" |
4834 |
#include "confdefs.h" |
#include "confdefs.h" |
4835 |
|
|
4836 |
#include <sys/time.h> |
#include <sys/time.h> |
4857 |
|
|
4858 |
; return 0; } |
; return 0; } |
4859 |
EOF |
EOF |
4860 |
if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4861 |
rm -rf conftest* |
rm -rf conftest* |
4862 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4863 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4874 |
|
|
4875 |
|
|
4876 |
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 |
4877 |
echo "configure:4872: checking check for listen using fcntl" >&5 |
echo "configure:4878: checking check for listen using fcntl" >&5 |
4878 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4879 |
#line 4874 "configure" |
#line 4880 "configure" |
4880 |
#include "confdefs.h" |
#include "confdefs.h" |
4881 |
#include <stdio.h> |
#include <stdio.h> |
4882 |
#include <fcntl.h> |
#include <fcntl.h> |
4889 |
|
|
4890 |
; return 0; } |
; return 0; } |
4891 |
EOF |
EOF |
4892 |
if { (eval echo configure:4887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4893 |
rm -rf conftest* |
rm -rf conftest* |
4894 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4895 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4908 |
|
|
4909 |
|
|
4910 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4911 |
echo "configure:4906: checking for profil" >&5 |
echo "configure:4912: checking for profil" >&5 |
4912 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4913 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4914 |
else |
else |
4915 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4916 |
#line 4911 "configure" |
#line 4917 "configure" |
4917 |
#include "confdefs.h" |
#include "confdefs.h" |
4918 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4919 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4936 |
|
|
4937 |
; return 0; } |
; return 0; } |
4938 |
EOF |
EOF |
4939 |
if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4940 |
rm -rf conftest* |
rm -rf conftest* |
4941 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4942 |
else |
else |
4961 |
|
|
4962 |
|
|
4963 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4964 |
echo "configure:4959: checking for setenv" >&5 |
echo "configure:4965: checking for setenv" >&5 |
4965 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4966 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4967 |
else |
else |
4968 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4969 |
#line 4964 "configure" |
#line 4970 "configure" |
4970 |
#include "confdefs.h" |
#include "confdefs.h" |
4971 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4972 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4989 |
|
|
4990 |
; return 0; } |
; return 0; } |
4991 |
EOF |
EOF |
4992 |
if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4993 |
rm -rf conftest* |
rm -rf conftest* |
4994 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4995 |
else |
else |
5015 |
|
|
5016 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
5017 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
5018 |
echo "configure:5013: checking for putenv" >&5 |
echo "configure:5019: checking for putenv" >&5 |
5019 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
5020 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5021 |
else |
else |
5022 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5023 |
#line 5018 "configure" |
#line 5024 "configure" |
5024 |
#include "confdefs.h" |
#include "confdefs.h" |
5025 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5026 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
5043 |
|
|
5044 |
; return 0; } |
; return 0; } |
5045 |
EOF |
EOF |
5046 |
if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5047 |
rm -rf conftest* |
rm -rf conftest* |
5048 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
5049 |
else |
else |
5069 |
fi |
fi |
5070 |
|
|
5071 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
5072 |
echo "configure:5067: checking for _cleanup" >&5 |
echo "configure:5073: checking for _cleanup" >&5 |
5073 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
5074 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5075 |
else |
else |
5076 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5077 |
#line 5072 "configure" |
#line 5078 "configure" |
5078 |
#include "confdefs.h" |
#include "confdefs.h" |
5079 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5080 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
5097 |
|
|
5098 |
; return 0; } |
; return 0; } |
5099 |
EOF |
EOF |
5100 |
if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5101 |
rm -rf conftest* |
rm -rf conftest* |
5102 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
5103 |
else |
else |
5123 |
gcl_ok=no |
gcl_ok=no |
5124 |
|
|
5125 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5126 |
#line 5121 "configure" |
#line 5127 "configure" |
5127 |
#include "confdefs.h" |
#include "confdefs.h" |
5128 |
#include <ctype.h> |
#include <ctype.h> |
5129 |
EOF |
EOF |
5151 |
|
|
5152 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
5153 |
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 |
5154 |
echo "configure:5149: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:5155: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
5155 |
|
|
5156 |
case $system in |
case $system in |
5157 |
OSF*) |
OSF*) |
5182 |
|
|
5183 |
|
|
5184 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
5185 |
echo "configure:5180: checking check for SV_ONSTACK" >&5 |
echo "configure:5186: checking check for SV_ONSTACK" >&5 |
5186 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5187 |
#line 5182 "configure" |
#line 5188 "configure" |
5188 |
#include "confdefs.h" |
#include "confdefs.h" |
5189 |
#include <signal.h> |
#include <signal.h> |
5190 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
5193 |
|
|
5194 |
; return 0; } |
; return 0; } |
5195 |
EOF |
EOF |
5196 |
if { (eval echo configure:5191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5197 |
rm -rf conftest* |
rm -rf conftest* |
5198 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5199 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
5210 |
rm -f conftest* |
rm -f conftest* |
5211 |
|
|
5212 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
5213 |
echo "configure:5208: checking check for SIGSYS" >&5 |
echo "configure:5214: checking check for SIGSYS" >&5 |
5214 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5215 |
#line 5210 "configure" |
#line 5216 "configure" |
5216 |
#include "confdefs.h" |
#include "confdefs.h" |
5217 |
#include <signal.h> |
#include <signal.h> |
5218 |
int joe=SIGSYS; |
int joe=SIGSYS; |
5221 |
|
|
5222 |
; return 0; } |
; return 0; } |
5223 |
EOF |
EOF |
5224 |
if { (eval echo configure:5219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5225 |
rm -rf conftest* |
rm -rf conftest* |
5226 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5227 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
5239 |
|
|
5240 |
|
|
5241 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
5242 |
echo "configure:5237: checking check for SIGEMT" >&5 |
echo "configure:5243: checking check for SIGEMT" >&5 |
5243 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5244 |
#line 5239 "configure" |
#line 5245 "configure" |
5245 |
#include "confdefs.h" |
#include "confdefs.h" |
5246 |
#include <signal.h> |
#include <signal.h> |
5247 |
int joe=SIGEMT; |
int joe=SIGEMT; |
5250 |
|
|
5251 |
; return 0; } |
; return 0; } |
5252 |
EOF |
EOF |
5253 |
if { (eval echo configure:5248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5254 |
rm -rf conftest* |
rm -rf conftest* |
5255 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5256 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
5274 |
do |
do |
5275 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5276 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5277 |
echo "configure:5272: checking for $ac_hdr" >&5 |
echo "configure:5278: checking for $ac_hdr" >&5 |
5278 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5279 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5280 |
else |
else |
5281 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5282 |
#line 5277 "configure" |
#line 5283 "configure" |
5283 |
#include "confdefs.h" |
#include "confdefs.h" |
5284 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5285 |
EOF |
EOF |
5286 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5287 |
{ (eval echo configure:5282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5288 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5289 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5290 |
rm -rf conftest* |
rm -rf conftest* |
5314 |
do |
do |
5315 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5316 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5317 |
echo "configure:5312: checking for $ac_hdr" >&5 |
echo "configure:5318: checking for $ac_hdr" >&5 |
5318 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5319 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5320 |
else |
else |
5321 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5322 |
#line 5317 "configure" |
#line 5323 "configure" |
5323 |
#include "confdefs.h" |
#include "confdefs.h" |
5324 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5325 |
EOF |
EOF |
5326 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5327 |
{ (eval echo configure:5322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5328 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5329 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5330 |
rm -rf conftest* |
rm -rf conftest* |
5351 |
done |
done |
5352 |
|
|
5353 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5354 |
#line 5349 "configure" |
#line 5355 "configure" |
5355 |
#include "confdefs.h" |
#include "confdefs.h" |
5356 |
#include <signal.h> |
#include <signal.h> |
5357 |
long code; |
long code; |
5362 |
|
|
5363 |
; return 0; } |
; return 0; } |
5364 |
EOF |
EOF |
5365 |
if { (eval echo configure:5360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5366 |
rm -rf conftest* |
rm -rf conftest* |
5367 |
|
|
5368 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
5383 |
rm -f conftest* |
rm -f conftest* |
5384 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
5385 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5386 |
#line 5381 "configure" |
#line 5387 "configure" |
5387 |
#include "confdefs.h" |
#include "confdefs.h" |
5388 |
#include <signal.h> |
#include <signal.h> |
5389 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
5400 |
|
|
5401 |
; return 0; } |
; return 0; } |
5402 |
EOF |
EOF |
5403 |
if { (eval echo configure:5398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5404 |
rm -rf conftest* |
rm -rf conftest* |
5405 |
|
|
5406 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
5443 |
# 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. |
5444 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
5445 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5446 |
echo "configure:5441: checking for $ac_word" >&5 |
echo "configure:5447: checking for $ac_word" >&5 |
5447 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
5448 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5449 |
else |
else |
5491 |
EOF |
EOF |
5492 |
|
|
5493 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5494 |
echo "configure:5489: checking emacs site lisp directory" >&5 |
echo "configure:5495: checking emacs site lisp directory" >&5 |
5495 |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
5496 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5497 |
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 ` |
5515 |
EOF |
EOF |
5516 |
|
|
5517 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5518 |
echo "configure:5513: checking emacs default.el" >&5 |
echo "configure:5519: checking emacs default.el" >&5 |
5519 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5520 |
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 ` |
5521 |
else |
else |
5544 |
EOF |
EOF |
5545 |
|
|
5546 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5547 |
echo "configure:5542: checking emacs info/dir" >&5 |
echo "configure:5548: checking emacs info/dir" >&5 |
5548 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
5549 |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
5550 |
else |
else |
5562 |
|
|
5563 |
|
|
5564 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5565 |
echo "configure:5560: checking for tcl/tk" >&5 |
echo "configure:5566: checking for tcl/tk" >&5 |
5566 |
|
|
5567 |
|
|
5568 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5585 |
# 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. |
5586 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5587 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5588 |
echo "configure:5583: checking for $ac_word" >&5 |
echo "configure:5589: checking for $ac_word" >&5 |
5589 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5590 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5591 |
else |
else |
5685 |
fi |
fi |
5686 |
fi |
fi |
5687 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5688 |
echo "configure:5683: checking for main in -llieee" >&5 |
echo "configure:5689: checking for main in -llieee" >&5 |
5689 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5690 |
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 |
5691 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5693 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5694 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5695 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5696 |
#line 5691 "configure" |
#line 5697 "configure" |
5697 |
#include "confdefs.h" |
#include "confdefs.h" |
5698 |
|
|
5699 |
int main() { |
int main() { |
5700 |
main() |
main() |
5701 |
; return 0; } |
; return 0; } |
5702 |
EOF |
EOF |
5703 |
if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5704 |
rm -rf conftest* |
rm -rf conftest* |
5705 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5706 |
else |
else |
5765 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5766 |
|
|
5767 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5768 |
echo "configure:5763: checking alloca" >&5 |
echo "configure:5769: checking alloca" >&5 |
5769 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5770 |
gcl_ok=no |
gcl_ok=no |
5771 |
else |
else |
5772 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5773 |
#line 5768 "configure" |
#line 5774 "configure" |
5774 |
#include "confdefs.h" |
#include "confdefs.h" |
5775 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5776 |
EOF |
EOF |
5777 |
if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5778 |
then |
then |
5779 |
: |
: |
5780 |
else |
else |
5797 |
gcl_ok=no |
gcl_ok=no |
5798 |
else |
else |
5799 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5800 |
#line 5795 "configure" |
#line 5801 "configure" |
5801 |
#include "confdefs.h" |
#include "confdefs.h" |
5802 |
#include <alloca.h> |
#include <alloca.h> |
5803 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5804 |
EOF |
EOF |
5805 |
if { (eval echo configure:5800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5806 |
then |
then |
5807 |
: |
: |
5808 |
else |
else |
5863 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5864 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5865 |
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 |
5866 |
echo "configure:5861: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5867: checking Checking for buggy gcc version from redhat" >&5 |
5867 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5868 |
then |
then |
5869 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |