/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2.4.3 by camm, Wed Oct 12 23:13:03 2005 UTC revision 1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2.4.4 by camm, Thu Oct 20 00:06:44 2005 UTC
# Line 4235  else Line 4235  else
4235  int main() {size_t i=getpagesize(),j;  int main() {size_t i=getpagesize(),j;
4236              FILE *fp=fopen("conftest1","w");              FILE *fp=fopen("conftest1","w");
4237              for (j=0;i>>=1;j++);              for (j=0;i>>=1;j++);
4238                if (j<12) {printf("pagewidth %u is too small\n",j);return -1;}
4239              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
4240              return 0;}              return 0;}
4241  EOF  EOF
4242  if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4243  then  then
4244    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
4245  else  else
# Line 4265  EOF Line 4266  EOF
4266  for ac_func in getcwd  for ac_func in getcwd
4267  do  do
4268  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4269  echo "configure:4269: checking for $ac_func" >&5  echo "configure:4270: checking for $ac_func" >&5
4270  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4271    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4272  else  else
4273    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4274  #line 4274 "configure"  #line 4275 "configure"
4275  #include "confdefs.h"  #include "confdefs.h"
4276  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4277      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4293  $ac_func(); Line 4294  $ac_func();
4294    
4295  ; return 0; }  ; return 0; }
4296  EOF  EOF
4297  if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4298    rm -rf conftest*    rm -rf conftest*
4299    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4300  else  else
# Line 4320  done Line 4321  done
4321  for ac_func in getwd  for ac_func in getwd
4322  do  do
4323  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4324  echo "configure:4324: checking for $ac_func" >&5  echo "configure:4325: checking for $ac_func" >&5
4325  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4326    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4327  else  else
4328    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4329  #line 4329 "configure"  #line 4330 "configure"
4330  #include "confdefs.h"  #include "confdefs.h"
4331  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4332      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4348  $ac_func(); Line 4349  $ac_func();
4349    
4350  ; return 0; }  ; return 0; }
4351  EOF  EOF
4352  if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4353    rm -rf conftest*    rm -rf conftest*
4354    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4355  else  else
# Line 4373  fi Line 4374  fi
4374  done  done
4375    
4376  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
4377  echo "configure:4377: checking for uname" >&5  echo "configure:4378: checking for uname" >&5
4378  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4379    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4380  else  else
4381    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4382  #line 4382 "configure"  #line 4383 "configure"
4383  #include "confdefs.h"  #include "confdefs.h"
4384  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4385      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 4401  uname(); Line 4402  uname();
4402    
4403  ; return 0; }  ; return 0; }
4404  EOF  EOF
4405  if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4406    rm -rf conftest*    rm -rf conftest*
4407    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
4408  else  else
# Line 4425  EOF Line 4426  EOF
4426  fi  fi
4427    
4428  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4429  echo "configure:4429: checking for gettimeofday" >&5  echo "configure:4430: checking for gettimeofday" >&5
4430  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4431    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4432  else  else
4433    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4434  #line 4434 "configure"  #line 4435 "configure"
4435  #include "confdefs.h"  #include "confdefs.h"
4436  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4437      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4453  gettimeofday(); Line 4454  gettimeofday();
4454    
4455  ; return 0; }  ; return 0; }
4456  EOF  EOF
4457  if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4458    rm -rf conftest*    rm -rf conftest*
4459    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
4460  else  else
# Line 4482  for ac_hdr in sys/ioctl.h Line 4483  for ac_hdr in sys/ioctl.h
4483  do  do
4484  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4485  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4486  echo "configure:4486: checking for $ac_hdr" >&5  echo "configure:4487: checking for $ac_hdr" >&5
4487  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4488    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4489  else  else
4490    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4491  #line 4491 "configure"  #line 4492 "configure"
4492  #include "confdefs.h"  #include "confdefs.h"
4493  #include <$ac_hdr>  #include <$ac_hdr>
4494  EOF  EOF
4495  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4496  { (eval echo configure:4496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4497  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4498  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4499    rm -rf conftest*    rm -rf conftest*
# Line 4524  for ac_hdr in elf.h elf_abi.h Line 4525  for ac_hdr in elf.h elf_abi.h
4525  do  do
4526  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4527  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4528  echo "configure:4528: checking for $ac_hdr" >&5  echo "configure:4529: checking for $ac_hdr" >&5
4529  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4530    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4531  else  else
4532    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4533  #line 4533 "configure"  #line 4534 "configure"
4534  #include "confdefs.h"  #include "confdefs.h"
4535  #include <$ac_hdr>  #include <$ac_hdr>
4536  EOF  EOF
4537  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4538  { (eval echo configure:4538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4539  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4540  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4541    rm -rf conftest*    rm -rf conftest*
# Line 4574  done Line 4575  done
4575  #--------------------------------------------------------------------  #--------------------------------------------------------------------
4576    
4577  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
4578  echo "configure:4578: checking for BSDgettimeofday" >&5  echo "configure:4579: checking for BSDgettimeofday" >&5
4579  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
4580    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4581  else  else
4582    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4583  #line 4583 "configure"  #line 4584 "configure"
4584  #include "confdefs.h"  #include "confdefs.h"
4585  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4586      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 4602  BSDgettimeofday(); Line 4603  BSDgettimeofday();
4603    
4604  ; return 0; }  ; return 0; }
4605  EOF  EOF
4606  if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4607    rm -rf conftest*    rm -rf conftest*
4608    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
4609  else  else
# Line 4623  EOF Line 4624  EOF
4624  else  else
4625    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4626  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4627  echo "configure:4627: checking for gettimeofday" >&5  echo "configure:4628: checking for gettimeofday" >&5
4628  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4629    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4630  else  else
4631    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4632  #line 4632 "configure"  #line 4633 "configure"
4633  #include "confdefs.h"  #include "confdefs.h"
4634  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4635      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4651  gettimeofday(); Line 4652  gettimeofday();
4652    
4653  ; return 0; }  ; return 0; }
4654  EOF  EOF
4655  if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4656    rm -rf conftest*    rm -rf conftest*
4657    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
4658  else  else
# Line 4678  fi Line 4679  fi
4679    
4680    
4681  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
4682  echo "configure:4682: checking for gettimeofday declaration" >&5  echo "configure:4683: checking for gettimeofday declaration" >&5
4683    
4684  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4685  #line 4685 "configure"  #line 4686 "configure"
4686  #include "confdefs.h"  #include "confdefs.h"
4687  #include <sys/time.h>  #include <sys/time.h>
4688  EOF  EOF
# Line 4702  rm -f conftest* Line 4703  rm -f conftest*
4703    
4704    
4705  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4706  echo "configure:4706: checking for sin in -lm" >&5  echo "configure:4707: checking for sin in -lm" >&5
4707  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4708  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
4709    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4710  else Line 4711  else
4711    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4712  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
4713  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4714  #line 4714 "configure"  #line 4715 "configure"
4715  #include "confdefs.h"  #include "confdefs.h"
4716  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4717  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4721  int main() { Line 4722  int main() {
4722  sin()  sin()
4723  ; return 0; }  ; return 0; }
4724  EOF  EOF
4725  if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4726    rm -rf conftest*    rm -rf conftest*
4727    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4728  else  else
# Line 4743  true Line 4744  true
4744  fi  fi
4745    
4746  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
4747  echo "configure:4747: checking for main in -lmingwex" >&5  echo "configure:4748: checking for main in -lmingwex" >&5
4748  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
4749  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
4750    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4751  else Line 4752  else
4752    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4753  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
4754  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4755  #line 4755 "configure"  #line 4756 "configure"
4756  #include "confdefs.h"  #include "confdefs.h"
4757    
4758  int main() {  int main() {
4759  main()  main()
4760  ; return 0; }  ; return 0; }
4761  EOF  EOF
4762  if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4763    rm -rf conftest*    rm -rf conftest*
4764    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4765  else  else
# Line 4786  if test "$try_japi" = "yes" ; then Line 4787  if test "$try_japi" = "yes" ; then
4787  do  do
4788  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4789  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4790  echo "configure:4790: checking for $ac_hdr" >&5  echo "configure:4791: checking for $ac_hdr" >&5
4791  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4792    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4793  else  else
4794    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4795  #line 4795 "configure"  #line 4796 "configure"
4796  #include "confdefs.h"  #include "confdefs.h"
4797  #include <$ac_hdr>  #include <$ac_hdr>
4798  EOF  EOF
4799  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4800  { (eval echo configure:4800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4801  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4802  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4803    rm -rf conftest*    rm -rf conftest*
# Line 4834  if test "$use" = "mingw" ; then Line 4835  if test "$use" = "mingw" ; then
4835  do  do
4836  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4837  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4838  echo "configure:4838: checking for $ac_hdr" >&5  echo "configure:4839: checking for $ac_hdr" >&5
4839  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4840    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4841  else  else
4842    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4843  #line 4843 "configure"  #line 4844 "configure"
4844  #include "confdefs.h"  #include "confdefs.h"
4845  #include <$ac_hdr>  #include <$ac_hdr>
4846  EOF  EOF
4847  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4848  { (eval echo configure:4848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4849  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4850  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4851    rm -rf conftest*    rm -rf conftest*
# Line 4881  else Line 4882  else
4882  do  do
4883  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4884  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4885  echo "configure:4885: checking for $ac_hdr" >&5  echo "configure:4886: checking for $ac_hdr" >&5
4886  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4887    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4888  else  else
4889    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4890  #line 4890 "configure"  #line 4891 "configure"
4891  #include "confdefs.h"  #include "confdefs.h"
4892  #include <$ac_hdr>  #include <$ac_hdr>
4893  EOF  EOF
4894  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4895  { (eval echo configure:4895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4896  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4897  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4898    rm -rf conftest*    rm -rf conftest*
# Line 4931  for ac_hdr in math.h Line 4932  for ac_hdr in math.h
4932  do  do
4933  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4934  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4935  echo "configure:4935: checking for $ac_hdr" >&5  echo "configure:4936: checking for $ac_hdr" >&5
4936  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4937    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4938  else  else
4939    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4940  #line 4940 "configure"  #line 4941 "configure"
4941  #include "confdefs.h"  #include "confdefs.h"
4942  #include <$ac_hdr>  #include <$ac_hdr>
4943  EOF  EOF
4944  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4945  { (eval echo configure:4945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4946  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4947  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4948    rm -rf conftest*    rm -rf conftest*
# Line 4978  for ac_hdr in values.h Line 4979  for ac_hdr in values.h
4979  do  do
4980  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4981  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4982  echo "configure:4982: checking for $ac_hdr" >&5  echo "configure:4983: checking for $ac_hdr" >&5
4983  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4984    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4985  else  else
4986    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4987  #line 4987 "configure"  #line 4988 "configure"
4988  #include "confdefs.h"  #include "confdefs.h"
4989  #include <$ac_hdr>  #include <$ac_hdr>
4990  EOF  EOF
4991  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4992  { (eval echo configure:4992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4993  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4994  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4995    rm -rf conftest*    rm -rf conftest*
# Line 5025  for ac_hdr in float.h Line 5026  for ac_hdr in float.h
5026  do  do
5027  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5028  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5029  echo "configure:5029: checking for $ac_hdr" >&5  echo "configure:5030: checking for $ac_hdr" >&5
5030  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5031    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5032  else  else
5033    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5034  #line 5034 "configure"  #line 5035 "configure"
5035  #include "confdefs.h"  #include "confdefs.h"
5036  #include <$ac_hdr>  #include <$ac_hdr>
5037  EOF  EOF
5038  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5039  { (eval echo configure:5039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5040  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5041  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5042    rm -rf conftest*    rm -rf conftest*
# Line 5071  done Line 5072  done
5072  # test makes sense.  CM  # test makes sense.  CM
5073  #  #
5074  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
5075  echo "configure:5075: checking for isnormal" >&5  echo "configure:5076: checking for isnormal" >&5
5076  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5077    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
5078  else  else
5079    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5080  #line 5080 "configure"  #line 5081 "configure"
5081  #include "confdefs.h"  #include "confdefs.h"
5082  #define _GNU_SOURCE  #define _GNU_SOURCE
5083              #include <math.h>              #include <math.h>
# Line 5085  else Line 5086  else
5086                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
5087                  }                  }
5088  EOF  EOF
5089  if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5090  then  then
5091    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5092  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 5096  else Line 5097  else
5097    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5098    rm -fr conftest*    rm -fr conftest*
5099    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
5100  echo "configure:5100: checking for fpclass in ieeefp.h" >&5  echo "configure:5101: checking for fpclass in ieeefp.h" >&5
5101                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5102    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
5103  else  else
5104    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5105  #line 5105 "configure"  #line 5106 "configure"
5106  #include "confdefs.h"  #include "confdefs.h"
5107  #include <ieeefp.h>  #include <ieeefp.h>
5108                              int main() {                              int main() {
# Line 5109  else Line 5110  else
5110                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
5111                                  }                                  }
5112  EOF  EOF
5113  if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5114  then  then
5115    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5116  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 5131  fi Line 5132  fi
5132    
5133    
5134  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
5135  echo "configure:5135: checking for isfinite" >&5  echo "configure:5136: checking for isfinite" >&5
5136  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5137    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
5138  else  else
5139    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5140  #line 5140 "configure"  #line 5141 "configure"
5141  #include "confdefs.h"  #include "confdefs.h"
5142  #define _GNU_SOURCE  #define _GNU_SOURCE
5143              #include <math.h>              #include <math.h>
# Line 5145  else Line 5146  else
5146                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
5147                  }                  }
5148  EOF  EOF
5149  if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5150  then  then
5151    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5152  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 5156  else Line 5157  else
5157    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5158    rm -fr conftest*    rm -fr conftest*
5159    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
5160  echo "configure:5160: checking for finite()" >&5  echo "configure:5161: checking for finite()" >&5
5161                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5162    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
5163  else  else
5164    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5165  #line 5165 "configure"  #line 5166 "configure"
5166  #include "confdefs.h"  #include "confdefs.h"
5167  #include <math.h>  #include <math.h>
5168                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 5170  else Line 5171  else
5171                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
5172                                  }                                  }
5173  EOF  EOF
5174  if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5175  then  then
5176    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5177  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 5211  fi Line 5212  fi
5212  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
5213  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5214  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
5215  echo "configure:5215: checking for sockets" >&5  echo "configure:5216: checking for sockets" >&5
5216  tcl_checkBoth=0  tcl_checkBoth=0
5217  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
5218  echo "configure:5218: checking for connect" >&5  echo "configure:5219: checking for connect" >&5
5219  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
5220    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5221  else  else
5222    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5223  #line 5223 "configure"  #line 5224 "configure"
5224  #include "confdefs.h"  #include "confdefs.h"
5225  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5226      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 5242  connect(); Line 5243  connect();
5243    
5244  ; return 0; }  ; return 0; }
5245  EOF  EOF
5246  if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5247    rm -rf conftest*    rm -rf conftest*
5248    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
5249  else  else
# Line 5264  fi Line 5265  fi
5265    
5266  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
5267      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
5268  echo "configure:5268: checking for main in -lsocket" >&5  echo "configure:5269: checking for main in -lsocket" >&5
5269  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
5270  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
5271    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5272  else Line 5273  else
5273    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5274  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5275  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5276  #line 5276 "configure"  #line 5277 "configure"
5277  #include "confdefs.h"  #include "confdefs.h"
5278    
5279  int main() {  int main() {
5280  main()  main()
5281  ; return 0; }  ; return 0; }
5282  EOF  EOF
5283  if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5284    rm -rf conftest*    rm -rf conftest*
5285    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5286  else  else
# Line 5307  if test "$tcl_checkBoth" = 1; then Line 5308  if test "$tcl_checkBoth" = 1; then
5308      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
5309      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
5310      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
5311  echo "configure:5311: checking for accept" >&5  echo "configure:5312: checking for accept" >&5
5312  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
5313    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5314  else  else
5315    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5316  #line 5316 "configure"  #line 5317 "configure"
5317  #include "confdefs.h"  #include "confdefs.h"
5318  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5319      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 5335  accept(); Line 5336  accept();
5336    
5337  ; return 0; }  ; return 0; }
5338  EOF  EOF
5339  if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5340    rm -rf conftest*    rm -rf conftest*
5341    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
5342  else  else
# Line 5357  fi Line 5358  fi
5358    
5359  fi  fi
5360  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5361  echo "configure:5361: checking for gethostbyname" >&5  echo "configure:5362: checking for gethostbyname" >&5
5362  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
5363    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5364  else  else
5365    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5366  #line 5366 "configure"  #line 5367 "configure"
5367  #include "confdefs.h"  #include "confdefs.h"
5368  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5369      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 5385  gethostbyname(); Line 5386  gethostbyname();
5386    
5387  ; return 0; }  ; return 0; }
5388  EOF  EOF
5389  if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5390    rm -rf conftest*    rm -rf conftest*
5391    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
5392  else  else
# Line 5403  if eval "test \"`echo '$ac_cv_func_'geth Line 5404  if eval "test \"`echo '$ac_cv_func_'geth
5404  else  else
5405    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5406  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
5407  echo "configure:5407: checking for main in -lnsl" >&5  echo "configure:5408: checking for main in -lnsl" >&5
5408  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
5409  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
5410    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5411  else Line 5412  else
5412    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5413  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5414  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5415  #line 5415 "configure"  #line 5416 "configure"
5416  #include "confdefs.h"  #include "confdefs.h"
5417    
5418  int main() {  int main() {
5419  main()  main()
5420  ; return 0; }  ; return 0; }
5421  EOF  EOF
5422  if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5423    rm -rf conftest*    rm -rf conftest*
5424    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5425  else  else
# Line 5448  if test "$enable_readline" = "yes" ; the Line 5449  if test "$enable_readline" = "yes" ; the
5449  do  do
5450  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5451  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5452  echo "configure:5452: checking for $ac_hdr" >&5  echo "configure:5453: checking for $ac_hdr" >&5
5453  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5454    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5455  else  else
5456    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5457  #line 5457 "configure"  #line 5458 "configure"
5458  #include "confdefs.h"  #include "confdefs.h"
5459  #include <$ac_hdr>  #include <$ac_hdr>
5460  EOF  EOF
5461  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5462  { (eval echo configure:5462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5463  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5464  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5465    rm -rf conftest*    rm -rf conftest*
# Line 5479  if eval "test \"`echo '$ac_cv_header_'$a Line 5480  if eval "test \"`echo '$ac_cv_header_'$a
5480  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
5481  EOF  EOF
5482   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
5483  echo "configure:5483: checking for main in -lreadline" >&5  echo "configure:5484: checking for main in -lreadline" >&5
5484  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
5485  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
5486    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5487  else Line 5488  else
5488    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5489  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
5490  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5491  #line 5491 "configure"  #line 5492 "configure"
5492  #include "confdefs.h"  #include "confdefs.h"
5493    
5494  int main() {  int main() {
5495  main()  main()
5496  ; return 0; }  ; return 0; }
5497  EOF  EOF
5498  if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5499    rm -rf conftest*    rm -rf conftest*
5500    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5501  else  else
# Line 5531  done Line 5532  done
5532    
5533  # These tests discover differences between readline 4.1 and 4.3  # These tests discover differences between readline 4.1 and 4.3
5534          echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6
5535  echo "configure:5535: checking for rl_completion_matches in -lreadline" >&5  echo "configure:5536: checking for rl_completion_matches in -lreadline" >&5
5536  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
5537  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
5538    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5539  else Line 5540  else
5540    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5541  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
5542  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5543  #line 5543 "configure"  #line 5544 "configure"
5544  #include "confdefs.h"  #include "confdefs.h"
5545  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5546  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5550  int main() { Line 5551  int main() {
5551  rl_completion_matches()  rl_completion_matches()
5552  ; return 0; }  ; return 0; }
5553  EOF  EOF
5554  if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5555    rm -rf conftest*    rm -rf conftest*
5556    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5557  else  else
# Line 5583  fi Line 5584  fi
5584    
5585    
5586  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
5587  echo "configure:5587: checking For network code for nsocket.c" >&5  echo "configure:5588: checking For network code for nsocket.c" >&5
5588  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5589  #line 5589 "configure"  #line 5590 "configure"
5590  #include "confdefs.h"  #include "confdefs.h"
5591    
5592  #include <sys/time.h>  #include <sys/time.h>
# Line 5612  int main() { Line 5613  int main() {
5613                    
5614  ; return 0; }  ; return 0; }
5615  EOF  EOF
5616  if { (eval echo configure:5616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5617    rm -rf conftest*    rm -rf conftest*
5618    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5619  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 5629  rm -f conftest* Line 5630  rm -f conftest*
5630    
5631    
5632  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
5633  echo "configure:5633: checking check for listen using fcntl" >&5  echo "configure:5634: checking check for listen using fcntl" >&5
5634  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5635  #line 5635 "configure"  #line 5636 "configure"
5636  #include "confdefs.h"  #include "confdefs.h"
5637  #include <stdio.h>  #include <stdio.h>
5638  #include <fcntl.h>  #include <fcntl.h>
# Line 5644  FILE *fp=fopen("configure.in","r"); Line 5645  FILE *fp=fopen("configure.in","r");
5645    
5646  ; return 0; }  ; return 0; }
5647  EOF  EOF
5648  if { (eval echo configure:5648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5649    rm -rf conftest*    rm -rf conftest*
5650    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5651  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 5663  rm -f conftest* Line 5664  rm -f conftest*
5664    
5665    
5666  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
5667  echo "configure:5667: checking for profil" >&5  echo "configure:5668: checking for profil" >&5
5668  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
5669    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5670  else  else
5671    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5672  #line 5672 "configure"  #line 5673 "configure"
5673  #include "confdefs.h"  #include "confdefs.h"
5674  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5675      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 5691  profil(); Line 5692  profil();
5692    
5693  ; return 0; }  ; return 0; }
5694  EOF  EOF
5695  if { (eval echo configure:5695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5696    rm -rf conftest*    rm -rf conftest*
5697    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
5698  else  else
# Line 5716  fi Line 5717  fi
5717    
5718    
5719  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
5720  echo "configure:5720: checking for setenv" >&5  echo "configure:5721: checking for setenv" >&5
5721  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
5722    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5723  else  else
5724    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5725  #line 5725 "configure"  #line 5726 "configure"
5726  #include "confdefs.h"  #include "confdefs.h"
5727  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5728      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 5744  setenv(); Line 5745  setenv();
5745    
5746  ; return 0; }  ; return 0; }
5747  EOF  EOF
5748  if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5749    rm -rf conftest*    rm -rf conftest*
5750    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
5751  else  else
# Line 5770  fi Line 5771  fi
5771    
5772  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
5773  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
5774  echo "configure:5774: checking for putenv" >&5  echo "configure:5775: checking for putenv" >&5
5775  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
5776    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5777  else  else
5778    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5779  #line 5779 "configure"  #line 5780 "configure"
5780  #include "confdefs.h"  #include "confdefs.h"
5781  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5782      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 5798  putenv(); Line 5799  putenv();
5799    
5800  ; return 0; }  ; return 0; }
5801  EOF  EOF
5802  if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5803    rm -rf conftest*    rm -rf conftest*
5804    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
5805  else  else
# Line 5824  fi Line 5825  fi
5825  fi  fi
5826    
5827  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
5828  echo "configure:5828: checking for _cleanup" >&5  echo "configure:5829: checking for _cleanup" >&5
5829  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
5830    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5831  else  else
5832    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5833  #line 5833 "configure"  #line 5834 "configure"
5834  #include "confdefs.h"  #include "confdefs.h"
5835  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5836      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 5852  _cleanup(); Line 5853  _cleanup();
5853    
5854  ; return 0; }  ; return 0; }
5855  EOF  EOF
5856  if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5857    rm -rf conftest*    rm -rf conftest*
5858    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
5859  else  else
# Line 5878  fi Line 5879  fi
5879  gcl_ok=no  gcl_ok=no
5880    
5881  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5882  #line 5882 "configure"  #line 5883 "configure"
5883  #include "confdefs.h"  #include "confdefs.h"
5884  #include <ctype.h>  #include <ctype.h>
5885  EOF  EOF
# Line 5906  fi Line 5907  fi
5907    
5908  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
5909  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
5910  echo "configure:5910: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:5911: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
5911    
5912  case $system in  case $system in
5913         OSF*)         OSF*)
# Line 5937  esac Line 5938  esac
5938    
5939    
5940  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
5941  echo "configure:5941: checking check for SV_ONSTACK" >&5  echo "configure:5942: checking check for SV_ONSTACK" >&5
5942  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5943  #line 5943 "configure"  #line 5944 "configure"
5944  #include "confdefs.h"  #include "confdefs.h"
5945  #include <signal.h>  #include <signal.h>
5946  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 5948  int main() { Line 5949  int main() {
5949    
5950  ; return 0; }  ; return 0; }
5951  EOF  EOF
5952  if { (eval echo configure:5952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5953    rm -rf conftest*    rm -rf conftest*
5954    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5955  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 5965  fi Line 5966  fi
5966  rm -f conftest*  rm -f conftest*
5967    
5968  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
5969  echo "configure:5969: checking check for SIGSYS" >&5  echo "configure:5970: checking check for SIGSYS" >&5
5970  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5971  #line 5971 "configure"  #line 5972 "configure"
5972  #include "confdefs.h"  #include "confdefs.h"
5973  #include <signal.h>  #include <signal.h>
5974  int joe=SIGSYS;  int joe=SIGSYS;
# Line 5976  int main() { Line 5977  int main() {
5977    
5978  ; return 0; }  ; return 0; }
5979  EOF  EOF
5980  if { (eval echo configure:5980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5981    rm -rf conftest*    rm -rf conftest*
5982    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5983  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 5994  rm -f conftest* Line 5995  rm -f conftest*
5995    
5996    
5997  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
5998  echo "configure:5998: checking check for SIGEMT" >&5  echo "configure:5999: checking check for SIGEMT" >&5
5999  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6000  #line 6000 "configure"  #line 6001 "configure"
6001  #include "confdefs.h"  #include "confdefs.h"
6002  #include <signal.h>  #include <signal.h>
6003  int joe=SIGEMT;  int joe=SIGEMT;
# Line 6005  int main() { Line 6006  int main() {
6006    
6007  ; return 0; }  ; return 0; }
6008  EOF  EOF
6009  if { (eval echo configure:6009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6010    rm -rf conftest*    rm -rf conftest*
6011    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6012  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 6029  rm -f conftest* Line 6030  rm -f conftest*
6030  do  do
6031  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6032  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6033  echo "configure:6033: checking for $ac_hdr" >&5  echo "configure:6034: checking for $ac_hdr" >&5
6034  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6035    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6036  else  else
6037    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6038  #line 6038 "configure"  #line 6039 "configure"
6039  #include "confdefs.h"  #include "confdefs.h"
6040  #include <$ac_hdr>  #include <$ac_hdr>
6041  EOF  EOF
6042  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6043  { (eval echo configure:6043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6044  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6045  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6046    rm -rf conftest*    rm -rf conftest*
# Line 6069  done Line 6070  done
6070  do  do
6071  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6072  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6073  echo "configure:6073: checking for $ac_hdr" >&5  echo "configure:6074: checking for $ac_hdr" >&5
6074  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6075    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6076  else  else
6077    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6078  #line 6078 "configure"  #line 6079 "configure"
6079  #include "confdefs.h"  #include "confdefs.h"
6080  #include <$ac_hdr>  #include <$ac_hdr>
6081  EOF  EOF
6082  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6083  { (eval echo configure:6083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6084  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6085  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6086    rm -rf conftest*    rm -rf conftest*
# Line 6106  fi Line 6107  fi
6107  done  done
6108    
6109          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6110  echo "configure:6110: checking for sigcontext..." >&5  echo "configure:6111: checking for sigcontext..." >&5
6111          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
6112  #line 6112 "configure"  #line 6113 "configure"
6113  #include "confdefs.h"  #include "confdefs.h"
6114  #include <signal.h>  #include <signal.h>
6115                
# Line 6118  int main() { Line 6119  int main() {
6119                
6120  ; return 0; }  ; return 0; }
6121  EOF  EOF
6122  if { (eval echo configure:6122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6123    rm -rf conftest*    rm -rf conftest*
6124        
6125          sigcontext_works=1;          sigcontext_works=1;
# Line 6139  fi Line 6140  fi
6140  rm -f conftest*  rm -f conftest*
6141         if test "$sigcontext_works" = 0 ; then         if test "$sigcontext_works" = 0 ; then
6142         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6143  echo "configure:6143: checking for sigcontext..." >&5  echo "configure:6144: checking for sigcontext..." >&5
6144         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6145  #line 6145 "configure"  #line 6146 "configure"
6146  #include "confdefs.h"  #include "confdefs.h"
6147  #include <signal.h>  #include <signal.h>
6148               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 6157  int main() { Line 6158  int main() {
6158                    
6159  ; return 0; }  ; return 0; }
6160  EOF  EOF
6161  if { (eval echo configure:6161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6162    rm -rf conftest*    rm -rf conftest*
6163        
6164          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
# Line 6199  rm -f conftest* Line 6200  rm -f conftest*
6200  # 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.
6201  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
6202  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6203  echo "configure:6203: checking for $ac_word" >&5  echo "configure:6204: checking for $ac_word" >&5
6204  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
6205    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6206  else  else
# Line 6247  cat >> conftest.el <<EOF Line 6248  cat >> conftest.el <<EOF
6248  EOF  EOF
6249    
6250  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
6251  echo "configure:6251: checking emacs site lisp directory" >&5  echo "configure:6252: checking emacs site lisp directory" >&5
6252  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
6253          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
6254                  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 `
# Line 6271  cat >> conftest.el <<EOF Line 6272  cat >> conftest.el <<EOF
6272  EOF  EOF
6273    
6274  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
6275  echo "configure:6275: checking emacs default.el" >&5  echo "configure:6276: checking emacs default.el" >&5
6276  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
6277          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 `
6278  else  else
# Line 6300  cat >> conftest.el <<EOF Line 6301  cat >> conftest.el <<EOF
6301  EOF  EOF
6302    
6303  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
6304  echo "configure:6304: checking emacs info/dir" >&5  echo "configure:6305: checking emacs info/dir" >&5
6305  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
6306      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
6307  else  else
# Line 6318  echo "$ac_t""$INFO_DIR" 1>&6 Line 6319  echo "$ac_t""$INFO_DIR" 1>&6
6319    
6320    
6321  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
6322  echo "configure:6322: checking for tcl/tk" >&5  echo "configure:6323: checking for tcl/tk" >&5
6323    
6324    
6325  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 6341  EOF Line 6342  EOF
6342  # 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.
6343  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
6344  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6345  echo "configure:6345: checking for $ac_word" >&5  echo "configure:6346: checking for $ac_word" >&5
6346  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
6347    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6348  else  else
# Line 6441  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 6442  if test -f ${TCL_CONFIG_PREFIX}/../inclu
6442    fi    fi
6443  fi  fi
6444  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
6445  echo "configure:6445: checking for main in -llieee" >&5  echo "configure:6446: checking for main in -llieee" >&5
6446  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
6447  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
6448    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6449  else Line 6450  else
6450    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6451  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
6452  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6453  #line 6453 "configure"  #line 6454 "configure"
6454  #include "confdefs.h"  #include "confdefs.h"
6455    
6456  int main() {  int main() {
6457  main()  main()
6458  ; return 0; }  ; return 0; }
6459  EOF  EOF
6460  if { (eval echo configure:6460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6461    rm -rf conftest*    rm -rf conftest*
6462    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6463  else  else
# Line 6521  NOTIFY=$enable_notify Line 6522  NOTIFY=$enable_notify
6522  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
6523    
6524  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
6525  echo "configure:6525: checking alloca" >&5  echo "configure:6526: checking alloca" >&5
6526  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
6527    gcl_ok=no    gcl_ok=no
6528  else  else
6529    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6530  #line 6530 "configure"  #line 6531 "configure"
6531  #include "confdefs.h"  #include "confdefs.h"
6532  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
6533  EOF  EOF
6534  if { (eval echo configure:6534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6535  then  then
6536    :    :
6537  else  else
# Line 6553  else Line 6554  else
6554    gcl_ok=no    gcl_ok=no
6555  else  else
6556    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6557  #line 6557 "configure"  #line 6558 "configure"
6558  #include "confdefs.h"  #include "confdefs.h"
6559  #include <alloca.h>  #include <alloca.h>
6560    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
6561  EOF  EOF
6562  if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6563  then  then
6564    :    :
6565  else  else
# Line 6619  if test $gcl_ok = no ; then     echo "$a Line 6620  if test $gcl_ok = no ; then     echo "$a
6620  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
6621  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
6622  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
6623  echo "configure:6623: checking Checking for buggy gcc version from redhat" >&5  echo "configure:6624: checking Checking for buggy gcc version from redhat" >&5
6624  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
6625     then     then
6626          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2.4.3  
changed lines
  Added in v.1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2.4.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26