1762 |
fi |
fi |
1763 |
|
|
1764 |
|
|
1765 |
|
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
1766 |
|
echo "configure:1767: checking for main in -lreadline" >&5 |
1767 |
|
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
1768 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1769 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1770 |
|
else |
1771 |
|
ac_save_LIBS="$LIBS" |
1772 |
|
LIBS="-lreadline $LIBS" |
1773 |
|
cat > conftest.$ac_ext <<EOF |
1774 |
|
#line 1775 "configure" |
1775 |
|
#include "confdefs.h" |
1776 |
|
|
1777 |
|
int main() { |
1778 |
|
main() |
1779 |
|
; return 0; } |
1780 |
|
EOF |
1781 |
|
if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1782 |
|
rm -rf conftest* |
1783 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1784 |
|
else |
1785 |
|
echo "configure: failed program was:" >&5 |
1786 |
|
cat conftest.$ac_ext >&5 |
1787 |
|
rm -rf conftest* |
1788 |
|
eval "ac_cv_lib_$ac_lib_var=no" |
1789 |
|
fi |
1790 |
|
rm -f conftest* |
1791 |
|
LIBS="$ac_save_LIBS" |
1792 |
|
|
1793 |
|
fi |
1794 |
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1795 |
|
echo "$ac_t""yes" 1>&6 |
1796 |
|
cat >> confdefs.h <<\EOF |
1797 |
|
#define HAVE_READLINE 1 |
1798 |
|
EOF |
1799 |
|
|
1800 |
|
else |
1801 |
|
echo "$ac_t""no" 1>&6 |
1802 |
|
fi |
1803 |
|
|
1804 |
|
|
1805 |
|
|
1806 |
|
|
1807 |
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 |
1808 |
echo "configure:1769: checking For network code for nsocket.c" >&5 |
echo "configure:1809: checking For network code for nsocket.c" >&5 |
1809 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1810 |
#line 1771 "configure" |
#line 1811 "configure" |
1811 |
#include "confdefs.h" |
#include "confdefs.h" |
1812 |
|
|
1813 |
#include <sys/time.h> |
#include <sys/time.h> |
1834 |
|
|
1835 |
; return 0; } |
; return 0; } |
1836 |
EOF |
EOF |
1837 |
if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1838 |
rm -rf conftest* |
rm -rf conftest* |
1839 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1840 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
1851 |
|
|
1852 |
|
|
1853 |
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 |
1854 |
echo "configure:1815: checking check for listen using fcntl" >&5 |
echo "configure:1855: checking check for listen using fcntl" >&5 |
1855 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1856 |
#line 1817 "configure" |
#line 1857 "configure" |
1857 |
#include "confdefs.h" |
#include "confdefs.h" |
1858 |
#include <stdio.h> |
#include <stdio.h> |
1859 |
#include <fcntl.h> |
#include <fcntl.h> |
1860 |
|
|
1861 |
int main() { |
int main() { |
1862 |
FILE *fp=fopen("jim","r"); |
FILE *fp=fopen("configure.in","r"); |
1863 |
int orig; |
int orig; |
1864 |
orig = fcntl(fileno(fp), F_GETFL); |
orig = fcntl(fileno(fp), F_GETFL); |
1865 |
if (! (orig & O_NONBLOCK )) return 0; |
if (! (orig & O_NONBLOCK )) return 0; |
1866 |
|
|
1867 |
; return 0; } |
; return 0; } |
1868 |
EOF |
EOF |
1869 |
if { (eval echo configure:1830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1870 |
rm -rf conftest* |
rm -rf conftest* |
1871 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1872 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
1885 |
|
|
1886 |
|
|
1887 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
1888 |
echo "configure:1849: checking for profil" >&5 |
echo "configure:1889: checking for profil" >&5 |
1889 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
1890 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1891 |
else |
else |
1892 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1893 |
#line 1854 "configure" |
#line 1894 "configure" |
1894 |
#include "confdefs.h" |
#include "confdefs.h" |
1895 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1896 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
1913 |
|
|
1914 |
; return 0; } |
; return 0; } |
1915 |
EOF |
EOF |
1916 |
if { (eval echo configure:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1917 |
rm -rf conftest* |
rm -rf conftest* |
1918 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
1919 |
else |
else |
1938 |
|
|
1939 |
|
|
1940 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
1941 |
echo "configure:1902: checking for setenv" >&5 |
echo "configure:1942: checking for setenv" >&5 |
1942 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
1943 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1944 |
else |
else |
1945 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1946 |
#line 1907 "configure" |
#line 1947 "configure" |
1947 |
#include "confdefs.h" |
#include "confdefs.h" |
1948 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1949 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
1966 |
|
|
1967 |
; return 0; } |
; return 0; } |
1968 |
EOF |
EOF |
1969 |
if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1970 |
rm -rf conftest* |
rm -rf conftest* |
1971 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
1972 |
else |
else |
1992 |
|
|
1993 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
1994 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
1995 |
echo "configure:1956: checking for putenv" >&5 |
echo "configure:1996: checking for putenv" >&5 |
1996 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
1997 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1998 |
else |
else |
1999 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2000 |
#line 1961 "configure" |
#line 2001 "configure" |
2001 |
#include "confdefs.h" |
#include "confdefs.h" |
2002 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2003 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2020 |
|
|
2021 |
; return 0; } |
; return 0; } |
2022 |
EOF |
EOF |
2023 |
if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2024 |
rm -rf conftest* |
rm -rf conftest* |
2025 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2026 |
else |
else |
2046 |
fi |
fi |
2047 |
|
|
2048 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2049 |
echo "configure:2010: checking for _cleanup" >&5 |
echo "configure:2050: checking for _cleanup" >&5 |
2050 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2051 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2052 |
else |
else |
2053 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2054 |
#line 2015 "configure" |
#line 2055 "configure" |
2055 |
#include "confdefs.h" |
#include "confdefs.h" |
2056 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2057 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2074 |
|
|
2075 |
; return 0; } |
; return 0; } |
2076 |
EOF |
EOF |
2077 |
if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2078 |
rm -rf conftest* |
rm -rf conftest* |
2079 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2080 |
else |
else |
2100 |
gcl_ok=no |
gcl_ok=no |
2101 |
|
|
2102 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2103 |
#line 2064 "configure" |
#line 2104 "configure" |
2104 |
#include "confdefs.h" |
#include "confdefs.h" |
2105 |
#include <ctype.h> |
#include <ctype.h> |
2106 |
EOF |
EOF |
2128 |
|
|
2129 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2130 |
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 |
2131 |
echo "configure:2092: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2132: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2132 |
|
|
2133 |
case $system in |
case $system in |
2134 |
OSF*) |
OSF*) |
2184 |
fi |
fi |
2185 |
|
|
2186 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2187 |
echo "configure:2148: checking host system type" >&5 |
echo "configure:2188: checking host system type" >&5 |
2188 |
|
|
2189 |
host_alias=$host |
host_alias=$host |
2190 |
case "$host_alias" in |
case "$host_alias" in |
2327 |
|
|
2328 |
esac |
esac |
2329 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2330 |
echo "configure:2291: checking check for SV_ONSTACK" >&5 |
echo "configure:2331: checking check for SV_ONSTACK" >&5 |
2331 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2332 |
#line 2293 "configure" |
#line 2333 "configure" |
2333 |
#include "confdefs.h" |
#include "confdefs.h" |
2334 |
#include <signal.h> |
#include <signal.h> |
2335 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2338 |
|
|
2339 |
; return 0; } |
; return 0; } |
2340 |
EOF |
EOF |
2341 |
if { (eval echo configure:2302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2342 |
rm -rf conftest* |
rm -rf conftest* |
2343 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2344 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2356 |
|
|
2357 |
|
|
2358 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2359 |
echo "configure:2320: checking check for SIGSYS" >&5 |
echo "configure:2360: checking check for SIGSYS" >&5 |
2360 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2361 |
#line 2322 "configure" |
#line 2362 "configure" |
2362 |
#include "confdefs.h" |
#include "confdefs.h" |
2363 |
#include <signal.h> |
#include <signal.h> |
2364 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2367 |
|
|
2368 |
; return 0; } |
; return 0; } |
2369 |
EOF |
EOF |
2370 |
if { (eval echo configure:2331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2371 |
rm -rf conftest* |
rm -rf conftest* |
2372 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2373 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
2385 |
|
|
2386 |
|
|
2387 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
2388 |
echo "configure:2349: checking check for SIGEMT" >&5 |
echo "configure:2389: checking check for SIGEMT" >&5 |
2389 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2390 |
#line 2351 "configure" |
#line 2391 "configure" |
2391 |
#include "confdefs.h" |
#include "confdefs.h" |
2392 |
#include <signal.h> |
#include <signal.h> |
2393 |
int joe=SIGEMT; |
int joe=SIGEMT; |
2396 |
|
|
2397 |
; return 0; } |
; return 0; } |
2398 |
EOF |
EOF |
2399 |
if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2400 |
rm -rf conftest* |
rm -rf conftest* |
2401 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2402 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
2420 |
do |
do |
2421 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2422 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2423 |
echo "configure:2384: checking for $ac_hdr" >&5 |
echo "configure:2424: checking for $ac_hdr" >&5 |
2424 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2425 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2426 |
else |
else |
2427 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2428 |
#line 2389 "configure" |
#line 2429 "configure" |
2429 |
#include "confdefs.h" |
#include "confdefs.h" |
2430 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2431 |
EOF |
EOF |
2432 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2433 |
{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2434 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2435 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2436 |
rm -rf conftest* |
rm -rf conftest* |
2460 |
do |
do |
2461 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2462 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2463 |
echo "configure:2424: checking for $ac_hdr" >&5 |
echo "configure:2464: checking for $ac_hdr" >&5 |
2464 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2465 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2466 |
else |
else |
2467 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2468 |
#line 2429 "configure" |
#line 2469 "configure" |
2469 |
#include "confdefs.h" |
#include "confdefs.h" |
2470 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2471 |
EOF |
EOF |
2472 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2473 |
{ (eval echo configure:2434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2474 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2475 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2476 |
rm -rf conftest* |
rm -rf conftest* |
2497 |
done |
done |
2498 |
|
|
2499 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2500 |
#line 2461 "configure" |
#line 2501 "configure" |
2501 |
#include "confdefs.h" |
#include "confdefs.h" |
2502 |
#include <signal.h> |
#include <signal.h> |
2503 |
long code; |
long code; |
2508 |
|
|
2509 |
; return 0; } |
; return 0; } |
2510 |
EOF |
EOF |
2511 |
if { (eval echo configure:2472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2512 |
rm -rf conftest* |
rm -rf conftest* |
2513 |
|
|
2514 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
2529 |
rm -f conftest* |
rm -f conftest* |
2530 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
2531 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2532 |
#line 2493 "configure" |
#line 2533 "configure" |
2533 |
#include "confdefs.h" |
#include "confdefs.h" |
2534 |
#include <signal.h> |
#include <signal.h> |
2535 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
2546 |
|
|
2547 |
; return 0; } |
; return 0; } |
2548 |
EOF |
EOF |
2549 |
if { (eval echo configure:2510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2550 |
rm -rf conftest* |
rm -rf conftest* |
2551 |
|
|
2552 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
2600 |
EOF |
EOF |
2601 |
|
|
2602 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
2603 |
echo "configure:2564: checking emacs site lisp directory" >&5 |
echo "configure:2604: checking emacs site lisp directory" >&5 |
2604 |
EMACS_SITE_LISP=unknown |
EMACS_SITE_LISP=unknown |
2605 |
EMACS_SITE_LISP=`emacs -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d ` |
EMACS_SITE_LISP=`emacs -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d ` |
2606 |
echo "$ac_t""$EMACS_SITE_LISP" 1>&6 |
echo "$ac_t""$EMACS_SITE_LISP" 1>&6 |
2619 |
EOF |
EOF |
2620 |
|
|
2621 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
2622 |
echo "configure:2583: checking emacs default.el" >&5 |
echo "configure:2623: checking emacs default.el" >&5 |
2623 |
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 ` |
2624 |
if test -f "${EMACS_DEFAULT_EL}" ; then true;else |
if test -f "${EMACS_DEFAULT_EL}" ; then true;else |
2625 |
EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el |
EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el |
2642 |
EOF |
EOF |
2643 |
|
|
2644 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
2645 |
echo "configure:2606: checking emacs info/dir" >&5 |
echo "configure:2646: checking emacs info/dir" >&5 |
2646 |
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 ` |
2647 |
if test -f "${INFO_DIR}dir" ; then true;else |
if test -f "${INFO_DIR}dir" ; then true;else |
2648 |
if test -f /usr/info/dir ; then |
if test -f /usr/info/dir ; then |
2654 |
|
|
2655 |
|
|
2656 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
2657 |
echo "configure:2618: checking for tcl/tk" >&5 |
echo "configure:2658: checking for tcl/tk" >&5 |
2658 |
|
|
2659 |
|
|
2660 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
2672 |
# 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. |
2673 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
2674 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2675 |
echo "configure:2636: checking for $ac_word" >&5 |
echo "configure:2676: checking for $ac_word" >&5 |
2676 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
2677 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2678 |
else |
else |
2701 |
# Extract the first word of "tclsh8.0", so it can be a program name with args. |
# Extract the first word of "tclsh8.0", so it can be a program name with args. |
2702 |
set dummy tclsh8.0; ac_word=$2 |
set dummy tclsh8.0; ac_word=$2 |
2703 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2704 |
echo "configure:2665: checking for $ac_word" >&5 |
echo "configure:2705: checking for $ac_word" >&5 |
2705 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
2706 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2707 |
else |
else |
2753 |
# Extract the first word of "wish", so it can be a program name with args. |
# Extract the first word of "wish", so it can be a program name with args. |
2754 |
set dummy wish; ac_word=$2 |
set dummy wish; ac_word=$2 |
2755 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2756 |
echo "configure:2717: checking for $ac_word" >&5 |
echo "configure:2757: checking for $ac_word" >&5 |
2757 |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
2758 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2759 |
else |
else |
2782 |
# Extract the first word of "wish8.0", so it can be a program name with args. |
# Extract the first word of "wish8.0", so it can be a program name with args. |
2783 |
set dummy wish8.0; ac_word=$2 |
set dummy wish8.0; ac_word=$2 |
2784 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2785 |
echo "configure:2746: checking for $ac_word" >&5 |
echo "configure:2786: checking for $ac_word" >&5 |
2786 |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
2787 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2788 |
else |
else |
2831 |
TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include |
TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include |
2832 |
fi |
fi |
2833 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
2834 |
echo "configure:2795: checking for main in -llieee" >&5 |
echo "configure:2835: checking for main in -llieee" >&5 |
2835 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
2836 |
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 |
2837 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2839 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2840 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
2841 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2842 |
#line 2803 "configure" |
#line 2843 "configure" |
2843 |
#include "confdefs.h" |
#include "confdefs.h" |
2844 |
|
|
2845 |
int main() { |
int main() { |
2846 |
main() |
main() |
2847 |
; return 0; } |
; return 0; } |
2848 |
EOF |
EOF |
2849 |
if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2850 |
rm -rf conftest* |
rm -rf conftest* |
2851 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2852 |
else |
else |
2871 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
2872 |
fi |
fi |
2873 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2874 |
echo "configure:2835: checking for dlopen in -ldl" >&5 |
echo "configure:2875: checking for dlopen in -ldl" >&5 |
2875 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2876 |
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 |
2877 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2879 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2880 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2881 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2882 |
#line 2843 "configure" |
#line 2883 "configure" |
2883 |
#include "confdefs.h" |
#include "confdefs.h" |
2884 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2885 |
/* 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 |
2890 |
dlopen() |
dlopen() |
2891 |
; return 0; } |
; return 0; } |
2892 |
EOF |
EOF |
2893 |
if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2894 |
rm -rf conftest* |
rm -rf conftest* |
2895 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2896 |
else |
else |
2972 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
2973 |
|
|
2974 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
2975 |
echo "configure:2936: checking alloca" >&5 |
echo "configure:2976: checking alloca" >&5 |
2976 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2977 |
gcl_ok=no |
gcl_ok=no |
2978 |
else |
else |
2979 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2980 |
#line 2941 "configure" |
#line 2981 "configure" |
2981 |
#include "confdefs.h" |
#include "confdefs.h" |
2982 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
2983 |
EOF |
EOF |
2984 |
if { (eval echo configure:2945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2985 |
then |
then |
2986 |
: |
: |
2987 |
else |
else |
3004 |
gcl_ok=no |
gcl_ok=no |
3005 |
else |
else |
3006 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3007 |
#line 2968 "configure" |
#line 3008 "configure" |
3008 |
#include "confdefs.h" |
#include "confdefs.h" |
3009 |
#include <alloca.h> |
#include <alloca.h> |
3010 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3011 |
EOF |
EOF |
3012 |
if { (eval echo configure:2973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3013 |
then |
then |
3014 |
: |
: |
3015 |
else |
else |
3071 |
|
|
3072 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3073 |
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 |
3074 |
echo "configure:3035: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3075: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3075 |
case "${canonical}" in |
case "${canonical}" in |
3076 |
i[5-9]86* | pentium* | k6* | athlon*) |
i[5-9]86* | pentium* | k6* | athlon*) |
3077 |
(cd gmp ; ./configure --target=i486) ;; |
(cd gmp ; ./configure --target=i486) ;; |
3092 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3093 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3094 |
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 |
3095 |
echo "configure:3056: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3096: checking Checking for buggy gcc version from redhat" >&5 |
3096 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3097 |
then |
then |
3098 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |