1563 |
true |
true |
1564 |
fi |
fi |
1565 |
|
|
1566 |
|
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
1567 |
|
echo "configure:1568: checking for main in -lmingwex" >&5 |
1568 |
|
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
1569 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1570 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1571 |
|
else |
1572 |
|
ac_save_LIBS="$LIBS" |
1573 |
|
LIBS="-lmingwex $LIBS" |
1574 |
|
cat > conftest.$ac_ext <<EOF |
1575 |
|
#line 1576 "configure" |
1576 |
|
#include "confdefs.h" |
1577 |
|
|
1578 |
|
int main() { |
1579 |
|
main() |
1580 |
|
; return 0; } |
1581 |
|
EOF |
1582 |
|
if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1583 |
|
rm -rf conftest* |
1584 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1585 |
|
else |
1586 |
|
echo "configure: failed program was:" >&5 |
1587 |
|
cat conftest.$ac_ext >&5 |
1588 |
|
rm -rf conftest* |
1589 |
|
eval "ac_cv_lib_$ac_lib_var=no" |
1590 |
|
fi |
1591 |
|
rm -f conftest* |
1592 |
|
LIBS="$ac_save_LIBS" |
1593 |
|
|
1594 |
|
fi |
1595 |
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1596 |
|
echo "$ac_t""yes" 1>&6 |
1597 |
|
LIBS="${LIBS} -lmingwex" |
1598 |
|
else |
1599 |
|
echo "$ac_t""no" 1>&6 |
1600 |
|
true |
1601 |
|
fi |
1602 |
|
|
1603 |
|
|
1604 |
# Should really find a way to check for prototypes, but this |
# Should really find a way to check for prototypes, but this |
1605 |
# basically works for now. CM |
# basically works for now. CM |
1608 |
do |
do |
1609 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1610 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1611 |
echo "configure:1575: checking for $ac_hdr" >&5 |
echo "configure:1612: checking for $ac_hdr" >&5 |
1612 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1613 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1614 |
else |
else |
1615 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1616 |
#line 1580 "configure" |
#line 1617 "configure" |
1617 |
#include "confdefs.h" |
#include "confdefs.h" |
1618 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1619 |
EOF |
EOF |
1620 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1621 |
{ (eval echo configure:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1622 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1623 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1624 |
rm -rf conftest* |
rm -rf conftest* |
1654 |
# test makes sense. CM |
# test makes sense. CM |
1655 |
# |
# |
1656 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
1657 |
echo "configure:1621: checking for isnormal" >&5 |
echo "configure:1658: checking for isnormal" >&5 |
1658 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1659 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
1660 |
else |
else |
1661 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1662 |
#line 1626 "configure" |
#line 1663 "configure" |
1663 |
#include "confdefs.h" |
#include "confdefs.h" |
1664 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
1665 |
#include <math.h> |
#include <math.h> |
1668 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
1669 |
} |
} |
1670 |
EOF |
EOF |
1671 |
if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1672 |
then |
then |
1673 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1674 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
1679 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
1680 |
rm -fr conftest* |
rm -fr conftest* |
1681 |
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 |
1682 |
echo "configure:1646: checking for fpclass in ieeefp.h" >&5 |
echo "configure:1683: checking for fpclass in ieeefp.h" >&5 |
1683 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1684 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
1685 |
else |
else |
1686 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1687 |
#line 1651 "configure" |
#line 1688 "configure" |
1688 |
#include "confdefs.h" |
#include "confdefs.h" |
1689 |
#include <ieeefp.h> |
#include <ieeefp.h> |
1690 |
int main() { |
int main() { |
1692 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
1693 |
} |
} |
1694 |
EOF |
EOF |
1695 |
if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1696 |
then |
then |
1697 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1698 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
1733 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
1734 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1735 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
1736 |
echo "configure:1700: checking for sockets" >&5 |
echo "configure:1737: checking for sockets" >&5 |
1737 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
1738 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
1739 |
echo "configure:1703: checking for connect" >&5 |
echo "configure:1740: checking for connect" >&5 |
1740 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
1741 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1742 |
else |
else |
1743 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1744 |
#line 1708 "configure" |
#line 1745 "configure" |
1745 |
#include "confdefs.h" |
#include "confdefs.h" |
1746 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1747 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
1764 |
|
|
1765 |
; return 0; } |
; return 0; } |
1766 |
EOF |
EOF |
1767 |
if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1768 |
rm -rf conftest* |
rm -rf conftest* |
1769 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
1770 |
else |
else |
1786 |
|
|
1787 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
1788 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
1789 |
echo "configure:1753: checking for main in -lsocket" >&5 |
echo "configure:1790: checking for main in -lsocket" >&5 |
1790 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
1791 |
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 |
1792 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1794 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1795 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
1796 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1797 |
#line 1761 "configure" |
#line 1798 "configure" |
1798 |
#include "confdefs.h" |
#include "confdefs.h" |
1799 |
|
|
1800 |
int main() { |
int main() { |
1801 |
main() |
main() |
1802 |
; return 0; } |
; return 0; } |
1803 |
EOF |
EOF |
1804 |
if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1805 |
rm -rf conftest* |
rm -rf conftest* |
1806 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1807 |
else |
else |
1829 |
tk_oldLibs=$LIBS |
tk_oldLibs=$LIBS |
1830 |
LIBS="$LIBS -lsocket -lnsl" |
LIBS="$LIBS -lsocket -lnsl" |
1831 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
1832 |
echo "configure:1796: checking for accept" >&5 |
echo "configure:1833: checking for accept" >&5 |
1833 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
1834 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1835 |
else |
else |
1836 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1837 |
#line 1801 "configure" |
#line 1838 "configure" |
1838 |
#include "confdefs.h" |
#include "confdefs.h" |
1839 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1840 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
1857 |
|
|
1858 |
; return 0; } |
; return 0; } |
1859 |
EOF |
EOF |
1860 |
if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1861 |
rm -rf conftest* |
rm -rf conftest* |
1862 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
1863 |
else |
else |
1879 |
|
|
1880 |
fi |
fi |
1881 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
1882 |
echo "configure:1846: checking for gethostbyname" >&5 |
echo "configure:1883: checking for gethostbyname" >&5 |
1883 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
1884 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1885 |
else |
else |
1886 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1887 |
#line 1851 "configure" |
#line 1888 "configure" |
1888 |
#include "confdefs.h" |
#include "confdefs.h" |
1889 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1890 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
1907 |
|
|
1908 |
; return 0; } |
; return 0; } |
1909 |
EOF |
EOF |
1910 |
if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1911 |
rm -rf conftest* |
rm -rf conftest* |
1912 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
1913 |
else |
else |
1925 |
else |
else |
1926 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1927 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
1928 |
echo "configure:1892: checking for main in -lnsl" >&5 |
echo "configure:1929: checking for main in -lnsl" >&5 |
1929 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
1930 |
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 |
1931 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1933 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1934 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
1935 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1936 |
#line 1900 "configure" |
#line 1937 "configure" |
1937 |
#include "confdefs.h" |
#include "confdefs.h" |
1938 |
|
|
1939 |
int main() { |
int main() { |
1940 |
main() |
main() |
1941 |
; return 0; } |
; return 0; } |
1942 |
EOF |
EOF |
1943 |
if { (eval echo configure:1907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1944 |
rm -rf conftest* |
rm -rf conftest* |
1945 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1946 |
else |
else |
1964 |
|
|
1965 |
|
|
1966 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
1967 |
echo "configure:1931: checking for main in -lreadline" >&5 |
echo "configure:1968: checking for main in -lreadline" >&5 |
1968 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
1969 |
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 |
1970 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1972 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1973 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
1974 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1975 |
#line 1939 "configure" |
#line 1976 "configure" |
1976 |
#include "confdefs.h" |
#include "confdefs.h" |
1977 |
|
|
1978 |
int main() { |
int main() { |
1979 |
main() |
main() |
1980 |
; return 0; } |
; return 0; } |
1981 |
EOF |
EOF |
1982 |
if { (eval echo configure:1946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1983 |
rm -rf conftest* |
rm -rf conftest* |
1984 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1985 |
else |
else |
2011 |
|
|
2012 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2013 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2014 |
echo "configure:1978: checking for bfd.h" >&5 |
echo "configure:2015: checking for bfd.h" >&5 |
2015 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2016 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2017 |
else |
else |
2018 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2019 |
#line 1983 "configure" |
#line 2020 "configure" |
2020 |
#include "confdefs.h" |
#include "confdefs.h" |
2021 |
#include <bfd.h> |
#include <bfd.h> |
2022 |
EOF |
EOF |
2023 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2024 |
{ (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2025 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2026 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2027 |
rm -rf conftest* |
rm -rf conftest* |
2038 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2039 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2040 |
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 |
2041 |
echo "configure:2005: checking for bfd_init in -lbfd" >&5 |
echo "configure:2042: checking for bfd_init in -lbfd" >&5 |
2042 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2043 |
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 |
2044 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2046 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2047 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2048 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2049 |
#line 2013 "configure" |
#line 2050 "configure" |
2050 |
#include "confdefs.h" |
#include "confdefs.h" |
2051 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2052 |
/* 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 |
2057 |
bfd_init() |
bfd_init() |
2058 |
; return 0; } |
; return 0; } |
2059 |
EOF |
EOF |
2060 |
if { (eval echo configure:2024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2061 |
rm -rf conftest* |
rm -rf conftest* |
2062 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2063 |
else |
else |
2094 |
|
|
2095 |
|
|
2096 |
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 |
2097 |
echo "configure:2061: checking For network code for nsocket.c" >&5 |
echo "configure:2098: checking For network code for nsocket.c" >&5 |
2098 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2099 |
#line 2063 "configure" |
#line 2100 "configure" |
2100 |
#include "confdefs.h" |
#include "confdefs.h" |
2101 |
|
|
2102 |
#include <sys/time.h> |
#include <sys/time.h> |
2123 |
|
|
2124 |
; return 0; } |
; return 0; } |
2125 |
EOF |
EOF |
2126 |
if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2127 |
rm -rf conftest* |
rm -rf conftest* |
2128 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2129 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
2140 |
|
|
2141 |
|
|
2142 |
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 |
2143 |
echo "configure:2107: checking check for listen using fcntl" >&5 |
echo "configure:2144: checking check for listen using fcntl" >&5 |
2144 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2145 |
#line 2109 "configure" |
#line 2146 "configure" |
2146 |
#include "confdefs.h" |
#include "confdefs.h" |
2147 |
#include <stdio.h> |
#include <stdio.h> |
2148 |
#include <fcntl.h> |
#include <fcntl.h> |
2155 |
|
|
2156 |
; return 0; } |
; return 0; } |
2157 |
EOF |
EOF |
2158 |
if { (eval echo configure:2122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2159 |
rm -rf conftest* |
rm -rf conftest* |
2160 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2161 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2174 |
|
|
2175 |
|
|
2176 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2177 |
echo "configure:2141: checking for profil" >&5 |
echo "configure:2178: checking for profil" >&5 |
2178 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2179 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2180 |
else |
else |
2181 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2182 |
#line 2146 "configure" |
#line 2183 "configure" |
2183 |
#include "confdefs.h" |
#include "confdefs.h" |
2184 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2185 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2202 |
|
|
2203 |
; return 0; } |
; return 0; } |
2204 |
EOF |
EOF |
2205 |
if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2206 |
rm -rf conftest* |
rm -rf conftest* |
2207 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2208 |
else |
else |
2227 |
|
|
2228 |
|
|
2229 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2230 |
echo "configure:2194: checking for setenv" >&5 |
echo "configure:2231: checking for setenv" >&5 |
2231 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2232 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2233 |
else |
else |
2234 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2235 |
#line 2199 "configure" |
#line 2236 "configure" |
2236 |
#include "confdefs.h" |
#include "confdefs.h" |
2237 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2238 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2255 |
|
|
2256 |
; return 0; } |
; return 0; } |
2257 |
EOF |
EOF |
2258 |
if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2259 |
rm -rf conftest* |
rm -rf conftest* |
2260 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2261 |
else |
else |
2281 |
|
|
2282 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2283 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2284 |
echo "configure:2248: checking for putenv" >&5 |
echo "configure:2285: checking for putenv" >&5 |
2285 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2286 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2287 |
else |
else |
2288 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2289 |
#line 2253 "configure" |
#line 2290 "configure" |
2290 |
#include "confdefs.h" |
#include "confdefs.h" |
2291 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2292 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2309 |
|
|
2310 |
; return 0; } |
; return 0; } |
2311 |
EOF |
EOF |
2312 |
if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2313 |
rm -rf conftest* |
rm -rf conftest* |
2314 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2315 |
else |
else |
2335 |
fi |
fi |
2336 |
|
|
2337 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2338 |
echo "configure:2302: checking for _cleanup" >&5 |
echo "configure:2339: checking for _cleanup" >&5 |
2339 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2340 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2341 |
else |
else |
2342 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2343 |
#line 2307 "configure" |
#line 2344 "configure" |
2344 |
#include "confdefs.h" |
#include "confdefs.h" |
2345 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2346 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2363 |
|
|
2364 |
; return 0; } |
; return 0; } |
2365 |
EOF |
EOF |
2366 |
if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2367 |
rm -rf conftest* |
rm -rf conftest* |
2368 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2369 |
else |
else |
2389 |
gcl_ok=no |
gcl_ok=no |
2390 |
|
|
2391 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2392 |
#line 2356 "configure" |
#line 2393 "configure" |
2393 |
#include "confdefs.h" |
#include "confdefs.h" |
2394 |
#include <ctype.h> |
#include <ctype.h> |
2395 |
EOF |
EOF |
2417 |
|
|
2418 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2419 |
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 |
2420 |
echo "configure:2384: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2421: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2421 |
|
|
2422 |
case $system in |
case $system in |
2423 |
OSF*) |
OSF*) |
2473 |
fi |
fi |
2474 |
|
|
2475 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2476 |
echo "configure:2440: checking host system type" >&5 |
echo "configure:2477: checking host system type" >&5 |
2477 |
|
|
2478 |
host_alias=$host |
host_alias=$host |
2479 |
case "$host_alias" in |
case "$host_alias" in |
2646 |
|
|
2647 |
esac |
esac |
2648 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2649 |
echo "configure:2613: checking check for SV_ONSTACK" >&5 |
echo "configure:2650: checking check for SV_ONSTACK" >&5 |
2650 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2651 |
#line 2615 "configure" |
#line 2652 "configure" |
2652 |
#include "confdefs.h" |
#include "confdefs.h" |
2653 |
#include <signal.h> |
#include <signal.h> |
2654 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2657 |
|
|
2658 |
; return 0; } |
; return 0; } |
2659 |
EOF |
EOF |
2660 |
if { (eval echo configure:2624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2661 |
rm -rf conftest* |
rm -rf conftest* |
2662 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2663 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2675 |
|
|
2676 |
|
|
2677 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2678 |
echo "configure:2642: checking check for SIGSYS" >&5 |
echo "configure:2679: checking check for SIGSYS" >&5 |
2679 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2680 |
#line 2644 "configure" |
#line 2681 "configure" |
2681 |
#include "confdefs.h" |
#include "confdefs.h" |
2682 |
#include <signal.h> |
#include <signal.h> |
2683 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2686 |
|
|
2687 |
; return 0; } |
; return 0; } |
2688 |
EOF |
EOF |
2689 |
if { (eval echo configure:2653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2690 |
rm -rf conftest* |
rm -rf conftest* |
2691 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2692 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
2704 |
|
|
2705 |
|
|
2706 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
2707 |
echo "configure:2671: checking check for SIGEMT" >&5 |
echo "configure:2708: checking check for SIGEMT" >&5 |
2708 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2709 |
#line 2673 "configure" |
#line 2710 "configure" |
2710 |
#include "confdefs.h" |
#include "confdefs.h" |
2711 |
#include <signal.h> |
#include <signal.h> |
2712 |
int joe=SIGEMT; |
int joe=SIGEMT; |
2715 |
|
|
2716 |
; return 0; } |
; return 0; } |
2717 |
EOF |
EOF |
2718 |
if { (eval echo configure:2682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2719 |
rm -rf conftest* |
rm -rf conftest* |
2720 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2721 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
2739 |
do |
do |
2740 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2741 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2742 |
echo "configure:2706: checking for $ac_hdr" >&5 |
echo "configure:2743: checking for $ac_hdr" >&5 |
2743 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2744 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2745 |
else |
else |
2746 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2747 |
#line 2711 "configure" |
#line 2748 "configure" |
2748 |
#include "confdefs.h" |
#include "confdefs.h" |
2749 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2750 |
EOF |
EOF |
2751 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2752 |
{ (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2753 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2754 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2755 |
rm -rf conftest* |
rm -rf conftest* |
2779 |
do |
do |
2780 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2781 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2782 |
echo "configure:2746: checking for $ac_hdr" >&5 |
echo "configure:2783: checking for $ac_hdr" >&5 |
2783 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2784 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2785 |
else |
else |
2786 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2787 |
#line 2751 "configure" |
#line 2788 "configure" |
2788 |
#include "confdefs.h" |
#include "confdefs.h" |
2789 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2790 |
EOF |
EOF |
2791 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2792 |
{ (eval echo configure:2756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2793 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2794 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2795 |
rm -rf conftest* |
rm -rf conftest* |
2816 |
done |
done |
2817 |
|
|
2818 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2819 |
#line 2783 "configure" |
#line 2820 "configure" |
2820 |
#include "confdefs.h" |
#include "confdefs.h" |
2821 |
#include <signal.h> |
#include <signal.h> |
2822 |
long code; |
long code; |
2827 |
|
|
2828 |
; return 0; } |
; return 0; } |
2829 |
EOF |
EOF |
2830 |
if { (eval echo configure:2794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2831 |
rm -rf conftest* |
rm -rf conftest* |
2832 |
|
|
2833 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
2848 |
rm -f conftest* |
rm -f conftest* |
2849 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
2850 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2851 |
#line 2815 "configure" |
#line 2852 "configure" |
2852 |
#include "confdefs.h" |
#include "confdefs.h" |
2853 |
#include <signal.h> |
#include <signal.h> |
2854 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
2865 |
|
|
2866 |
; return 0; } |
; return 0; } |
2867 |
EOF |
EOF |
2868 |
if { (eval echo configure:2832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2869 |
rm -rf conftest* |
rm -rf conftest* |
2870 |
|
|
2871 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
2908 |
# 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. |
2909 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
2910 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2911 |
echo "configure:2875: checking for $ac_word" >&5 |
echo "configure:2912: checking for $ac_word" >&5 |
2912 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
2913 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2914 |
else |
else |
2956 |
EOF |
EOF |
2957 |
|
|
2958 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
2959 |
echo "configure:2923: checking emacs site lisp directory" >&5 |
echo "configure:2960: checking emacs site lisp directory" >&5 |
2960 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
2961 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2962 |
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 ` |
2979 |
EOF |
EOF |
2980 |
|
|
2981 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
2982 |
echo "configure:2946: checking emacs default.el" >&5 |
echo "configure:2983: checking emacs default.el" >&5 |
2983 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2984 |
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 ` |
2985 |
else |
else |
3008 |
EOF |
EOF |
3009 |
|
|
3010 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3011 |
echo "configure:2975: checking emacs info/dir" >&5 |
echo "configure:3012: checking emacs info/dir" >&5 |
3012 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3013 |
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 ` |
3014 |
fi |
fi |
3022 |
|
|
3023 |
|
|
3024 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3025 |
echo "configure:2989: checking for tcl/tk" >&5 |
echo "configure:3026: checking for tcl/tk" >&5 |
3026 |
|
|
3027 |
|
|
3028 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3045 |
# 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. |
3046 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3047 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3048 |
echo "configure:3012: checking for $ac_word" >&5 |
echo "configure:3049: checking for $ac_word" >&5 |
3049 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3050 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3051 |
else |
else |
3145 |
fi |
fi |
3146 |
fi |
fi |
3147 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3148 |
echo "configure:3112: checking for main in -llieee" >&5 |
echo "configure:3149: checking for main in -llieee" >&5 |
3149 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3150 |
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 |
3151 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3153 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3154 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3155 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3156 |
#line 3120 "configure" |
#line 3157 "configure" |
3157 |
#include "confdefs.h" |
#include "confdefs.h" |
3158 |
|
|
3159 |
int main() { |
int main() { |
3160 |
main() |
main() |
3161 |
; return 0; } |
; return 0; } |
3162 |
EOF |
EOF |
3163 |
if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3164 |
rm -rf conftest* |
rm -rf conftest* |
3165 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3166 |
else |
else |
3185 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3186 |
fi |
fi |
3187 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3188 |
echo "configure:3152: checking for dlopen in -ldl" >&5 |
echo "configure:3189: checking for dlopen in -ldl" >&5 |
3189 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3190 |
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 |
3191 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3193 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3194 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3195 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3196 |
#line 3160 "configure" |
#line 3197 "configure" |
3197 |
#include "confdefs.h" |
#include "confdefs.h" |
3198 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3199 |
/* 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 |
3204 |
dlopen() |
dlopen() |
3205 |
; return 0; } |
; return 0; } |
3206 |
EOF |
EOF |
3207 |
if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3208 |
rm -rf conftest* |
rm -rf conftest* |
3209 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3210 |
else |
else |
3286 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3287 |
|
|
3288 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3289 |
echo "configure:3253: checking alloca" >&5 |
echo "configure:3290: checking alloca" >&5 |
3290 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3291 |
gcl_ok=no |
gcl_ok=no |
3292 |
else |
else |
3293 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3294 |
#line 3258 "configure" |
#line 3295 "configure" |
3295 |
#include "confdefs.h" |
#include "confdefs.h" |
3296 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3297 |
EOF |
EOF |
3298 |
if { (eval echo configure:3262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3299 |
then |
then |
3300 |
: |
: |
3301 |
else |
else |
3318 |
gcl_ok=no |
gcl_ok=no |
3319 |
else |
else |
3320 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3321 |
#line 3285 "configure" |
#line 3322 "configure" |
3322 |
#include "confdefs.h" |
#include "confdefs.h" |
3323 |
#include <alloca.h> |
#include <alloca.h> |
3324 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3325 |
EOF |
EOF |
3326 |
if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3327 |
then |
then |
3328 |
: |
: |
3329 |
else |
else |
3385 |
|
|
3386 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3387 |
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 |
3388 |
echo "configure:3352: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3389: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3389 |
case "${canonical}" in |
case "${canonical}" in |
3390 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3391 |
# (cd gmp ; ./configure --target=i486) ;; |
# (cd gmp ; ./configure --target=i486) ;; |
3407 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3408 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3409 |
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 |
3410 |
echo "configure:3374: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3411: checking Checking for buggy gcc version from redhat" >&5 |
3411 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3412 |
then |
then |
3413 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |