4028 |
#line 4029 "configure" |
#line 4029 "configure" |
4029 |
#include "confdefs.h" |
#include "confdefs.h" |
4030 |
#include <math.h> |
#include <math.h> |
4031 |
|
#include <ieeefp.h>xs |
4032 |
int main() { |
int main() { |
4033 |
float f; |
float f; |
4034 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
4035 |
} |
} |
4036 |
EOF |
EOF |
4037 |
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4038 |
then |
then |
4039 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4040 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4075 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4076 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4077 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4078 |
echo "configure:4078: checking for sockets" >&5 |
echo "configure:4079: checking for sockets" >&5 |
4079 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4080 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4081 |
echo "configure:4081: checking for connect" >&5 |
echo "configure:4082: checking for connect" >&5 |
4082 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4083 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4084 |
else |
else |
4085 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4086 |
#line 4086 "configure" |
#line 4087 "configure" |
4087 |
#include "confdefs.h" |
#include "confdefs.h" |
4088 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4089 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4106 |
|
|
4107 |
; return 0; } |
; return 0; } |
4108 |
EOF |
EOF |
4109 |
if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4110 |
rm -rf conftest* |
rm -rf conftest* |
4111 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4112 |
else |
else |
4128 |
|
|
4129 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4130 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4131 |
echo "configure:4131: checking for main in -lsocket" >&5 |
echo "configure:4132: checking for main in -lsocket" >&5 |
4132 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4133 |
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 |
4134 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4136 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4137 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4138 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4139 |
#line 4139 "configure" |
#line 4140 "configure" |
4140 |
#include "confdefs.h" |
#include "confdefs.h" |
4141 |
|
|
4142 |
int main() { |
int main() { |
4143 |
main() |
main() |
4144 |
; return 0; } |
; return 0; } |
4145 |
EOF |
EOF |
4146 |
if { (eval echo configure:4146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4147 |
rm -rf conftest* |
rm -rf conftest* |
4148 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4149 |
else |
else |
4171 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4172 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4173 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4174 |
echo "configure:4174: checking for accept" >&5 |
echo "configure:4175: checking for accept" >&5 |
4175 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4176 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4177 |
else |
else |
4178 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4179 |
#line 4179 "configure" |
#line 4180 "configure" |
4180 |
#include "confdefs.h" |
#include "confdefs.h" |
4181 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4182 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4199 |
|
|
4200 |
; return 0; } |
; return 0; } |
4201 |
EOF |
EOF |
4202 |
if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4203 |
rm -rf conftest* |
rm -rf conftest* |
4204 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4205 |
else |
else |
4221 |
|
|
4222 |
fi |
fi |
4223 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4224 |
echo "configure:4224: checking for gethostbyname" >&5 |
echo "configure:4225: checking for gethostbyname" >&5 |
4225 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4226 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4227 |
else |
else |
4228 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4229 |
#line 4229 "configure" |
#line 4230 "configure" |
4230 |
#include "confdefs.h" |
#include "confdefs.h" |
4231 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4232 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4249 |
|
|
4250 |
; return 0; } |
; return 0; } |
4251 |
EOF |
EOF |
4252 |
if { (eval echo configure:4252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4253 |
rm -rf conftest* |
rm -rf conftest* |
4254 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4255 |
else |
else |
4267 |
else |
else |
4268 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4269 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4270 |
echo "configure:4270: checking for main in -lnsl" >&5 |
echo "configure:4271: checking for main in -lnsl" >&5 |
4271 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4272 |
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 |
4273 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4275 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4276 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4277 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4278 |
#line 4278 "configure" |
#line 4279 "configure" |
4279 |
#include "confdefs.h" |
#include "confdefs.h" |
4280 |
|
|
4281 |
int main() { |
int main() { |
4282 |
main() |
main() |
4283 |
; return 0; } |
; return 0; } |
4284 |
EOF |
EOF |
4285 |
if { (eval echo configure:4285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4286 |
rm -rf conftest* |
rm -rf conftest* |
4287 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4288 |
else |
else |
4307 |
|
|
4308 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4309 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4310 |
echo "configure:4310: checking for main in -lreadline" >&5 |
echo "configure:4311: checking for main in -lreadline" >&5 |
4311 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4312 |
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 |
4313 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4315 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4316 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4317 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4318 |
#line 4318 "configure" |
#line 4319 "configure" |
4319 |
#include "confdefs.h" |
#include "confdefs.h" |
4320 |
|
|
4321 |
int main() { |
int main() { |
4322 |
main() |
main() |
4323 |
; return 0; } |
; return 0; } |
4324 |
EOF |
EOF |
4325 |
if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4326 |
rm -rf conftest* |
rm -rf conftest* |
4327 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4328 |
else |
else |
4354 |
|
|
4355 |
|
|
4356 |
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 |
4357 |
echo "configure:4357: checking For network code for nsocket.c" >&5 |
echo "configure:4358: checking For network code for nsocket.c" >&5 |
4358 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4359 |
#line 4359 "configure" |
#line 4360 "configure" |
4360 |
#include "confdefs.h" |
#include "confdefs.h" |
4361 |
|
|
4362 |
#include <sys/time.h> |
#include <sys/time.h> |
4383 |
|
|
4384 |
; return 0; } |
; return 0; } |
4385 |
EOF |
EOF |
4386 |
if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4387 |
rm -rf conftest* |
rm -rf conftest* |
4388 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4389 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4400 |
|
|
4401 |
|
|
4402 |
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 |
4403 |
echo "configure:4403: checking check for listen using fcntl" >&5 |
echo "configure:4404: checking check for listen using fcntl" >&5 |
4404 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4405 |
#line 4405 "configure" |
#line 4406 "configure" |
4406 |
#include "confdefs.h" |
#include "confdefs.h" |
4407 |
#include <stdio.h> |
#include <stdio.h> |
4408 |
#include <fcntl.h> |
#include <fcntl.h> |
4415 |
|
|
4416 |
; return 0; } |
; return 0; } |
4417 |
EOF |
EOF |
4418 |
if { (eval echo configure:4418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4419 |
rm -rf conftest* |
rm -rf conftest* |
4420 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4421 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4434 |
|
|
4435 |
|
|
4436 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4437 |
echo "configure:4437: checking for profil" >&5 |
echo "configure:4438: checking for profil" >&5 |
4438 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4439 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4440 |
else |
else |
4441 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4442 |
#line 4442 "configure" |
#line 4443 "configure" |
4443 |
#include "confdefs.h" |
#include "confdefs.h" |
4444 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4445 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4462 |
|
|
4463 |
; return 0; } |
; return 0; } |
4464 |
EOF |
EOF |
4465 |
if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4466 |
rm -rf conftest* |
rm -rf conftest* |
4467 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4468 |
else |
else |
4487 |
|
|
4488 |
|
|
4489 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4490 |
echo "configure:4490: checking for setenv" >&5 |
echo "configure:4491: checking for setenv" >&5 |
4491 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4492 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4493 |
else |
else |
4494 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4495 |
#line 4495 "configure" |
#line 4496 "configure" |
4496 |
#include "confdefs.h" |
#include "confdefs.h" |
4497 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4498 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4515 |
|
|
4516 |
; return 0; } |
; return 0; } |
4517 |
EOF |
EOF |
4518 |
if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4519 |
rm -rf conftest* |
rm -rf conftest* |
4520 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4521 |
else |
else |
4541 |
|
|
4542 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4543 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4544 |
echo "configure:4544: checking for putenv" >&5 |
echo "configure:4545: checking for putenv" >&5 |
4545 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4546 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4547 |
else |
else |
4548 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4549 |
#line 4549 "configure" |
#line 4550 "configure" |
4550 |
#include "confdefs.h" |
#include "confdefs.h" |
4551 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4552 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
4569 |
|
|
4570 |
; return 0; } |
; return 0; } |
4571 |
EOF |
EOF |
4572 |
if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4573 |
rm -rf conftest* |
rm -rf conftest* |
4574 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
4575 |
else |
else |
4595 |
fi |
fi |
4596 |
|
|
4597 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
4598 |
echo "configure:4598: checking for _cleanup" >&5 |
echo "configure:4599: checking for _cleanup" >&5 |
4599 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
4600 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4601 |
else |
else |
4602 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4603 |
#line 4603 "configure" |
#line 4604 "configure" |
4604 |
#include "confdefs.h" |
#include "confdefs.h" |
4605 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4606 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
4623 |
|
|
4624 |
; return 0; } |
; return 0; } |
4625 |
EOF |
EOF |
4626 |
if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4627 |
rm -rf conftest* |
rm -rf conftest* |
4628 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
4629 |
else |
else |
4649 |
gcl_ok=no |
gcl_ok=no |
4650 |
|
|
4651 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4652 |
#line 4652 "configure" |
#line 4653 "configure" |
4653 |
#include "confdefs.h" |
#include "confdefs.h" |
4654 |
#include <ctype.h> |
#include <ctype.h> |
4655 |
EOF |
EOF |
4677 |
|
|
4678 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
4679 |
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 |
4680 |
echo "configure:4680: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:4681: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
4681 |
|
|
4682 |
case $system in |
case $system in |
4683 |
OSF*) |
OSF*) |
4708 |
|
|
4709 |
|
|
4710 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
4711 |
echo "configure:4711: checking check for SV_ONSTACK" >&5 |
echo "configure:4712: checking check for SV_ONSTACK" >&5 |
4712 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4713 |
#line 4713 "configure" |
#line 4714 "configure" |
4714 |
#include "confdefs.h" |
#include "confdefs.h" |
4715 |
#include <signal.h> |
#include <signal.h> |
4716 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
4719 |
|
|
4720 |
; return 0; } |
; return 0; } |
4721 |
EOF |
EOF |
4722 |
if { (eval echo configure:4722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4723 |
rm -rf conftest* |
rm -rf conftest* |
4724 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4725 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
4736 |
rm -f conftest* |
rm -f conftest* |
4737 |
|
|
4738 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
4739 |
echo "configure:4739: checking check for SIGSYS" >&5 |
echo "configure:4740: checking check for SIGSYS" >&5 |
4740 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4741 |
#line 4741 "configure" |
#line 4742 "configure" |
4742 |
#include "confdefs.h" |
#include "confdefs.h" |
4743 |
#include <signal.h> |
#include <signal.h> |
4744 |
int joe=SIGSYS; |
int joe=SIGSYS; |
4747 |
|
|
4748 |
; return 0; } |
; return 0; } |
4749 |
EOF |
EOF |
4750 |
if { (eval echo configure:4750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4751 |
rm -rf conftest* |
rm -rf conftest* |
4752 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4753 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
4765 |
|
|
4766 |
|
|
4767 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
4768 |
echo "configure:4768: checking check for SIGEMT" >&5 |
echo "configure:4769: checking check for SIGEMT" >&5 |
4769 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4770 |
#line 4770 "configure" |
#line 4771 "configure" |
4771 |
#include "confdefs.h" |
#include "confdefs.h" |
4772 |
#include <signal.h> |
#include <signal.h> |
4773 |
int joe=SIGEMT; |
int joe=SIGEMT; |
4776 |
|
|
4777 |
; return 0; } |
; return 0; } |
4778 |
EOF |
EOF |
4779 |
if { (eval echo configure:4779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4780 |
rm -rf conftest* |
rm -rf conftest* |
4781 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4782 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
4800 |
do |
do |
4801 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4802 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4803 |
echo "configure:4803: checking for $ac_hdr" >&5 |
echo "configure:4804: checking for $ac_hdr" >&5 |
4804 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4805 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4806 |
else |
else |
4807 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4808 |
#line 4808 "configure" |
#line 4809 "configure" |
4809 |
#include "confdefs.h" |
#include "confdefs.h" |
4810 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4811 |
EOF |
EOF |
4812 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4813 |
{ (eval echo configure:4813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4814 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4815 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4816 |
rm -rf conftest* |
rm -rf conftest* |
4840 |
do |
do |
4841 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4842 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4843 |
echo "configure:4843: checking for $ac_hdr" >&5 |
echo "configure:4844: checking for $ac_hdr" >&5 |
4844 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4845 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4846 |
else |
else |
4847 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4848 |
#line 4848 "configure" |
#line 4849 "configure" |
4849 |
#include "confdefs.h" |
#include "confdefs.h" |
4850 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4851 |
EOF |
EOF |
4852 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4853 |
{ (eval echo configure:4853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4854 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4855 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4856 |
rm -rf conftest* |
rm -rf conftest* |
4877 |
done |
done |
4878 |
|
|
4879 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4880 |
#line 4880 "configure" |
#line 4881 "configure" |
4881 |
#include "confdefs.h" |
#include "confdefs.h" |
4882 |
#include <signal.h> |
#include <signal.h> |
4883 |
long code; |
long code; |
4888 |
|
|
4889 |
; return 0; } |
; return 0; } |
4890 |
EOF |
EOF |
4891 |
if { (eval echo configure:4891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4892 |
rm -rf conftest* |
rm -rf conftest* |
4893 |
|
|
4894 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
4909 |
rm -f conftest* |
rm -f conftest* |
4910 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
4911 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4912 |
#line 4912 "configure" |
#line 4913 "configure" |
4913 |
#include "confdefs.h" |
#include "confdefs.h" |
4914 |
#include <signal.h> |
#include <signal.h> |
4915 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
4926 |
|
|
4927 |
; return 0; } |
; return 0; } |
4928 |
EOF |
EOF |
4929 |
if { (eval echo configure:4929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4930 |
rm -rf conftest* |
rm -rf conftest* |
4931 |
|
|
4932 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
4969 |
# 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. |
4970 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
4971 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4972 |
echo "configure:4972: checking for $ac_word" >&5 |
echo "configure:4973: checking for $ac_word" >&5 |
4973 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
4974 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4975 |
else |
else |
5017 |
EOF |
EOF |
5018 |
|
|
5019 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5020 |
echo "configure:5020: checking emacs site lisp directory" >&5 |
echo "configure:5021: checking emacs site lisp directory" >&5 |
5021 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
5022 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5023 |
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 ` |
5040 |
EOF |
EOF |
5041 |
|
|
5042 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5043 |
echo "configure:5043: checking emacs default.el" >&5 |
echo "configure:5044: checking emacs default.el" >&5 |
5044 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5045 |
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 ` |
5046 |
else |
else |
5069 |
EOF |
EOF |
5070 |
|
|
5071 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5072 |
echo "configure:5072: checking emacs info/dir" >&5 |
echo "configure:5073: checking emacs info/dir" >&5 |
5073 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5074 |
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 ` |
5075 |
fi |
fi |
5083 |
|
|
5084 |
|
|
5085 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5086 |
echo "configure:5086: checking for tcl/tk" >&5 |
echo "configure:5087: checking for tcl/tk" >&5 |
5087 |
|
|
5088 |
|
|
5089 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5106 |
# 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. |
5107 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5108 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5109 |
echo "configure:5109: checking for $ac_word" >&5 |
echo "configure:5110: checking for $ac_word" >&5 |
5110 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5111 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5112 |
else |
else |
5206 |
fi |
fi |
5207 |
fi |
fi |
5208 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5209 |
echo "configure:5209: checking for main in -llieee" >&5 |
echo "configure:5210: checking for main in -llieee" >&5 |
5210 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5211 |
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 |
5212 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5214 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5215 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5216 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5217 |
#line 5217 "configure" |
#line 5218 "configure" |
5218 |
#include "confdefs.h" |
#include "confdefs.h" |
5219 |
|
|
5220 |
int main() { |
int main() { |
5221 |
main() |
main() |
5222 |
; return 0; } |
; return 0; } |
5223 |
EOF |
EOF |
5224 |
if { (eval echo configure:5224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5225 |
rm -rf conftest* |
rm -rf conftest* |
5226 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5227 |
else |
else |
5286 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5287 |
|
|
5288 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5289 |
echo "configure:5289: checking alloca" >&5 |
echo "configure:5290: checking alloca" >&5 |
5290 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5291 |
gcl_ok=no |
gcl_ok=no |
5292 |
else |
else |
5293 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5294 |
#line 5294 "configure" |
#line 5295 "configure" |
5295 |
#include "confdefs.h" |
#include "confdefs.h" |
5296 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5297 |
EOF |
EOF |
5298 |
if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5299 |
then |
then |
5300 |
: |
: |
5301 |
else |
else |
5318 |
gcl_ok=no |
gcl_ok=no |
5319 |
else |
else |
5320 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5321 |
#line 5321 "configure" |
#line 5322 "configure" |
5322 |
#include "confdefs.h" |
#include "confdefs.h" |
5323 |
#include <alloca.h> |
#include <alloca.h> |
5324 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5325 |
EOF |
EOF |
5326 |
if { (eval echo configure:5326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5327 |
then |
then |
5328 |
: |
: |
5329 |
else |
else |
5384 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5385 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5386 |
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 |
5387 |
echo "configure:5387: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5388: checking Checking for buggy gcc version from redhat" >&5 |
5388 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5389 |
then |
then |
5390 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |