1866 |
fi |
fi |
1867 |
|
|
1868 |
|
|
1869 |
|
LO="-Wl,-static" |
1870 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
1871 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
1872 |
echo "configure:1872: checking for bfd.h" >&5 |
echo "configure:1873: checking for bfd.h" >&5 |
1873 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1874 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1875 |
else |
else |
1876 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1877 |
#line 1877 "configure" |
#line 1878 "configure" |
1878 |
#include "confdefs.h" |
#include "confdefs.h" |
1879 |
#include <bfd.h> |
#include <bfd.h> |
1880 |
EOF |
EOF |
1881 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1882 |
{ (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1883 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1884 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1885 |
rm -rf conftest* |
rm -rf conftest* |
1896 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1897 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1898 |
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 |
1899 |
echo "configure:1899: checking for bfd_init in -lbfd" >&5 |
echo "configure:1900: checking for bfd_init in -lbfd" >&5 |
1900 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
1901 |
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 |
1902 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1903 |
else |
else |
1904 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1905 |
LIBS="-lbfd libiberty.a $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
1906 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1907 |
#line 1907 "configure" |
#line 1908 "configure" |
1908 |
#include "confdefs.h" |
#include "confdefs.h" |
1909 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1910 |
/* 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 |
1915 |
bfd_init() |
bfd_init() |
1916 |
; return 0; } |
; return 0; } |
1917 |
EOF |
EOF |
1918 |
if { (eval echo configure:1918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1919 |
rm -rf conftest* |
rm -rf conftest* |
1920 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1921 |
else |
else |
1934 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
1935 |
EOF |
EOF |
1936 |
|
|
1937 |
LIBS="$LIBS libbfd.a libiberty.a" |
LIBS="$LIBS $LO -lbfd -liberty" |
1938 |
|
|
1939 |
else |
else |
1940 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1950 |
|
|
1951 |
|
|
1952 |
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 |
1953 |
echo "configure:1953: checking For network code for nsocket.c" >&5 |
echo "configure:1954: checking For network code for nsocket.c" >&5 |
1954 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1955 |
#line 1955 "configure" |
#line 1956 "configure" |
1956 |
#include "confdefs.h" |
#include "confdefs.h" |
1957 |
|
|
1958 |
#include <sys/time.h> |
#include <sys/time.h> |
1979 |
|
|
1980 |
; return 0; } |
; return 0; } |
1981 |
EOF |
EOF |
1982 |
if { (eval echo configure:1982: \"$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 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1985 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
1996 |
|
|
1997 |
|
|
1998 |
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 |
1999 |
echo "configure:1999: checking check for listen using fcntl" >&5 |
echo "configure:2000: checking check for listen using fcntl" >&5 |
2000 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2001 |
#line 2001 "configure" |
#line 2002 "configure" |
2002 |
#include "confdefs.h" |
#include "confdefs.h" |
2003 |
#include <stdio.h> |
#include <stdio.h> |
2004 |
#include <fcntl.h> |
#include <fcntl.h> |
2011 |
|
|
2012 |
; return 0; } |
; return 0; } |
2013 |
EOF |
EOF |
2014 |
if { (eval echo configure:2014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2015 |
rm -rf conftest* |
rm -rf conftest* |
2016 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2017 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2030 |
|
|
2031 |
|
|
2032 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2033 |
echo "configure:2033: checking for profil" >&5 |
echo "configure:2034: checking for profil" >&5 |
2034 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2035 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2036 |
else |
else |
2037 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2038 |
#line 2038 "configure" |
#line 2039 "configure" |
2039 |
#include "confdefs.h" |
#include "confdefs.h" |
2040 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2041 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2058 |
|
|
2059 |
; return 0; } |
; return 0; } |
2060 |
EOF |
EOF |
2061 |
if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2062 |
rm -rf conftest* |
rm -rf conftest* |
2063 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2064 |
else |
else |
2083 |
|
|
2084 |
|
|
2085 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2086 |
echo "configure:2086: checking for setenv" >&5 |
echo "configure:2087: checking for setenv" >&5 |
2087 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2088 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2089 |
else |
else |
2090 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2091 |
#line 2091 "configure" |
#line 2092 "configure" |
2092 |
#include "confdefs.h" |
#include "confdefs.h" |
2093 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2094 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2111 |
|
|
2112 |
; return 0; } |
; return 0; } |
2113 |
EOF |
EOF |
2114 |
if { (eval echo configure:2114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2115 |
rm -rf conftest* |
rm -rf conftest* |
2116 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2117 |
else |
else |
2137 |
|
|
2138 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2139 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2140 |
echo "configure:2140: checking for putenv" >&5 |
echo "configure:2141: checking for putenv" >&5 |
2141 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2142 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2143 |
else |
else |
2144 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2145 |
#line 2145 "configure" |
#line 2146 "configure" |
2146 |
#include "confdefs.h" |
#include "confdefs.h" |
2147 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2148 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2165 |
|
|
2166 |
; return 0; } |
; return 0; } |
2167 |
EOF |
EOF |
2168 |
if { (eval echo configure:2168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2169 |
rm -rf conftest* |
rm -rf conftest* |
2170 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2171 |
else |
else |
2191 |
fi |
fi |
2192 |
|
|
2193 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2194 |
echo "configure:2194: checking for _cleanup" >&5 |
echo "configure:2195: checking for _cleanup" >&5 |
2195 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2196 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2197 |
else |
else |
2198 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2199 |
#line 2199 "configure" |
#line 2200 "configure" |
2200 |
#include "confdefs.h" |
#include "confdefs.h" |
2201 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2202 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2219 |
|
|
2220 |
; return 0; } |
; return 0; } |
2221 |
EOF |
EOF |
2222 |
if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2223 |
rm -rf conftest* |
rm -rf conftest* |
2224 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2225 |
else |
else |
2245 |
gcl_ok=no |
gcl_ok=no |
2246 |
|
|
2247 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2248 |
#line 2248 "configure" |
#line 2249 "configure" |
2249 |
#include "confdefs.h" |
#include "confdefs.h" |
2250 |
#include <ctype.h> |
#include <ctype.h> |
2251 |
EOF |
EOF |
2273 |
|
|
2274 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2275 |
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 |
2276 |
echo "configure:2276: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2277: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2277 |
|
|
2278 |
case $system in |
case $system in |
2279 |
OSF*) |
OSF*) |
2329 |
fi |
fi |
2330 |
|
|
2331 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2332 |
echo "configure:2332: checking host system type" >&5 |
echo "configure:2333: checking host system type" >&5 |
2333 |
|
|
2334 |
host_alias=$host |
host_alias=$host |
2335 |
case "$host_alias" in |
case "$host_alias" in |
2499 |
|
|
2500 |
esac |
esac |
2501 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2502 |
echo "configure:2502: checking check for SV_ONSTACK" >&5 |
echo "configure:2503: checking check for SV_ONSTACK" >&5 |
2503 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2504 |
#line 2504 "configure" |
#line 2505 "configure" |
2505 |
#include "confdefs.h" |
#include "confdefs.h" |
2506 |
#include <signal.h> |
#include <signal.h> |
2507 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2510 |
|
|
2511 |
; return 0; } |
; return 0; } |
2512 |
EOF |
EOF |
2513 |
if { (eval echo configure:2513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2514 |
rm -rf conftest* |
rm -rf conftest* |
2515 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2516 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2528 |
|
|
2529 |
|
|
2530 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2531 |
echo "configure:2531: checking check for SIGSYS" >&5 |
echo "configure:2532: checking check for SIGSYS" >&5 |
2532 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2533 |
#line 2533 "configure" |
#line 2534 "configure" |
2534 |
#include "confdefs.h" |
#include "confdefs.h" |
2535 |
#include <signal.h> |
#include <signal.h> |
2536 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2539 |
|
|
2540 |
; return 0; } |
; return 0; } |
2541 |
EOF |
EOF |
2542 |
if { (eval echo configure:2542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2543 |
rm -rf conftest* |
rm -rf conftest* |
2544 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2545 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
2557 |
|
|
2558 |
|
|
2559 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
2560 |
echo "configure:2560: checking check for SIGEMT" >&5 |
echo "configure:2561: checking check for SIGEMT" >&5 |
2561 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2562 |
#line 2562 "configure" |
#line 2563 "configure" |
2563 |
#include "confdefs.h" |
#include "confdefs.h" |
2564 |
#include <signal.h> |
#include <signal.h> |
2565 |
int joe=SIGEMT; |
int joe=SIGEMT; |
2568 |
|
|
2569 |
; return 0; } |
; return 0; } |
2570 |
EOF |
EOF |
2571 |
if { (eval echo configure:2571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2572 |
rm -rf conftest* |
rm -rf conftest* |
2573 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2574 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
2592 |
do |
do |
2593 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2594 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2595 |
echo "configure:2595: checking for $ac_hdr" >&5 |
echo "configure:2596: checking for $ac_hdr" >&5 |
2596 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2597 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2598 |
else |
else |
2599 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2600 |
#line 2600 "configure" |
#line 2601 "configure" |
2601 |
#include "confdefs.h" |
#include "confdefs.h" |
2602 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2603 |
EOF |
EOF |
2604 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2605 |
{ (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2606 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2607 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2608 |
rm -rf conftest* |
rm -rf conftest* |
2632 |
do |
do |
2633 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2634 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2635 |
echo "configure:2635: checking for $ac_hdr" >&5 |
echo "configure:2636: checking for $ac_hdr" >&5 |
2636 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2637 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2638 |
else |
else |
2639 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2640 |
#line 2640 "configure" |
#line 2641 "configure" |
2641 |
#include "confdefs.h" |
#include "confdefs.h" |
2642 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2643 |
EOF |
EOF |
2644 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2645 |
{ (eval echo configure:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2646 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2647 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2648 |
rm -rf conftest* |
rm -rf conftest* |
2669 |
done |
done |
2670 |
|
|
2671 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2672 |
#line 2672 "configure" |
#line 2673 "configure" |
2673 |
#include "confdefs.h" |
#include "confdefs.h" |
2674 |
#include <signal.h> |
#include <signal.h> |
2675 |
long code; |
long code; |
2680 |
|
|
2681 |
; return 0; } |
; return 0; } |
2682 |
EOF |
EOF |
2683 |
if { (eval echo configure:2683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2684 |
rm -rf conftest* |
rm -rf conftest* |
2685 |
|
|
2686 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
2701 |
rm -f conftest* |
rm -f conftest* |
2702 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
2703 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2704 |
#line 2704 "configure" |
#line 2705 "configure" |
2705 |
#include "confdefs.h" |
#include "confdefs.h" |
2706 |
#include <signal.h> |
#include <signal.h> |
2707 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
2718 |
|
|
2719 |
; return 0; } |
; return 0; } |
2720 |
EOF |
EOF |
2721 |
if { (eval echo configure:2721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2722 |
rm -rf conftest* |
rm -rf conftest* |
2723 |
|
|
2724 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
2761 |
# 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. |
2762 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
2763 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2764 |
echo "configure:2764: checking for $ac_word" >&5 |
echo "configure:2765: checking for $ac_word" >&5 |
2765 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
2766 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2767 |
else |
else |
2809 |
EOF |
EOF |
2810 |
|
|
2811 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
2812 |
echo "configure:2812: checking emacs site lisp directory" >&5 |
echo "configure:2813: checking emacs site lisp directory" >&5 |
2813 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
2814 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2815 |
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 ` |
2832 |
EOF |
EOF |
2833 |
|
|
2834 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
2835 |
echo "configure:2835: checking emacs default.el" >&5 |
echo "configure:2836: checking emacs default.el" >&5 |
2836 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2837 |
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 ` |
2838 |
else |
else |
2861 |
EOF |
EOF |
2862 |
|
|
2863 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
2864 |
echo "configure:2864: checking emacs info/dir" >&5 |
echo "configure:2865: checking emacs info/dir" >&5 |
2865 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2866 |
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 ` |
2867 |
fi |
fi |
2875 |
|
|
2876 |
|
|
2877 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
2878 |
echo "configure:2878: checking for tcl/tk" >&5 |
echo "configure:2879: checking for tcl/tk" >&5 |
2879 |
|
|
2880 |
|
|
2881 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
2898 |
# 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. |
2899 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
2900 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2901 |
echo "configure:2901: checking for $ac_word" >&5 |
echo "configure:2902: checking for $ac_word" >&5 |
2902 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
2903 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2904 |
else |
else |
2956 |
# 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. |
2957 |
set dummy wish; ac_word=$2 |
set dummy wish; ac_word=$2 |
2958 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2959 |
echo "configure:2959: checking for $ac_word" >&5 |
echo "configure:2960: checking for $ac_word" >&5 |
2960 |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then |
2961 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2962 |
else |
else |
3022 |
fi |
fi |
3023 |
fi |
fi |
3024 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3025 |
echo "configure:3025: checking for main in -llieee" >&5 |
echo "configure:3026: checking for main in -llieee" >&5 |
3026 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3027 |
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 |
3028 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3030 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3031 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3032 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3033 |
#line 3033 "configure" |
#line 3034 "configure" |
3034 |
#include "confdefs.h" |
#include "confdefs.h" |
3035 |
|
|
3036 |
int main() { |
int main() { |
3037 |
main() |
main() |
3038 |
; return 0; } |
; return 0; } |
3039 |
EOF |
EOF |
3040 |
if { (eval echo configure:3040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3041 |
rm -rf conftest* |
rm -rf conftest* |
3042 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3043 |
else |
else |
3062 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3063 |
fi |
fi |
3064 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3065 |
echo "configure:3065: checking for dlopen in -ldl" >&5 |
echo "configure:3066: checking for dlopen in -ldl" >&5 |
3066 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3067 |
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 |
3068 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3070 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3071 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3072 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3073 |
#line 3073 "configure" |
#line 3074 "configure" |
3074 |
#include "confdefs.h" |
#include "confdefs.h" |
3075 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3076 |
/* 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 |
3081 |
dlopen() |
dlopen() |
3082 |
; return 0; } |
; return 0; } |
3083 |
EOF |
EOF |
3084 |
if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3085 |
rm -rf conftest* |
rm -rf conftest* |
3086 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3087 |
else |
else |
3163 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3164 |
|
|
3165 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3166 |
echo "configure:3166: checking alloca" >&5 |
echo "configure:3167: checking alloca" >&5 |
3167 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3168 |
gcl_ok=no |
gcl_ok=no |
3169 |
else |
else |
3170 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3171 |
#line 3171 "configure" |
#line 3172 "configure" |
3172 |
#include "confdefs.h" |
#include "confdefs.h" |
3173 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3174 |
EOF |
EOF |
3175 |
if { (eval echo configure:3175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3176 |
then |
then |
3177 |
: |
: |
3178 |
else |
else |
3195 |
gcl_ok=no |
gcl_ok=no |
3196 |
else |
else |
3197 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3198 |
#line 3198 "configure" |
#line 3199 "configure" |
3199 |
#include "confdefs.h" |
#include "confdefs.h" |
3200 |
#include <alloca.h> |
#include <alloca.h> |
3201 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3202 |
EOF |
EOF |
3203 |
if { (eval echo configure:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3204 |
then |
then |
3205 |
: |
: |
3206 |
else |
else |
3262 |
|
|
3263 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3264 |
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 |
3265 |
echo "configure:3265: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3266: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3266 |
case "${canonical}" in |
case "${canonical}" in |
3267 |
i[5-9]86* | pentium* | k6* | athlon*) |
i[5-9]86* | pentium* | k6* | athlon*) |
3268 |
(cd gmp ; ./configure --target=i486) ;; |
(cd gmp ; ./configure --target=i486) ;; |
3284 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3285 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3286 |
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 |
3287 |
echo "configure:3287: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3288: checking Checking for buggy gcc version from redhat" >&5 |
3288 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3289 |
then |
then |
3290 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |