3883 |
|
|
3884 |
|
|
3885 |
# |
# |
3886 |
|
# Sparc solaris keeps this in float.h, rework either/or with values.h later |
3887 |
|
# |
3888 |
|
for ac_hdr in float.h |
3889 |
|
do |
3890 |
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3891 |
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3892 |
|
echo "configure:3893: checking for $ac_hdr" >&5 |
3893 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3894 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3895 |
|
else |
3896 |
|
cat > conftest.$ac_ext <<EOF |
3897 |
|
#line 3898 "configure" |
3898 |
|
#include "confdefs.h" |
3899 |
|
#include <$ac_hdr> |
3900 |
|
EOF |
3901 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3902 |
|
{ (eval echo configure:3903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3903 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3904 |
|
if test -z "$ac_err"; then |
3905 |
|
rm -rf conftest* |
3906 |
|
eval "ac_cv_header_$ac_safe=yes" |
3907 |
|
else |
3908 |
|
echo "$ac_err" >&5 |
3909 |
|
echo "configure: failed program was:" >&5 |
3910 |
|
cat conftest.$ac_ext >&5 |
3911 |
|
rm -rf conftest* |
3912 |
|
eval "ac_cv_header_$ac_safe=no" |
3913 |
|
fi |
3914 |
|
rm -f conftest* |
3915 |
|
fi |
3916 |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
3917 |
|
echo "$ac_t""yes" 1>&6 |
3918 |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
3919 |
|
cat >> confdefs.h <<EOF |
3920 |
|
#define $ac_tr_hdr 1 |
3921 |
|
EOF |
3922 |
|
cat >> confdefs.h <<\EOF |
3923 |
|
#define HAVE_FLOAT_H 1 |
3924 |
|
EOF |
3925 |
|
|
3926 |
|
else |
3927 |
|
echo "$ac_t""no" 1>&6 |
3928 |
|
fi |
3929 |
|
done |
3930 |
|
|
3931 |
|
|
3932 |
|
# |
3933 |
# The second alternative is for solaris. This needs to be |
# The second alternative is for solaris. This needs to be |
3934 |
# a more comprehensive later, i.e. checking that the fpclass |
# a more comprehensive later, i.e. checking that the fpclass |
3935 |
# test makes sense. CM |
# test makes sense. CM |
3936 |
# |
# |
3937 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
3938 |
echo "configure:3892: checking for isnormal" >&5 |
echo "configure:3939: checking for isnormal" >&5 |
3939 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3940 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
3941 |
else |
else |
3942 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3943 |
#line 3897 "configure" |
#line 3944 "configure" |
3944 |
#include "confdefs.h" |
#include "confdefs.h" |
3945 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
3946 |
#include <math.h> |
#include <math.h> |
3949 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
3950 |
} |
} |
3951 |
EOF |
EOF |
3952 |
if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3953 |
then |
then |
3954 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3955 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
3960 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
3961 |
rm -fr conftest* |
rm -fr conftest* |
3962 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
3963 |
echo "configure:3917: checking for fpclass in ieeefp.h" >&5 |
echo "configure:3964: checking for fpclass in ieeefp.h" >&5 |
3964 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3965 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
3966 |
else |
else |
3967 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3968 |
#line 3922 "configure" |
#line 3969 "configure" |
3969 |
#include "confdefs.h" |
#include "confdefs.h" |
3970 |
#include <ieeefp.h> |
#include <ieeefp.h> |
3971 |
int main() { |
int main() { |
3973 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
3974 |
} |
} |
3975 |
EOF |
EOF |
3976 |
if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3977 |
then |
then |
3978 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3979 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
3995 |
|
|
3996 |
|
|
3997 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
3998 |
echo "configure:3952: checking for isfinite" >&5 |
echo "configure:3999: checking for isfinite" >&5 |
3999 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4000 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
4001 |
else |
else |
4002 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4003 |
#line 3957 "configure" |
#line 4004 "configure" |
4004 |
#include "confdefs.h" |
#include "confdefs.h" |
4005 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4006 |
#include <math.h> |
#include <math.h> |
4009 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
4010 |
} |
} |
4011 |
EOF |
EOF |
4012 |
if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4013 |
then |
then |
4014 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4015 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
4020 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4021 |
rm -fr conftest* |
rm -fr conftest* |
4022 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
4023 |
echo "configure:3977: checking for finite()" >&5 |
echo "configure:4024: checking for finite()" >&5 |
4024 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4025 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
4026 |
else |
else |
4027 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4028 |
#line 3982 "configure" |
#line 4029 "configure" |
4029 |
#include "confdefs.h" |
#include "confdefs.h" |
4030 |
#include <math.h> |
#include <math.h> |
4031 |
int main() { |
int main() { |
4033 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
4034 |
} |
} |
4035 |
EOF |
EOF |
4036 |
if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4037 |
then |
then |
4038 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4039 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4074 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4075 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4076 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4077 |
echo "configure:4031: checking for sockets" >&5 |
echo "configure:4078: checking for sockets" >&5 |
4078 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4079 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4080 |
echo "configure:4034: checking for connect" >&5 |
echo "configure:4081: checking for connect" >&5 |
4081 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4082 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4083 |
else |
else |
4084 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4085 |
#line 4039 "configure" |
#line 4086 "configure" |
4086 |
#include "confdefs.h" |
#include "confdefs.h" |
4087 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4088 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4105 |
|
|
4106 |
; return 0; } |
; return 0; } |
4107 |
EOF |
EOF |
4108 |
if { (eval echo configure:4062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4109 |
rm -rf conftest* |
rm -rf conftest* |
4110 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4111 |
else |
else |
4127 |
|
|
4128 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4129 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4130 |
echo "configure:4084: checking for main in -lsocket" >&5 |
echo "configure:4131: checking for main in -lsocket" >&5 |
4131 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4132 |
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 |
4133 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4135 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4136 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4137 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4138 |
#line 4092 "configure" |
#line 4139 "configure" |
4139 |
#include "confdefs.h" |
#include "confdefs.h" |
4140 |
|
|
4141 |
int main() { |
int main() { |
4142 |
main() |
main() |
4143 |
; return 0; } |
; return 0; } |
4144 |
EOF |
EOF |
4145 |
if { (eval echo configure:4099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4146 |
rm -rf conftest* |
rm -rf conftest* |
4147 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4148 |
else |
else |
4170 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4171 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4172 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4173 |
echo "configure:4127: checking for accept" >&5 |
echo "configure:4174: checking for accept" >&5 |
4174 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4175 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4176 |
else |
else |
4177 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4178 |
#line 4132 "configure" |
#line 4179 "configure" |
4179 |
#include "confdefs.h" |
#include "confdefs.h" |
4180 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4181 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4198 |
|
|
4199 |
; return 0; } |
; return 0; } |
4200 |
EOF |
EOF |
4201 |
if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4202 |
rm -rf conftest* |
rm -rf conftest* |
4203 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4204 |
else |
else |
4220 |
|
|
4221 |
fi |
fi |
4222 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4223 |
echo "configure:4177: checking for gethostbyname" >&5 |
echo "configure:4224: checking for gethostbyname" >&5 |
4224 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4225 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4226 |
else |
else |
4227 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4228 |
#line 4182 "configure" |
#line 4229 "configure" |
4229 |
#include "confdefs.h" |
#include "confdefs.h" |
4230 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4231 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4248 |
|
|
4249 |
; return 0; } |
; return 0; } |
4250 |
EOF |
EOF |
4251 |
if { (eval echo configure:4205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4252 |
rm -rf conftest* |
rm -rf conftest* |
4253 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4254 |
else |
else |
4266 |
else |
else |
4267 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4268 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4269 |
echo "configure:4223: checking for main in -lnsl" >&5 |
echo "configure:4270: checking for main in -lnsl" >&5 |
4270 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4271 |
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 |
4272 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4274 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4275 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4276 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4277 |
#line 4231 "configure" |
#line 4278 "configure" |
4278 |
#include "confdefs.h" |
#include "confdefs.h" |
4279 |
|
|
4280 |
int main() { |
int main() { |
4281 |
main() |
main() |
4282 |
; return 0; } |
; return 0; } |
4283 |
EOF |
EOF |
4284 |
if { (eval echo configure:4238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4285 |
rm -rf conftest* |
rm -rf conftest* |
4286 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4287 |
else |
else |
4306 |
|
|
4307 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4308 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4309 |
echo "configure:4263: checking for main in -lreadline" >&5 |
echo "configure:4310: checking for main in -lreadline" >&5 |
4310 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4311 |
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 |
4312 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4314 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4315 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4316 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4317 |
#line 4271 "configure" |
#line 4318 "configure" |
4318 |
#include "confdefs.h" |
#include "confdefs.h" |
4319 |
|
|
4320 |
int main() { |
int main() { |
4321 |
main() |
main() |
4322 |
; return 0; } |
; return 0; } |
4323 |
EOF |
EOF |
4324 |
if { (eval echo configure:4278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4325 |
rm -rf conftest* |
rm -rf conftest* |
4326 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4327 |
else |
else |
4353 |
|
|
4354 |
|
|
4355 |
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 |
4356 |
echo "configure:4310: checking For network code for nsocket.c" >&5 |
echo "configure:4357: checking For network code for nsocket.c" >&5 |
4357 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4358 |
#line 4312 "configure" |
#line 4359 "configure" |
4359 |
#include "confdefs.h" |
#include "confdefs.h" |
4360 |
|
|
4361 |
#include <sys/time.h> |
#include <sys/time.h> |
4382 |
|
|
4383 |
; return 0; } |
; return 0; } |
4384 |
EOF |
EOF |
4385 |
if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4386 |
rm -rf conftest* |
rm -rf conftest* |
4387 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4388 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4399 |
|
|
4400 |
|
|
4401 |
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 |
4402 |
echo "configure:4356: checking check for listen using fcntl" >&5 |
echo "configure:4403: checking check for listen using fcntl" >&5 |
4403 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4404 |
#line 4358 "configure" |
#line 4405 "configure" |
4405 |
#include "confdefs.h" |
#include "confdefs.h" |
4406 |
#include <stdio.h> |
#include <stdio.h> |
4407 |
#include <fcntl.h> |
#include <fcntl.h> |
4414 |
|
|
4415 |
; return 0; } |
; return 0; } |
4416 |
EOF |
EOF |
4417 |
if { (eval echo configure:4371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4418 |
rm -rf conftest* |
rm -rf conftest* |
4419 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4420 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4433 |
|
|
4434 |
|
|
4435 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4436 |
echo "configure:4390: checking for profil" >&5 |
echo "configure:4437: checking for profil" >&5 |
4437 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4438 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4439 |
else |
else |
4440 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4441 |
#line 4395 "configure" |
#line 4442 "configure" |
4442 |
#include "confdefs.h" |
#include "confdefs.h" |
4443 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4444 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4461 |
|
|
4462 |
; return 0; } |
; return 0; } |
4463 |
EOF |
EOF |
4464 |
if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4465 |
rm -rf conftest* |
rm -rf conftest* |
4466 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4467 |
else |
else |
4486 |
|
|
4487 |
|
|
4488 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4489 |
echo "configure:4443: checking for setenv" >&5 |
echo "configure:4490: checking for setenv" >&5 |
4490 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4491 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4492 |
else |
else |
4493 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4494 |
#line 4448 "configure" |
#line 4495 "configure" |
4495 |
#include "confdefs.h" |
#include "confdefs.h" |
4496 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4497 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4514 |
|
|
4515 |
; return 0; } |
; return 0; } |
4516 |
EOF |
EOF |
4517 |
if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4518 |
rm -rf conftest* |
rm -rf conftest* |
4519 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4520 |
else |
else |
4540 |
|
|
4541 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4542 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4543 |
echo "configure:4497: checking for putenv" >&5 |
echo "configure:4544: checking for putenv" >&5 |
4544 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4545 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4546 |
else |
else |
4547 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4548 |
#line 4502 "configure" |
#line 4549 "configure" |
4549 |
#include "confdefs.h" |
#include "confdefs.h" |
4550 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4551 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
4568 |
|
|
4569 |
; return 0; } |
; return 0; } |
4570 |
EOF |
EOF |
4571 |
if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4572 |
rm -rf conftest* |
rm -rf conftest* |
4573 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
4574 |
else |
else |
4594 |
fi |
fi |
4595 |
|
|
4596 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
4597 |
echo "configure:4551: checking for _cleanup" >&5 |
echo "configure:4598: checking for _cleanup" >&5 |
4598 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
4599 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4600 |
else |
else |
4601 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4602 |
#line 4556 "configure" |
#line 4603 "configure" |
4603 |
#include "confdefs.h" |
#include "confdefs.h" |
4604 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4605 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
4622 |
|
|
4623 |
; return 0; } |
; return 0; } |
4624 |
EOF |
EOF |
4625 |
if { (eval echo configure:4579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4626 |
rm -rf conftest* |
rm -rf conftest* |
4627 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
4628 |
else |
else |
4648 |
gcl_ok=no |
gcl_ok=no |
4649 |
|
|
4650 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4651 |
#line 4605 "configure" |
#line 4652 "configure" |
4652 |
#include "confdefs.h" |
#include "confdefs.h" |
4653 |
#include <ctype.h> |
#include <ctype.h> |
4654 |
EOF |
EOF |
4676 |
|
|
4677 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
4678 |
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 |
4679 |
echo "configure:4633: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:4680: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
4680 |
|
|
4681 |
case $system in |
case $system in |
4682 |
OSF*) |
OSF*) |
4707 |
|
|
4708 |
|
|
4709 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
4710 |
echo "configure:4664: checking check for SV_ONSTACK" >&5 |
echo "configure:4711: checking check for SV_ONSTACK" >&5 |
4711 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4712 |
#line 4666 "configure" |
#line 4713 "configure" |
4713 |
#include "confdefs.h" |
#include "confdefs.h" |
4714 |
#include <signal.h> |
#include <signal.h> |
4715 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
4718 |
|
|
4719 |
; return 0; } |
; return 0; } |
4720 |
EOF |
EOF |
4721 |
if { (eval echo configure:4675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4722 |
rm -rf conftest* |
rm -rf conftest* |
4723 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4724 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
4735 |
rm -f conftest* |
rm -f conftest* |
4736 |
|
|
4737 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
4738 |
echo "configure:4692: checking check for SIGSYS" >&5 |
echo "configure:4739: checking check for SIGSYS" >&5 |
4739 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4740 |
#line 4694 "configure" |
#line 4741 "configure" |
4741 |
#include "confdefs.h" |
#include "confdefs.h" |
4742 |
#include <signal.h> |
#include <signal.h> |
4743 |
int joe=SIGSYS; |
int joe=SIGSYS; |
4746 |
|
|
4747 |
; return 0; } |
; return 0; } |
4748 |
EOF |
EOF |
4749 |
if { (eval echo configure:4703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4750 |
rm -rf conftest* |
rm -rf conftest* |
4751 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4752 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
4764 |
|
|
4765 |
|
|
4766 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
4767 |
echo "configure:4721: checking check for SIGEMT" >&5 |
echo "configure:4768: checking check for SIGEMT" >&5 |
4768 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4769 |
#line 4723 "configure" |
#line 4770 "configure" |
4770 |
#include "confdefs.h" |
#include "confdefs.h" |
4771 |
#include <signal.h> |
#include <signal.h> |
4772 |
int joe=SIGEMT; |
int joe=SIGEMT; |
4775 |
|
|
4776 |
; return 0; } |
; return 0; } |
4777 |
EOF |
EOF |
4778 |
if { (eval echo configure:4732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4779 |
rm -rf conftest* |
rm -rf conftest* |
4780 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4781 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
4799 |
do |
do |
4800 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4801 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4802 |
echo "configure:4756: checking for $ac_hdr" >&5 |
echo "configure:4803: checking for $ac_hdr" >&5 |
4803 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4804 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4805 |
else |
else |
4806 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4807 |
#line 4761 "configure" |
#line 4808 "configure" |
4808 |
#include "confdefs.h" |
#include "confdefs.h" |
4809 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4810 |
EOF |
EOF |
4811 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4812 |
{ (eval echo configure:4766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4813 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4814 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4815 |
rm -rf conftest* |
rm -rf conftest* |
4839 |
do |
do |
4840 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4841 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4842 |
echo "configure:4796: checking for $ac_hdr" >&5 |
echo "configure:4843: checking for $ac_hdr" >&5 |
4843 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4844 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4845 |
else |
else |
4846 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4847 |
#line 4801 "configure" |
#line 4848 "configure" |
4848 |
#include "confdefs.h" |
#include "confdefs.h" |
4849 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4850 |
EOF |
EOF |
4851 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4852 |
{ (eval echo configure:4806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4853 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4854 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4855 |
rm -rf conftest* |
rm -rf conftest* |
4876 |
done |
done |
4877 |
|
|
4878 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4879 |
#line 4833 "configure" |
#line 4880 "configure" |
4880 |
#include "confdefs.h" |
#include "confdefs.h" |
4881 |
#include <signal.h> |
#include <signal.h> |
4882 |
long code; |
long code; |
4887 |
|
|
4888 |
; return 0; } |
; return 0; } |
4889 |
EOF |
EOF |
4890 |
if { (eval echo configure:4844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4891 |
rm -rf conftest* |
rm -rf conftest* |
4892 |
|
|
4893 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
4908 |
rm -f conftest* |
rm -f conftest* |
4909 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
4910 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4911 |
#line 4865 "configure" |
#line 4912 "configure" |
4912 |
#include "confdefs.h" |
#include "confdefs.h" |
4913 |
#include <signal.h> |
#include <signal.h> |
4914 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
4925 |
|
|
4926 |
; return 0; } |
; return 0; } |
4927 |
EOF |
EOF |
4928 |
if { (eval echo configure:4882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4929 |
rm -rf conftest* |
rm -rf conftest* |
4930 |
|
|
4931 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
4968 |
# 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. |
4969 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
4970 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4971 |
echo "configure:4925: checking for $ac_word" >&5 |
echo "configure:4972: checking for $ac_word" >&5 |
4972 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
4973 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4974 |
else |
else |
5016 |
EOF |
EOF |
5017 |
|
|
5018 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5019 |
echo "configure:4973: checking emacs site lisp directory" >&5 |
echo "configure:5020: checking emacs site lisp directory" >&5 |
5020 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
5021 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5022 |
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 ` |
5039 |
EOF |
EOF |
5040 |
|
|
5041 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5042 |
echo "configure:4996: checking emacs default.el" >&5 |
echo "configure:5043: checking emacs default.el" >&5 |
5043 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5044 |
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 ` |
5045 |
else |
else |
5068 |
EOF |
EOF |
5069 |
|
|
5070 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5071 |
echo "configure:5025: checking emacs info/dir" >&5 |
echo "configure:5072: checking emacs info/dir" >&5 |
5072 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5073 |
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 ` |
5074 |
fi |
fi |
5082 |
|
|
5083 |
|
|
5084 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5085 |
echo "configure:5039: checking for tcl/tk" >&5 |
echo "configure:5086: checking for tcl/tk" >&5 |
5086 |
|
|
5087 |
|
|
5088 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5105 |
# 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. |
5106 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5107 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5108 |
echo "configure:5062: checking for $ac_word" >&5 |
echo "configure:5109: checking for $ac_word" >&5 |
5109 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5110 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5111 |
else |
else |
5205 |
fi |
fi |
5206 |
fi |
fi |
5207 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5208 |
echo "configure:5162: checking for main in -llieee" >&5 |
echo "configure:5209: checking for main in -llieee" >&5 |
5209 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5210 |
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 |
5211 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5213 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5214 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5215 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5216 |
#line 5170 "configure" |
#line 5217 "configure" |
5217 |
#include "confdefs.h" |
#include "confdefs.h" |
5218 |
|
|
5219 |
int main() { |
int main() { |
5220 |
main() |
main() |
5221 |
; return 0; } |
; return 0; } |
5222 |
EOF |
EOF |
5223 |
if { (eval echo configure:5177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5224 |
rm -rf conftest* |
rm -rf conftest* |
5225 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5226 |
else |
else |
5285 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5286 |
|
|
5287 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5288 |
echo "configure:5242: checking alloca" >&5 |
echo "configure:5289: checking alloca" >&5 |
5289 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5290 |
gcl_ok=no |
gcl_ok=no |
5291 |
else |
else |
5292 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5293 |
#line 5247 "configure" |
#line 5294 "configure" |
5294 |
#include "confdefs.h" |
#include "confdefs.h" |
5295 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5296 |
EOF |
EOF |
5297 |
if { (eval echo configure:5251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5298 |
then |
then |
5299 |
: |
: |
5300 |
else |
else |
5317 |
gcl_ok=no |
gcl_ok=no |
5318 |
else |
else |
5319 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5320 |
#line 5274 "configure" |
#line 5321 "configure" |
5321 |
#include "confdefs.h" |
#include "confdefs.h" |
5322 |
#include <alloca.h> |
#include <alloca.h> |
5323 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5324 |
EOF |
EOF |
5325 |
if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5326 |
then |
then |
5327 |
: |
: |
5328 |
else |
else |
5383 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5384 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5385 |
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 |
5386 |
echo "configure:5340: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5387: checking Checking for buggy gcc version from redhat" >&5 |
5387 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5388 |
then |
then |
5389 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |