|
|
|
|
@ -3459,15 +3459,43 @@ else |
|
|
|
|
fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
|
|
|
|
|
if test $ac_cv_prog_gcc = yes; then |
|
|
|
|
echo $ac_n "checking DBL_MIN good""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3464: checking DBL_MIN good" >&5 |
|
|
|
|
if test "$cross_compiling" = yes; then |
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3469 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <math.h> |
|
|
|
|
main() |
|
|
|
|
{ double d = DBL_MIN; if (d != DBL_MIN) exit -1; else exit 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
|
else |
|
|
|
|
echo "configure: failed program was:" >&5 |
|
|
|
|
cat conftest.$ac_ext >&5 |
|
|
|
|
rm -fr conftest* |
|
|
|
|
echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF |
|
|
|
|
#define HAVE_DBL_MIN_PROBLEM 1 |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
rm -fr conftest* |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test x$ac_cv_prog_gcc = xyes; then |
|
|
|
|
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3465: checking whether ${CC-cc} needs -traditional" >&5 |
|
|
|
|
echo "configure:3493: checking whether ${CC-cc} needs -traditional" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
ac_pattern="Autoconf.*'x'" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3471 "configure" |
|
|
|
|
#line 3499 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <sgtty.h> |
|
|
|
|
Autoconf TIOCGETP |
|
|
|
|
@ -3485,7 +3513,7 @@ rm -f conftest* |
|
|
|
|
|
|
|
|
|
if test $ac_cv_prog_gcc_traditional = no; then |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3489 "configure" |
|
|
|
|
#line 3517 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <termio.h> |
|
|
|
|
Autoconf TCGETA |
|
|
|
|
@ -3507,7 +3535,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3511: checking for 8-bit clean memcmp" >&5 |
|
|
|
|
echo "configure:3539: checking for 8-bit clean memcmp" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -3515,7 +3543,7 @@ else |
|
|
|
|
ac_cv_func_memcmp_clean=no |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3519 "configure" |
|
|
|
|
#line 3547 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
main() |
|
|
|
|
@ -3525,7 +3553,7 @@ main() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:3557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
ac_cv_func_memcmp_clean=yes |
|
|
|
|
else |
|
|
|
|
@ -3543,12 +3571,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6 |
|
|
|
|
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o" |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3547: checking return type of signal handlers" >&5 |
|
|
|
|
echo "configure:3575: checking return type of signal handlers" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3552 "configure" |
|
|
|
|
#line 3580 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <sys/types.h> |
|
|
|
|
#include <signal.h> |
|
|
|
|
@ -3565,7 +3593,7 @@ int main() { |
|
|
|
|
int i; |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:3597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ac_cv_type_signal=void |
|
|
|
|
else |
|
|
|
|
@ -3584,12 +3612,12 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3588: checking for vprintf" >&5 |
|
|
|
|
echo "configure:3616: checking for vprintf" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3593 "configure" |
|
|
|
|
#line 3621 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char vprintf(); below. */ |
|
|
|
|
@ -3612,7 +3640,7 @@ vprintf(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_vprintf=yes" |
|
|
|
|
else |
|
|
|
|
@ -3636,12 +3664,12 @@ fi |
|
|
|
|
|
|
|
|
|
if test "$ac_cv_func_vprintf" != yes; then |
|
|
|
|
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3640: checking for _doprnt" >&5 |
|
|
|
|
echo "configure:3668: checking for _doprnt" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3645 "configure" |
|
|
|
|
#line 3673 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char _doprnt(); below. */ |
|
|
|
|
@ -3664,7 +3692,7 @@ _doprnt(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func__doprnt=yes" |
|
|
|
|
else |
|
|
|
|
@ -3691,12 +3719,12 @@ fi |
|
|
|
|
for ac_func in tzset vfork memmove sigsetjmp kill sysconf fpclass |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3695: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:3723: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3700 "configure" |
|
|
|
|
#line 3728 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
|
@ -3719,7 +3747,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
|
@ -3746,12 +3774,12 @@ done |
|
|
|
|
for ac_func in fp_class fp_class_d class |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3750: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:3778: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3755 "configure" |
|
|
|
|
#line 3783 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
|
@ -3774,7 +3802,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
|
@ -3801,12 +3829,12 @@ done |
|
|
|
|
for ac_func in sigprocmask waitpid setsid fcvt |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3805: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:3833: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3810 "configure" |
|
|
|
|
#line 3838 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
|
@ -3829,7 +3857,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
|
@ -3854,12 +3882,12 @@ fi |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for isinf""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3858: checking for isinf" >&5 |
|
|
|
|
echo "configure:3886: checking for isinf" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_isinf'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3863 "configure" |
|
|
|
|
#line 3891 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char isinf(); below. */ |
|
|
|
|
@ -3882,7 +3910,7 @@ isinf(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_isinf=yes" |
|
|
|
|
else |
|
|
|
|
@ -3907,12 +3935,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for getrusage""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3911: checking for getrusage" >&5 |
|
|
|
|
echo "configure:3939: checking for getrusage" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_getrusage'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3916 "configure" |
|
|
|
|
#line 3944 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char getrusage(); below. */ |
|
|
|
|
@ -3935,7 +3963,7 @@ getrusage(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_getrusage=yes" |
|
|
|
|
else |
|
|
|
|
@ -3960,12 +3988,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for srandom""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:3964: checking for srandom" >&5 |
|
|
|
|
echo "configure:3992: checking for srandom" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_srandom'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 3969 "configure" |
|
|
|
|
#line 3997 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char srandom(); below. */ |
|
|
|
|
@ -3988,7 +4016,7 @@ srandom(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:3992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_srandom=yes" |
|
|
|
|
else |
|
|
|
|
@ -4013,12 +4041,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gethostname""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4017: checking for gethostname" >&5 |
|
|
|
|
echo "configure:4045: checking for gethostname" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_gethostname'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4022 "configure" |
|
|
|
|
#line 4050 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char gethostname(); below. */ |
|
|
|
|
@ -4041,7 +4069,7 @@ gethostname(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_gethostname=yes" |
|
|
|
|
else |
|
|
|
|
@ -4066,12 +4094,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for random""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4070: checking for random" >&5 |
|
|
|
|
echo "configure:4098: checking for random" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_random'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4075 "configure" |
|
|
|
|
#line 4103 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char random(); below. */ |
|
|
|
|
@ -4094,7 +4122,7 @@ random(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_random=yes" |
|
|
|
|
else |
|
|
|
|
@ -4119,12 +4147,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4123: checking for inet_aton" >&5 |
|
|
|
|
echo "configure:4151: checking for inet_aton" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4128 "configure" |
|
|
|
|
#line 4156 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char inet_aton(); below. */ |
|
|
|
|
@ -4147,7 +4175,7 @@ inet_aton(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_inet_aton=yes" |
|
|
|
|
else |
|
|
|
|
@ -4172,12 +4200,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4176: checking for strerror" >&5 |
|
|
|
|
echo "configure:4204: checking for strerror" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4181 "configure" |
|
|
|
|
#line 4209 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strerror(); below. */ |
|
|
|
|
@ -4200,7 +4228,7 @@ strerror(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strerror=yes" |
|
|
|
|
else |
|
|
|
|
@ -4226,12 +4254,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strdup""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4230: checking for strdup" >&5 |
|
|
|
|
echo "configure:4258: checking for strdup" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4235 "configure" |
|
|
|
|
#line 4263 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strdup(); below. */ |
|
|
|
|
@ -4254,7 +4282,7 @@ strdup(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strdup=yes" |
|
|
|
|
else |
|
|
|
|
@ -4279,12 +4307,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strtol""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4283: checking for strtol" >&5 |
|
|
|
|
echo "configure:4311: checking for strtol" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strtol'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4288 "configure" |
|
|
|
|
#line 4316 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strtol(); below. */ |
|
|
|
|
@ -4307,7 +4335,7 @@ strtol(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strtol=yes" |
|
|
|
|
else |
|
|
|
|
@ -4332,12 +4360,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strtoul""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4336: checking for strtoul" >&5 |
|
|
|
|
echo "configure:4364: checking for strtoul" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4341 "configure" |
|
|
|
|
#line 4369 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strtoul(); below. */ |
|
|
|
|
@ -4360,7 +4388,7 @@ strtoul(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strtoul=yes" |
|
|
|
|
else |
|
|
|
|
@ -4385,12 +4413,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4389: checking for strcasecmp" >&5 |
|
|
|
|
echo "configure:4417: checking for strcasecmp" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4394 "configure" |
|
|
|
|
#line 4422 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strcasecmp(); below. */ |
|
|
|
|
@ -4413,7 +4441,7 @@ strcasecmp(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strcasecmp=yes" |
|
|
|
|
else |
|
|
|
|
@ -4438,12 +4466,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for cbrt""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4442: checking for cbrt" >&5 |
|
|
|
|
echo "configure:4470: checking for cbrt" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_cbrt'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4447 "configure" |
|
|
|
|
#line 4475 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char cbrt(); below. */ |
|
|
|
|
@ -4466,7 +4494,7 @@ cbrt(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_cbrt=yes" |
|
|
|
|
else |
|
|
|
|
@ -4487,7 +4515,7 @@ EOF |
|
|
|
|
else |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
echo $ac_n "checking for cbrt in -lm""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4491: checking for cbrt in -lm" >&5 |
|
|
|
|
echo "configure:4519: checking for cbrt in -lm" >&5 |
|
|
|
|
ac_lib_var=`echo m'_'cbrt | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -4495,7 +4523,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lm $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4499 "configure" |
|
|
|
|
#line 4527 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -4506,7 +4534,7 @@ int main() { |
|
|
|
|
cbrt() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -4532,12 +4560,12 @@ fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for rint""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4536: checking for rint" >&5 |
|
|
|
|
echo "configure:4564: checking for rint" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_rint'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4541 "configure" |
|
|
|
|
#line 4569 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char rint(); below. */ |
|
|
|
|
@ -4560,7 +4588,7 @@ rint(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_rint=yes" |
|
|
|
|
else |
|
|
|
|
@ -4581,7 +4609,7 @@ EOF |
|
|
|
|
else |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
echo $ac_n "checking for rint in -lm""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4585: checking for rint in -lm" >&5 |
|
|
|
|
echo "configure:4613: checking for rint in -lm" >&5 |
|
|
|
|
ac_lib_var=`echo m'_'rint | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -4589,7 +4617,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lm $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4593 "configure" |
|
|
|
|
#line 4621 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -4600,7 +4628,7 @@ int main() { |
|
|
|
|
rint() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -4639,7 +4667,7 @@ if test "$USE_X" = true; then |
|
|
|
|
# Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
|
|
# --without-x overrides everything else, but does not touch the cache. |
|
|
|
|
echo $ac_n "checking for X""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4643: checking for X" >&5 |
|
|
|
|
echo "configure:4671: checking for X" >&5 |
|
|
|
|
|
|
|
|
|
# Check whether --with-x or --without-x was given. |
|
|
|
|
if test "${with_x+set}" = set; then |
|
|
|
|
@ -4701,12 +4729,12 @@ if test "$ac_x_includes" = NO; then |
|
|
|
|
|
|
|
|
|
# First, try using that file with no special directory specified. |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4705 "configure" |
|
|
|
|
#line 4733 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <$x_direct_test_include> |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:4710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:4738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
@ -4775,14 +4803,14 @@ if test "$ac_x_libraries" = NO; then |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-l$x_direct_test_library $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4779 "configure" |
|
|
|
|
#line 4807 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
${x_direct_test_function}() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
LIBS="$ac_save_LIBS" |
|
|
|
|
# We can link X programs with no special library path. |
|
|
|
|
@ -4888,17 +4916,17 @@ else |
|
|
|
|
case "`(uname -sr) 2>/dev/null`" in |
|
|
|
|
"SunOS 5"*) |
|
|
|
|
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4892: checking whether -R must be followed by a space" >&5 |
|
|
|
|
echo "configure:4920: checking whether -R must be followed by a space" >&5 |
|
|
|
|
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4895 "configure" |
|
|
|
|
#line 4923 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ac_R_nospace=yes |
|
|
|
|
else |
|
|
|
|
@ -4914,14 +4942,14 @@ rm -f conftest* |
|
|
|
|
else |
|
|
|
|
LIBS="$ac_xsave_LIBS -R $x_libraries" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4918 "configure" |
|
|
|
|
#line 4946 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ac_R_space=yes |
|
|
|
|
else |
|
|
|
|
@ -4953,7 +4981,7 @@ rm -f conftest* |
|
|
|
|
# libraries were built with DECnet support. And karl@cs.umb.edu says |
|
|
|
|
# the Alpha needs dnet_stub (dnet does not exist). |
|
|
|
|
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4957: checking for dnet_ntoa in -ldnet" >&5 |
|
|
|
|
echo "configure:4985: checking for dnet_ntoa in -ldnet" >&5 |
|
|
|
|
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -4961,7 +4989,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-ldnet $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4965 "configure" |
|
|
|
|
#line 4993 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -4972,7 +5000,7 @@ int main() { |
|
|
|
|
dnet_ntoa() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -4994,7 +5022,7 @@ fi |
|
|
|
|
|
|
|
|
|
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
|
|
|
|
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:4998: checking for dnet_ntoa in -ldnet_stub" >&5 |
|
|
|
|
echo "configure:5026: checking for dnet_ntoa in -ldnet_stub" >&5 |
|
|
|
|
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5002,7 +5030,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-ldnet_stub $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5006 "configure" |
|
|
|
|
#line 5034 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5013,7 +5041,7 @@ int main() { |
|
|
|
|
dnet_ntoa() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5042,12 +5070,12 @@ fi |
|
|
|
|
# The nsl library prevents programs from opening the X display |
|
|
|
|
# on Irix 5.2, according to dickey@clark.net. |
|
|
|
|
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5046: checking for gethostbyname" >&5 |
|
|
|
|
echo "configure:5074: checking for gethostbyname" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5051 "configure" |
|
|
|
|
#line 5079 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char gethostbyname(); below. */ |
|
|
|
|
@ -5070,7 +5098,7 @@ gethostbyname(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_gethostbyname=yes" |
|
|
|
|
else |
|
|
|
|
@ -5091,7 +5119,7 @@ fi |
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_gethostbyname = no; then |
|
|
|
|
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5095: checking for gethostbyname in -lnsl" >&5 |
|
|
|
|
echo "configure:5123: checking for gethostbyname in -lnsl" >&5 |
|
|
|
|
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5099,7 +5127,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lnsl $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5103 "configure" |
|
|
|
|
#line 5131 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5110,7 +5138,7 @@ int main() { |
|
|
|
|
gethostbyname() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5140,12 +5168,12 @@ fi |
|
|
|
|
# -lsocket must be given before -lnsl if both are needed. |
|
|
|
|
# We assume that if connect needs -lnsl, so does gethostbyname. |
|
|
|
|
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5144: checking for connect" >&5 |
|
|
|
|
echo "configure:5172: checking for connect" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5149 "configure" |
|
|
|
|
#line 5177 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char connect(); below. */ |
|
|
|
|
@ -5168,7 +5196,7 @@ connect(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_connect=yes" |
|
|
|
|
else |
|
|
|
|
@ -5189,7 +5217,7 @@ fi |
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_connect = no; then |
|
|
|
|
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5193: checking for connect in -lsocket" >&5 |
|
|
|
|
echo "configure:5221: checking for connect in -lsocket" >&5 |
|
|
|
|
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5197,7 +5225,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5201 "configure" |
|
|
|
|
#line 5229 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5208,7 +5236,7 @@ int main() { |
|
|
|
|
connect() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5232,12 +5260,12 @@ fi |
|
|
|
|
|
|
|
|
|
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
|
|
|
|
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5236: checking for remove" >&5 |
|
|
|
|
echo "configure:5264: checking for remove" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5241 "configure" |
|
|
|
|
#line 5269 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char remove(); below. */ |
|
|
|
|
@ -5260,7 +5288,7 @@ remove(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_remove=yes" |
|
|
|
|
else |
|
|
|
|
@ -5281,7 +5309,7 @@ fi |
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_remove = no; then |
|
|
|
|
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5285: checking for remove in -lposix" >&5 |
|
|
|
|
echo "configure:5313: checking for remove in -lposix" >&5 |
|
|
|
|
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5289,7 +5317,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lposix $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5293 "configure" |
|
|
|
|
#line 5321 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5300,7 +5328,7 @@ int main() { |
|
|
|
|
remove() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5324,12 +5352,12 @@ fi |
|
|
|
|
|
|
|
|
|
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
|
|
|
|
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5328: checking for shmat" >&5 |
|
|
|
|
echo "configure:5356: checking for shmat" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5333 "configure" |
|
|
|
|
#line 5361 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char shmat(); below. */ |
|
|
|
|
@ -5352,7 +5380,7 @@ shmat(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_shmat=yes" |
|
|
|
|
else |
|
|
|
|
@ -5373,7 +5401,7 @@ fi |
|
|
|
|
|
|
|
|
|
if test $ac_cv_func_shmat = no; then |
|
|
|
|
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5377: checking for shmat in -lipc" >&5 |
|
|
|
|
echo "configure:5405: checking for shmat in -lipc" >&5 |
|
|
|
|
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5381,7 +5409,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lipc $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5385 "configure" |
|
|
|
|
#line 5413 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5392,7 +5420,7 @@ int main() { |
|
|
|
|
shmat() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5425,7 +5453,7 @@ fi |
|
|
|
|
# libraries we check for below, so use a different variable. |
|
|
|
|
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
|
|
|
|
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5429: checking for IceConnectionNumber in -lICE" >&5 |
|
|
|
|
echo "configure:5457: checking for IceConnectionNumber in -lICE" >&5 |
|
|
|
|
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5433,7 +5461,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lICE $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5437 "configure" |
|
|
|
|
#line 5465 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5444,7 +5472,7 @@ int main() { |
|
|
|
|
IceConnectionNumber() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5477,7 +5505,7 @@ fi |
|
|
|
|
|
|
|
|
|
X11_LIBS="" |
|
|
|
|
echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5481: checking for XOpenDisplay in -lX11" >&5 |
|
|
|
|
echo "configure:5509: checking for XOpenDisplay in -lX11" >&5 |
|
|
|
|
ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5485,7 +5513,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lX11 ${X_PRE_LIBS} $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5489 "configure" |
|
|
|
|
#line 5517 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
@ -5496,7 +5524,7 @@ int main() { |
|
|
|
|
XOpenDisplay() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5538,17 +5566,17 @@ then |
|
|
|
|
TCL_INCDIR=no |
|
|
|
|
ac_safe=`echo "tcl.h" | sed 'y%./+-%__p_%'` |
|
|
|
|
echo $ac_n "checking for tcl.h""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5542: checking for tcl.h" >&5 |
|
|
|
|
echo "configure:5570: checking for tcl.h" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5547 "configure" |
|
|
|
|
#line 5575 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <tcl.h> |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:5552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:5580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
@ -5581,7 +5609,7 @@ if test "$USE_TCL" = "true"; then |
|
|
|
|
for tcl_lib in $tcl_libs; do |
|
|
|
|
if test -z "$TCL_LIB"; then |
|
|
|
|
echo $ac_n "checking for main in -l$tcl_lib""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5585: checking for main in -l$tcl_lib" >&5 |
|
|
|
|
echo "configure:5613: checking for main in -l$tcl_lib" >&5 |
|
|
|
|
ac_lib_var=`echo $tcl_lib'_'main | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5589,14 +5617,14 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-l$tcl_lib $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5593 "configure" |
|
|
|
|
#line 5621 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
main() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
@ -5640,17 +5668,17 @@ then |
|
|
|
|
TK_INCDIR=no |
|
|
|
|
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'` |
|
|
|
|
echo $ac_n "checking for tk.h""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5644: checking for tk.h" >&5 |
|
|
|
|
echo "configure:5672: checking for tk.h" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5649 "configure" |
|
|
|
|
#line 5677 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <tk.h> |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:5654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:5682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
@ -5699,7 +5727,7 @@ then |
|
|
|
|
for tk_lib in $tk_libs; do |
|
|
|
|
if test -z "$TK_LIB"; then |
|
|
|
|
echo $ac_n "checking for main in -l$tk_lib""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5703: checking for main in -l$tk_lib" >&5 |
|
|
|
|
echo "configure:5731: checking for main in -l$tk_lib" >&5 |
|
|
|
|
ac_lib_var=`echo $tk_lib'_'main | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
@ -5707,14 +5735,14 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-l$tk_lib $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5711 "configure" |
|
|
|
|
#line 5739 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
main() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
|
|