1373 |
TO3FLAGS="" |
TO3FLAGS="" |
1374 |
TO2FLAGS="" |
TO2FLAGS="" |
1375 |
;; |
;; |
1376 |
|
arm*) |
1377 |
|
TCFLAGS="$TCFLAGS -mlong-calls";; |
1378 |
esac;; |
esac;; |
1379 |
esac |
esac |
1380 |
if test "$enable_pic" = "yes" ; then |
if test "$enable_pic" = "yes" ; then |
1387 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1388 |
|
|
1389 |
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 |
1390 |
echo "configure:1389: checking system version (for dynamic loading)" >&5 |
echo "configure:1391: checking system version (for dynamic loading)" >&5 |
1391 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1392 |
|
|
1393 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
1395 |
# 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. |
1396 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1397 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1398 |
echo "configure:1397: checking for $ac_word" >&5 |
echo "configure:1399: checking for $ac_word" >&5 |
1399 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1400 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1401 |
else |
else |
1431 |
# 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. |
1432 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1433 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1434 |
echo "configure:1433: checking for $ac_word" >&5 |
echo "configure:1435: checking for $ac_word" >&5 |
1435 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1436 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1437 |
else |
else |
1484 |
fi |
fi |
1485 |
fi |
fi |
1486 |
|
|
1487 |
|
MY_SUBDIRS= |
1488 |
|
|
1489 |
# |
# |
1490 |
# GMP |
# GMP |
1496 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1497 |
|
|
1498 |
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 |
1499 |
echo "configure:1497: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:1500: checking use_gmp=yes, doing configure in gmp directory" >&5 |
1500 |
echo |
# echo |
1501 |
echo "#" |
# echo "#" |
1502 |
echo "#" |
# echo "#" |
1503 |
echo "# -------------------" |
# echo "# -------------------" |
1504 |
echo "# Subconfigure of GMP" |
# echo "# Subconfigure of GMP" |
1505 |
echo "#" |
# echo "#" |
1506 |
echo "#" |
# echo "#" |
1507 |
|
|
1508 |
if test "$enable_oldgmp" = "yes" ; then |
if test "$enable_oldgmp" = "yes" ; then |
1509 |
GMPDIR=gmp |
GMPDIR=gmp |
1516 |
# m68k-linux) |
# m68k-linux) |
1517 |
# (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
# (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
1518 |
*) |
*) |
1519 |
(cd $GMPDIR && ./configure) ;; |
# (cd $GMPDIR && ./configure) ;; |
1520 |
|
MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" ;; |
1521 |
esac |
esac |
1522 |
echo "#" |
# echo "#" |
1523 |
echo "#" |
# echo "#" |
1524 |
echo "#" |
# echo "#" |
1525 |
echo "# Subconfigure of GMP done" |
# echo "# Subconfigure of GMP done" |
1526 |
echo "# ------------------------" |
# echo "# ------------------------" |
1527 |
echo "#" |
# echo "#" |
1528 |
|
|
1529 |
PATCHED_SYMBOLS="" |
PATCHED_SYMBOLS="" |
1530 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
1531 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
1532 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
1533 |
echo "configure:1530: checking for gmp.h" >&5 |
echo "configure:1534: checking for gmp.h" >&5 |
1534 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1535 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1536 |
else |
else |
1537 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1538 |
#line 1535 "configure" |
#line 1539 "configure" |
1539 |
#include "confdefs.h" |
#include "confdefs.h" |
1540 |
#include <gmp.h> |
#include <gmp.h> |
1541 |
EOF |
EOF |
1542 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1543 |
{ (eval echo configure:1540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1544 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1545 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1546 |
rm -rf conftest* |
rm -rf conftest* |
1557 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1558 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1559 |
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 |
1560 |
echo "configure:1557: checking for __gmpz_init in -lgmp" >&5 |
echo "configure:1561: checking for __gmpz_init in -lgmp" >&5 |
1561 |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
1562 |
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 |
1563 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1565 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1566 |
LIBS="-lgmp $LIBS" |
LIBS="-lgmp $LIBS" |
1567 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1568 |
#line 1565 "configure" |
#line 1569 "configure" |
1569 |
#include "confdefs.h" |
#include "confdefs.h" |
1570 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1571 |
/* 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 |
1576 |
__gmpz_init() |
__gmpz_init() |
1577 |
; return 0; } |
; return 0; } |
1578 |
EOF |
EOF |
1579 |
if { (eval echo configure:1576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1580 |
rm -rf conftest* |
rm -rf conftest* |
1581 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1582 |
else |
else |
1622 |
fi |
fi |
1623 |
|
|
1624 |
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 |
1625 |
echo "configure:1622: checking "for size of gmp limbs"" >&5 |
echo "configure:1626: checking "for size of gmp limbs"" >&5 |
1626 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1627 |
mpsize=0 |
mpsize=0 |
1628 |
else |
else |
1629 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1630 |
#line 1627 "configure" |
#line 1631 "configure" |
1631 |
#include "confdefs.h" |
#include "confdefs.h" |
1632 |
#include <stdio.h> |
#include <stdio.h> |
1633 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1638 |
return 0; |
return 0; |
1639 |
} |
} |
1640 |
EOF |
EOF |
1641 |
if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1642 |
then |
then |
1643 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1644 |
else |
else |
1661 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$ac_t""$mpsize" 1>&6 |
1662 |
|
|
1663 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
1664 |
echo "configure:1661: checking "_SHORT_LIMB"" >&5 |
echo "configure:1665: checking "_SHORT_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 1666 "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:1678: \"$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 __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
1694 |
fi |
fi |
1695 |
|
|
1696 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
1697 |
echo "configure:1694: checking "_LONG_LONG_LIMB"" >&5 |
echo "configure:1698: checking "_LONG_LONG_LIMB"" >&5 |
1698 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1699 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1700 |
else |
else |
1701 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1702 |
#line 1699 "configure" |
#line 1703 "configure" |
1703 |
#include "confdefs.h" |
#include "confdefs.h" |
1704 |
#include <stdio.h> |
#include <stdio.h> |
1705 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1711 |
#endif |
#endif |
1712 |
} |
} |
1713 |
EOF |
EOF |
1714 |
if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1715 |
then |
then |
1716 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1717 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
1750 |
# 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. |
1751 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
1752 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1753 |
echo "configure:1750: checking for X" >&5 |
echo "configure:1754: checking for X" >&5 |
1754 |
|
|
1755 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
1756 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
1812 |
|
|
1813 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
1814 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1815 |
#line 1812 "configure" |
#line 1816 "configure" |
1816 |
#include "confdefs.h" |
#include "confdefs.h" |
1817 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
1818 |
EOF |
EOF |
1819 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1820 |
{ (eval echo configure:1817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1821 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1822 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1823 |
rm -rf conftest* |
rm -rf conftest* |
1886 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1887 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
1888 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1889 |
#line 1886 "configure" |
#line 1890 "configure" |
1890 |
#include "confdefs.h" |
#include "confdefs.h" |
1891 |
|
|
1892 |
int main() { |
int main() { |
1893 |
${x_direct_test_function}() |
${x_direct_test_function}() |
1894 |
; return 0; } |
; return 0; } |
1895 |
EOF |
EOF |
1896 |
if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1897 |
rm -rf conftest* |
rm -rf conftest* |
1898 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
1899 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
1999 |
case "`(uname -sr) 2>/dev/null`" in |
case "`(uname -sr) 2>/dev/null`" in |
2000 |
"SunOS 5"*) |
"SunOS 5"*) |
2001 |
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 |
2002 |
echo "configure:1999: checking whether -R must be followed by a space" >&5 |
echo "configure:2003: checking whether -R must be followed by a space" >&5 |
2003 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
2004 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2005 |
#line 2002 "configure" |
#line 2006 "configure" |
2006 |
#include "confdefs.h" |
#include "confdefs.h" |
2007 |
|
|
2008 |
int main() { |
int main() { |
2009 |
|
|
2010 |
; return 0; } |
; return 0; } |
2011 |
EOF |
EOF |
2012 |
if { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2013 |
rm -rf conftest* |
rm -rf conftest* |
2014 |
ac_R_nospace=yes |
ac_R_nospace=yes |
2015 |
else |
else |
2025 |
else |
else |
2026 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
2027 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2028 |
#line 2025 "configure" |
#line 2029 "configure" |
2029 |
#include "confdefs.h" |
#include "confdefs.h" |
2030 |
|
|
2031 |
int main() { |
int main() { |
2032 |
|
|
2033 |
; return 0; } |
; return 0; } |
2034 |
EOF |
EOF |
2035 |
if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2036 |
rm -rf conftest* |
rm -rf conftest* |
2037 |
ac_R_space=yes |
ac_R_space=yes |
2038 |
else |
else |
2064 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
2065 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
2066 |
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 |
2067 |
echo "configure:2064: checking for dnet_ntoa in -ldnet" >&5 |
echo "configure:2068: checking for dnet_ntoa in -ldnet" >&5 |
2068 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2069 |
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 |
2070 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2072 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2073 |
LIBS="-ldnet $LIBS" |
LIBS="-ldnet $LIBS" |
2074 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2075 |
#line 2072 "configure" |
#line 2076 "configure" |
2076 |
#include "confdefs.h" |
#include "confdefs.h" |
2077 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2078 |
/* 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 |
2083 |
dnet_ntoa() |
dnet_ntoa() |
2084 |
; return 0; } |
; return 0; } |
2085 |
EOF |
EOF |
2086 |
if { (eval echo configure:2083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2087 |
rm -rf conftest* |
rm -rf conftest* |
2088 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2089 |
else |
else |
2105 |
|
|
2106 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2107 |
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 |
2108 |
echo "configure:2105: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "configure:2109: checking for dnet_ntoa in -ldnet_stub" >&5 |
2109 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2110 |
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 |
2111 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2113 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2114 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
2115 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2116 |
#line 2113 "configure" |
#line 2117 "configure" |
2117 |
#include "confdefs.h" |
#include "confdefs.h" |
2118 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2119 |
/* 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 |
2124 |
dnet_ntoa() |
dnet_ntoa() |
2125 |
; return 0; } |
; return 0; } |
2126 |
EOF |
EOF |
2127 |
if { (eval echo configure:2124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2128 |
rm -rf conftest* |
rm -rf conftest* |
2129 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2130 |
else |
else |
2153 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
2154 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to dickey@clark.net. |
2155 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2156 |
echo "configure:2153: checking for gethostbyname" >&5 |
echo "configure:2157: checking for gethostbyname" >&5 |
2157 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2158 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2159 |
else |
else |
2160 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2161 |
#line 2158 "configure" |
#line 2162 "configure" |
2162 |
#include "confdefs.h" |
#include "confdefs.h" |
2163 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2164 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2181 |
|
|
2182 |
; return 0; } |
; return 0; } |
2183 |
EOF |
EOF |
2184 |
if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2185 |
rm -rf conftest* |
rm -rf conftest* |
2186 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2187 |
else |
else |
2202 |
|
|
2203 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
2204 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2205 |
echo "configure:2202: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2206: checking for gethostbyname in -lnsl" >&5 |
2206 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2207 |
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 |
2208 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2210 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2211 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2212 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2213 |
#line 2210 "configure" |
#line 2214 "configure" |
2214 |
#include "confdefs.h" |
#include "confdefs.h" |
2215 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2216 |
/* 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 |
2221 |
gethostbyname() |
gethostbyname() |
2222 |
; return 0; } |
; return 0; } |
2223 |
EOF |
EOF |
2224 |
if { (eval echo configure:2221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2225 |
rm -rf conftest* |
rm -rf conftest* |
2226 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2227 |
else |
else |
2251 |
# -lsocket must be given before -lnsl if both are needed. |
# -lsocket must be given before -lnsl if both are needed. |
2252 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# We assume that if connect needs -lnsl, so does gethostbyname. |
2253 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2254 |
echo "configure:2251: checking for connect" >&5 |
echo "configure:2255: checking for connect" >&5 |
2255 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2256 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2257 |
else |
else |
2258 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2259 |
#line 2256 "configure" |
#line 2260 "configure" |
2260 |
#include "confdefs.h" |
#include "confdefs.h" |
2261 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2262 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2279 |
|
|
2280 |
; return 0; } |
; return 0; } |
2281 |
EOF |
EOF |
2282 |
if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2283 |
rm -rf conftest* |
rm -rf conftest* |
2284 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2285 |
else |
else |
2300 |
|
|
2301 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
2302 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
2303 |
echo "configure:2300: checking for connect in -lsocket" >&5 |
echo "configure:2304: checking for connect in -lsocket" >&5 |
2304 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
2305 |
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 |
2306 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2308 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2309 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
2310 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2311 |
#line 2308 "configure" |
#line 2312 "configure" |
2312 |
#include "confdefs.h" |
#include "confdefs.h" |
2313 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2314 |
/* 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 |
2319 |
connect() |
connect() |
2320 |
; return 0; } |
; return 0; } |
2321 |
EOF |
EOF |
2322 |
if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2323 |
rm -rf conftest* |
rm -rf conftest* |
2324 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2325 |
else |
else |
2343 |
|
|
2344 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
2345 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
2346 |
echo "configure:2343: checking for remove" >&5 |
echo "configure:2347: checking for remove" >&5 |
2347 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
2348 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2349 |
else |
else |
2350 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2351 |
#line 2348 "configure" |
#line 2352 "configure" |
2352 |
#include "confdefs.h" |
#include "confdefs.h" |
2353 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2354 |
which can conflict with char remove(); below. */ |
which can conflict with char remove(); below. */ |
2371 |
|
|
2372 |
; return 0; } |
; return 0; } |
2373 |
EOF |
EOF |
2374 |
if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2375 |
rm -rf conftest* |
rm -rf conftest* |
2376 |
eval "ac_cv_func_remove=yes" |
eval "ac_cv_func_remove=yes" |
2377 |
else |
else |
2392 |
|
|
2393 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
2394 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
2395 |
echo "configure:2392: checking for remove in -lposix" >&5 |
echo "configure:2396: checking for remove in -lposix" >&5 |
2396 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
2397 |
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 |
2398 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2400 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2401 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
2402 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2403 |
#line 2400 "configure" |
#line 2404 "configure" |
2404 |
#include "confdefs.h" |
#include "confdefs.h" |
2405 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2406 |
/* 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 |
2411 |
remove() |
remove() |
2412 |
; return 0; } |
; return 0; } |
2413 |
EOF |
EOF |
2414 |
if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2415 |
rm -rf conftest* |
rm -rf conftest* |
2416 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2417 |
else |
else |
2435 |
|
|
2436 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
2437 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
2438 |
echo "configure:2435: checking for shmat" >&5 |
echo "configure:2439: checking for shmat" >&5 |
2439 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
2440 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2441 |
else |
else |
2442 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2443 |
#line 2440 "configure" |
#line 2444 "configure" |
2444 |
#include "confdefs.h" |
#include "confdefs.h" |
2445 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2446 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat(); below. */ |
2463 |
|
|
2464 |
; return 0; } |
; return 0; } |
2465 |
EOF |
EOF |
2466 |
if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2467 |
rm -rf conftest* |
rm -rf conftest* |
2468 |
eval "ac_cv_func_shmat=yes" |
eval "ac_cv_func_shmat=yes" |
2469 |
else |
else |
2484 |
|
|
2485 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
2486 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
2487 |
echo "configure:2484: checking for shmat in -lipc" >&5 |
echo "configure:2488: checking for shmat in -lipc" >&5 |
2488 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
2489 |
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 |
2490 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2492 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2493 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
2494 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2495 |
#line 2492 "configure" |
#line 2496 "configure" |
2496 |
#include "confdefs.h" |
#include "confdefs.h" |
2497 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2498 |
/* 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 |
2503 |
shmat() |
shmat() |
2504 |
; return 0; } |
; return 0; } |
2505 |
EOF |
EOF |
2506 |
if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2507 |
rm -rf conftest* |
rm -rf conftest* |
2508 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2509 |
else |
else |
2536 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
2537 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
2538 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
2539 |
echo "configure:2536: checking for IceConnectionNumber in -lICE" >&5 |
echo "configure:2540: checking for IceConnectionNumber in -lICE" >&5 |
2540 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
2541 |
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 |
2542 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2544 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2545 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
2546 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2547 |
#line 2544 "configure" |
#line 2548 "configure" |
2548 |
#include "confdefs.h" |
#include "confdefs.h" |
2549 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2550 |
/* 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 |
2555 |
IceConnectionNumber() |
IceConnectionNumber() |
2556 |
; return 0; } |
; return 0; } |
2557 |
EOF |
EOF |
2558 |
if { (eval echo configure:2555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2559 |
rm -rf conftest* |
rm -rf conftest* |
2560 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2561 |
else |
else |
2586 |
|
|
2587 |
miss=0 |
miss=0 |
2588 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
2589 |
echo "configure:2586: checking for main in -lXmu" >&5 |
echo "configure:2590: checking for main in -lXmu" >&5 |
2590 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
2591 |
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 |
2592 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2594 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2595 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
2596 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2597 |
#line 2594 "configure" |
#line 2598 "configure" |
2598 |
#include "confdefs.h" |
#include "confdefs.h" |
2599 |
|
|
2600 |
int main() { |
int main() { |
2601 |
main() |
main() |
2602 |
; return 0; } |
; return 0; } |
2603 |
EOF |
EOF |
2604 |
if { (eval echo configure:2601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2605 |
rm -rf conftest* |
rm -rf conftest* |
2606 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2607 |
else |
else |
2623 |
fi |
fi |
2624 |
|
|
2625 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
2626 |
echo "configure:2623: checking for main in -lXt" >&5 |
echo "configure:2627: checking for main in -lXt" >&5 |
2627 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
2628 |
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 |
2629 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2631 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2632 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
2633 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2634 |
#line 2631 "configure" |
#line 2635 "configure" |
2635 |
#include "confdefs.h" |
#include "confdefs.h" |
2636 |
|
|
2637 |
int main() { |
int main() { |
2638 |
main() |
main() |
2639 |
; return 0; } |
; return 0; } |
2640 |
EOF |
EOF |
2641 |
if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2642 |
rm -rf conftest* |
rm -rf conftest* |
2643 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2644 |
else |
else |
2660 |
fi |
fi |
2661 |
|
|
2662 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
2663 |
echo "configure:2660: checking for main in -lXext" >&5 |
echo "configure:2664: checking for main in -lXext" >&5 |
2664 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
2665 |
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 |
2666 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2668 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2669 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
2670 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2671 |
#line 2668 "configure" |
#line 2672 "configure" |
2672 |
#include "confdefs.h" |
#include "confdefs.h" |
2673 |
|
|
2674 |
int main() { |
int main() { |
2675 |
main() |
main() |
2676 |
; return 0; } |
; return 0; } |
2677 |
EOF |
EOF |
2678 |
if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2679 |
rm -rf conftest* |
rm -rf conftest* |
2680 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2681 |
else |
else |
2697 |
fi |
fi |
2698 |
|
|
2699 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
2700 |
echo "configure:2697: checking for main in -lXaw" >&5 |
echo "configure:2701: checking for main in -lXaw" >&5 |
2701 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
2702 |
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 |
2703 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2705 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2706 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
2707 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2708 |
#line 2705 "configure" |
#line 2709 "configure" |
2709 |
#include "confdefs.h" |
#include "confdefs.h" |
2710 |
|
|
2711 |
int main() { |
int main() { |
2712 |
main() |
main() |
2713 |
; return 0; } |
; return 0; } |
2714 |
EOF |
EOF |
2715 |
if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2716 |
rm -rf conftest* |
rm -rf conftest* |
2717 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2718 |
else |
else |
2734 |
fi |
fi |
2735 |
|
|
2736 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
2737 |
echo "configure:2734: checking for main in -lX11" >&5 |
echo "configure:2738: checking for main in -lX11" >&5 |
2738 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
2739 |
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 |
2740 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2742 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2743 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
2744 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2745 |
#line 2742 "configure" |
#line 2746 "configure" |
2746 |
#include "confdefs.h" |
#include "confdefs.h" |
2747 |
|
|
2748 |
int main() { |
int main() { |
2749 |
main() |
main() |
2750 |
; return 0; } |
; return 0; } |
2751 |
EOF |
EOF |
2752 |
if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2753 |
rm -rf conftest* |
rm -rf conftest* |
2754 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2755 |
else |
else |
2788 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
2789 |
|
|
2790 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2791 |
echo "configure:2788: checking for dlopen in -ldl" >&5 |
echo "configure:2792: checking for dlopen in -ldl" >&5 |
2792 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2793 |
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 |
2794 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2796 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2797 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2798 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2799 |
#line 2796 "configure" |
#line 2800 "configure" |
2800 |
#include "confdefs.h" |
#include "confdefs.h" |
2801 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2802 |
/* 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 |
2807 |
dlopen() |
dlopen() |
2808 |
; return 0; } |
; return 0; } |
2809 |
EOF |
EOF |
2810 |
if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2811 |
rm -rf conftest* |
rm -rf conftest* |
2812 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2813 |
else |
else |
2843 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
2844 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2845 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2846 |
echo "configure:2843: checking for bfd.h" >&5 |
echo "configure:2847: checking for bfd.h" >&5 |
2847 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2848 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2849 |
else |
else |
2850 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2851 |
#line 2848 "configure" |
#line 2852 "configure" |
2852 |
#include "confdefs.h" |
#include "confdefs.h" |
2853 |
#include <bfd.h> |
#include <bfd.h> |
2854 |
EOF |
EOF |
2855 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2856 |
{ (eval echo configure:2853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2857 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2858 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2859 |
rm -rf conftest* |
rm -rf conftest* |
2870 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2871 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2872 |
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 |
2873 |
echo "configure:2870: checking for bfd_init in -lbfd" >&5 |
echo "configure:2874: checking for bfd_init in -lbfd" >&5 |
2874 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2875 |
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 |
2876 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2878 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2879 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2880 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2881 |
#line 2878 "configure" |
#line 2882 "configure" |
2882 |
#include "confdefs.h" |
#include "confdefs.h" |
2883 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2884 |
/* 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 |
2889 |
bfd_init() |
bfd_init() |
2890 |
; return 0; } |
; return 0; } |
2891 |
EOF |
EOF |
2892 |
if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2893 |
rm -rf conftest* |
rm -rf conftest* |
2894 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2895 |
else |
else |
2908 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
2909 |
# |
# |
2910 |
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 |
2911 |
echo "configure:2908: checking if need to define CONST for bfd" >&5 |
echo "configure:2912: checking if need to define CONST for bfd" >&5 |
2912 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2913 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2914 |
else |
else |
2915 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2916 |
#line 2913 "configure" |
#line 2917 "configure" |
2917 |
#include "confdefs.h" |
#include "confdefs.h" |
2918 |
#define IN_GCC |
#define IN_GCC |
2919 |
#include <bfd.h> |
#include <bfd.h> |
2920 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
2921 |
EOF |
EOF |
2922 |
if { (eval echo configure:2919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2923 |
then |
then |
2924 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2925 |
else |
else |
2930 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
2931 |
else |
else |
2932 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2933 |
#line 2930 "configure" |
#line 2934 "configure" |
2934 |
#include "confdefs.h" |
#include "confdefs.h" |
2935 |
#define CONST const |
#define CONST const |
2936 |
#define IN_GCC |
#define IN_GCC |
2937 |
#include <bfd.h> |
#include <bfd.h> |
2938 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
2939 |
EOF |
EOF |
2940 |
if { (eval echo configure:2937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2941 |
then |
then |
2942 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2943 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2987 |
fi |
fi |
2988 |
|
|
2989 |
if test "$enable_locbfd" = "yes" ; then |
if test "$enable_locbfd" = "yes" ; then |
2990 |
echo "#" |
# echo "#" |
2991 |
echo "#" |
# echo "#" |
2992 |
echo "# -------------------------" |
# echo "# -------------------------" |
2993 |
echo "# Subconfigure of LIBIBERTY" |
# echo "# Subconfigure of LIBIBERTY" |
2994 |
echo "#" |
# echo "#" |
2995 |
echo "#" |
# echo "#" |
2996 |
cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
# cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
2997 |
echo "#" |
MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty " |
2998 |
echo "#" |
# echo "#" |
2999 |
echo "#" |
# echo "#" |
3000 |
echo "# Subconfigure of LIBIBERTY done" |
# echo "#" |
3001 |
echo "# ------------------------------" |
# echo "# Subconfigure of LIBIBERTY done" |
3002 |
echo "#" |
# echo "# ------------------------------" |
3003 |
echo "#" |
# echo "#" |
3004 |
echo "#" |
# echo "#" |
3005 |
echo "# -------------------" |
# echo "#" |
3006 |
echo "# Subconfigure of BFD" |
# echo "# -------------------" |
3007 |
echo "#" |
# echo "# Subconfigure of BFD" |
3008 |
echo "#" |
# echo "#" |
3009 |
cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
# echo "#" |
3010 |
echo "#" |
# cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
3011 |
echo "#" |
MY_SUBDIRS="$MY_SUBDIRS binutils/bfd " |
3012 |
echo "#" |
# echo "#" |
3013 |
echo "# Subconfigure of BFD done" |
# echo "#" |
3014 |
echo "# ------------------------" |
# echo "#" |
3015 |
echo "#" |
# echo "# Subconfigure of BFD done" |
3016 |
|
# echo "# ------------------------" |
3017 |
|
# echo "#" |
3018 |
TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
3019 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3020 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
3024 |
|
|
3025 |
fi |
fi |
3026 |
|
|
3027 |
|
subdirs="$MY_SUBDIRS" |
3028 |
|
|
3029 |
|
|
3030 |
# Find where Data begins. This is used by the storage allocation |
# Find where Data begins. This is used by the storage allocation |
3031 |
# mechanism, in the PAGE macro. This offset is subtracted from |
# mechanism, in the PAGE macro. This offset is subtracted from |
3032 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
3033 |
|
|
3034 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
3035 |
echo "configure:3027: checking size of long *" >&5 |
echo "configure:3036: checking size of long *" >&5 |
3036 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
3037 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3038 |
else |
else |
3040 |
ac_cv_sizeof_long_p=0 |
ac_cv_sizeof_long_p=0 |
3041 |
else |
else |
3042 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3043 |
#line 3035 "configure" |
#line 3044 "configure" |
3044 |
#include "confdefs.h" |
#include "confdefs.h" |
3045 |
#include <stdio.h> |
#include <stdio.h> |
3046 |
#include <sys/types.h> |
#include <sys/types.h> |
3052 |
exit(0); |
exit(0); |
3053 |
} |
} |
3054 |
EOF |
EOF |
3055 |
if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3056 |
then |
then |
3057 |
ac_cv_sizeof_long_p=`cat conftestval` |
ac_cv_sizeof_long_p=`cat conftestval` |
3058 |
else |
else |
3076 |
do |
do |
3077 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3078 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3079 |
echo "configure:3071: checking for $ac_hdr" >&5 |
echo "configure:3080: checking for $ac_hdr" >&5 |
3080 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3081 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3082 |
else |
else |
3083 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3084 |
#line 3076 "configure" |
#line 3085 "configure" |
3085 |
#include "confdefs.h" |
#include "confdefs.h" |
3086 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3087 |
EOF |
EOF |
3088 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3089 |
{ (eval echo configure:3081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3090 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3091 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3092 |
rm -rf conftest* |
rm -rf conftest* |
3107 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
3108 |
EOF |
EOF |
3109 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
3110 |
echo "configure:3102: checking "endianness"" >&5 |
echo "configure:3111: checking "endianness"" >&5 |
3111 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3112 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
3113 |
else |
else |
3114 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3115 |
#line 3107 "configure" |
#line 3116 "configure" |
3116 |
#include "confdefs.h" |
#include "confdefs.h" |
3117 |
#define __ARMEB__ |
#define __ARMEB__ |
3118 |
#include <endian.h> |
#include <endian.h> |
3119 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
3120 |
EOF |
EOF |
3121 |
if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3122 |
then |
then |
3123 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3124 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
3141 |
|
|
3142 |
|
|
3143 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
3144 |
echo "configure:3136: checking "finding DBEGIN"" >&5 |
echo "configure:3145: checking "finding DBEGIN"" >&5 |
3145 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3146 |
dbegin=0 |
dbegin=0 |
3147 |
else |
else |
3148 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3149 |
#line 3141 "configure" |
#line 3150 "configure" |
3150 |
#include "confdefs.h" |
#include "confdefs.h" |
3151 |
#include <stdio.h> |
#include <stdio.h> |
3152 |
#include <stdlib.h> |
#include <stdlib.h> |
3163 |
return 0; |
return 0; |
3164 |
} |
} |
3165 |
EOF |
EOF |
3166 |
if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3167 |
then |
then |
3168 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
3169 |
else |
else |
3185 |
|
|
3186 |
|
|
3187 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
3188 |
echo "configure:3180: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:3189: checking "finding CSTACK_ADDRESS"" >&5 |
3189 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3190 |
cstack_address=0 |
cstack_address=0 |
3191 |
else |
else |
3192 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3193 |
#line 3185 "configure" |
#line 3194 "configure" |
3194 |
#include "confdefs.h" |
#include "confdefs.h" |
3195 |
#include <stdio.h> |
#include <stdio.h> |
3196 |
main() |
main() |
3202 |
return 0; |
return 0; |
3203 |
} |
} |
3204 |
EOF |
EOF |
3205 |
if { (eval echo configure:3197: \"$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 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
3208 |
else |
else |
3224 |
|
|
3225 |
|
|
3226 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
3227 |
echo "configure:3219: checking "sizeof long long int"" >&5 |
echo "configure:3228: checking "sizeof long long int"" >&5 |
3228 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3229 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3230 |
|
|
3231 |
else |
else |
3232 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3233 |
#line 3225 "configure" |
#line 3234 "configure" |
3234 |
#include "confdefs.h" |
#include "confdefs.h" |
3235 |
#include <stdio.h> |
#include <stdio.h> |
3236 |
main() |
main() |
3240 |
} |
} |
3241 |
|
|
3242 |
EOF |
EOF |
3243 |
if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3244 |
then |
then |
3245 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3246 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
3293 |
|
|
3294 |
# pagewidth |
# pagewidth |
3295 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
3296 |
echo "configure:3288: checking for pagewidth" >&5 |
echo "configure:3297: checking for pagewidth" >&5 |
3297 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3298 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
3299 |
else |
else |
3300 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3301 |
#line 3293 "configure" |
#line 3302 "configure" |
3302 |
#include "confdefs.h" |
#include "confdefs.h" |
3303 |
#include <stdio.h> |
#include <stdio.h> |
3304 |
#include <unistd.h> |
#include <unistd.h> |
3308 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
3309 |
return 0;} |
return 0;} |
3310 |
EOF |
EOF |
3311 |
if { (eval echo configure:3303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3312 |
then |
then |
3313 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
3314 |
else |
else |
3335 |
for ac_func in getcwd |
for ac_func in getcwd |
3336 |
do |
do |
3337 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3338 |
echo "configure:3330: checking for $ac_func" >&5 |
echo "configure:3339: checking for $ac_func" >&5 |
3339 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3340 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3341 |
else |
else |
3342 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3343 |
#line 3335 "configure" |
#line 3344 "configure" |
3344 |
#include "confdefs.h" |
#include "confdefs.h" |
3345 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3346 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3363 |
|
|
3364 |
; return 0; } |
; return 0; } |
3365 |
EOF |
EOF |
3366 |
if { (eval echo configure:3358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3367 |
rm -rf conftest* |
rm -rf conftest* |
3368 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3369 |
else |
else |
3390 |
for ac_func in getwd |
for ac_func in getwd |
3391 |
do |
do |
3392 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3393 |
echo "configure:3385: checking for $ac_func" >&5 |
echo "configure:3394: checking for $ac_func" >&5 |
3394 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3395 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3396 |
else |
else |
3397 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3398 |
#line 3390 "configure" |
#line 3399 "configure" |
3399 |
#include "confdefs.h" |
#include "confdefs.h" |
3400 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3401 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3418 |
|
|
3419 |
; return 0; } |
; return 0; } |
3420 |
EOF |
EOF |
3421 |
if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3422 |
rm -rf conftest* |
rm -rf conftest* |
3423 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3424 |
else |
else |
3443 |
done |
done |
3444 |
|
|
3445 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
3446 |
echo "configure:3438: checking for uname" >&5 |
echo "configure:3447: checking for uname" >&5 |
3447 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
3448 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3449 |
else |
else |
3450 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3451 |
#line 3443 "configure" |
#line 3452 "configure" |
3452 |
#include "confdefs.h" |
#include "confdefs.h" |
3453 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3454 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
3471 |
|
|
3472 |
; return 0; } |
; return 0; } |
3473 |
EOF |
EOF |
3474 |
if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3475 |
rm -rf conftest* |
rm -rf conftest* |
3476 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
3477 |
else |
else |
3495 |
fi |
fi |
3496 |
|
|
3497 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3498 |
echo "configure:3490: checking for gettimeofday" >&5 |
echo "configure:3499: checking for gettimeofday" >&5 |
3499 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3500 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3501 |
else |
else |
3502 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3503 |
#line 3495 "configure" |
#line 3504 "configure" |
3504 |
#include "confdefs.h" |
#include "confdefs.h" |
3505 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3506 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3523 |
|
|
3524 |
; return 0; } |
; return 0; } |
3525 |
EOF |
EOF |
3526 |
if { (eval echo configure:3518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3527 |
rm -rf conftest* |
rm -rf conftest* |
3528 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3529 |
else |
else |
3552 |
do |
do |
3553 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3554 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3555 |
echo "configure:3547: checking for $ac_hdr" >&5 |
echo "configure:3556: checking for $ac_hdr" >&5 |
3556 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3557 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3558 |
else |
else |
3559 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3560 |
#line 3552 "configure" |
#line 3561 "configure" |
3561 |
#include "confdefs.h" |
#include "confdefs.h" |
3562 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3563 |
EOF |
EOF |
3564 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3565 |
{ (eval echo configure:3557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3566 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3567 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3568 |
rm -rf conftest* |
rm -rf conftest* |
3602 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3603 |
|
|
3604 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
3605 |
echo "configure:3597: checking for BSDgettimeofday" >&5 |
echo "configure:3606: checking for BSDgettimeofday" >&5 |
3606 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
3607 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3608 |
else |
else |
3609 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3610 |
#line 3602 "configure" |
#line 3611 "configure" |
3611 |
#include "confdefs.h" |
#include "confdefs.h" |
3612 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3613 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
3630 |
|
|
3631 |
; return 0; } |
; return 0; } |
3632 |
EOF |
EOF |
3633 |
if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3634 |
rm -rf conftest* |
rm -rf conftest* |
3635 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
3636 |
else |
else |
3651 |
else |
else |
3652 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3653 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3654 |
echo "configure:3646: checking for gettimeofday" >&5 |
echo "configure:3655: checking for gettimeofday" >&5 |
3655 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3656 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3657 |
else |
else |
3658 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3659 |
#line 3651 "configure" |
#line 3660 "configure" |
3660 |
#include "confdefs.h" |
#include "confdefs.h" |
3661 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3662 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3679 |
|
|
3680 |
; return 0; } |
; return 0; } |
3681 |
EOF |
EOF |
3682 |
if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3683 |
rm -rf conftest* |
rm -rf conftest* |
3684 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3685 |
else |
else |
3706 |
|
|
3707 |
|
|
3708 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
3709 |
echo "configure:3701: checking for gettimeofday declaration" >&5 |
echo "configure:3710: checking for gettimeofday declaration" >&5 |
3710 |
|
|
3711 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3712 |
#line 3704 "configure" |
#line 3713 "configure" |
3713 |
#include "confdefs.h" |
#include "confdefs.h" |
3714 |
#include <sys/time.h> |
#include <sys/time.h> |
3715 |
EOF |
EOF |
3730 |
|
|
3731 |
|
|
3732 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3733 |
echo "configure:3725: checking for sin in -lm" >&5 |
echo "configure:3734: checking for sin in -lm" >&5 |
3734 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3735 |
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 |
3736 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3738 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3739 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
3740 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3741 |
#line 3733 "configure" |
#line 3742 "configure" |
3742 |
#include "confdefs.h" |
#include "confdefs.h" |
3743 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3744 |
/* 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 |
3749 |
sin() |
sin() |
3750 |
; return 0; } |
; return 0; } |
3751 |
EOF |
EOF |
3752 |
if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3753 |
rm -rf conftest* |
rm -rf conftest* |
3754 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3755 |
else |
else |
3771 |
fi |
fi |
3772 |
|
|
3773 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
3774 |
echo "configure:3766: checking for main in -lmingwex" >&5 |
echo "configure:3775: checking for main in -lmingwex" >&5 |
3775 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
3776 |
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 |
3777 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3779 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3780 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
3781 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3782 |
#line 3774 "configure" |
#line 3783 "configure" |
3783 |
#include "confdefs.h" |
#include "confdefs.h" |
3784 |
|
|
3785 |
int main() { |
int main() { |
3786 |
main() |
main() |
3787 |
; return 0; } |
; return 0; } |
3788 |
EOF |
EOF |
3789 |
if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3790 |
rm -rf conftest* |
rm -rf conftest* |
3791 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3792 |
else |
else |
3815 |
do |
do |
3816 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3817 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3818 |
echo "configure:3810: checking for $ac_hdr" >&5 |
echo "configure:3819: checking for $ac_hdr" >&5 |
3819 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3820 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3821 |
else |
else |
3822 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3823 |
#line 3815 "configure" |
#line 3824 "configure" |
3824 |
#include "confdefs.h" |
#include "confdefs.h" |
3825 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3826 |
EOF |
EOF |
3827 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3828 |
{ (eval echo configure:3820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3829 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3830 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3831 |
rm -rf conftest* |
rm -rf conftest* |
3862 |
do |
do |
3863 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3864 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3865 |
echo "configure:3857: checking for $ac_hdr" >&5 |
echo "configure:3866: checking for $ac_hdr" >&5 |
3866 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3867 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3868 |
else |
else |
3869 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3870 |
#line 3862 "configure" |
#line 3871 "configure" |
3871 |
#include "confdefs.h" |
#include "confdefs.h" |
3872 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3873 |
EOF |
EOF |
3874 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3875 |
{ (eval echo configure:3867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3876 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3877 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3878 |
rm -rf conftest* |
rm -rf conftest* |
3909 |
do |
do |
3910 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3911 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3912 |
echo "configure:3904: checking for $ac_hdr" >&5 |
echo "configure:3913: checking for $ac_hdr" >&5 |
3913 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3914 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3915 |
else |
else |
3916 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3917 |
#line 3909 "configure" |
#line 3918 "configure" |
3918 |
#include "confdefs.h" |
#include "confdefs.h" |
3919 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3920 |
EOF |
EOF |
3921 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3922 |
{ (eval echo configure:3914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3923 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3924 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3925 |
rm -rf conftest* |
rm -rf conftest* |
3955 |
# test makes sense. CM |
# test makes sense. CM |
3956 |
# |
# |
3957 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
3958 |
echo "configure:3950: checking for isnormal" >&5 |
echo "configure:3959: checking for isnormal" >&5 |
3959 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3960 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
3961 |
else |
else |
3962 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3963 |
#line 3955 "configure" |
#line 3964 "configure" |
3964 |
#include "confdefs.h" |
#include "confdefs.h" |
3965 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
3966 |
#include <math.h> |
#include <math.h> |
3969 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
3970 |
} |
} |
3971 |
EOF |
EOF |
3972 |
if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3973 |
then |
then |
3974 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3975 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
3980 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
3981 |
rm -fr conftest* |
rm -fr conftest* |
3982 |
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 |
3983 |
echo "configure:3975: checking for fpclass in ieeefp.h" >&5 |
echo "configure:3984: checking for fpclass in ieeefp.h" >&5 |
3984 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3985 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
3986 |
else |
else |
3987 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3988 |
#line 3980 "configure" |
#line 3989 "configure" |
3989 |
#include "confdefs.h" |
#include "confdefs.h" |
3990 |
#include <ieeefp.h> |
#include <ieeefp.h> |
3991 |
int main() { |
int main() { |
3993 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
3994 |
} |
} |
3995 |
EOF |
EOF |
3996 |
if { (eval echo configure:3988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3997 |
then |
then |
3998 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3999 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
4015 |
|
|
4016 |
|
|
4017 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
4018 |
echo "configure:4010: checking for isfinite" >&5 |
echo "configure:4019: checking for isfinite" >&5 |
4019 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4020 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
4021 |
else |
else |
4022 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4023 |
#line 4015 "configure" |
#line 4024 "configure" |
4024 |
#include "confdefs.h" |
#include "confdefs.h" |
4025 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4026 |
#include <math.h> |
#include <math.h> |
4029 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
4030 |
} |
} |
4031 |
EOF |
EOF |
4032 |
if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4033 |
then |
then |
4034 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4035 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
4040 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4041 |
rm -fr conftest* |
rm -fr conftest* |
4042 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
4043 |
echo "configure:4035: checking for finite()" >&5 |
echo "configure:4044: checking for finite()" >&5 |
4044 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4045 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
4046 |
else |
else |
4047 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4048 |
#line 4040 "configure" |
#line 4049 "configure" |
4049 |
#include "confdefs.h" |
#include "confdefs.h" |
4050 |
#include <math.h> |
#include <math.h> |
4051 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4054 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
4055 |
} |
} |
4056 |
EOF |
EOF |
4057 |
if { (eval echo configure:4049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4058 |
then |
then |
4059 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4060 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4095 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4096 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4097 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4098 |
echo "configure:4090: checking for sockets" >&5 |
echo "configure:4099: checking for sockets" >&5 |
4099 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4100 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4101 |
echo "configure:4093: checking for connect" >&5 |
echo "configure:4102: checking for connect" >&5 |
4102 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4103 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4104 |
else |
else |
4105 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4106 |
#line 4098 "configure" |
#line 4107 "configure" |
4107 |
#include "confdefs.h" |
#include "confdefs.h" |
4108 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4109 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4126 |
|
|
4127 |
; return 0; } |
; return 0; } |
4128 |
EOF |
EOF |
4129 |
if { (eval echo configure:4121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4130 |
rm -rf conftest* |
rm -rf conftest* |
4131 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4132 |
else |
else |
4148 |
|
|
4149 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4150 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4151 |
echo "configure:4143: checking for main in -lsocket" >&5 |
echo "configure:4152: checking for main in -lsocket" >&5 |
4152 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4153 |
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 |
4154 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4156 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4157 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4158 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4159 |
#line 4151 "configure" |
#line 4160 "configure" |
4160 |
#include "confdefs.h" |
#include "confdefs.h" |
4161 |
|
|
4162 |
int main() { |
int main() { |
4163 |
main() |
main() |
4164 |
; return 0; } |
; return 0; } |
4165 |
EOF |
EOF |
4166 |
if { (eval echo configure:4158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4167 |
rm -rf conftest* |
rm -rf conftest* |
4168 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4169 |
else |
else |
4191 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4192 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4193 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4194 |
echo "configure:4186: checking for accept" >&5 |
echo "configure:4195: checking for accept" >&5 |
4195 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4196 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4197 |
else |
else |
4198 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4199 |
#line 4191 "configure" |
#line 4200 "configure" |
4200 |
#include "confdefs.h" |
#include "confdefs.h" |
4201 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4202 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4219 |
|
|
4220 |
; return 0; } |
; return 0; } |
4221 |
EOF |
EOF |
4222 |
if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4223 |
rm -rf conftest* |
rm -rf conftest* |
4224 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4225 |
else |
else |
4241 |
|
|
4242 |
fi |
fi |
4243 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4244 |
echo "configure:4236: checking for gethostbyname" >&5 |
echo "configure:4245: checking for gethostbyname" >&5 |
4245 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4246 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4247 |
else |
else |
4248 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4249 |
#line 4241 "configure" |
#line 4250 "configure" |
4250 |
#include "confdefs.h" |
#include "confdefs.h" |
4251 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4252 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4269 |
|
|
4270 |
; return 0; } |
; return 0; } |
4271 |
EOF |
EOF |
4272 |
if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4273 |
rm -rf conftest* |
rm -rf conftest* |
4274 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4275 |
else |
else |
4287 |
else |
else |
4288 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4289 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4290 |
echo "configure:4282: checking for main in -lnsl" >&5 |
echo "configure:4291: checking for main in -lnsl" >&5 |
4291 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4292 |
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 |
4293 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4295 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4296 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4297 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4298 |
#line 4290 "configure" |
#line 4299 "configure" |
4299 |
#include "confdefs.h" |
#include "confdefs.h" |
4300 |
|
|
4301 |
int main() { |
int main() { |
4302 |
main() |
main() |
4303 |
; return 0; } |
; return 0; } |
4304 |
EOF |
EOF |
4305 |
if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4306 |
rm -rf conftest* |
rm -rf conftest* |
4307 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4308 |
else |
else |
4327 |
|
|
4328 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4329 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4330 |
echo "configure:4322: checking for main in -lreadline" >&5 |
echo "configure:4331: checking for main in -lreadline" >&5 |
4331 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4332 |
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 |
4333 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4335 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4336 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4337 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4338 |
#line 4330 "configure" |
#line 4339 "configure" |
4339 |
#include "confdefs.h" |
#include "confdefs.h" |
4340 |
|
|
4341 |
int main() { |
int main() { |
4342 |
main() |
main() |
4343 |
; return 0; } |
; return 0; } |
4344 |
EOF |
EOF |
4345 |
if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4346 |
rm -rf conftest* |
rm -rf conftest* |
4347 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4348 |
else |
else |
4374 |
|
|
4375 |
|
|
4376 |
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 |
4377 |
echo "configure:4369: checking For network code for nsocket.c" >&5 |
echo "configure:4378: checking For network code for nsocket.c" >&5 |
4378 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4379 |
#line 4371 "configure" |
#line 4380 "configure" |
4380 |
#include "confdefs.h" |
#include "confdefs.h" |
4381 |
|
|
4382 |
#include <sys/time.h> |
#include <sys/time.h> |
4403 |
|
|
4404 |
; return 0; } |
; return 0; } |
4405 |
EOF |
EOF |
4406 |
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4407 |
rm -rf conftest* |
rm -rf conftest* |
4408 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4409 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4420 |
|
|
4421 |
|
|
4422 |
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 |
4423 |
echo "configure:4415: checking check for listen using fcntl" >&5 |
echo "configure:4424: checking check for listen using fcntl" >&5 |
4424 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4425 |
#line 4417 "configure" |
#line 4426 "configure" |
4426 |
#include "confdefs.h" |
#include "confdefs.h" |
4427 |
#include <stdio.h> |
#include <stdio.h> |
4428 |
#include <fcntl.h> |
#include <fcntl.h> |
4435 |
|
|
4436 |
; return 0; } |
; return 0; } |
4437 |
EOF |
EOF |
4438 |
if { (eval echo configure:4430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4439 |
rm -rf conftest* |
rm -rf conftest* |
4440 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4441 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4454 |
|
|
4455 |
|
|
4456 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4457 |
echo "configure:4449: checking for profil" >&5 |
echo "configure:4458: checking for profil" >&5 |
4458 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4459 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4460 |
else |
else |
4461 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4462 |
#line 4454 "configure" |
#line 4463 "configure" |
4463 |
#include "confdefs.h" |
#include "confdefs.h" |
4464 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4465 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4482 |
|
|
4483 |
; return 0; } |
; return 0; } |
4484 |
EOF |
EOF |
4485 |
if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4486 |
rm -rf conftest* |
rm -rf conftest* |
4487 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4488 |
else |
else |
4507 |
|
|
4508 |
|
|
4509 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4510 |
echo "configure:4502: checking for setenv" >&5 |
echo "configure:4511: checking for setenv" >&5 |
4511 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4512 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4513 |
else |
else |
4514 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4515 |
#line 4507 "configure" |
#line 4516 "configure" |
4516 |
#include "confdefs.h" |
#include "confdefs.h" |
4517 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4518 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4535 |
|
|
4536 |
; return 0; } |
; return 0; } |
4537 |
EOF |
EOF |
4538 |
if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4539 |
rm -rf conftest* |
rm -rf conftest* |
4540 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4541 |
else |
else |
4561 |
|
|
4562 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4563 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4564 |
echo "configure:4556: checking for putenv" >&5 |
echo "configure:4565: checking for putenv" >&5 |
4565 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4566 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4567 |
else |
else |
4568 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4569 |
#line 4561 "configure" |
#line 4570 "configure" |
4570 |
#include "confdefs.h" |
#include "confdefs.h" |
4571 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4572 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
4589 |
|
|
4590 |
; return 0; } |
; return 0; } |
4591 |
EOF |
EOF |
4592 |
if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4593 |
rm -rf conftest* |
rm -rf conftest* |
4594 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
4595 |
else |
else |
4615 |
fi |
fi |
4616 |
|
|
4617 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
4618 |
echo "configure:4610: checking for _cleanup" >&5 |
echo "configure:4619: checking for _cleanup" >&5 |
4619 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
4620 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4621 |
else |
else |
4622 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4623 |
#line 4615 "configure" |
#line 4624 "configure" |
4624 |
#include "confdefs.h" |
#include "confdefs.h" |
4625 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4626 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
4643 |
|
|
4644 |
; return 0; } |
; return 0; } |
4645 |
EOF |
EOF |
4646 |
if { (eval echo configure:4638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4647 |
rm -rf conftest* |
rm -rf conftest* |
4648 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
4649 |
else |
else |
4669 |
gcl_ok=no |
gcl_ok=no |
4670 |
|
|
4671 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4672 |
#line 4664 "configure" |
#line 4673 "configure" |
4673 |
#include "confdefs.h" |
#include "confdefs.h" |
4674 |
#include <ctype.h> |
#include <ctype.h> |
4675 |
EOF |
EOF |
4697 |
|
|
4698 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
4699 |
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 |
4700 |
echo "configure:4692: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:4701: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
4701 |
|
|
4702 |
case $system in |
case $system in |
4703 |
OSF*) |
OSF*) |
4728 |
|
|
4729 |
|
|
4730 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
4731 |
echo "configure:4723: checking check for SV_ONSTACK" >&5 |
echo "configure:4732: checking check for SV_ONSTACK" >&5 |
4732 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4733 |
#line 4725 "configure" |
#line 4734 "configure" |
4734 |
#include "confdefs.h" |
#include "confdefs.h" |
4735 |
#include <signal.h> |
#include <signal.h> |
4736 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
4739 |
|
|
4740 |
; return 0; } |
; return 0; } |
4741 |
EOF |
EOF |
4742 |
if { (eval echo configure:4734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4743 |
rm -rf conftest* |
rm -rf conftest* |
4744 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4745 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
4756 |
rm -f conftest* |
rm -f conftest* |
4757 |
|
|
4758 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
4759 |
echo "configure:4751: checking check for SIGSYS" >&5 |
echo "configure:4760: checking check for SIGSYS" >&5 |
4760 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4761 |
#line 4753 "configure" |
#line 4762 "configure" |
4762 |
#include "confdefs.h" |
#include "confdefs.h" |
4763 |
#include <signal.h> |
#include <signal.h> |
4764 |
int joe=SIGSYS; |
int joe=SIGSYS; |
4767 |
|
|
4768 |
; return 0; } |
; return 0; } |
4769 |
EOF |
EOF |
4770 |
if { (eval echo configure:4762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4771 |
rm -rf conftest* |
rm -rf conftest* |
4772 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4773 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
4785 |
|
|
4786 |
|
|
4787 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
4788 |
echo "configure:4780: checking check for SIGEMT" >&5 |
echo "configure:4789: checking check for SIGEMT" >&5 |
4789 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4790 |
#line 4782 "configure" |
#line 4791 "configure" |
4791 |
#include "confdefs.h" |
#include "confdefs.h" |
4792 |
#include <signal.h> |
#include <signal.h> |
4793 |
int joe=SIGEMT; |
int joe=SIGEMT; |
4796 |
|
|
4797 |
; return 0; } |
; return 0; } |
4798 |
EOF |
EOF |
4799 |
if { (eval echo configure:4791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4800 |
rm -rf conftest* |
rm -rf conftest* |
4801 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4802 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
4820 |
do |
do |
4821 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4822 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4823 |
echo "configure:4815: checking for $ac_hdr" >&5 |
echo "configure:4824: checking for $ac_hdr" >&5 |
4824 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4825 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4826 |
else |
else |
4827 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4828 |
#line 4820 "configure" |
#line 4829 "configure" |
4829 |
#include "confdefs.h" |
#include "confdefs.h" |
4830 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4831 |
EOF |
EOF |
4832 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4833 |
{ (eval echo configure:4825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4834 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4835 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4836 |
rm -rf conftest* |
rm -rf conftest* |
4860 |
do |
do |
4861 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4862 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4863 |
echo "configure:4855: checking for $ac_hdr" >&5 |
echo "configure:4864: checking for $ac_hdr" >&5 |
4864 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4865 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4866 |
else |
else |
4867 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4868 |
#line 4860 "configure" |
#line 4869 "configure" |
4869 |
#include "confdefs.h" |
#include "confdefs.h" |
4870 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4871 |
EOF |
EOF |
4872 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4873 |
{ (eval echo configure:4865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4874 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4875 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4876 |
rm -rf conftest* |
rm -rf conftest* |
4897 |
done |
done |
4898 |
|
|
4899 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4900 |
#line 4892 "configure" |
#line 4901 "configure" |
4901 |
#include "confdefs.h" |
#include "confdefs.h" |
4902 |
#include <signal.h> |
#include <signal.h> |
4903 |
long code; |
long code; |
4908 |
|
|
4909 |
; return 0; } |
; return 0; } |
4910 |
EOF |
EOF |
4911 |
if { (eval echo configure:4903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4912 |
rm -rf conftest* |
rm -rf conftest* |
4913 |
|
|
4914 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
4929 |
rm -f conftest* |
rm -f conftest* |
4930 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
4931 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4932 |
#line 4924 "configure" |
#line 4933 "configure" |
4933 |
#include "confdefs.h" |
#include "confdefs.h" |
4934 |
#include <signal.h> |
#include <signal.h> |
4935 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
4946 |
|
|
4947 |
; return 0; } |
; return 0; } |
4948 |
EOF |
EOF |
4949 |
if { (eval echo configure:4941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4950 |
rm -rf conftest* |
rm -rf conftest* |
4951 |
|
|
4952 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
4989 |
# 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. |
4990 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
4991 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4992 |
echo "configure:4984: checking for $ac_word" >&5 |
echo "configure:4993: checking for $ac_word" >&5 |
4993 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
4994 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4995 |
else |
else |
5037 |
EOF |
EOF |
5038 |
|
|
5039 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5040 |
echo "configure:5032: checking emacs site lisp directory" >&5 |
echo "configure:5041: checking emacs site lisp directory" >&5 |
5041 |
if [ "$EMACS" != "" ] && [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS" != "" ] && [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
5042 |
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 ` |
5043 |
else |
else |
5059 |
EOF |
EOF |
5060 |
|
|
5061 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5062 |
echo "configure:5054: checking emacs default.el" >&5 |
echo "configure:5063: checking emacs default.el" >&5 |
5063 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5064 |
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 ` |
5065 |
else |
else |
5088 |
EOF |
EOF |
5089 |
|
|
5090 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5091 |
echo "configure:5083: checking emacs info/dir" >&5 |
echo "configure:5092: checking emacs info/dir" >&5 |
5092 |
if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then |
if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then |
5093 |
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 ` |
5094 |
fi |
fi |
5102 |
|
|
5103 |
|
|
5104 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5105 |
echo "configure:5097: checking for tcl/tk" >&5 |
echo "configure:5106: checking for tcl/tk" >&5 |
5106 |
|
|
5107 |
|
|
5108 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5125 |
# 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. |
5126 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5127 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5128 |
echo "configure:5120: checking for $ac_word" >&5 |
echo "configure:5129: checking for $ac_word" >&5 |
5129 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5130 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5131 |
else |
else |
5225 |
fi |
fi |
5226 |
fi |
fi |
5227 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5228 |
echo "configure:5220: checking for main in -llieee" >&5 |
echo "configure:5229: checking for main in -llieee" >&5 |
5229 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5230 |
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 |
5231 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5233 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5234 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5235 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5236 |
#line 5228 "configure" |
#line 5237 "configure" |
5237 |
#include "confdefs.h" |
#include "confdefs.h" |
5238 |
|
|
5239 |
int main() { |
int main() { |
5240 |
main() |
main() |
5241 |
; return 0; } |
; return 0; } |
5242 |
EOF |
EOF |
5243 |
if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5244 |
rm -rf conftest* |
rm -rf conftest* |
5245 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5246 |
else |
else |
5305 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5306 |
|
|
5307 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5308 |
echo "configure:5300: checking alloca" >&5 |
echo "configure:5309: checking alloca" >&5 |
5309 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5310 |
gcl_ok=no |
gcl_ok=no |
5311 |
else |
else |
5312 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5313 |
#line 5305 "configure" |
#line 5314 "configure" |
5314 |
#include "confdefs.h" |
#include "confdefs.h" |
5315 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5316 |
EOF |
EOF |
5317 |
if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5318 |
then |
then |
5319 |
: |
: |
5320 |
else |
else |
5337 |
gcl_ok=no |
gcl_ok=no |
5338 |
else |
else |
5339 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5340 |
#line 5332 "configure" |
#line 5341 "configure" |
5341 |
#include "confdefs.h" |
#include "confdefs.h" |
5342 |
#include <alloca.h> |
#include <alloca.h> |
5343 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5344 |
EOF |
EOF |
5345 |
if { (eval echo configure:5337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5346 |
then |
then |
5347 |
: |
: |
5348 |
else |
else |
5403 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5404 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5405 |
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 |
5406 |
echo "configure:5398: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5407: checking Checking for buggy gcc version from redhat" >&5 |
5407 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5408 |
then |
then |
5409 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
5581 |
s%@X_LIBS@%$X_LIBS%g |
s%@X_LIBS@%$X_LIBS%g |
5582 |
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
5583 |
s%@BUILD_BFD@%$BUILD_BFD%g |
s%@BUILD_BFD@%$BUILD_BFD%g |
5584 |
|
s%@subdirs@%$subdirs%g |
5585 |
s%@LITTLE_END@%$LITTLE_END%g |
s%@LITTLE_END@%$LITTLE_END%g |
5586 |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
5587 |
s%@FLISP@%$FLISP%g |
s%@FLISP@%$FLISP%g |
5833 |
rm -fr confdefs* $ac_clean_files |
rm -fr confdefs* $ac_clean_files |
5834 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
5835 |
|
|
5836 |
|
if test "$no_recursion" != yes; then |
5837 |
|
|
5838 |
|
# Remove --cache-file and --srcdir arguments so they do not pile up. |
5839 |
|
ac_sub_configure_args= |
5840 |
|
ac_prev= |
5841 |
|
for ac_arg in $ac_configure_args; do |
5842 |
|
if test -n "$ac_prev"; then |
5843 |
|
ac_prev= |
5844 |
|
continue |
5845 |
|
fi |
5846 |
|
case "$ac_arg" in |
5847 |
|
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
5848 |
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
5849 |
|
ac_prev=cache_file ;; |
5850 |
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
5851 |
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
5852 |
|
;; |
5853 |
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
5854 |
|
ac_prev=srcdir ;; |
5855 |
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
5856 |
|
;; |
5857 |
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
5858 |
|
esac |
5859 |
|
done |
5860 |
|
|
5861 |
|
for ac_config_dir in $MY_SUBDIRS; do |
5862 |
|
|
5863 |
|
# Do not complain, so a configure script can configure whichever |
5864 |
|
# parts of a large source tree are present. |
5865 |
|
if test ! -d $srcdir/$ac_config_dir; then |
5866 |
|
continue |
5867 |
|
fi |
5868 |
|
|
5869 |
|
echo configuring in $ac_config_dir |
5870 |
|
|
5871 |
|
case "$srcdir" in |
5872 |
|
.) ;; |
5873 |
|
*) |
5874 |
|
if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; |
5875 |
|
else |
5876 |
|
{ echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } |
5877 |
|
fi |
5878 |
|
;; |
5879 |
|
esac |
5880 |
|
|
5881 |
|
ac_popdir=`pwd` |
5882 |
|
cd $ac_config_dir |
5883 |
|
|
5884 |
|
# A "../" for each directory in /$ac_config_dir. |
5885 |
|
ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` |
5886 |
|
|
5887 |
|
case "$srcdir" in |
5888 |
|
.) # No --srcdir option. We are building in place. |
5889 |
|
ac_sub_srcdir=$srcdir ;; |
5890 |
|
/*) # Absolute path. |
5891 |
|
ac_sub_srcdir=$srcdir/$ac_config_dir ;; |
5892 |
|
*) # Relative path. |
5893 |
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; |
5894 |
|
esac |
5895 |
|
|
5896 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
5897 |
|
if test -f $ac_sub_srcdir/configure; then |
5898 |
|
ac_sub_configure=$ac_sub_srcdir/configure |
5899 |
|
elif test -f $ac_sub_srcdir/configure.in; then |
5900 |
|
ac_sub_configure=$ac_configure |
5901 |
|
else |
5902 |
|
echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 |
5903 |
|
ac_sub_configure= |
5904 |
|
fi |
5905 |
|
|
5906 |
|
# The recursion is here. |
5907 |
|
if test -n "$ac_sub_configure"; then |
5908 |
|
|
5909 |
|
# Make the cache file name correct relative to the subdirectory. |
5910 |
|
case "$cache_file" in |
5911 |
|
/*) ac_sub_cache_file=$cache_file ;; |
5912 |
|
*) # Relative path. |
5913 |
|
ac_sub_cache_file="$ac_dots$cache_file" ;; |
5914 |
|
esac |
5915 |
|
|
5916 |
|
echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" |
5917 |
|
# The eval makes quoting arguments work. |
5918 |
|
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir |
5919 |
|
then : |
5920 |
|
else |
5921 |
|
{ echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } |
5922 |
|
fi |
5923 |
|
fi |
5924 |
|
|
5925 |
|
cd $ac_popdir |
5926 |
|
done |
5927 |
|
fi |
5928 |
|
|
5929 |
echo makedefc |
echo makedefc |
5930 |
cat makedefc |
cat makedefc |
5931 |
|
|