2318 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
2319 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2320 |
echo 'int main() {bfd_init();bfd_openr("/dev/null",0);return 0;}' >foo.c |
echo 'int main() {bfd_init();bfd_openr("/dev/null",0);return 0;}' >foo.c |
2321 |
MP=`$GCC -t -static -o foo foo.c -lbfd -liberty 2>&1 ` |
MP=`$GCC -Wl,-M -static -o foo foo.c -lbfd -liberty 2>&1 | tr '()' '\012\012' | $AWK '{print $NF}' | sort | uniq` |
2322 |
BFDLIB=`echo $MP | tr '()' '\012\012' | sort | uniq | grep libbfd.a` |
rm -f foo.c foo |
2323 |
IBRLIB=`echo $MP | tr '()' '\012\012' | sort | uniq | grep libiberty.a` |
BFDLIB=`echo $MP | tr ' ' '\012' | grep libbfd.a` |
2324 |
|
IBRLIB=`echo $MP | tr ' ' '\012' | grep libiberty.a` |
2325 |
# |
# |
2326 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
2327 |
# |
# |
2328 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
2329 |
echo "configure:2329: checking if need to define CONST for bfd" >&5 |
echo "configure:2330: checking if need to define CONST for bfd" >&5 |
2330 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
2331 |
echo "$ac_t""cannot use bfd" 1>&6 |
echo "$ac_t""cannot use bfd" 1>&6 |
2332 |
else |
else |
2333 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2334 |
#line 2334 "configure" |
#line 2335 "configure" |
2335 |
#include "confdefs.h" |
#include "confdefs.h" |
2336 |
#define IN_GCC |
#define IN_GCC |
2337 |
#include <bfd.h> |
#include <bfd.h> |
2338 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
2339 |
EOF |
EOF |
2340 |
if { (eval echo configure:2340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2341 |
then |
then |
2342 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2343 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2353 |
echo "$ac_t""cannot use bfd" 1>&6 |
echo "$ac_t""cannot use bfd" 1>&6 |
2354 |
else |
else |
2355 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2356 |
#line 2356 "configure" |
#line 2357 "configure" |
2357 |
#include "confdefs.h" |
#include "confdefs.h" |
2358 |
#define IN_GCC |
#define IN_GCC |
2359 |
#include <bfd.h> |
#include <bfd.h> |
2360 |
#define CONST const |
#define CONST const |
2361 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
2362 |
EOF |
EOF |
2363 |
if { (eval echo configure:2363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2364 |
then |
then |
2365 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2366 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2402 |
|
|
2403 |
|
|
2404 |
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 |
2405 |
echo "configure:2405: checking For network code for nsocket.c" >&5 |
echo "configure:2406: checking For network code for nsocket.c" >&5 |
2406 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2407 |
#line 2407 "configure" |
#line 2408 "configure" |
2408 |
#include "confdefs.h" |
#include "confdefs.h" |
2409 |
|
|
2410 |
#include <sys/time.h> |
#include <sys/time.h> |
2431 |
|
|
2432 |
; return 0; } |
; return 0; } |
2433 |
EOF |
EOF |
2434 |
if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2435 |
rm -rf conftest* |
rm -rf conftest* |
2436 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2437 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
2448 |
|
|
2449 |
|
|
2450 |
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 |
2451 |
echo "configure:2451: checking check for listen using fcntl" >&5 |
echo "configure:2452: checking check for listen using fcntl" >&5 |
2452 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2453 |
#line 2453 "configure" |
#line 2454 "configure" |
2454 |
#include "confdefs.h" |
#include "confdefs.h" |
2455 |
#include <stdio.h> |
#include <stdio.h> |
2456 |
#include <fcntl.h> |
#include <fcntl.h> |
2463 |
|
|
2464 |
; return 0; } |
; return 0; } |
2465 |
EOF |
EOF |
2466 |
if { (eval echo configure:2466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2467 |
rm -rf conftest* |
rm -rf conftest* |
2468 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2469 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2482 |
|
|
2483 |
|
|
2484 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2485 |
echo "configure:2485: checking for profil" >&5 |
echo "configure:2486: checking for profil" >&5 |
2486 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2487 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2488 |
else |
else |
2489 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2490 |
#line 2490 "configure" |
#line 2491 "configure" |
2491 |
#include "confdefs.h" |
#include "confdefs.h" |
2492 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2493 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2510 |
|
|
2511 |
; return 0; } |
; return 0; } |
2512 |
EOF |
EOF |
2513 |
if { (eval echo configure:2513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2514 |
rm -rf conftest* |
rm -rf conftest* |
2515 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2516 |
else |
else |
2535 |
|
|
2536 |
|
|
2537 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2538 |
echo "configure:2538: checking for setenv" >&5 |
echo "configure:2539: checking for setenv" >&5 |
2539 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2540 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2541 |
else |
else |
2542 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2543 |
#line 2543 "configure" |
#line 2544 "configure" |
2544 |
#include "confdefs.h" |
#include "confdefs.h" |
2545 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2546 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2563 |
|
|
2564 |
; return 0; } |
; return 0; } |
2565 |
EOF |
EOF |
2566 |
if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2567 |
rm -rf conftest* |
rm -rf conftest* |
2568 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2569 |
else |
else |
2589 |
|
|
2590 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2591 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2592 |
echo "configure:2592: checking for putenv" >&5 |
echo "configure:2593: checking for putenv" >&5 |
2593 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2594 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2595 |
else |
else |
2596 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2597 |
#line 2597 "configure" |
#line 2598 "configure" |
2598 |
#include "confdefs.h" |
#include "confdefs.h" |
2599 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2600 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2617 |
|
|
2618 |
; return 0; } |
; return 0; } |
2619 |
EOF |
EOF |
2620 |
if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2621 |
rm -rf conftest* |
rm -rf conftest* |
2622 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2623 |
else |
else |
2643 |
fi |
fi |
2644 |
|
|
2645 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2646 |
echo "configure:2646: checking for _cleanup" >&5 |
echo "configure:2647: checking for _cleanup" >&5 |
2647 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2648 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2649 |
else |
else |
2650 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2651 |
#line 2651 "configure" |
#line 2652 "configure" |
2652 |
#include "confdefs.h" |
#include "confdefs.h" |
2653 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2654 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2671 |
|
|
2672 |
; return 0; } |
; return 0; } |
2673 |
EOF |
EOF |
2674 |
if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2675 |
rm -rf conftest* |
rm -rf conftest* |
2676 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2677 |
else |
else |
2697 |
gcl_ok=no |
gcl_ok=no |
2698 |
|
|
2699 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2700 |
#line 2700 "configure" |
#line 2701 "configure" |
2701 |
#include "confdefs.h" |
#include "confdefs.h" |
2702 |
#include <ctype.h> |
#include <ctype.h> |
2703 |
EOF |
EOF |
2725 |
|
|
2726 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2727 |
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 |
2728 |
echo "configure:2728: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2729: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2729 |
|
|
2730 |
case $system in |
case $system in |
2731 |
OSF*) |
OSF*) |
2781 |
fi |
fi |
2782 |
|
|
2783 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2784 |
echo "configure:2784: checking host system type" >&5 |
echo "configure:2785: checking host system type" >&5 |
2785 |
|
|
2786 |
host_alias=$host |
host_alias=$host |
2787 |
case "$host_alias" in |
case "$host_alias" in |
2954 |
|
|
2955 |
esac |
esac |
2956 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2957 |
echo "configure:2957: checking check for SV_ONSTACK" >&5 |
echo "configure:2958: checking check for SV_ONSTACK" >&5 |
2958 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2959 |
#line 2959 "configure" |
#line 2960 "configure" |
2960 |
#include "confdefs.h" |
#include "confdefs.h" |
2961 |
#include <signal.h> |
#include <signal.h> |
2962 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2965 |
|
|
2966 |
; return 0; } |
; return 0; } |
2967 |
EOF |
EOF |
2968 |
if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2969 |
rm -rf conftest* |
rm -rf conftest* |
2970 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2971 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2983 |
|
|
2984 |
|
|
2985 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2986 |
echo "configure:2986: checking check for SIGSYS" >&5 |
echo "configure:2987: checking check for SIGSYS" >&5 |
2987 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2988 |
#line 2988 "configure" |
#line 2989 "configure" |
2989 |
#include "confdefs.h" |
#include "confdefs.h" |
2990 |
#include <signal.h> |
#include <signal.h> |
2991 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2994 |
|
|
2995 |
; return 0; } |
; return 0; } |
2996 |
EOF |
EOF |
2997 |
if { (eval echo configure:2997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2998 |
rm -rf conftest* |
rm -rf conftest* |
2999 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3000 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
3012 |
|
|
3013 |
|
|
3014 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
3015 |
echo "configure:3015: checking check for SIGEMT" >&5 |
echo "configure:3016: checking check for SIGEMT" >&5 |
3016 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3017 |
#line 3017 "configure" |
#line 3018 "configure" |
3018 |
#include "confdefs.h" |
#include "confdefs.h" |
3019 |
#include <signal.h> |
#include <signal.h> |
3020 |
int joe=SIGEMT; |
int joe=SIGEMT; |
3023 |
|
|
3024 |
; return 0; } |
; return 0; } |
3025 |
EOF |
EOF |
3026 |
if { (eval echo configure:3026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3027 |
rm -rf conftest* |
rm -rf conftest* |
3028 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3029 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
3047 |
do |
do |
3048 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3049 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3050 |
echo "configure:3050: checking for $ac_hdr" >&5 |
echo "configure:3051: checking for $ac_hdr" >&5 |
3051 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3052 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3053 |
else |
else |
3054 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3055 |
#line 3055 "configure" |
#line 3056 "configure" |
3056 |
#include "confdefs.h" |
#include "confdefs.h" |
3057 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3058 |
EOF |
EOF |
3059 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3060 |
{ (eval echo configure:3060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3061 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3062 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3063 |
rm -rf conftest* |
rm -rf conftest* |
3087 |
do |
do |
3088 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3089 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3090 |
echo "configure:3090: checking for $ac_hdr" >&5 |
echo "configure:3091: checking for $ac_hdr" >&5 |
3091 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3092 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3093 |
else |
else |
3094 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3095 |
#line 3095 "configure" |
#line 3096 "configure" |
3096 |
#include "confdefs.h" |
#include "confdefs.h" |
3097 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3098 |
EOF |
EOF |
3099 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3100 |
{ (eval echo configure:3100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3101 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3102 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3103 |
rm -rf conftest* |
rm -rf conftest* |
3124 |
done |
done |
3125 |
|
|
3126 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3127 |
#line 3127 "configure" |
#line 3128 "configure" |
3128 |
#include "confdefs.h" |
#include "confdefs.h" |
3129 |
#include <signal.h> |
#include <signal.h> |
3130 |
long code; |
long code; |
3135 |
|
|
3136 |
; return 0; } |
; return 0; } |
3137 |
EOF |
EOF |
3138 |
if { (eval echo configure:3138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3139 |
rm -rf conftest* |
rm -rf conftest* |
3140 |
|
|
3141 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
3156 |
rm -f conftest* |
rm -f conftest* |
3157 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
3158 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3159 |
#line 3159 "configure" |
#line 3160 "configure" |
3160 |
#include "confdefs.h" |
#include "confdefs.h" |
3161 |
#include <signal.h> |
#include <signal.h> |
3162 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
3173 |
|
|
3174 |
; return 0; } |
; return 0; } |
3175 |
EOF |
EOF |
3176 |
if { (eval echo configure:3176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3177 |
rm -rf conftest* |
rm -rf conftest* |
3178 |
|
|
3179 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
3216 |
# 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. |
3217 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
3218 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3219 |
echo "configure:3219: checking for $ac_word" >&5 |
echo "configure:3220: checking for $ac_word" >&5 |
3220 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
3221 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3222 |
else |
else |
3264 |
EOF |
EOF |
3265 |
|
|
3266 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
3267 |
echo "configure:3267: checking emacs site lisp directory" >&5 |
echo "configure:3268: checking emacs site lisp directory" >&5 |
3268 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
3269 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3270 |
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 ` |
3287 |
EOF |
EOF |
3288 |
|
|
3289 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
3290 |
echo "configure:3290: checking emacs default.el" >&5 |
echo "configure:3291: checking emacs default.el" >&5 |
3291 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3292 |
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 ` |
3293 |
else |
else |
3316 |
EOF |
EOF |
3317 |
|
|
3318 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3319 |
echo "configure:3319: checking emacs info/dir" >&5 |
echo "configure:3320: checking emacs info/dir" >&5 |
3320 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3321 |
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 ` |
3322 |
fi |
fi |
3330 |
|
|
3331 |
|
|
3332 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3333 |
echo "configure:3333: checking for tcl/tk" >&5 |
echo "configure:3334: checking for tcl/tk" >&5 |
3334 |
|
|
3335 |
|
|
3336 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3348 |
} |
} |
3349 |
|
|
3350 |
EOF |
EOF |
3351 |
cp conftest.tcl foo.tcl |
#cp conftest.tcl foo.tcl |
3352 |
|
|
3353 |
# 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. |
3354 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3355 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3356 |
echo "configure:3356: checking for $ac_word" >&5 |
echo "configure:3357: checking for $ac_word" >&5 |
3357 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3358 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3359 |
else |
else |
3453 |
fi |
fi |
3454 |
fi |
fi |
3455 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3456 |
echo "configure:3456: checking for main in -llieee" >&5 |
echo "configure:3457: checking for main in -llieee" >&5 |
3457 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3458 |
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 |
3459 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3461 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3462 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3463 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3464 |
#line 3464 "configure" |
#line 3465 "configure" |
3465 |
#include "confdefs.h" |
#include "confdefs.h" |
3466 |
|
|
3467 |
int main() { |
int main() { |
3468 |
main() |
main() |
3469 |
; return 0; } |
; return 0; } |
3470 |
EOF |
EOF |
3471 |
if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3472 |
rm -rf conftest* |
rm -rf conftest* |
3473 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3474 |
else |
else |
3493 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3494 |
fi |
fi |
3495 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3496 |
echo "configure:3496: checking for dlopen in -ldl" >&5 |
echo "configure:3497: checking for dlopen in -ldl" >&5 |
3497 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3498 |
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 |
3499 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3501 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3502 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3503 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3504 |
#line 3504 "configure" |
#line 3505 "configure" |
3505 |
#include "confdefs.h" |
#include "confdefs.h" |
3506 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3507 |
/* 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 |
3512 |
dlopen() |
dlopen() |
3513 |
; return 0; } |
; return 0; } |
3514 |
EOF |
EOF |
3515 |
if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3516 |
rm -rf conftest* |
rm -rf conftest* |
3517 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3518 |
else |
else |
3594 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3595 |
|
|
3596 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3597 |
echo "configure:3597: checking alloca" >&5 |
echo "configure:3598: checking alloca" >&5 |
3598 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3599 |
gcl_ok=no |
gcl_ok=no |
3600 |
else |
else |
3601 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3602 |
#line 3602 "configure" |
#line 3603 "configure" |
3603 |
#include "confdefs.h" |
#include "confdefs.h" |
3604 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3605 |
EOF |
EOF |
3606 |
if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3607 |
then |
then |
3608 |
: |
: |
3609 |
else |
else |
3626 |
gcl_ok=no |
gcl_ok=no |
3627 |
else |
else |
3628 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3629 |
#line 3629 "configure" |
#line 3630 "configure" |
3630 |
#include "confdefs.h" |
#include "confdefs.h" |
3631 |
#include <alloca.h> |
#include <alloca.h> |
3632 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3633 |
EOF |
EOF |
3634 |
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3635 |
then |
then |
3636 |
: |
: |
3637 |
else |
else |
3694 |
MP_INLCUDE="" |
MP_INLCUDE="" |
3695 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3696 |
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 |
3697 |
echo "configure:3697: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3698: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3698 |
case "${canonical}" in |
case "${canonical}" in |
3699 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3700 |
# (cd gmp ; ./configure --target=i486) ;; |
# (cd gmp ; ./configure --target=i486) ;; |
3718 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3719 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3720 |
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 |
3721 |
echo "configure:3721: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3722: checking Checking for buggy gcc version from redhat" >&5 |
3722 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3723 |
then |
then |
3724 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |