/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.195 by camm, Thu Sep 29 17:54:32 2005 UTC revision 1.196 by camm, Thu Oct 6 22:43:37 2005 UTC
# Line 5062  else Line 5062  else
5062  fi  fi
5063    
5064    
5065    if test "$enable_static" = "yes" ; then
5066       echo disabling readline when linking statically
5067       enable_readline="no"
5068    fi
5069    
5070  # ansi lisp  # ansi lisp
5071  # Check whether --enable-ansi or --disable-ansi was given.  # Check whether --enable-ansi or --disable-ansi was given.
5072  if test "${enable_ansi+set}" = set; then  if test "${enable_ansi+set}" = set; then
# Line 5093  FLISP="saved_$SYSTEM" Line 5098  FLISP="saved_$SYSTEM"
5098  for ac_func in getcwd  for ac_func in getcwd
5099  do  do
5100  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5101  echo "configure:5097: checking for $ac_func" >&5  echo "configure:5102: checking for $ac_func" >&5
5102  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5103    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5104  else  else
5105    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5106  #line 5102 "configure"  #line 5107 "configure"
5107  #include "confdefs.h"  #include "confdefs.h"
5108  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5109      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 5121  $ac_func(); Line 5126  $ac_func();
5126    
5127  ; return 0; }  ; return 0; }
5128  EOF  EOF
5129  if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5130    rm -rf conftest*    rm -rf conftest*
5131    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
5132  else  else
# Line 5148  done Line 5153  done
5153  for ac_func in getwd  for ac_func in getwd
5154  do  do
5155  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5156  echo "configure:5152: checking for $ac_func" >&5  echo "configure:5157: checking for $ac_func" >&5
5157  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5158    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5159  else  else
5160    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5161  #line 5157 "configure"  #line 5162 "configure"
5162  #include "confdefs.h"  #include "confdefs.h"
5163  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5164      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 5176  $ac_func(); Line 5181  $ac_func();
5181    
5182  ; return 0; }  ; return 0; }
5183  EOF  EOF
5184  if { (eval echo configure:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5185    rm -rf conftest*    rm -rf conftest*
5186    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
5187  else  else
# Line 5201  fi Line 5206  fi
5206  done  done
5207    
5208  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
5209  echo "configure:5205: checking for uname" >&5  echo "configure:5210: checking for uname" >&5
5210  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
5211    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5212  else  else
5213    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5214  #line 5210 "configure"  #line 5215 "configure"
5215  #include "confdefs.h"  #include "confdefs.h"
5216  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5217      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 5229  uname(); Line 5234  uname();
5234    
5235  ; return 0; }  ; return 0; }
5236  EOF  EOF
5237  if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5238    rm -rf conftest*    rm -rf conftest*
5239    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
5240  else  else
# Line 5253  EOF Line 5258  EOF
5258  fi  fi
5259    
5260  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
5261  echo "configure:5257: checking for gettimeofday" >&5  echo "configure:5262: checking for gettimeofday" >&5
5262  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
5263    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5264  else  else
5265    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5266  #line 5262 "configure"  #line 5267 "configure"
5267  #include "confdefs.h"  #include "confdefs.h"
5268  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5269      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 5281  gettimeofday(); Line 5286  gettimeofday();
5286    
5287  ; return 0; }  ; return 0; }
5288  EOF  EOF
5289  if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5290    rm -rf conftest*    rm -rf conftest*
5291    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
5292  else  else
# Line 5310  for ac_hdr in sys/ioctl.h Line 5315  for ac_hdr in sys/ioctl.h
5315  do  do
5316  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5317  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5318  echo "configure:5314: checking for $ac_hdr" >&5  echo "configure:5319: checking for $ac_hdr" >&5
5319  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5320    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5321  else  else
5322    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5323  #line 5319 "configure"  #line 5324 "configure"
5324  #include "confdefs.h"  #include "confdefs.h"
5325  #include <$ac_hdr>  #include <$ac_hdr>
5326  EOF  EOF
5327  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5328  { (eval echo configure:5324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5329  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5330  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5331    rm -rf conftest*    rm -rf conftest*
# Line 5352  for ac_hdr in elf.h elf_abi.h Line 5357  for ac_hdr in elf.h elf_abi.h
5357  do  do
5358  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5359  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5360  echo "configure:5356: checking for $ac_hdr" >&5  echo "configure:5361: checking for $ac_hdr" >&5
5361  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5362    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5363  else  else
5364    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5365  #line 5361 "configure"  #line 5366 "configure"
5366  #include "confdefs.h"  #include "confdefs.h"
5367  #include <$ac_hdr>  #include <$ac_hdr>
5368  EOF  EOF
5369  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5370  { (eval echo configure:5366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5371  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5372  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5373    rm -rf conftest*    rm -rf conftest*
# Line 5402  done Line 5407  done
5407  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5408    
5409  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
5410  echo "configure:5406: checking for BSDgettimeofday" >&5  echo "configure:5411: checking for BSDgettimeofday" >&5
5411  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
5412    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5413  else  else
5414    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5415  #line 5411 "configure"  #line 5416 "configure"
5416  #include "confdefs.h"  #include "confdefs.h"
5417  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5418      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 5430  BSDgettimeofday(); Line 5435  BSDgettimeofday();
5435    
5436  ; return 0; }  ; return 0; }
5437  EOF  EOF
5438  if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5439    rm -rf conftest*    rm -rf conftest*
5440    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
5441  else  else
# Line 5451  EOF Line 5456  EOF
5456  else  else
5457    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5458  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
5459  echo "configure:5455: checking for gettimeofday" >&5  echo "configure:5460: checking for gettimeofday" >&5
5460  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
5461    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5462  else  else
5463    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5464  #line 5460 "configure"  #line 5465 "configure"
5465  #include "confdefs.h"  #include "confdefs.h"
5466  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5467      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 5479  gettimeofday(); Line 5484  gettimeofday();
5484    
5485  ; return 0; }  ; return 0; }
5486  EOF  EOF
5487  if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5488    rm -rf conftest*    rm -rf conftest*
5489    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
5490  else  else
# Line 5506  fi Line 5511  fi
5511    
5512    
5513  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
5514  echo "configure:5510: checking for gettimeofday declaration" >&5  echo "configure:5515: checking for gettimeofday declaration" >&5
5515    
5516  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5517  #line 5513 "configure"  #line 5518 "configure"
5518  #include "confdefs.h"  #include "confdefs.h"
5519  #include <sys/time.h>  #include <sys/time.h>
5520  EOF  EOF
# Line 5530  rm -f conftest* Line 5535  rm -f conftest*
5535    
5536    
5537  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5538  echo "configure:5534: checking for sin in -lm" >&5  echo "configure:5539: checking for sin in -lm" >&5
5539  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5540  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
5541    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5538  else Line 5543  else
5543    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5544  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
5545  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5546  #line 5542 "configure"  #line 5547 "configure"
5547  #include "confdefs.h"  #include "confdefs.h"
5548  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5549  /* 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 5549  int main() { Line 5554  int main() {
5554  sin()  sin()
5555  ; return 0; }  ; return 0; }
5556  EOF  EOF
5557  if { (eval echo configure:5553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5558    rm -rf conftest*    rm -rf conftest*
5559    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5560  else  else
# Line 5571  true Line 5576  true
5576  fi  fi
5577    
5578  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
5579  echo "configure:5575: checking for main in -lmingwex" >&5  echo "configure:5580: checking for main in -lmingwex" >&5
5580  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
5581  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
5582    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5579  else Line 5584  else
5584    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5585  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
5586  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5587  #line 5583 "configure"  #line 5588 "configure"
5588  #include "confdefs.h"  #include "confdefs.h"
5589    
5590  int main() {  int main() {
5591  main()  main()
5592  ; return 0; }  ; return 0; }
5593  EOF  EOF
5594  if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5595    rm -rf conftest*    rm -rf conftest*
5596    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5597  else  else
# Line 5614  if test "$try_japi" = "yes" ; then Line 5619  if test "$try_japi" = "yes" ; then
5619  do  do
5620  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5621  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5622  echo "configure:5618: checking for $ac_hdr" >&5  echo "configure:5623: checking for $ac_hdr" >&5
5623  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5624    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5625  else  else
5626    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5627  #line 5623 "configure"  #line 5628 "configure"
5628  #include "confdefs.h"  #include "confdefs.h"
5629  #include <$ac_hdr>  #include <$ac_hdr>
5630  EOF  EOF
5631  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5632  { (eval echo configure:5628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5633  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5634  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5635    rm -rf conftest*    rm -rf conftest*
# Line 5662  if test "$use" = "mingw" ; then Line 5667  if test "$use" = "mingw" ; then
5667  do  do
5668  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5669  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5670  echo "configure:5666: checking for $ac_hdr" >&5  echo "configure:5671: checking for $ac_hdr" >&5
5671  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5672    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5673  else  else
5674    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5675  #line 5671 "configure"  #line 5676 "configure"
5676  #include "confdefs.h"  #include "confdefs.h"
5677  #include <$ac_hdr>  #include <$ac_hdr>
5678  EOF  EOF
5679  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5680  { (eval echo configure:5676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5681  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5682  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5683    rm -rf conftest*    rm -rf conftest*
# Line 5709  else Line 5714  else
5714  do  do
5715  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5716  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5717  echo "configure:5713: checking for $ac_hdr" >&5  echo "configure:5718: checking for $ac_hdr" >&5
5718  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5719    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5720  else  else
5721    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5722  #line 5718 "configure"  #line 5723 "configure"
5723  #include "confdefs.h"  #include "confdefs.h"
5724  #include <$ac_hdr>  #include <$ac_hdr>
5725  EOF  EOF
5726  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5727  { (eval echo configure:5723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5728  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5729  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5730    rm -rf conftest*    rm -rf conftest*
# Line 5759  for ac_hdr in math.h Line 5764  for ac_hdr in math.h
5764  do  do
5765  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5766  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5767  echo "configure:5763: checking for $ac_hdr" >&5  echo "configure:5768: checking for $ac_hdr" >&5
5768  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5769    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5770  else  else
5771    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5772  #line 5768 "configure"  #line 5773 "configure"
5773  #include "confdefs.h"  #include "confdefs.h"
5774  #include <$ac_hdr>  #include <$ac_hdr>
5775  EOF  EOF
5776  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5777  { (eval echo configure:5773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5778  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5779  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5780    rm -rf conftest*    rm -rf conftest*
# Line 5806  for ac_hdr in values.h Line 5811  for ac_hdr in values.h
5811  do  do
5812  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5813  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5814  echo "configure:5810: checking for $ac_hdr" >&5  echo "configure:5815: checking for $ac_hdr" >&5
5815  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5816    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5817  else  else
5818    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5819  #line 5815 "configure"  #line 5820 "configure"
5820  #include "confdefs.h"  #include "confdefs.h"
5821  #include <$ac_hdr>  #include <$ac_hdr>
5822  EOF  EOF
5823  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5824  { (eval echo configure:5820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5825  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5826  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5827    rm -rf conftest*    rm -rf conftest*
# Line 5853  for ac_hdr in float.h Line 5858  for ac_hdr in float.h
5858  do  do
5859  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5860  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5861  echo "configure:5857: checking for $ac_hdr" >&5  echo "configure:5862: checking for $ac_hdr" >&5
5862  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5863    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5864  else  else
5865    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5866  #line 5862 "configure"  #line 5867 "configure"
5867  #include "confdefs.h"  #include "confdefs.h"
5868  #include <$ac_hdr>  #include <$ac_hdr>
5869  EOF  EOF
5870  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5871  { (eval echo configure:5867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5872  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5873  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5874    rm -rf conftest*    rm -rf conftest*
# Line 5899  done Line 5904  done
5904  # test makes sense.  CM  # test makes sense.  CM
5905  #  #
5906  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
5907  echo "configure:5903: checking for isnormal" >&5  echo "configure:5908: checking for isnormal" >&5
5908  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5909    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
5910  else  else
5911    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5912  #line 5908 "configure"  #line 5913 "configure"
5913  #include "confdefs.h"  #include "confdefs.h"
5914  #define _GNU_SOURCE 1  #define _GNU_SOURCE 1
5915              #include <math.h>              #include <math.h>
# Line 5913  else Line 5918  else
5918                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
5919                  }                  }
5920  EOF  EOF
5921  if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5922  then  then
5923    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5924  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 5924  else Line 5929  else
5929    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5930    rm -fr conftest*    rm -fr conftest*
5931    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
5932  echo "configure:5928: checking for fpclass in ieeefp.h" >&5  echo "configure:5933: checking for fpclass in ieeefp.h" >&5
5933                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5934    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
5935  else  else
5936    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5937  #line 5933 "configure"  #line 5938 "configure"
5938  #include "confdefs.h"  #include "confdefs.h"
5939  #include <ieeefp.h>  #include <ieeefp.h>
5940                              int main() {                              int main() {
# Line 5937  else Line 5942  else
5942                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
5943                                  }                                  }
5944  EOF  EOF
5945  if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5946  then  then
5947    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5948  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 5959  fi Line 5964  fi
5964    
5965    
5966  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
5967  echo "configure:5963: checking for isfinite" >&5  echo "configure:5968: checking for isfinite" >&5
5968  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5969    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
5970  else  else
5971    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5972  #line 5968 "configure"  #line 5973 "configure"
5973  #include "confdefs.h"  #include "confdefs.h"
5974  #define _GNU_SOURCE 1  #define _GNU_SOURCE 1
5975              #include <math.h>              #include <math.h>
# Line 5973  else Line 5978  else
5978                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
5979                  }                  }
5980  EOF  EOF
5981  if { (eval echo configure:5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5982  then  then
5983    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5984  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 5984  else Line 5989  else
5989    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5990    rm -fr conftest*    rm -fr conftest*
5991    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
5992  echo "configure:5988: checking for finite()" >&5  echo "configure:5993: checking for finite()" >&5
5993                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5994    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
5995  else  else
5996    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5997  #line 5993 "configure"  #line 5998 "configure"
5998  #include "confdefs.h"  #include "confdefs.h"
5999  #include <math.h>  #include <math.h>
6000                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 5998  else Line 6003  else
6003                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
6004                                  }                                  }
6005  EOF  EOF
6006  if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6007  then  then
6008    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6009  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 6039  fi Line 6044  fi
6044  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
6045  #--------------------------------------------------------------------  #--------------------------------------------------------------------
6046  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
6047  echo "configure:6043: checking for sockets" >&5  echo "configure:6048: checking for sockets" >&5
6048  tcl_checkBoth=0  tcl_checkBoth=0
6049  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
6050  echo "configure:6046: checking for connect" >&5  echo "configure:6051: checking for connect" >&5
6051  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
6052    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6053  else  else
6054    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6055  #line 6051 "configure"  #line 6056 "configure"
6056  #include "confdefs.h"  #include "confdefs.h"
6057  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6058      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 6070  connect(); Line 6075  connect();
6075    
6076  ; return 0; }  ; return 0; }
6077  EOF  EOF
6078  if { (eval echo configure:6074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6079    rm -rf conftest*    rm -rf conftest*
6080    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
6081  else  else
# Line 6092  fi Line 6097  fi
6097    
6098  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
6099      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
6100  echo "configure:6096: checking for main in -lsocket" >&5  echo "configure:6101: checking for main in -lsocket" >&5
6101  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
6102  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
6103    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6100  else Line 6105  else
6105    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6106  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
6107  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6108  #line 6104 "configure"  #line 6109 "configure"
6109  #include "confdefs.h"  #include "confdefs.h"
6110    
6111  int main() {  int main() {
6112  main()  main()
6113  ; return 0; }  ; return 0; }
6114  EOF  EOF
6115  if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6116    rm -rf conftest*    rm -rf conftest*
6117    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6118  else  else
# Line 6135  if test "$tcl_checkBoth" = 1; then Line 6140  if test "$tcl_checkBoth" = 1; then
6140      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
6141      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
6142      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
6143  echo "configure:6139: checking for accept" >&5  echo "configure:6144: checking for accept" >&5
6144  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
6145    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6146  else  else
6147    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6148  #line 6144 "configure"  #line 6149 "configure"
6149  #include "confdefs.h"  #include "confdefs.h"
6150  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6151      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 6163  accept(); Line 6168  accept();
6168    
6169  ; return 0; }  ; return 0; }
6170  EOF  EOF
6171  if { (eval echo configure:6167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6172    rm -rf conftest*    rm -rf conftest*
6173    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
6174  else  else
# Line 6185  fi Line 6190  fi
6190    
6191  fi  fi
6192  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6193  echo "configure:6189: checking for gethostbyname" >&5  echo "configure:6194: checking for gethostbyname" >&5
6194  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
6195    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6196  else  else
6197    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6198  #line 6194 "configure"  #line 6199 "configure"
6199  #include "confdefs.h"  #include "confdefs.h"
6200  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6201      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 6213  gethostbyname(); Line 6218  gethostbyname();
6218    
6219  ; return 0; }  ; return 0; }
6220  EOF  EOF
6221  if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6222    rm -rf conftest*    rm -rf conftest*
6223    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
6224  else  else
# Line 6231  if eval "test \"`echo '$ac_cv_func_'geth Line 6236  if eval "test \"`echo '$ac_cv_func_'geth
6236  else  else
6237    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6238  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
6239  echo "configure:6235: checking for main in -lnsl" >&5  echo "configure:6240: checking for main in -lnsl" >&5
6240  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
6241  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
6242    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6239  else Line 6244  else
6244    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6245  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
6246  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6247  #line 6243 "configure"  #line 6248 "configure"
6248  #include "confdefs.h"  #include "confdefs.h"
6249    
6250  int main() {  int main() {
6251  main()  main()
6252  ; return 0; }  ; return 0; }
6253  EOF  EOF
6254  if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6255    rm -rf conftest*    rm -rf conftest*
6256    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6257  else  else
# Line 6276  if test "$enable_readline" = "yes" ; the Line 6281  if test "$enable_readline" = "yes" ; the
6281  do  do
6282  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6283  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6284  echo "configure:6280: checking for $ac_hdr" >&5  echo "configure:6285: checking for $ac_hdr" >&5
6285  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6286    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6287  else  else
6288    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6289  #line 6285 "configure"  #line 6290 "configure"
6290  #include "confdefs.h"  #include "confdefs.h"
6291  #include <$ac_hdr>  #include <$ac_hdr>
6292  EOF  EOF
6293  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6294  { (eval echo configure:6290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6295  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6296  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6297    rm -rf conftest*    rm -rf conftest*
# Line 6307  if eval "test \"`echo '$ac_cv_header_'$a Line 6312  if eval "test \"`echo '$ac_cv_header_'$a
6312  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
6313  EOF  EOF
6314   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
6315  echo "configure:6311: checking for main in -lreadline" >&5  echo "configure:6316: checking for main in -lreadline" >&5
6316  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
6317  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
6318    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6315  else Line 6320  else
6320    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6321  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
6322  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6323  #line 6319 "configure"  #line 6324 "configure"
6324  #include "confdefs.h"  #include "confdefs.h"
6325    
6326  int main() {  int main() {
6327  main()  main()
6328  ; return 0; }  ; return 0; }
6329  EOF  EOF
6330  if { (eval echo configure:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6331    rm -rf conftest*    rm -rf conftest*
6332    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6333  else  else
# Line 6359  done Line 6364  done
6364    
6365  # These tests discover differences between readline 4.1 and 4.3  # These tests discover differences between readline 4.1 and 4.3
6366          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
6367  echo "configure:6363: checking for rl_completion_matches in -lreadline" >&5  echo "configure:6368: checking for rl_completion_matches in -lreadline" >&5
6368  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
6369  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
6370    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6367  else Line 6372  else
6372    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6373  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
6374  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6375  #line 6371 "configure"  #line 6376 "configure"
6376  #include "confdefs.h"  #include "confdefs.h"
6377  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6378  /* 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 6378  int main() { Line 6383  int main() {
6383  rl_completion_matches()  rl_completion_matches()
6384  ; return 0; }  ; return 0; }
6385  EOF  EOF
6386  if { (eval echo configure:6382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6387    rm -rf conftest*    rm -rf conftest*
6388    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6389  else  else
# Line 6411  fi Line 6416  fi
6416    
6417    
6418  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
6419  echo "configure:6415: checking For network code for nsocket.c" >&5  echo "configure:6420: checking For network code for nsocket.c" >&5
6420  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6421  #line 6417 "configure"  #line 6422 "configure"
6422  #include "confdefs.h"  #include "confdefs.h"
6423    
6424  #include <sys/time.h>  #include <sys/time.h>
# Line 6440  int main() { Line 6445  int main() {
6445                    
6446  ; return 0; }  ; return 0; }
6447  EOF  EOF
6448  if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6449    rm -rf conftest*    rm -rf conftest*
6450    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6451  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 6457  rm -f conftest* Line 6462  rm -f conftest*
6462    
6463    
6464  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
6465  echo "configure:6461: checking check for listen using fcntl" >&5  echo "configure:6466: checking check for listen using fcntl" >&5
6466  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6467  #line 6463 "configure"  #line 6468 "configure"
6468  #include "confdefs.h"  #include "confdefs.h"
6469  #include <stdio.h>  #include <stdio.h>
6470  #include <fcntl.h>  #include <fcntl.h>
# Line 6472  FILE *fp=fopen("configure.in","r"); Line 6477  FILE *fp=fopen("configure.in","r");
6477    
6478  ; return 0; }  ; return 0; }
6479  EOF  EOF
6480  if { (eval echo configure:6476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6481    rm -rf conftest*    rm -rf conftest*
6482    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6483  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 6491  rm -f conftest* Line 6496  rm -f conftest*
6496    
6497    
6498  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
6499  echo "configure:6495: checking for profil" >&5  echo "configure:6500: checking for profil" >&5
6500  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
6501    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6502  else  else
6503    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6504  #line 6500 "configure"  #line 6505 "configure"
6505  #include "confdefs.h"  #include "confdefs.h"
6506  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6507      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 6519  profil(); Line 6524  profil();
6524    
6525  ; return 0; }  ; return 0; }
6526  EOF  EOF
6527  if { (eval echo configure:6523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6528    rm -rf conftest*    rm -rf conftest*
6529    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
6530  else  else
# Line 6544  fi Line 6549  fi
6549    
6550    
6551  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
6552  echo "configure:6548: checking for setenv" >&5  echo "configure:6553: checking for setenv" >&5
6553  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
6554    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6555  else  else
6556    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6557  #line 6553 "configure"  #line 6558 "configure"
6558  #include "confdefs.h"  #include "confdefs.h"
6559  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6560      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 6572  setenv(); Line 6577  setenv();
6577    
6578  ; return 0; }  ; return 0; }
6579  EOF  EOF
6580  if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6581    rm -rf conftest*    rm -rf conftest*
6582    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
6583  else  else
# Line 6598  fi Line 6603  fi
6603    
6604  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
6605  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
6606  echo "configure:6602: checking for putenv" >&5  echo "configure:6607: checking for putenv" >&5
6607  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
6608    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6609  else  else
6610    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6611  #line 6607 "configure"  #line 6612 "configure"
6612  #include "confdefs.h"  #include "confdefs.h"
6613  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6614      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 6626  putenv(); Line 6631  putenv();
6631    
6632  ; return 0; }  ; return 0; }
6633  EOF  EOF
6634  if { (eval echo configure:6630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6635    rm -rf conftest*    rm -rf conftest*
6636    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
6637  else  else
# Line 6652  fi Line 6657  fi
6657  fi  fi
6658    
6659  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
6660  echo "configure:6656: checking for _cleanup" >&5  echo "configure:6661: checking for _cleanup" >&5
6661  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
6662    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6663  else  else
6664    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6665  #line 6661 "configure"  #line 6666 "configure"
6666  #include "confdefs.h"  #include "confdefs.h"
6667  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6668      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 6680  _cleanup(); Line 6685  _cleanup();
6685    
6686  ; return 0; }  ; return 0; }
6687  EOF  EOF
6688  if { (eval echo configure:6684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6689    rm -rf conftest*    rm -rf conftest*
6690    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
6691  else  else
# Line 6706  fi Line 6711  fi
6711  gcl_ok=no  gcl_ok=no
6712    
6713  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6714  #line 6710 "configure"  #line 6715 "configure"
6715  #include "confdefs.h"  #include "confdefs.h"
6716  #include <ctype.h>  #include <ctype.h>
6717  EOF  EOF
# Line 6734  fi Line 6739  fi
6739    
6740  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
6741  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
6742  echo "configure:6738: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:6743: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
6743    
6744  case $system in  case $system in
6745         OSF*)         OSF*)
# Line 6765  esac Line 6770  esac
6770    
6771    
6772  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
6773  echo "configure:6769: checking check for SV_ONSTACK" >&5  echo "configure:6774: checking check for SV_ONSTACK" >&5
6774  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6775  #line 6771 "configure"  #line 6776 "configure"
6776  #include "confdefs.h"  #include "confdefs.h"
6777  #include <signal.h>  #include <signal.h>
6778  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 6776  int main() { Line 6781  int main() {
6781    
6782  ; return 0; }  ; return 0; }
6783  EOF  EOF
6784  if { (eval echo configure:6780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6785    rm -rf conftest*    rm -rf conftest*
6786    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6787  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 6793  fi Line 6798  fi
6798  rm -f conftest*  rm -f conftest*
6799    
6800  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
6801  echo "configure:6797: checking check for SIGSYS" >&5  echo "configure:6802: checking check for SIGSYS" >&5
6802  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6803  #line 6799 "configure"  #line 6804 "configure"
6804  #include "confdefs.h"  #include "confdefs.h"
6805  #include <signal.h>  #include <signal.h>
6806  int joe=SIGSYS;  int joe=SIGSYS;
# Line 6804  int main() { Line 6809  int main() {
6809    
6810  ; return 0; }  ; return 0; }
6811  EOF  EOF
6812  if { (eval echo configure:6808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6813    rm -rf conftest*    rm -rf conftest*
6814    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6815  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 6822  rm -f conftest* Line 6827  rm -f conftest*
6827    
6828    
6829  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
6830  echo "configure:6826: checking check for SIGEMT" >&5  echo "configure:6831: checking check for SIGEMT" >&5
6831  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6832  #line 6828 "configure"  #line 6833 "configure"
6833  #include "confdefs.h"  #include "confdefs.h"
6834  #include <signal.h>  #include <signal.h>
6835  int joe=SIGEMT;  int joe=SIGEMT;
# Line 6833  int main() { Line 6838  int main() {
6838    
6839  ; return 0; }  ; return 0; }
6840  EOF  EOF
6841  if { (eval echo configure:6837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6842    rm -rf conftest*    rm -rf conftest*
6843    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6844  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 6857  rm -f conftest* Line 6862  rm -f conftest*
6862  do  do
6863  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6864  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6865  echo "configure:6861: checking for $ac_hdr" >&5  echo "configure:6866: checking for $ac_hdr" >&5
6866  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6867    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6868  else  else
6869    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6870  #line 6866 "configure"  #line 6871 "configure"
6871  #include "confdefs.h"  #include "confdefs.h"
6872  #include <$ac_hdr>  #include <$ac_hdr>
6873  EOF  EOF
6874  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6875  { (eval echo configure:6871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6876  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6877  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6878    rm -rf conftest*    rm -rf conftest*
# Line 6897  done Line 6902  done
6902  do  do
6903  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6904  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6905  echo "configure:6901: checking for $ac_hdr" >&5  echo "configure:6906: checking for $ac_hdr" >&5
6906  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6907    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6908  else  else
6909    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6910  #line 6906 "configure"  #line 6911 "configure"
6911  #include "confdefs.h"  #include "confdefs.h"
6912  #include <$ac_hdr>  #include <$ac_hdr>
6913  EOF  EOF
6914  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6915  { (eval echo configure:6911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6916  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6917  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6918    rm -rf conftest*    rm -rf conftest*
# Line 6934  fi Line 6939  fi
6939  done  done
6940    
6941          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6942  echo "configure:6938: checking for sigcontext..." >&5  echo "configure:6943: checking for sigcontext..." >&5
6943          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
6944  #line 6940 "configure"  #line 6945 "configure"
6945  #include "confdefs.h"  #include "confdefs.h"
6946  #include <signal.h>  #include <signal.h>
6947                
# Line 6946  int main() { Line 6951  int main() {
6951                
6952  ; return 0; }  ; return 0; }
6953  EOF  EOF
6954  if { (eval echo configure:6950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6955    rm -rf conftest*    rm -rf conftest*
6956        
6957          sigcontext_works=1;          sigcontext_works=1;
# Line 6967  fi Line 6972  fi
6972  rm -f conftest*  rm -f conftest*
6973         if test "$sigcontext_works" = 0 ; then         if test "$sigcontext_works" = 0 ; then
6974         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6975  echo "configure:6971: checking for sigcontext..." >&5  echo "configure:6976: checking for sigcontext..." >&5
6976         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6977  #line 6973 "configure"  #line 6978 "configure"
6978  #include "confdefs.h"  #include "confdefs.h"
6979  #include <signal.h>  #include <signal.h>
6980               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 6985  int main() { Line 6990  int main() {
6990                    
6991  ; return 0; }  ; return 0; }
6992  EOF  EOF
6993  if { (eval echo configure:6989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6994    rm -rf conftest*    rm -rf conftest*
6995        
6996          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
# Line 7027  rm -f conftest* Line 7032  rm -f conftest*
7032  # 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.
7033  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
7034  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7035  echo "configure:7031: checking for $ac_word" >&5  echo "configure:7036: checking for $ac_word" >&5
7036  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
7037    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7038  else  else
# Line 7075  cat >> conftest.el <<EOF Line 7080  cat >> conftest.el <<EOF
7080  EOF  EOF
7081    
7082  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
7083  echo "configure:7079: checking emacs site lisp directory" >&5  echo "configure:7084: checking emacs site lisp directory" >&5
7084  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
7085          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
7086                  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 7099  cat >> conftest.el <<EOF Line 7104  cat >> conftest.el <<EOF
7104  EOF  EOF
7105    
7106  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
7107  echo "configure:7103: checking emacs default.el" >&5  echo "configure:7108: checking emacs default.el" >&5
7108  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
7109          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 `
7110  else  else
# Line 7128  cat >> conftest.el <<EOF Line 7133  cat >> conftest.el <<EOF
7133  EOF  EOF
7134    
7135  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
7136  echo "configure:7132: checking emacs info/dir" >&5  echo "configure:7137: checking emacs info/dir" >&5
7137  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
7138      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
7139  else  else
# Line 7146  echo "$ac_t""$INFO_DIR" 1>&6 Line 7151  echo "$ac_t""$INFO_DIR" 1>&6
7151    
7152    
7153  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
7154  echo "configure:7150: checking for tcl/tk" >&5  echo "configure:7155: checking for tcl/tk" >&5
7155    
7156    
7157  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 7169  EOF Line 7174  EOF
7174  # 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.
7175  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
7176  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7177  echo "configure:7173: checking for $ac_word" >&5  echo "configure:7178: checking for $ac_word" >&5
7178  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
7179    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7180  else  else
# Line 7274  if test -f ${TK_CONFIG_PREFIX}/../bin/tc Line 7279  if test -f ${TK_CONFIG_PREFIX}/../bin/tc
7279     TCL_STUB_LIBS="-L${TK_CONFIG_PREFIX}/lib -ltkstub${TCL_VERSION_DOT_FREE} -ltclstub${TCL_VERSION_DOT_FREE}"     TCL_STUB_LIBS="-L${TK_CONFIG_PREFIX}/lib -ltkstub${TCL_VERSION_DOT_FREE} -ltclstub${TCL_VERSION_DOT_FREE}"
7280  else  else
7281    echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6    echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
7282  echo "configure:7278: checking for main in -llieee" >&5  echo "configure:7283: checking for main in -llieee" >&5
7283  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
7284  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
7285    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7282  else Line 7287  else
7287    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7288  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
7289  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7290  #line 7286 "configure"  #line 7291 "configure"
7291  #include "confdefs.h"  #include "confdefs.h"
7292    
7293  int main() {  int main() {
7294  main()  main()
7295  ; return 0; }  ; return 0; }
7296  EOF  EOF
7297  if { (eval echo configure:7293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7298    rm -rf conftest*    rm -rf conftest*
7299    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7300  else  else
# Line 7357  NOTIFY=$enable_notify Line 7362  NOTIFY=$enable_notify
7362    
7363  if test "$use" != "mingw" ; then  if test "$use" != "mingw" ; then
7364    echo $ac_n "checking alloca""... $ac_c" 1>&6    echo $ac_n "checking alloca""... $ac_c" 1>&6
7365  echo "configure:7361: checking alloca" >&5  echo "configure:7366: checking alloca" >&5
7366    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
7367    gcl_ok=no    gcl_ok=no
7368  else  else
7369    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7370  #line 7366 "configure"  #line 7371 "configure"
7371  #include "confdefs.h"  #include "confdefs.h"
7372  #include <stdio.h>  #include <stdio.h>
7373    int main() { exit(alloca(500) != NULL ? 0 : 1);}    int main() { exit(alloca(500) != NULL ? 0 : 1);}
7374  EOF  EOF
7375  if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7376  then  then
7377    :    :
7378  else  else
# Line 7390  EOF Line 7395  EOF
7395    gcl_ok=no    gcl_ok=no
7396  else  else
7397    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7398  #line 7394 "configure"  #line 7399 "configure"
7399  #include "confdefs.h"  #include "confdefs.h"
7400  #include <alloca.h>  #include <alloca.h>
7401      int main() { exit(alloca(500) != NULL ? 0 : 1)}      int main() { exit(alloca(500) != NULL ? 0 : 1)}
7402  EOF  EOF
7403  if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7404  then  then
7405    :    :
7406  else  else
# Line 7450  fi Line 7455  fi
7455  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
7456  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
7457  echo $ac_n "checking for buggy gcc version from redhat""... $ac_c" 1>&6  echo $ac_n "checking for buggy gcc version from redhat""... $ac_c" 1>&6
7458  echo "configure:7454: checking for buggy gcc version from redhat" >&5  echo "configure:7459: checking for buggy gcc version from redhat" >&5
7459  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
7460     then     then
7461          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.195  
changed lines
  Added in v.1.196

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