1321 |
TCFLAGS="$TCFLAGS -fwritable-strings -pipe" |
TCFLAGS="$TCFLAGS -fwritable-strings -pipe" |
1322 |
fi |
fi |
1323 |
|
|
1324 |
|
TO3FLAGS="" |
1325 |
|
TO2FLAGS="" |
1326 |
if test "$enable_debug" = "yes" ; then |
if test "$enable_debug" = "yes" ; then |
1327 |
TCFLAGS="$TCFLAGS -g" |
TCFLAGS="$TCFLAGS -g" |
1328 |
# for subconfigurations |
# for subconfigurations |
1329 |
CFLAGS=-g |
CFLAGS=-g |
1330 |
else |
else |
1331 |
TCFLAGS="$TCFLAGS -O6 -fomit-frame-pointer" |
TO3FLAGS="-O6 -fomit-frame-pointer" |
1332 |
|
TO2FLAGS="-O" |
1333 |
fi |
fi |
1334 |
|
|
1335 |
case $use in |
case $use in |
1339 |
TCFLAGS="$TCFLAGS -mieee";; |
TCFLAGS="$TCFLAGS -mieee";; |
1340 |
# m68k*) |
# m68k*) |
1341 |
# TCFLAGS="$TCFLAGS -ffloat-store";; |
# TCFLAGS="$TCFLAGS -ffloat-store";; |
1342 |
# hppa*) |
hppa*) |
1343 |
# TCFLAGS="$TCFLAGS -fPIC";; |
TCFLAGS="$TCFLAGS -ffunction-sections" |
1344 |
|
TO3FLAGS="" |
1345 |
|
TO2FLAGS="" |
1346 |
|
;; |
1347 |
esac;; |
esac;; |
1348 |
esac |
esac |
1349 |
if test "$enable_pic" = "yes" ; then |
if test "$enable_pic" = "yes" ; then |
1356 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1357 |
|
|
1358 |
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 |
1359 |
echo "configure:1354: checking system version (for dynamic loading)" >&5 |
echo "configure:1360: checking system version (for dynamic loading)" >&5 |
1360 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1361 |
|
|
1362 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
1364 |
# 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. |
1365 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1366 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1367 |
echo "configure:1362: checking for $ac_word" >&5 |
echo "configure:1368: checking for $ac_word" >&5 |
1368 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1369 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1370 |
else |
else |
1400 |
# 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. |
1401 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1402 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1403 |
echo "configure:1398: checking for $ac_word" >&5 |
echo "configure:1404: checking for $ac_word" >&5 |
1404 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1405 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1406 |
else |
else |
1464 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1465 |
|
|
1466 |
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 |
1467 |
echo "configure:1462: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:1468: checking use_gmp=yes, doing configure in gmp directory" >&5 |
1468 |
echo |
echo |
1469 |
echo "#" |
echo "#" |
1470 |
echo "#" |
echo "#" |
1497 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
1498 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
1499 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
1500 |
echo "configure:1495: checking for gmp.h" >&5 |
echo "configure:1501: checking for gmp.h" >&5 |
1501 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1502 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1503 |
else |
else |
1504 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1505 |
#line 1500 "configure" |
#line 1506 "configure" |
1506 |
#include "confdefs.h" |
#include "confdefs.h" |
1507 |
#include <gmp.h> |
#include <gmp.h> |
1508 |
EOF |
EOF |
1509 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1510 |
{ (eval echo configure:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1511 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1512 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1513 |
rm -rf conftest* |
rm -rf conftest* |
1524 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1525 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1526 |
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 |
1527 |
echo "configure:1522: checking for __gmpz_init in -lgmp" >&5 |
echo "configure:1528: checking for __gmpz_init in -lgmp" >&5 |
1528 |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
1529 |
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 |
1530 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1532 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1533 |
LIBS="-lgmp $LIBS" |
LIBS="-lgmp $LIBS" |
1534 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1535 |
#line 1530 "configure" |
#line 1536 "configure" |
1536 |
#include "confdefs.h" |
#include "confdefs.h" |
1537 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1538 |
/* 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 |
1543 |
__gmpz_init() |
__gmpz_init() |
1544 |
; return 0; } |
; return 0; } |
1545 |
EOF |
EOF |
1546 |
if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1547 |
rm -rf conftest* |
rm -rf conftest* |
1548 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1549 |
else |
else |
1589 |
fi |
fi |
1590 |
|
|
1591 |
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 |
1592 |
echo "configure:1587: checking "for size of gmp limbs"" >&5 |
echo "configure:1593: checking "for size of gmp limbs"" >&5 |
1593 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1594 |
mpsize=0 |
mpsize=0 |
1595 |
else |
else |
1596 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1597 |
#line 1592 "configure" |
#line 1598 "configure" |
1598 |
#include "confdefs.h" |
#include "confdefs.h" |
1599 |
#include <stdio.h> |
#include <stdio.h> |
1600 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1605 |
return 0; |
return 0; |
1606 |
} |
} |
1607 |
EOF |
EOF |
1608 |
if { (eval echo configure:1603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1609 |
then |
then |
1610 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1611 |
else |
else |
1628 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$ac_t""$mpsize" 1>&6 |
1629 |
|
|
1630 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
1631 |
echo "configure:1626: checking "_SHORT_LIMB"" >&5 |
echo "configure:1632: checking "_SHORT_LIMB"" >&5 |
1632 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1633 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1634 |
else |
else |
1635 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1636 |
#line 1631 "configure" |
#line 1637 "configure" |
1637 |
#include "confdefs.h" |
#include "confdefs.h" |
1638 |
#include <stdio.h> |
#include <stdio.h> |
1639 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1645 |
#endif |
#endif |
1646 |
} |
} |
1647 |
EOF |
EOF |
1648 |
if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1649 |
then |
then |
1650 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1651 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
1661 |
fi |
fi |
1662 |
|
|
1663 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
1664 |
echo "configure:1659: checking "_LONG_LONG_LIMB"" >&5 |
echo "configure:1665: checking "_LONG_LONG_LIMB"" >&5 |
1665 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1666 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1667 |
else |
else |
1668 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1669 |
#line 1664 "configure" |
#line 1670 "configure" |
1670 |
#include "confdefs.h" |
#include "confdefs.h" |
1671 |
#include <stdio.h> |
#include <stdio.h> |
1672 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1678 |
#endif |
#endif |
1679 |
} |
} |
1680 |
EOF |
EOF |
1681 |
if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1682 |
then |
then |
1683 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1684 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
1717 |
# 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. |
1718 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
1719 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1720 |
echo "configure:1715: checking for X" >&5 |
echo "configure:1721: checking for X" >&5 |
1721 |
|
|
1722 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
1723 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
1779 |
|
|
1780 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
1781 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1782 |
#line 1777 "configure" |
#line 1783 "configure" |
1783 |
#include "confdefs.h" |
#include "confdefs.h" |
1784 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
1785 |
EOF |
EOF |
1786 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1787 |
{ (eval echo configure:1782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1788 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1789 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1790 |
rm -rf conftest* |
rm -rf conftest* |
1853 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1854 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
1855 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1856 |
#line 1851 "configure" |
#line 1857 "configure" |
1857 |
#include "confdefs.h" |
#include "confdefs.h" |
1858 |
|
|
1859 |
int main() { |
int main() { |
1860 |
${x_direct_test_function}() |
${x_direct_test_function}() |
1861 |
; return 0; } |
; return 0; } |
1862 |
EOF |
EOF |
1863 |
if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1864 |
rm -rf conftest* |
rm -rf conftest* |
1865 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
1866 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
1966 |
case "`(uname -sr) 2>/dev/null`" in |
case "`(uname -sr) 2>/dev/null`" in |
1967 |
"SunOS 5"*) |
"SunOS 5"*) |
1968 |
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 |
1969 |
echo "configure:1964: checking whether -R must be followed by a space" >&5 |
echo "configure:1970: checking whether -R must be followed by a space" >&5 |
1970 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
1971 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1972 |
#line 1967 "configure" |
#line 1973 "configure" |
1973 |
#include "confdefs.h" |
#include "confdefs.h" |
1974 |
|
|
1975 |
int main() { |
int main() { |
1976 |
|
|
1977 |
; return 0; } |
; return 0; } |
1978 |
EOF |
EOF |
1979 |
if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1980 |
rm -rf conftest* |
rm -rf conftest* |
1981 |
ac_R_nospace=yes |
ac_R_nospace=yes |
1982 |
else |
else |
1992 |
else |
else |
1993 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
1994 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1995 |
#line 1990 "configure" |
#line 1996 "configure" |
1996 |
#include "confdefs.h" |
#include "confdefs.h" |
1997 |
|
|
1998 |
int main() { |
int main() { |
1999 |
|
|
2000 |
; return 0; } |
; return 0; } |
2001 |
EOF |
EOF |
2002 |
if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2003 |
rm -rf conftest* |
rm -rf conftest* |
2004 |
ac_R_space=yes |
ac_R_space=yes |
2005 |
else |
else |
2031 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
2032 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
2033 |
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 |
2034 |
echo "configure:2029: checking for dnet_ntoa in -ldnet" >&5 |
echo "configure:2035: checking for dnet_ntoa in -ldnet" >&5 |
2035 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2036 |
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 |
2037 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2039 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2040 |
LIBS="-ldnet $LIBS" |
LIBS="-ldnet $LIBS" |
2041 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2042 |
#line 2037 "configure" |
#line 2043 "configure" |
2043 |
#include "confdefs.h" |
#include "confdefs.h" |
2044 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2045 |
/* 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 |
2050 |
dnet_ntoa() |
dnet_ntoa() |
2051 |
; return 0; } |
; return 0; } |
2052 |
EOF |
EOF |
2053 |
if { (eval echo configure:2048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2054 |
rm -rf conftest* |
rm -rf conftest* |
2055 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2056 |
else |
else |
2072 |
|
|
2073 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2074 |
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 |
2075 |
echo "configure:2070: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "configure:2076: checking for dnet_ntoa in -ldnet_stub" >&5 |
2076 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2077 |
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 |
2078 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2080 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2081 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
2082 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2083 |
#line 2078 "configure" |
#line 2084 "configure" |
2084 |
#include "confdefs.h" |
#include "confdefs.h" |
2085 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2086 |
/* 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 |
2091 |
dnet_ntoa() |
dnet_ntoa() |
2092 |
; return 0; } |
; return 0; } |
2093 |
EOF |
EOF |
2094 |
if { (eval echo configure:2089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2095 |
rm -rf conftest* |
rm -rf conftest* |
2096 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2097 |
else |
else |
2120 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
2121 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to dickey@clark.net. |
2122 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2123 |
echo "configure:2118: checking for gethostbyname" >&5 |
echo "configure:2124: checking for gethostbyname" >&5 |
2124 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2125 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2126 |
else |
else |
2127 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2128 |
#line 2123 "configure" |
#line 2129 "configure" |
2129 |
#include "confdefs.h" |
#include "confdefs.h" |
2130 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2131 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2148 |
|
|
2149 |
; return 0; } |
; return 0; } |
2150 |
EOF |
EOF |
2151 |
if { (eval echo configure:2146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2152 |
rm -rf conftest* |
rm -rf conftest* |
2153 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2154 |
else |
else |
2169 |
|
|
2170 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
2171 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2172 |
echo "configure:2167: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2173: checking for gethostbyname in -lnsl" >&5 |
2173 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2174 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2175 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2177 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2178 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2179 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2180 |
#line 2175 "configure" |
#line 2181 "configure" |
2181 |
#include "confdefs.h" |
#include "confdefs.h" |
2182 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2183 |
/* 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 |
2188 |
gethostbyname() |
gethostbyname() |
2189 |
; return 0; } |
; return 0; } |
2190 |
EOF |
EOF |
2191 |
if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2192 |
rm -rf conftest* |
rm -rf conftest* |
2193 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2194 |
else |
else |
2218 |
# -lsocket must be given before -lnsl if both are needed. |
# -lsocket must be given before -lnsl if both are needed. |
2219 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# We assume that if connect needs -lnsl, so does gethostbyname. |
2220 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2221 |
echo "configure:2216: checking for connect" >&5 |
echo "configure:2222: checking for connect" >&5 |
2222 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2223 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2224 |
else |
else |
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 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2229 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2246 |
|
|
2247 |
; return 0; } |
; return 0; } |
2248 |
EOF |
EOF |
2249 |
if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2250 |
rm -rf conftest* |
rm -rf conftest* |
2251 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2252 |
else |
else |
2267 |
|
|
2268 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
2269 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
2270 |
echo "configure:2265: checking for connect in -lsocket" >&5 |
echo "configure:2271: checking for connect in -lsocket" >&5 |
2271 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
2272 |
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 |
2273 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2275 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2276 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
2277 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2278 |
#line 2273 "configure" |
#line 2279 "configure" |
2279 |
#include "confdefs.h" |
#include "confdefs.h" |
2280 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2281 |
/* 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 |
2286 |
connect() |
connect() |
2287 |
; return 0; } |
; return 0; } |
2288 |
EOF |
EOF |
2289 |
if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2290 |
rm -rf conftest* |
rm -rf conftest* |
2291 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2292 |
else |
else |
2310 |
|
|
2311 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
2312 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
2313 |
echo "configure:2308: checking for remove" >&5 |
echo "configure:2314: checking for remove" >&5 |
2314 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
2315 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2316 |
else |
else |
2317 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2318 |
#line 2313 "configure" |
#line 2319 "configure" |
2319 |
#include "confdefs.h" |
#include "confdefs.h" |
2320 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2321 |
which can conflict with char remove(); below. */ |
which can conflict with char remove(); below. */ |
2338 |
|
|
2339 |
; return 0; } |
; return 0; } |
2340 |
EOF |
EOF |
2341 |
if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2342 |
rm -rf conftest* |
rm -rf conftest* |
2343 |
eval "ac_cv_func_remove=yes" |
eval "ac_cv_func_remove=yes" |
2344 |
else |
else |
2359 |
|
|
2360 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
2361 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
2362 |
echo "configure:2357: checking for remove in -lposix" >&5 |
echo "configure:2363: checking for remove in -lposix" >&5 |
2363 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
2364 |
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 |
2365 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2367 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2368 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
2369 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2370 |
#line 2365 "configure" |
#line 2371 "configure" |
2371 |
#include "confdefs.h" |
#include "confdefs.h" |
2372 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2373 |
/* 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 |
2378 |
remove() |
remove() |
2379 |
; return 0; } |
; return 0; } |
2380 |
EOF |
EOF |
2381 |
if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2382 |
rm -rf conftest* |
rm -rf conftest* |
2383 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2384 |
else |
else |
2402 |
|
|
2403 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
2404 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
2405 |
echo "configure:2400: checking for shmat" >&5 |
echo "configure:2406: checking for shmat" >&5 |
2406 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+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 shmat(); below. */ |
which can conflict with char shmat(); 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_shmat=yes" |
eval "ac_cv_func_shmat=yes" |
2436 |
else |
else |
2451 |
|
|
2452 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
2453 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
2454 |
echo "configure:2449: checking for shmat in -lipc" >&5 |
echo "configure:2455: checking for shmat in -lipc" >&5 |
2455 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ipc'_'shmat | 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="-lipc $LIBS" |
LIBS="-lipc $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 |
shmat() |
shmat() |
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 |
2503 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
2504 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
2505 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
2506 |
echo "configure:2501: checking for IceConnectionNumber in -lICE" >&5 |
echo "configure:2507: checking for IceConnectionNumber in -lICE" >&5 |
2507 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
2508 |
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 |
2509 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2511 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2512 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
2513 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2514 |
#line 2509 "configure" |
#line 2515 "configure" |
2515 |
#include "confdefs.h" |
#include "confdefs.h" |
2516 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2517 |
/* 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 |
2522 |
IceConnectionNumber() |
IceConnectionNumber() |
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_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2528 |
else |
else |
2553 |
|
|
2554 |
miss=0 |
miss=0 |
2555 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
2556 |
echo "configure:2551: checking for main in -lXaw" >&5 |
echo "configure:2557: checking for main in -lXaw" >&5 |
2557 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
2558 |
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 |
2559 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2561 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2562 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
2563 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2564 |
#line 2559 "configure" |
#line 2565 "configure" |
2565 |
#include "confdefs.h" |
#include "confdefs.h" |
2566 |
|
|
2567 |
int main() { |
int main() { |
2568 |
main() |
main() |
2569 |
; return 0; } |
; return 0; } |
2570 |
EOF |
EOF |
2571 |
if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2572 |
rm -rf conftest* |
rm -rf conftest* |
2573 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2574 |
else |
else |
2590 |
fi |
fi |
2591 |
|
|
2592 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
2593 |
echo "configure:2588: checking for main in -lXmu" >&5 |
echo "configure:2594: checking for main in -lXmu" >&5 |
2594 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
2595 |
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 |
2596 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2598 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2599 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
2600 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2601 |
#line 2596 "configure" |
#line 2602 "configure" |
2602 |
#include "confdefs.h" |
#include "confdefs.h" |
2603 |
|
|
2604 |
int main() { |
int main() { |
2605 |
main() |
main() |
2606 |
; return 0; } |
; return 0; } |
2607 |
EOF |
EOF |
2608 |
if { (eval echo configure:2603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2609 |
rm -rf conftest* |
rm -rf conftest* |
2610 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2611 |
else |
else |
2627 |
fi |
fi |
2628 |
|
|
2629 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
2630 |
echo "configure:2625: checking for main in -lXt" >&5 |
echo "configure:2631: checking for main in -lXt" >&5 |
2631 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
2632 |
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 |
2633 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2635 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2636 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
2637 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2638 |
#line 2633 "configure" |
#line 2639 "configure" |
2639 |
#include "confdefs.h" |
#include "confdefs.h" |
2640 |
|
|
2641 |
int main() { |
int main() { |
2642 |
main() |
main() |
2643 |
; return 0; } |
; return 0; } |
2644 |
EOF |
EOF |
2645 |
if { (eval echo configure:2640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2646 |
rm -rf conftest* |
rm -rf conftest* |
2647 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2648 |
else |
else |
2664 |
fi |
fi |
2665 |
|
|
2666 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
2667 |
echo "configure:2662: checking for main in -lXext" >&5 |
echo "configure:2668: checking for main in -lXext" >&5 |
2668 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
2669 |
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 |
2670 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2672 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2673 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
2674 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2675 |
#line 2670 "configure" |
#line 2676 "configure" |
2676 |
#include "confdefs.h" |
#include "confdefs.h" |
2677 |
|
|
2678 |
int main() { |
int main() { |
2679 |
main() |
main() |
2680 |
; return 0; } |
; return 0; } |
2681 |
EOF |
EOF |
2682 |
if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2683 |
rm -rf conftest* |
rm -rf conftest* |
2684 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2685 |
else |
else |
2701 |
fi |
fi |
2702 |
|
|
2703 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
2704 |
echo "configure:2699: checking for main in -lX11" >&5 |
echo "configure:2705: checking for main in -lX11" >&5 |
2705 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
2706 |
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 |
2707 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2709 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2710 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
2711 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2712 |
#line 2707 "configure" |
#line 2713 "configure" |
2713 |
#include "confdefs.h" |
#include "confdefs.h" |
2714 |
|
|
2715 |
int main() { |
int main() { |
2716 |
main() |
main() |
2717 |
; return 0; } |
; return 0; } |
2718 |
EOF |
EOF |
2719 |
if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2720 |
rm -rf conftest* |
rm -rf conftest* |
2721 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2722 |
else |
else |
2755 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
2756 |
|
|
2757 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2758 |
echo "configure:2753: checking for dlopen in -ldl" >&5 |
echo "configure:2759: checking for dlopen in -ldl" >&5 |
2759 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2760 |
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 |
2761 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2763 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2764 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2765 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2766 |
#line 2761 "configure" |
#line 2767 "configure" |
2767 |
#include "confdefs.h" |
#include "confdefs.h" |
2768 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2769 |
/* 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 |
2774 |
dlopen() |
dlopen() |
2775 |
; return 0; } |
; return 0; } |
2776 |
EOF |
EOF |
2777 |
if { (eval echo configure:2772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2778 |
rm -rf conftest* |
rm -rf conftest* |
2779 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2780 |
else |
else |
2810 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
2811 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2812 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2813 |
echo "configure:2808: checking for bfd.h" >&5 |
echo "configure:2814: checking for bfd.h" >&5 |
2814 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2815 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2816 |
else |
else |
2817 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2818 |
#line 2813 "configure" |
#line 2819 "configure" |
2819 |
#include "confdefs.h" |
#include "confdefs.h" |
2820 |
#include <bfd.h> |
#include <bfd.h> |
2821 |
EOF |
EOF |
2822 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2823 |
{ (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2824 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2825 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2826 |
rm -rf conftest* |
rm -rf conftest* |
2837 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2838 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2839 |
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 |
2840 |
echo "configure:2835: checking for bfd_init in -lbfd" >&5 |
echo "configure:2841: checking for bfd_init in -lbfd" >&5 |
2841 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2842 |
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 |
2843 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2845 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2846 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2847 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2848 |
#line 2843 "configure" |
#line 2849 "configure" |
2849 |
#include "confdefs.h" |
#include "confdefs.h" |
2850 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2851 |
/* 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 |
2856 |
bfd_init() |
bfd_init() |
2857 |
; return 0; } |
; return 0; } |
2858 |
EOF |
EOF |
2859 |
if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2860 |
rm -rf conftest* |
rm -rf conftest* |
2861 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2862 |
else |
else |
2875 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
2876 |
# |
# |
2877 |
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 |
2878 |
echo "configure:2873: checking if need to define CONST for bfd" >&5 |
echo "configure:2879: checking if need to define CONST for bfd" >&5 |
2879 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2880 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2881 |
else |
else |
2882 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2883 |
#line 2878 "configure" |
#line 2884 "configure" |
2884 |
#include "confdefs.h" |
#include "confdefs.h" |
2885 |
#define IN_GCC |
#define IN_GCC |
2886 |
#include <bfd.h> |
#include <bfd.h> |
2887 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
2888 |
EOF |
EOF |
2889 |
if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2890 |
then |
then |
2891 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2892 |
else |
else |
2897 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2898 |
else |
else |
2899 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2900 |
#line 2895 "configure" |
#line 2901 "configure" |
2901 |
#include "confdefs.h" |
#include "confdefs.h" |
2902 |
#define CONST const |
#define CONST const |
2903 |
#define IN_GCC |
#define IN_GCC |
2904 |
#include <bfd.h> |
#include <bfd.h> |
2905 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
2906 |
EOF |
EOF |
2907 |
if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2908 |
then |
then |
2909 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2910 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2994 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
2995 |
|
|
2996 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
2997 |
echo "configure:2992: checking size of long *" >&5 |
echo "configure:2998: checking size of long *" >&5 |
2998 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
2999 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3000 |
else |
else |
3002 |
ac_cv_sizeof_long_p=0 |
ac_cv_sizeof_long_p=0 |
3003 |
else |
else |
3004 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3005 |
#line 3000 "configure" |
#line 3006 "configure" |
3006 |
#include "confdefs.h" |
#include "confdefs.h" |
3007 |
#include <stdio.h> |
#include <stdio.h> |
3008 |
#include <sys/types.h> |
#include <sys/types.h> |
3014 |
exit(0); |
exit(0); |
3015 |
} |
} |
3016 |
EOF |
EOF |
3017 |
if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3018 |
then |
then |
3019 |
ac_cv_sizeof_long_p=`cat conftestval` |
ac_cv_sizeof_long_p=`cat conftestval` |
3020 |
else |
else |
3038 |
do |
do |
3039 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3040 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3041 |
echo "configure:3036: checking for $ac_hdr" >&5 |
echo "configure:3042: checking for $ac_hdr" >&5 |
3042 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3043 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3044 |
else |
else |
3045 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3046 |
#line 3041 "configure" |
#line 3047 "configure" |
3047 |
#include "confdefs.h" |
#include "confdefs.h" |
3048 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3049 |
EOF |
EOF |
3050 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3051 |
{ (eval echo configure:3046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3052 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3053 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3054 |
rm -rf conftest* |
rm -rf conftest* |
3069 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
3070 |
EOF |
EOF |
3071 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
3072 |
echo "configure:3067: checking "endianness"" >&5 |
echo "configure:3073: checking "endianness"" >&5 |
3073 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3074 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
3075 |
else |
else |
3076 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3077 |
#line 3072 "configure" |
#line 3078 "configure" |
3078 |
#include "confdefs.h" |
#include "confdefs.h" |
3079 |
#define __ARMEB__ |
#define __ARMEB__ |
3080 |
#include <endian.h> |
#include <endian.h> |
3081 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
3082 |
EOF |
EOF |
3083 |
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3084 |
then |
then |
3085 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3086 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
3103 |
|
|
3104 |
|
|
3105 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
3106 |
echo "configure:3101: checking "finding DBEGIN"" >&5 |
echo "configure:3107: checking "finding DBEGIN"" >&5 |
3107 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3108 |
dbegin=0 |
dbegin=0 |
3109 |
else |
else |
3110 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3111 |
#line 3106 "configure" |
#line 3112 "configure" |
3112 |
#include "confdefs.h" |
#include "confdefs.h" |
3113 |
#include <stdio.h> |
#include <stdio.h> |
3114 |
#include <stdlib.h> |
#include <stdlib.h> |
3125 |
return 0; |
return 0; |
3126 |
} |
} |
3127 |
EOF |
EOF |
3128 |
if { (eval echo configure:3123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3129 |
then |
then |
3130 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
3131 |
else |
else |
3147 |
|
|
3148 |
|
|
3149 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
3150 |
echo "configure:3145: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:3151: checking "finding CSTACK_ADDRESS"" >&5 |
3151 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3152 |
cstack_address=0 |
cstack_address=0 |
3153 |
else |
else |
3154 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3155 |
#line 3150 "configure" |
#line 3156 "configure" |
3156 |
#include "confdefs.h" |
#include "confdefs.h" |
3157 |
#include <stdio.h> |
#include <stdio.h> |
3158 |
main() |
main() |
3164 |
return 0; |
return 0; |
3165 |
} |
} |
3166 |
EOF |
EOF |
3167 |
if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3168 |
then |
then |
3169 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
3170 |
else |
else |
3186 |
|
|
3187 |
|
|
3188 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
3189 |
echo "configure:3184: checking "sizeof long long int"" >&5 |
echo "configure:3190: checking "sizeof long long int"" >&5 |
3190 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3191 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3192 |
|
|
3193 |
else |
else |
3194 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3195 |
#line 3190 "configure" |
#line 3196 "configure" |
3196 |
#include "confdefs.h" |
#include "confdefs.h" |
3197 |
#include <stdio.h> |
#include <stdio.h> |
3198 |
main() |
main() |
3202 |
} |
} |
3203 |
|
|
3204 |
EOF |
EOF |
3205 |
if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3206 |
then |
then |
3207 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3208 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
3255 |
|
|
3256 |
# pagewidth |
# pagewidth |
3257 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
3258 |
echo "configure:3253: checking for pagewidth" >&5 |
echo "configure:3259: checking for pagewidth" >&5 |
3259 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3260 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
3261 |
else |
else |
3262 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3263 |
#line 3258 "configure" |
#line 3264 "configure" |
3264 |
#include "confdefs.h" |
#include "confdefs.h" |
3265 |
#include <stdio.h> |
#include <stdio.h> |
3266 |
#include <unistd.h> |
#include <unistd.h> |
3270 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
3271 |
return 0;} |
return 0;} |
3272 |
EOF |
EOF |
3273 |
if { (eval echo configure:3268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3274 |
then |
then |
3275 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
3276 |
else |
else |
3297 |
for ac_func in getcwd |
for ac_func in getcwd |
3298 |
do |
do |
3299 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3300 |
echo "configure:3295: checking for $ac_func" >&5 |
echo "configure:3301: checking for $ac_func" >&5 |
3301 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3302 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3303 |
else |
else |
3304 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3305 |
#line 3300 "configure" |
#line 3306 "configure" |
3306 |
#include "confdefs.h" |
#include "confdefs.h" |
3307 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3308 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3325 |
|
|
3326 |
; return 0; } |
; return 0; } |
3327 |
EOF |
EOF |
3328 |
if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3329 |
rm -rf conftest* |
rm -rf conftest* |
3330 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3331 |
else |
else |
3352 |
for ac_func in getwd |
for ac_func in getwd |
3353 |
do |
do |
3354 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3355 |
echo "configure:3350: checking for $ac_func" >&5 |
echo "configure:3356: checking for $ac_func" >&5 |
3356 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3357 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3358 |
else |
else |
3359 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3360 |
#line 3355 "configure" |
#line 3361 "configure" |
3361 |
#include "confdefs.h" |
#include "confdefs.h" |
3362 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3363 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3380 |
|
|
3381 |
; return 0; } |
; return 0; } |
3382 |
EOF |
EOF |
3383 |
if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3384 |
rm -rf conftest* |
rm -rf conftest* |
3385 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3386 |
else |
else |
3405 |
done |
done |
3406 |
|
|
3407 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
3408 |
echo "configure:3403: checking for uname" >&5 |
echo "configure:3409: checking for uname" >&5 |
3409 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
3410 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3411 |
else |
else |
3412 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3413 |
#line 3408 "configure" |
#line 3414 "configure" |
3414 |
#include "confdefs.h" |
#include "confdefs.h" |
3415 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3416 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
3433 |
|
|
3434 |
; return 0; } |
; return 0; } |
3435 |
EOF |
EOF |
3436 |
if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3437 |
rm -rf conftest* |
rm -rf conftest* |
3438 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
3439 |
else |
else |
3457 |
fi |
fi |
3458 |
|
|
3459 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3460 |
echo "configure:3455: checking for gettimeofday" >&5 |
echo "configure:3461: checking for gettimeofday" >&5 |
3461 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3462 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3463 |
else |
else |
3464 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3465 |
#line 3460 "configure" |
#line 3466 "configure" |
3466 |
#include "confdefs.h" |
#include "confdefs.h" |
3467 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3468 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3485 |
|
|
3486 |
; return 0; } |
; return 0; } |
3487 |
EOF |
EOF |
3488 |
if { (eval echo configure:3483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3489 |
rm -rf conftest* |
rm -rf conftest* |
3490 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3491 |
else |
else |
3514 |
do |
do |
3515 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3516 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3517 |
echo "configure:3512: checking for $ac_hdr" >&5 |
echo "configure:3518: checking for $ac_hdr" >&5 |
3518 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3519 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3520 |
else |
else |
3521 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3522 |
#line 3517 "configure" |
#line 3523 "configure" |
3523 |
#include "confdefs.h" |
#include "confdefs.h" |
3524 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3525 |
EOF |
EOF |
3526 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3527 |
{ (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3528 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3529 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3530 |
rm -rf conftest* |
rm -rf conftest* |
3564 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3565 |
|
|
3566 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
3567 |
echo "configure:3562: checking for BSDgettimeofday" >&5 |
echo "configure:3568: checking for BSDgettimeofday" >&5 |
3568 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
3569 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
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 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3575 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
3592 |
|
|
3593 |
; return 0; } |
; return 0; } |
3594 |
EOF |
EOF |
3595 |
if { (eval echo configure:3590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3596 |
rm -rf conftest* |
rm -rf conftest* |
3597 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
3598 |
else |
else |
3613 |
else |
else |
3614 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3615 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3616 |
echo "configure:3611: checking for gettimeofday" >&5 |
echo "configure:3617: checking for gettimeofday" >&5 |
3617 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3618 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3619 |
else |
else |
3620 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3621 |
#line 3616 "configure" |
#line 3622 "configure" |
3622 |
#include "confdefs.h" |
#include "confdefs.h" |
3623 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3624 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3641 |
|
|
3642 |
; return 0; } |
; return 0; } |
3643 |
EOF |
EOF |
3644 |
if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3645 |
rm -rf conftest* |
rm -rf conftest* |
3646 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3647 |
else |
else |
3668 |
|
|
3669 |
|
|
3670 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
3671 |
echo "configure:3666: checking for gettimeofday declaration" >&5 |
echo "configure:3672: checking for gettimeofday declaration" >&5 |
3672 |
|
|
3673 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3674 |
#line 3669 "configure" |
#line 3675 "configure" |
3675 |
#include "confdefs.h" |
#include "confdefs.h" |
3676 |
#include <sys/time.h> |
#include <sys/time.h> |
3677 |
EOF |
EOF |
3692 |
|
|
3693 |
|
|
3694 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3695 |
echo "configure:3690: checking for sin in -lm" >&5 |
echo "configure:3696: checking for sin in -lm" >&5 |
3696 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3697 |
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 |
3698 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3700 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3701 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
3702 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3703 |
#line 3698 "configure" |
#line 3704 "configure" |
3704 |
#include "confdefs.h" |
#include "confdefs.h" |
3705 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3706 |
/* 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 |
3711 |
sin() |
sin() |
3712 |
; return 0; } |
; return 0; } |
3713 |
EOF |
EOF |
3714 |
if { (eval echo configure:3709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3715 |
rm -rf conftest* |
rm -rf conftest* |
3716 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3717 |
else |
else |
3733 |
fi |
fi |
3734 |
|
|
3735 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
3736 |
echo "configure:3731: checking for main in -lmingwex" >&5 |
echo "configure:3737: checking for main in -lmingwex" >&5 |
3737 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
3738 |
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 |
3739 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3741 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3742 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
3743 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3744 |
#line 3739 "configure" |
#line 3745 "configure" |
3745 |
#include "confdefs.h" |
#include "confdefs.h" |
3746 |
|
|
3747 |
int main() { |
int main() { |
3748 |
main() |
main() |
3749 |
; return 0; } |
; return 0; } |
3750 |
EOF |
EOF |
3751 |
if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3752 |
rm -rf conftest* |
rm -rf conftest* |
3753 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3754 |
else |
else |
3777 |
do |
do |
3778 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3779 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3780 |
echo "configure:3775: checking for $ac_hdr" >&5 |
echo "configure:3781: checking for $ac_hdr" >&5 |
3781 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3782 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3783 |
else |
else |
3784 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3785 |
#line 3780 "configure" |
#line 3786 "configure" |
3786 |
#include "confdefs.h" |
#include "confdefs.h" |
3787 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3788 |
EOF |
EOF |
3789 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3790 |
{ (eval echo configure:3785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3791 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3792 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3793 |
rm -rf conftest* |
rm -rf conftest* |
3824 |
do |
do |
3825 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3826 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3827 |
echo "configure:3822: checking for $ac_hdr" >&5 |
echo "configure:3828: checking for $ac_hdr" >&5 |
3828 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3829 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3830 |
else |
else |
3831 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3832 |
#line 3827 "configure" |
#line 3833 "configure" |
3833 |
#include "confdefs.h" |
#include "confdefs.h" |
3834 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3835 |
EOF |
EOF |
3836 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3837 |
{ (eval echo configure:3832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3838 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3839 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3840 |
rm -rf conftest* |
rm -rf conftest* |
3870 |
# test makes sense. CM |
# test makes sense. CM |
3871 |
# |
# |
3872 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
3873 |
echo "configure:3868: checking for isnormal" >&5 |
echo "configure:3874: checking for isnormal" >&5 |
3874 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3875 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
3876 |
else |
else |
3877 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3878 |
#line 3873 "configure" |
#line 3879 "configure" |
3879 |
#include "confdefs.h" |
#include "confdefs.h" |
3880 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
3881 |
#include <math.h> |
#include <math.h> |
3884 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
3885 |
} |
} |
3886 |
EOF |
EOF |
3887 |
if { (eval echo configure:3882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3888 |
then |
then |
3889 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3890 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
3895 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
3896 |
rm -fr conftest* |
rm -fr conftest* |
3897 |
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 |
3898 |
echo "configure:3893: checking for fpclass in ieeefp.h" >&5 |
echo "configure:3899: checking for fpclass in ieeefp.h" >&5 |
3899 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3900 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
3901 |
else |
else |
3902 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3903 |
#line 3898 "configure" |
#line 3904 "configure" |
3904 |
#include "confdefs.h" |
#include "confdefs.h" |
3905 |
#include <ieeefp.h> |
#include <ieeefp.h> |
3906 |
int main() { |
int main() { |
3908 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
3909 |
} |
} |
3910 |
EOF |
EOF |
3911 |
if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3912 |
then |
then |
3913 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3914 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
3930 |
|
|
3931 |
|
|
3932 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
3933 |
echo "configure:3928: checking for isfinite" >&5 |
echo "configure:3934: checking for isfinite" >&5 |
3934 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3935 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
3936 |
else |
else |
3937 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3938 |
#line 3933 "configure" |
#line 3939 "configure" |
3939 |
#include "confdefs.h" |
#include "confdefs.h" |
3940 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
3941 |
#include <math.h> |
#include <math.h> |
3944 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
3945 |
} |
} |
3946 |
EOF |
EOF |
3947 |
if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3948 |
then |
then |
3949 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3950 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
3955 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
3956 |
rm -fr conftest* |
rm -fr conftest* |
3957 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
3958 |
echo "configure:3953: checking for finite()" >&5 |
echo "configure:3959: checking for finite()" >&5 |
3959 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3960 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
3961 |
else |
else |
3962 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3963 |
#line 3958 "configure" |
#line 3964 "configure" |
3964 |
#include "confdefs.h" |
#include "confdefs.h" |
3965 |
#include <math.h> |
#include <math.h> |
3966 |
int main() { |
int main() { |
3968 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
3969 |
} |
} |
3970 |
EOF |
EOF |
3971 |
if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3972 |
then |
then |
3973 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3974 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4009 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4010 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4011 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4012 |
echo "configure:4007: checking for sockets" >&5 |
echo "configure:4013: checking for sockets" >&5 |
4013 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4014 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4015 |
echo "configure:4010: checking for connect" >&5 |
echo "configure:4016: checking for connect" >&5 |
4016 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4017 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4018 |
else |
else |
4019 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4020 |
#line 4015 "configure" |
#line 4021 "configure" |
4021 |
#include "confdefs.h" |
#include "confdefs.h" |
4022 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4023 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4040 |
|
|
4041 |
; return 0; } |
; return 0; } |
4042 |
EOF |
EOF |
4043 |
if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4044 |
rm -rf conftest* |
rm -rf conftest* |
4045 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4046 |
else |
else |
4062 |
|
|
4063 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4064 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4065 |
echo "configure:4060: checking for main in -lsocket" >&5 |
echo "configure:4066: checking for main in -lsocket" >&5 |
4066 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4067 |
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 |
4068 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4070 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4071 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4072 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4073 |
#line 4068 "configure" |
#line 4074 "configure" |
4074 |
#include "confdefs.h" |
#include "confdefs.h" |
4075 |
|
|
4076 |
int main() { |
int main() { |
4077 |
main() |
main() |
4078 |
; return 0; } |
; return 0; } |
4079 |
EOF |
EOF |
4080 |
if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4081 |
rm -rf conftest* |
rm -rf conftest* |
4082 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4083 |
else |
else |
4105 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4106 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4107 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4108 |
echo "configure:4103: checking for accept" >&5 |
echo "configure:4109: checking for accept" >&5 |
4109 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4110 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4111 |
else |
else |
4112 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4113 |
#line 4108 "configure" |
#line 4114 "configure" |
4114 |
#include "confdefs.h" |
#include "confdefs.h" |
4115 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4116 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4133 |
|
|
4134 |
; return 0; } |
; return 0; } |
4135 |
EOF |
EOF |
4136 |
if { (eval echo configure:4131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4137 |
rm -rf conftest* |
rm -rf conftest* |
4138 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4139 |
else |
else |
4155 |
|
|
4156 |
fi |
fi |
4157 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4158 |
echo "configure:4153: checking for gethostbyname" >&5 |
echo "configure:4159: checking for gethostbyname" >&5 |
4159 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4160 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4161 |
else |
else |
4162 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4163 |
#line 4158 "configure" |
#line 4164 "configure" |
4164 |
#include "confdefs.h" |
#include "confdefs.h" |
4165 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4166 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4183 |
|
|
4184 |
; return 0; } |
; return 0; } |
4185 |
EOF |
EOF |
4186 |
if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4187 |
rm -rf conftest* |
rm -rf conftest* |
4188 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4189 |
else |
else |
4201 |
else |
else |
4202 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4203 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4204 |
echo "configure:4199: checking for main in -lnsl" >&5 |
echo "configure:4205: checking for main in -lnsl" >&5 |
4205 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4206 |
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 |
4207 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4209 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4210 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4211 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4212 |
#line 4207 "configure" |
#line 4213 "configure" |
4213 |
#include "confdefs.h" |
#include "confdefs.h" |
4214 |
|
|
4215 |
int main() { |
int main() { |
4216 |
main() |
main() |
4217 |
; return 0; } |
; return 0; } |
4218 |
EOF |
EOF |
4219 |
if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4220 |
rm -rf conftest* |
rm -rf conftest* |
4221 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4222 |
else |
else |
4241 |
|
|
4242 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4243 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4244 |
echo "configure:4239: checking for main in -lreadline" >&5 |
echo "configure:4245: checking for main in -lreadline" >&5 |
4245 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4246 |
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 |
4247 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4249 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4250 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4251 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4252 |
#line 4247 "configure" |
#line 4253 "configure" |
4253 |
#include "confdefs.h" |
#include "confdefs.h" |
4254 |
|
|
4255 |
int main() { |
int main() { |
4256 |
main() |
main() |
4257 |
; return 0; } |
; return 0; } |
4258 |
EOF |
EOF |
4259 |
if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4260 |
rm -rf conftest* |
rm -rf conftest* |
4261 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4262 |
else |
else |
4288 |
|
|
4289 |
|
|
4290 |
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 |
4291 |
echo "configure:4286: checking For network code for nsocket.c" >&5 |
echo "configure:4292: checking For network code for nsocket.c" >&5 |
4292 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4293 |
#line 4288 "configure" |
#line 4294 "configure" |
4294 |
#include "confdefs.h" |
#include "confdefs.h" |
4295 |
|
|
4296 |
#include <sys/time.h> |
#include <sys/time.h> |
4317 |
|
|
4318 |
; return 0; } |
; return 0; } |
4319 |
EOF |
EOF |
4320 |
if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4321 |
rm -rf conftest* |
rm -rf conftest* |
4322 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4323 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4334 |
|
|
4335 |
|
|
4336 |
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 |
4337 |
echo "configure:4332: checking check for listen using fcntl" >&5 |
echo "configure:4338: checking check for listen using fcntl" >&5 |
4338 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4339 |
#line 4334 "configure" |
#line 4340 "configure" |
4340 |
#include "confdefs.h" |
#include "confdefs.h" |
4341 |
#include <stdio.h> |
#include <stdio.h> |
4342 |
#include <fcntl.h> |
#include <fcntl.h> |
4349 |
|
|
4350 |
; return 0; } |
; return 0; } |
4351 |
EOF |
EOF |
4352 |
if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4353 |
rm -rf conftest* |
rm -rf conftest* |
4354 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4355 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4368 |
|
|
4369 |
|
|
4370 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4371 |
echo "configure:4366: checking for profil" >&5 |
echo "configure:4372: checking for profil" >&5 |
4372 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4373 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4374 |
else |
else |
4375 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4376 |
#line 4371 "configure" |
#line 4377 "configure" |
4377 |
#include "confdefs.h" |
#include "confdefs.h" |
4378 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4379 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4396 |
|
|
4397 |
; return 0; } |
; return 0; } |
4398 |
EOF |
EOF |
4399 |
if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4400 |
rm -rf conftest* |
rm -rf conftest* |
4401 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4402 |
else |
else |
4421 |
|
|
4422 |
|
|
4423 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4424 |
echo "configure:4419: checking for setenv" >&5 |
echo "configure:4425: checking for setenv" >&5 |
4425 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4426 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4427 |
else |
else |
4428 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4429 |
#line 4424 "configure" |
#line 4430 "configure" |
4430 |
#include "confdefs.h" |
#include "confdefs.h" |
4431 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4432 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4449 |
|
|
4450 |
; return 0; } |
; return 0; } |
4451 |
EOF |
EOF |
4452 |
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4453 |
rm -rf conftest* |
rm -rf conftest* |
4454 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4455 |
else |
else |
4475 |
|
|
4476 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4477 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4478 |
echo "configure:4473: checking for putenv" >&5 |
echo "configure:4479: checking for putenv" >&5 |
4479 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4480 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4481 |
else |
else |
4482 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4483 |
#line 4478 "configure" |
#line 4484 "configure" |
4484 |
#include "confdefs.h" |
#include "confdefs.h" |
4485 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4486 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
4503 |
|
|
4504 |
; return 0; } |
; return 0; } |
4505 |
EOF |
EOF |
4506 |
if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4507 |
rm -rf conftest* |
rm -rf conftest* |
4508 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
4509 |
else |
else |
4529 |
fi |
fi |
4530 |
|
|
4531 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
4532 |
echo "configure:4527: checking for _cleanup" >&5 |
echo "configure:4533: checking for _cleanup" >&5 |
4533 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
4534 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4535 |
else |
else |
4536 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4537 |
#line 4532 "configure" |
#line 4538 "configure" |
4538 |
#include "confdefs.h" |
#include "confdefs.h" |
4539 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4540 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
4557 |
|
|
4558 |
; return 0; } |
; return 0; } |
4559 |
EOF |
EOF |
4560 |
if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4561 |
rm -rf conftest* |
rm -rf conftest* |
4562 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
4563 |
else |
else |
4583 |
gcl_ok=no |
gcl_ok=no |
4584 |
|
|
4585 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4586 |
#line 4581 "configure" |
#line 4587 "configure" |
4587 |
#include "confdefs.h" |
#include "confdefs.h" |
4588 |
#include <ctype.h> |
#include <ctype.h> |
4589 |
EOF |
EOF |
4611 |
|
|
4612 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
4613 |
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 |
4614 |
echo "configure:4609: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:4615: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
4615 |
|
|
4616 |
case $system in |
case $system in |
4617 |
OSF*) |
OSF*) |
4642 |
|
|
4643 |
|
|
4644 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
4645 |
echo "configure:4640: checking check for SV_ONSTACK" >&5 |
echo "configure:4646: checking check for SV_ONSTACK" >&5 |
4646 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4647 |
#line 4642 "configure" |
#line 4648 "configure" |
4648 |
#include "confdefs.h" |
#include "confdefs.h" |
4649 |
#include <signal.h> |
#include <signal.h> |
4650 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
4653 |
|
|
4654 |
; return 0; } |
; return 0; } |
4655 |
EOF |
EOF |
4656 |
if { (eval echo configure:4651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4657 |
rm -rf conftest* |
rm -rf conftest* |
4658 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4659 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
4670 |
rm -f conftest* |
rm -f conftest* |
4671 |
|
|
4672 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
4673 |
echo "configure:4668: checking check for SIGSYS" >&5 |
echo "configure:4674: checking check for SIGSYS" >&5 |
4674 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4675 |
#line 4670 "configure" |
#line 4676 "configure" |
4676 |
#include "confdefs.h" |
#include "confdefs.h" |
4677 |
#include <signal.h> |
#include <signal.h> |
4678 |
int joe=SIGSYS; |
int joe=SIGSYS; |
4681 |
|
|
4682 |
; return 0; } |
; return 0; } |
4683 |
EOF |
EOF |
4684 |
if { (eval echo configure:4679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4685 |
rm -rf conftest* |
rm -rf conftest* |
4686 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4687 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
4699 |
|
|
4700 |
|
|
4701 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
4702 |
echo "configure:4697: checking check for SIGEMT" >&5 |
echo "configure:4703: checking check for SIGEMT" >&5 |
4703 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4704 |
#line 4699 "configure" |
#line 4705 "configure" |
4705 |
#include "confdefs.h" |
#include "confdefs.h" |
4706 |
#include <signal.h> |
#include <signal.h> |
4707 |
int joe=SIGEMT; |
int joe=SIGEMT; |
4710 |
|
|
4711 |
; return 0; } |
; return 0; } |
4712 |
EOF |
EOF |
4713 |
if { (eval echo configure:4708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4714 |
rm -rf conftest* |
rm -rf conftest* |
4715 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4716 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
4734 |
do |
do |
4735 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4736 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4737 |
echo "configure:4732: checking for $ac_hdr" >&5 |
echo "configure:4738: checking for $ac_hdr" >&5 |
4738 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4739 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4740 |
else |
else |
4741 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4742 |
#line 4737 "configure" |
#line 4743 "configure" |
4743 |
#include "confdefs.h" |
#include "confdefs.h" |
4744 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4745 |
EOF |
EOF |
4746 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4747 |
{ (eval echo configure:4742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4748 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4749 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4750 |
rm -rf conftest* |
rm -rf conftest* |
4774 |
do |
do |
4775 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4776 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4777 |
echo "configure:4772: checking for $ac_hdr" >&5 |
echo "configure:4778: checking for $ac_hdr" >&5 |
4778 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4779 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4780 |
else |
else |
4781 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4782 |
#line 4777 "configure" |
#line 4783 "configure" |
4783 |
#include "confdefs.h" |
#include "confdefs.h" |
4784 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4785 |
EOF |
EOF |
4786 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4787 |
{ (eval echo configure:4782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4788 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4789 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4790 |
rm -rf conftest* |
rm -rf conftest* |
4811 |
done |
done |
4812 |
|
|
4813 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4814 |
#line 4809 "configure" |
#line 4815 "configure" |
4815 |
#include "confdefs.h" |
#include "confdefs.h" |
4816 |
#include <signal.h> |
#include <signal.h> |
4817 |
long code; |
long code; |
4822 |
|
|
4823 |
; return 0; } |
; return 0; } |
4824 |
EOF |
EOF |
4825 |
if { (eval echo configure:4820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4826 |
rm -rf conftest* |
rm -rf conftest* |
4827 |
|
|
4828 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
4843 |
rm -f conftest* |
rm -f conftest* |
4844 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
4845 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4846 |
#line 4841 "configure" |
#line 4847 "configure" |
4847 |
#include "confdefs.h" |
#include "confdefs.h" |
4848 |
#include <signal.h> |
#include <signal.h> |
4849 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
4860 |
|
|
4861 |
; return 0; } |
; return 0; } |
4862 |
EOF |
EOF |
4863 |
if { (eval echo configure:4858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4864 |
rm -rf conftest* |
rm -rf conftest* |
4865 |
|
|
4866 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
4903 |
# 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. |
4904 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
4905 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4906 |
echo "configure:4901: checking for $ac_word" >&5 |
echo "configure:4907: checking for $ac_word" >&5 |
4907 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
4908 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4909 |
else |
else |
4951 |
EOF |
EOF |
4952 |
|
|
4953 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
4954 |
echo "configure:4949: checking emacs site lisp directory" >&5 |
echo "configure:4955: checking emacs site lisp directory" >&5 |
4955 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
4956 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
4957 |
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 ` |
4974 |
EOF |
EOF |
4975 |
|
|
4976 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
4977 |
echo "configure:4972: checking emacs default.el" >&5 |
echo "configure:4978: checking emacs default.el" >&5 |
4978 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
4979 |
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 ` |
4980 |
else |
else |
5003 |
EOF |
EOF |
5004 |
|
|
5005 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5006 |
echo "configure:5001: checking emacs info/dir" >&5 |
echo "configure:5007: checking emacs info/dir" >&5 |
5007 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5008 |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
5009 |
fi |
fi |
5017 |
|
|
5018 |
|
|
5019 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5020 |
echo "configure:5015: checking for tcl/tk" >&5 |
echo "configure:5021: checking for tcl/tk" >&5 |
5021 |
|
|
5022 |
|
|
5023 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5040 |
# 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. |
5041 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5042 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5043 |
echo "configure:5038: checking for $ac_word" >&5 |
echo "configure:5044: checking for $ac_word" >&5 |
5044 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5045 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5046 |
else |
else |
5140 |
fi |
fi |
5141 |
fi |
fi |
5142 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5143 |
echo "configure:5138: checking for main in -llieee" >&5 |
echo "configure:5144: checking for main in -llieee" >&5 |
5144 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5145 |
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 |
5146 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5148 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5149 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5150 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5151 |
#line 5146 "configure" |
#line 5152 "configure" |
5152 |
#include "confdefs.h" |
#include "confdefs.h" |
5153 |
|
|
5154 |
int main() { |
int main() { |
5155 |
main() |
main() |
5156 |
; return 0; } |
; return 0; } |
5157 |
EOF |
EOF |
5158 |
if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5159 |
rm -rf conftest* |
rm -rf conftest* |
5160 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5161 |
else |
else |
5220 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5221 |
|
|
5222 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5223 |
echo "configure:5218: checking alloca" >&5 |
echo "configure:5224: checking alloca" >&5 |
5224 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5225 |
gcl_ok=no |
gcl_ok=no |
5226 |
else |
else |
5227 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5228 |
#line 5223 "configure" |
#line 5229 "configure" |
5229 |
#include "confdefs.h" |
#include "confdefs.h" |
5230 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5231 |
EOF |
EOF |
5232 |
if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5233 |
then |
then |
5234 |
: |
: |
5235 |
else |
else |
5252 |
gcl_ok=no |
gcl_ok=no |
5253 |
else |
else |
5254 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5255 |
#line 5250 "configure" |
#line 5256 "configure" |
5256 |
#include "confdefs.h" |
#include "confdefs.h" |
5257 |
#include <alloca.h> |
#include <alloca.h> |
5258 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5259 |
EOF |
EOF |
5260 |
if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5261 |
then |
then |
5262 |
: |
: |
5263 |
else |
else |
5318 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5319 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5320 |
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 |
5321 |
echo "configure:5316: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5322: checking Checking for buggy gcc version from redhat" >&5 |
5322 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5323 |
then |
then |
5324 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
5338 |
|
|
5339 |
FINAL_CFLAGS="$TCFLAGS" |
FINAL_CFLAGS="$TCFLAGS" |
5340 |
|
|
5341 |
CFLAGS="$TCFLAGS -I\$(GCLDIR)/o" |
CFLAGS="$TCFLAGS $TO3FLAGS -I\$(GCLDIR)/o" |
5342 |
|
|
5343 |
|
O3FLAGS=$TO3FLAGS |
5344 |
|
|
5345 |
|
O2FLAGS=$TO2FLAGS |
5346 |
|
|
5347 |
|
|
5348 |
if test -f h/$use.defs ; then |
if test -f h/$use.defs ; then |
5530 |
s%@NOTIFY@%$NOTIFY%g |
s%@NOTIFY@%$NOTIFY%g |
5531 |
s%@BROKEN_O4_OPT@%$BROKEN_O4_OPT%g |
s%@BROKEN_O4_OPT@%$BROKEN_O4_OPT%g |
5532 |
s%@FINAL_CFLAGS@%$FINAL_CFLAGS%g |
s%@FINAL_CFLAGS@%$FINAL_CFLAGS%g |
5533 |
|
s%@O3FLAGS@%$O3FLAGS%g |
5534 |
|
s%@O2FLAGS@%$O2FLAGS%g |
5535 |
s%@use@%$use%g |
s%@use@%$use%g |
5536 |
|
|
5537 |
CEOF |
CEOF |