/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.175 by camm, Tue Jun 14 20:37:12 2005 UTC revision 1.176 by camm, Tue Jun 14 22:38:25 2005 UTC
# Line 3900  done Line 3900  done
3900    
3901    
3902    
3903    echo $ac_n "checking TYPE_BITS macro""... $ac_c" 1>&6
3904    echo "configure:3905: checking TYPE_BITS macro" >&5
3905    if test "$cross_compiling" = yes; then
3906      echo Cannot find type_bits;exit 1
3907    else
3908      cat > conftest.$ac_ext <<EOF
3909    #line 3910 "configure"
3910    #include "confdefs.h"
3911    #include <stdio.h>
3912            #define EXTER
3913            #include "$MP_INCLUDE"
3914            #include "`pwd`/h/enum.h"
3915            #include "`pwd`/h/object.h"
3916            int main(int argc,char **argv,char **envp) {
3917            FILE *f=fopen("conftest1","w");
3918            fixnum g=0;
3919            fobj(g)->d.e=-1;
3920            fobj(g)->d.t=-1;
3921            fprintf(f,"0x%x",g);
3922            fclose(f);
3923            return 0;
3924            }
3925    EOF
3926    if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3927    then
3928      type_bits=`cat conftest1`
3929    else
3930      echo "configure: failed program was:" >&5
3931      cat conftest.$ac_ext >&5
3932      rm -fr conftest*
3933      echo Cannot find type_bits;exit 1
3934    fi
3935    rm -fr conftest*
3936    fi
3937    
3938    echo "$ac_t""$type_bits" 1>&6
3939    cat >> confdefs.h <<EOF
3940    #define TYPE_BITS $type_bits
3941    EOF
3942    
3943    
3944  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6
3945  echo "configure:3906: checking sizeof struct contblock" >&5  echo "configure:3946: checking sizeof struct contblock" >&5
3946    
3947  # work around MSYS pwd result incompatibility  # work around MSYS pwd result incompatibility
3948  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
# Line 3910  if test "$cross_compiling" = yes; then Line 3950  if test "$cross_compiling" = yes; then
3950    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3951  else  else
3952    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3953  #line 3914 "configure"  #line 3954 "configure"
3954  #include "confdefs.h"  #include "confdefs.h"
3955  #include <stdio.h>  #include <stdio.h>
3956          #define EXTER          #define EXTER
# Line 3924  else Line 3964  else
3964          return 0;          return 0;
3965          }          }
3966  EOF  EOF
3967  if { (eval echo configure:3928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3968  then  then
3969    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3970  else  else
# Line 3941  if test "$cross_compiling" = yes; then Line 3981  if test "$cross_compiling" = yes; then
3981    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3982  else  else
3983    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3984  #line 3945 "configure"  #line 3985 "configure"
3985  #include "confdefs.h"  #include "confdefs.h"
3986  #include <stdio.h>  #include <stdio.h>
3987          #define EXTER          #define EXTER
# Line 3955  else Line 3995  else
3995          return 0;          return 0;
3996          }          }
3997  EOF  EOF
3998  if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3999  then  then
4000    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
4001  else  else
# Line 3980  EOF Line 4020  EOF
4020  # this and restore the traditional behavior here  # this and restore the traditional behavior here
4021    
4022  echo $ac_n "checking for sbrk""... $ac_c" 1>&6  echo $ac_n "checking for sbrk""... $ac_c" 1>&6
4023  echo "configure:3984: checking for sbrk" >&5  echo "configure:4024: checking for sbrk" >&5
4024  HAVE_SBRK=""  HAVE_SBRK=""
4025  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4026    echo "$ac_t""no: WARNING you must be able to emulate sbrk: as on mingw or macosx" 1>&6    echo "$ac_t""no: WARNING you must be able to emulate sbrk: as on mingw or macosx" 1>&6
4027  else  else
4028    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4029  #line 3990 "configure"  #line 4030 "configure"
4030  #include "confdefs.h"  #include "confdefs.h"
4031  #include <unistd.h>  #include <unistd.h>
4032              #include <stdio.h>              #include <stdio.h>
# Line 3998  else Line 4038  else
4038                  return 0;                  return 0;
4039                  }                  }
4040  EOF  EOF
4041  if { (eval echo configure:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4042  then  then
4043    HAVE_SBRK=1    HAVE_SBRK=1
4044                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
# Line 4014  fi Line 4054  fi
4054    
4055  if test "$HAVE_SBRK" = "1" ; then  if test "$HAVE_SBRK" = "1" ; then
4056          echo $ac_n "checking for randomized sbrk""... $ac_c" 1>&6          echo $ac_n "checking for randomized sbrk""... $ac_c" 1>&6
4057  echo "configure:4018: checking for randomized sbrk" >&5  echo "configure:4058: checking for randomized sbrk" >&5
4058          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
4059    SBRK=0    SBRK=0
4060  else  else
4061    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4062  #line 4023 "configure"  #line 4063 "configure"
4063  #include "confdefs.h"  #include "confdefs.h"
4064  #include <unistd.h>  #include <unistd.h>
4065                      #include <stdio.h>                      #include <stdio.h>
# Line 4031  else Line 4071  else
4071                          return 0;                          return 0;
4072                          }                          }
4073  EOF  EOF
4074  if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4075  then  then
4076    SBRK=`cat conftest1`    SBRK=`cat conftest1`
4077  else  else
# Line 4051  fi Line 4091  fi
4091    SBRK1=0    SBRK1=0
4092  else  else
4093    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4094  #line 4055 "configure"  #line 4095 "configure"
4095  #include "confdefs.h"  #include "confdefs.h"
4096  #include <unistd.h>  #include <unistd.h>
4097                      #include <stdio.h>                      #include <stdio.h>
# Line 4063  else Line 4103  else
4103                          return 0;                          return 0;
4104                          }                          }
4105  EOF  EOF
4106  if { (eval echo configure:4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4107  then  then
4108    SBRK1=`cat conftest1`    SBRK1=`cat conftest1`
4109  else  else
# Line 4083  fi Line 4123  fi
4123          if test "$SBRK" != "$SBRK1" ; then          if test "$SBRK" != "$SBRK1" ; then
4124                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
4125                  echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6                  echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6
4126  echo "configure:4087: checking for randomized brk remedy" >&5  echo "configure:4127: checking for randomized brk remedy" >&5
4127                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
4128    SBRK=0    SBRK=0
4129  else  else
4130    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4131  #line 4092 "configure"  #line 4132 "configure"
4132  #include "confdefs.h"  #include "confdefs.h"
4133  #include <syscall.h>  #include <syscall.h>
4134                              #include <linux/personality.h>                              #include <linux/personality.h>
# Line 4108  else Line 4148  else
4148                                  return 0;                                  return 0;
4149                                  }                                  }
4150  EOF  EOF
4151  if { (eval echo configure:4112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4152  then  then
4153    SBRK=`cat conftest1`    SBRK=`cat conftest1`
4154  else  else
# Line 4128  fi Line 4168  fi
4168    SBRK1=0    SBRK1=0
4169  else  else
4170    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4171  #line 4132 "configure"  #line 4172 "configure"
4172  #include "confdefs.h"  #include "confdefs.h"
4173  #include <syscall.h>  #include <syscall.h>
4174                              #include <linux/personality.h>                              #include <linux/personality.h>
# Line 4148  else Line 4188  else
4188                                  return 0;                                  return 0;
4189                                  }                                  }
4190  EOF  EOF
4191  if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4192  then  then
4193    SBRK1=`cat conftest1`    SBRK1=`cat conftest1`
4194  else  else
# Line 4181  EOF Line 4221  EOF
4221  fi  fi
4222    
4223  echo $ac_n "checking "finding default linker script"""... $ac_c" 1>&6  echo $ac_n "checking "finding default linker script"""... $ac_c" 1>&6
4224  echo "configure:4185: checking "finding default linker script"" >&5  echo "configure:4225: checking "finding default linker script"" >&5
4225  touch unixport/gcl.script  touch unixport/gcl.script
4226  echo "int main() {return 0;}" >foo.c  echo "int main() {return 0;}" >foo.c
4227  $CC -Wl,--verbose foo.c -o foo 2>&1 | \  $CC -Wl,--verbose foo.c -o foo 2>&1 | \
# Line 4190  rm -rf foo.c foo Line 4230  rm -rf foo.c foo
4230  if test "`cat gcl.script | wc -l`" != "0" ; then  if test "`cat gcl.script | wc -l`" != "0" ; then
4231    echo "$ac_t""got it" 1>&6    echo "$ac_t""got it" 1>&6
4232    echo $ac_n "checking "trying to lower heap start"""... $ac_c" 1>&6    echo $ac_n "checking "trying to lower heap start"""... $ac_c" 1>&6
4233  echo "configure:4194: checking "trying to lower heap start"" >&5  echo "configure:4234: checking "trying to lower heap start"" >&5
4234    cp gcl.script gcl.script.def    cp gcl.script gcl.script.def
4235    cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print} | sed 's,. = 0x10000000;,/*. = 0x10000000;*/,1'' >gcl.script    cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print}' |  sed 's,\. = 0x10000000;,/*. = 0x10000000;*/,1' >gcl.script
4236    if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then    if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then
4237       echo "$ac_t"""cannot or not needed"" 1>&6       echo "$ac_t"""cannot or not needed"" 1>&6
4238       rm -f gcl.script gcl.script.def       rm -f gcl.script gcl.script.def
4239    else    else
4240       echo $ac_n "checking "linker script"""... $ac_c" 1>&6       echo $ac_n "checking "linker script"""... $ac_c" 1>&6
4241  echo "configure:4202: checking "linker script"" >&5  echo "configure:4242: checking "linker script"" >&5
4242       echo "int main() {return 0;}" >foo.c       echo "int main() {return 0;}" >foo.c
4243       if $CC -Wl,-T gcl.script foo.c -o foo >/dev/null 2>&1 && ./foo >/dev/null 2>&1 ; then       if $CC -Wl,-T gcl.script foo.c -o foo >/dev/null 2>&1 && ./foo >/dev/null 2>&1 ; then
4244            echo "$ac_t"""done"" 1>&6            echo "$ac_t"""done"" 1>&6
# Line 4219  fi Line 4259  fi
4259  old_LDFLAGS="$LDFLAGS"  old_LDFLAGS="$LDFLAGS"
4260  LDFLAGS="$LDFLAGS $TLDFLAGS"  LDFLAGS="$LDFLAGS $TLDFLAGS"
4261  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
4262  echo "configure:4223: checking "finding DBEGIN"" >&5  echo "configure:4263: checking "finding DBEGIN"" >&5
4263  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4264    dbegin=0    dbegin=0
4265  else  else
4266    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4267  #line 4228 "configure"  #line 4268 "configure"
4268  #include "confdefs.h"  #include "confdefs.h"
4269  #include <stdio.h>  #include <stdio.h>
4270              #include <stdlib.h>              #include <stdlib.h>
# Line 4263  if (!syscall(SYS_personality,PER_LINUX)) Line 4303  if (!syscall(SYS_personality,PER_LINUX))
4303    return 0;    return 0;
4304  }  }
4305  EOF  EOF
4306  if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4307  then  then
4308    dbegin=`cat conftest1`    dbegin=`cat conftest1`
4309  else  else
# Line 4285  echo "$ac_t""got $dbegin" 1>&6 Line 4325  echo "$ac_t""got $dbegin" 1>&6
4325  LDFLAGS="$old_LDFLAGS"  LDFLAGS="$old_LDFLAGS"
4326    
4327  echo $ac_n "checking "for heap shared library heap ceiling"""... $ac_c" 1>&6  echo $ac_n "checking "for heap shared library heap ceiling"""... $ac_c" 1>&6
4328  echo "configure:4289: checking "for heap shared library heap ceiling"" >&5  echo "configure:4329: checking "for heap shared library heap ceiling"" >&5
4329  echo "int main() {return 0;}" >foo.c  echo "int main() {return 0;}" >foo.c
4330  $CC foo.c -o foo  $CC foo.c -o foo
4331  heap_ceiling=`ldd foo | tail -n 1 | awk '{print $NF}' | tr -d '()'`  heap_ceiling=`ldd foo | tail -n 1 | awk '{print $NF}' | tr -d '()'`
# Line 4298  EOF Line 4338  EOF
4338    
4339  # pagewidth  # pagewidth
4340  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
4341  echo "configure:4302: checking for pagewidth" >&5  echo "configure:4342: checking for pagewidth" >&5
4342  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4343    PAGEWIDTH=0    PAGEWIDTH=0
4344  else  else
4345    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4346  #line 4307 "configure"  #line 4347 "configure"
4347  #include "confdefs.h"  #include "confdefs.h"
4348  #include <stdio.h>  #include <stdio.h>
4349              #include <unistd.h>              #include <unistd.h>
# Line 4313  int main() {size_t i=getpagesize(),j; Line 4353  int main() {size_t i=getpagesize(),j;
4353              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
4354              return 0;}              return 0;}
4355  EOF  EOF
4356  if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4357  then  then
4358    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
4359  else  else
# Line 4333  EOF Line 4373  EOF
4373    
4374    
4375  echo $ac_n "checking "for maxpage revision"""... $ac_c" 1>&6  echo $ac_n "checking "for maxpage revision"""... $ac_c" 1>&6
4376  echo "configure:4337: checking "for maxpage revision"" >&5  echo "configure:4377: checking "for maxpage revision"" >&5
4377  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4378    tmp_maxpage=0    tmp_maxpage=0
4379  else  else
4380    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4381  #line 4342 "configure"  #line 4382 "configure"
4382  #include "confdefs.h"  #include "confdefs.h"
4383  #include <stdio.h>  #include <stdio.h>
4384  main()  main()
# Line 4356  main() Line 4396  main()
4396    return 0;    return 0;
4397  }  }
4398  EOF  EOF
4399  if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4400  then  then
4401    tmp_maxpage=`cat conftest1`    tmp_maxpage=`cat conftest1`
4402  else  else
# Line 4381  EOF Line 4421  EOF
4421    
4422    
4423  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
4424  echo "configure:4385: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:4425: checking "finding CSTACK_ADDRESS"" >&5
4425  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4426    cstack_address=0    cstack_address=0
4427  else  else
4428    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4429  #line 4390 "configure"  #line 4430 "configure"
4430  #include "confdefs.h"  #include "confdefs.h"
4431  #include <stdio.h>  #include <stdio.h>
4432  main()  main()
# Line 4402  main() Line 4442  main()
4442    return 0;    return 0;
4443  }  }
4444  EOF  EOF
4445  if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4446  then  then
4447    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
4448  else  else
# Line 4421  EOF Line 4461  EOF
4461  echo "$ac_t""got $cstack_address" 1>&6  echo "$ac_t""got $cstack_address" 1>&6
4462    
4463  echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6
4464  echo "configure:4425: checking "finding CSTACK_ALIGNMENT"" >&5  echo "configure:4465: checking "finding CSTACK_ALIGNMENT"" >&5
4465  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4466    cstack_alignment=0    cstack_alignment=0
4467  else  else
4468    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4469  #line 4430 "configure"  #line 4470 "configure"
4470  #include "confdefs.h"  #include "confdefs.h"
4471  #include <stdio.h>  #include <stdio.h>
4472  main()  main()
# Line 4443  main() Line 4483  main()
4483    return 0;    return 0;
4484  }  }
4485  EOF  EOF
4486  if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4487  then  then
4488    cstack_alignment=`cat conftest1`    cstack_alignment=`cat conftest1`
4489  else  else
# Line 4463  EOF Line 4503  EOF
4503  echo "$ac_t""got $cstack_alignment" 1>&6  echo "$ac_t""got $cstack_alignment" 1>&6
4504    
4505  echo $ac_n "checking "finding CSTACK_DIRECTION"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_DIRECTION"""... $ac_c" 1>&6
4506  echo "configure:4467: checking "finding CSTACK_DIRECTION"" >&5  echo "configure:4507: checking "finding CSTACK_DIRECTION"" >&5
4507  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4508    cstack_direction=0    cstack_direction=0
4509  else  else
4510    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4511  #line 4472 "configure"  #line 4512 "configure"
4512  #include "confdefs.h"  #include "confdefs.h"
4513  #include <stdio.h>  #include <stdio.h>
4514  void *  void *
# Line 4487  main() Line 4527  main()
4527    return 0;    return 0;
4528  }  }
4529  EOF  EOF
4530  if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4531  then  then
4532    cstack_direction=`cat conftest1`    cstack_direction=`cat conftest1`
4533  else  else
# Line 4507  EOF Line 4547  EOF
4547  echo "$ac_t""got $cstack_direction" 1>&6  echo "$ac_t""got $cstack_direction" 1>&6
4548    
4549  echo $ac_n "checking "for C stack size floor from heap """... $ac_c" 1>&6  echo $ac_n "checking "for C stack size floor from heap """... $ac_c" 1>&6
4550  echo "configure:4511: checking "for C stack size floor from heap "" >&5  echo "configure:4551: checking "for C stack size floor from heap "" >&5
4551  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4552    tmp_cssize=0    tmp_cssize=0
4553  else  else
4554    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4555  #line 4516 "configure"  #line 4556 "configure"
4556  #include "confdefs.h"  #include "confdefs.h"
4557  #include <stdio.h>  #include <stdio.h>
4558  int  int
# Line 4532  main() Line 4572  main()
4572    return 0;    return 0;
4573  }  }
4574  EOF  EOF
4575  if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4576  then  then
4577    tmp_cssize=`cat conftest1`    tmp_cssize=`cat conftest1`
4578  else  else
# Line 4557  EOF Line 4597  EOF
4597    
4598    
4599  echo $ac_n "checking "for C stack size limit from fixnum table """... $ac_c" 1>&6  echo $ac_n "checking "for C stack size limit from fixnum table """... $ac_c" 1>&6
4600  echo "configure:4561: checking "for C stack size limit from fixnum table "" >&5  echo "configure:4601: checking "for C stack size limit from fixnum table "" >&5
4601  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4602    tmp_cssize=0    tmp_cssize=0
4603  else  else
4604    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4605  #line 4566 "configure"  #line 4606 "configure"
4606  #include "confdefs.h"  #include "confdefs.h"
4607  #include <stdio.h>  #include <stdio.h>
4608  int  int
# Line 4584  main() Line 4624  main()
4624    return 0;    return 0;
4625  }  }
4626  EOF  EOF
4627  if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4628  then  then
4629    tmp_cssize=`cat conftest1`    tmp_cssize=`cat conftest1`
4630  else  else
# Line 4610  EOF Line 4650  EOF
4650  cstack_top=0  cstack_top=0
4651  cstack_range=0  cstack_range=0
4652  echo $ac_n "checking "finding cstack top"""... $ac_c" 1>&6  echo $ac_n "checking "finding cstack top"""... $ac_c" 1>&6
4653  echo "configure:4614: checking "finding cstack top"" >&5  echo "configure:4654: checking "finding cstack top"" >&5
4654  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4655    cstack_top=0    cstack_top=0
4656  else  else
4657    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4658  #line 4619 "configure"  #line 4659 "configure"
4659  #include "confdefs.h"  #include "confdefs.h"
4660  #include <stdio.h>  #include <stdio.h>
4661  int  int
# Line 4632  main() Line 4672  main()
4672    return 0;    return 0;
4673  }  }
4674  EOF  EOF
4675  if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4676  then  then
4677    cstack_top=`cat conftest1`    cstack_top=`cat conftest1`
4678  else  else
# Line 4647  fi Line 4687  fi
4687  echo "$ac_t""got $cstack_top" 1>&6  echo "$ac_t""got $cstack_top" 1>&6
4688  if test "$cstack_top" != "0" ; then  if test "$cstack_top" != "0" ; then
4689     echo $ac_n "checking "finding over cstack half range"""... $ac_c" 1>&6     echo $ac_n "checking "finding over cstack half range"""... $ac_c" 1>&6
4690  echo "configure:4651: checking "finding over cstack half range"" >&5  echo "configure:4691: checking "finding over cstack half range"" >&5
4691     if test "$cross_compiling" = yes; then     if test "$cross_compiling" = yes; then
4692    cstack_range=0    cstack_range=0
4693  else  else
4694    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4695  #line 4656 "configure"  #line 4696 "configure"
4696  #include "confdefs.h"  #include "confdefs.h"
4697  #include <stdio.h>  #include <stdio.h>
4698     int     int
# Line 4667  else Line 4707  else
4707       return 0;       return 0;
4708     }     }
4709  EOF  EOF
4710  if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4711  then  then
4712    cstack_range=`cat conftest1`    cstack_range=`cat conftest1`
4713  else  else
# Line 4709  fi Line 4749  fi
4749    
4750    
4751  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
4752  echo "configure:4713: checking "sizeof long long int"" >&5  echo "configure:4753: checking "sizeof long long int"" >&5
4753  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4754    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4755    
4756  else  else
4757    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4758  #line 4719 "configure"  #line 4759 "configure"
4759  #include "confdefs.h"  #include "confdefs.h"
4760  #include <stdio.h>  #include <stdio.h>
4761  main()  main()
# Line 4725  main() Line 4765  main()
4765  }  }
4766    
4767  EOF  EOF
4768  if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4769  then  then
4770    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4771  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 4785  FLISP="saved_$SYSTEM" Line 4825  FLISP="saved_$SYSTEM"
4825  for ac_func in getcwd  for ac_func in getcwd
4826  do  do
4827  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4828  echo "configure:4789: checking for $ac_func" >&5  echo "configure:4829: checking for $ac_func" >&5
4829  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4830    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4831  else  else
4832    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4833  #line 4794 "configure"  #line 4834 "configure"
4834  #include "confdefs.h"  #include "confdefs.h"
4835  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4836      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4813  $ac_func(); Line 4853  $ac_func();
4853    
4854  ; return 0; }  ; return 0; }
4855  EOF  EOF
4856  if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4857    rm -rf conftest*    rm -rf conftest*
4858    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4859  else  else
# Line 4840  done Line 4880  done
4880  for ac_func in getwd  for ac_func in getwd
4881  do  do
4882  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4883  echo "configure:4844: checking for $ac_func" >&5  echo "configure:4884: checking for $ac_func" >&5
4884  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4885    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4886  else  else
4887    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4888  #line 4849 "configure"  #line 4889 "configure"
4889  #include "confdefs.h"  #include "confdefs.h"
4890  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4891      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4868  $ac_func(); Line 4908  $ac_func();
4908    
4909  ; return 0; }  ; return 0; }
4910  EOF  EOF
4911  if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4912    rm -rf conftest*    rm -rf conftest*
4913    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4914  else  else
# Line 4893  fi Line 4933  fi
4933  done  done
4934    
4935  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
4936  echo "configure:4897: checking for uname" >&5  echo "configure:4937: checking for uname" >&5
4937  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4938    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4939  else  else
4940    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4941  #line 4902 "configure"  #line 4942 "configure"
4942  #include "confdefs.h"  #include "confdefs.h"
4943  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4944      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 4921  uname(); Line 4961  uname();
4961    
4962  ; return 0; }  ; return 0; }
4963  EOF  EOF
4964  if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4965    rm -rf conftest*    rm -rf conftest*
4966    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
4967  else  else
# Line 4945  EOF Line 4985  EOF
4985  fi  fi
4986    
4987  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4988  echo "configure:4949: checking for gettimeofday" >&5  echo "configure:4989: checking for gettimeofday" >&5
4989  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4990    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4991  else  else
4992    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4993  #line 4954 "configure"  #line 4994 "configure"
4994  #include "confdefs.h"  #include "confdefs.h"
4995  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4996      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4973  gettimeofday(); Line 5013  gettimeofday();
5013    
5014  ; return 0; }  ; return 0; }
5015  EOF  EOF
5016  if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5017    rm -rf conftest*    rm -rf conftest*
5018    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
5019  else  else
# Line 5002  for ac_hdr in sys/ioctl.h Line 5042  for ac_hdr in sys/ioctl.h
5042  do  do
5043  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5044  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5045  echo "configure:5006: checking for $ac_hdr" >&5  echo "configure:5046: checking for $ac_hdr" >&5
5046  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5047    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5048  else  else
5049    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5050  #line 5011 "configure"  #line 5051 "configure"
5051  #include "confdefs.h"  #include "confdefs.h"
5052  #include <$ac_hdr>  #include <$ac_hdr>
5053  EOF  EOF
5054  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5055  { (eval echo configure:5016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5056  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5057  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5058    rm -rf conftest*    rm -rf conftest*
# Line 5044  for ac_hdr in elf.h elf_abi.h Line 5084  for ac_hdr in elf.h elf_abi.h
5084  do  do
5085  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5086  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5087  echo "configure:5048: checking for $ac_hdr" >&5  echo "configure:5088: checking for $ac_hdr" >&5
5088  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5089    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5090  else  else
5091    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5092  #line 5053 "configure"  #line 5093 "configure"
5093  #include "confdefs.h"  #include "confdefs.h"
5094  #include <$ac_hdr>  #include <$ac_hdr>
5095  EOF  EOF
5096  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5097  { (eval echo configure:5058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5098  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5099  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5100    rm -rf conftest*    rm -rf conftest*
# Line 5094  done Line 5134  done
5134  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5135    
5136  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
5137  echo "configure:5098: checking for BSDgettimeofday" >&5  echo "configure:5138: checking for BSDgettimeofday" >&5
5138  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
5139    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5140  else  else
5141    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5142  #line 5103 "configure"  #line 5143 "configure"
5143  #include "confdefs.h"  #include "confdefs.h"
5144  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5145      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 5122  BSDgettimeofday(); Line 5162  BSDgettimeofday();
5162    
5163  ; return 0; }  ; return 0; }
5164  EOF  EOF
5165  if { (eval echo configure:5126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5166    rm -rf conftest*    rm -rf conftest*
5167    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
5168  else  else
# Line 5143  EOF Line 5183  EOF
5183  else  else
5184    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5185  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
5186  echo "configure:5147: checking for gettimeofday" >&5  echo "configure:5187: checking for gettimeofday" >&5
5187  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
5188    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5189  else  else
5190    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5191  #line 5152 "configure"  #line 5192 "configure"
5192  #include "confdefs.h"  #include "confdefs.h"
5193  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5194      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 5171  gettimeofday(); Line 5211  gettimeofday();
5211    
5212  ; return 0; }  ; return 0; }
5213  EOF  EOF
5214  if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5215    rm -rf conftest*    rm -rf conftest*
5216    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
5217  else  else
# Line 5198  fi Line 5238  fi
5238    
5239    
5240  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
5241  echo "configure:5202: checking for gettimeofday declaration" >&5  echo "configure:5242: checking for gettimeofday declaration" >&5
5242    
5243  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5244  #line 5205 "configure"  #line 5245 "configure"
5245  #include "confdefs.h"  #include "confdefs.h"
5246  #include <sys/time.h>  #include <sys/time.h>
5247  EOF  EOF
# Line 5222  rm -f conftest* Line 5262  rm -f conftest*
5262    
5263    
5264  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5265  echo "configure:5226: checking for sin in -lm" >&5  echo "configure:5266: checking for sin in -lm" >&5
5266  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5267  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
5268    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5230  else Line 5270  else
5270    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5271  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
5272  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5273  #line 5234 "configure"  #line 5274 "configure"
5274  #include "confdefs.h"  #include "confdefs.h"
5275  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5276  /* 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 5241  int main() { Line 5281  int main() {
5281  sin()  sin()
5282  ; return 0; }  ; return 0; }
5283  EOF  EOF
5284  if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5285    rm -rf conftest*    rm -rf conftest*
5286    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5287  else  else
# Line 5263  true Line 5303  true
5303  fi  fi
5304    
5305  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
5306  echo "configure:5267: checking for main in -lmingwex" >&5  echo "configure:5307: checking for main in -lmingwex" >&5
5307  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
5308  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
5309    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5271  else Line 5311  else
5311    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5312  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
5313  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5314  #line 5275 "configure"  #line 5315 "configure"
5315  #include "confdefs.h"  #include "confdefs.h"
5316    
5317  int main() {  int main() {
5318  main()  main()
5319  ; return 0; }  ; return 0; }
5320  EOF  EOF
5321  if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5322    rm -rf conftest*    rm -rf conftest*
5323    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5324  else  else
# Line 5306  if test "$try_japi" = "yes" ; then Line 5346  if test "$try_japi" = "yes" ; then
5346  do  do
5347  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5348  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5349  echo "configure:5310: checking for $ac_hdr" >&5  echo "configure:5350: checking for $ac_hdr" >&5
5350  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5351    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5352  else  else
5353    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5354  #line 5315 "configure"  #line 5355 "configure"
5355  #include "confdefs.h"  #include "confdefs.h"
5356  #include <$ac_hdr>  #include <$ac_hdr>
5357  EOF  EOF
5358  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5359  { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5360  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5361  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5362    rm -rf conftest*    rm -rf conftest*
# Line 5354  if test "$use" = "mingw" ; then Line 5394  if test "$use" = "mingw" ; then
5394  do  do
5395  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5396  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5397  echo "configure:5358: checking for $ac_hdr" >&5  echo "configure:5398: checking for $ac_hdr" >&5
5398  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5399    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5400  else  else
5401    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5402  #line 5363 "configure"  #line 5403 "configure"
5403  #include "confdefs.h"  #include "confdefs.h"
5404  #include <$ac_hdr>  #include <$ac_hdr>
5405  EOF  EOF
5406  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5407  { (eval echo configure:5368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5408  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5409  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5410    rm -rf conftest*    rm -rf conftest*
# Line 5401  else Line 5441  else
5441  do  do
5442  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5443  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5444  echo "configure:5405: checking for $ac_hdr" >&5  echo "configure:5445: checking for $ac_hdr" >&5
5445  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5446    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5447  else  else
5448    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5449  #line 5410 "configure"  #line 5450 "configure"
5450  #include "confdefs.h"  #include "confdefs.h"
5451  #include <$ac_hdr>  #include <$ac_hdr>
5452  EOF  EOF
5453  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5454  { (eval echo configure:5415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5455  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5456  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5457    rm -rf conftest*    rm -rf conftest*
# Line 5451  for ac_hdr in math.h Line 5491  for ac_hdr in math.h
5491  do  do
5492  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5493  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5494  echo "configure:5455: checking for $ac_hdr" >&5  echo "configure:5495: checking for $ac_hdr" >&5
5495  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5496    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5497  else  else
5498    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5499  #line 5460 "configure"  #line 5500 "configure"
5500  #include "confdefs.h"  #include "confdefs.h"
5501  #include <$ac_hdr>  #include <$ac_hdr>
5502  EOF  EOF
5503  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5504  { (eval echo configure:5465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5505  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5506  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5507    rm -rf conftest*    rm -rf conftest*
# Line 5498  for ac_hdr in values.h Line 5538  for ac_hdr in values.h
5538  do  do
5539  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5540  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5541  echo "configure:5502: checking for $ac_hdr" >&5  echo "configure:5542: checking for $ac_hdr" >&5
5542  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5543    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5544  else  else
5545    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5546  #line 5507 "configure"  #line 5547 "configure"
5547  #include "confdefs.h"  #include "confdefs.h"
5548  #include <$ac_hdr>  #include <$ac_hdr>
5549  EOF  EOF
5550  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5551  { (eval echo configure:5512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5552  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5553  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5554    rm -rf conftest*    rm -rf conftest*
# Line 5545  for ac_hdr in float.h Line 5585  for ac_hdr in float.h
5585  do  do
5586  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5587  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5588  echo "configure:5549: checking for $ac_hdr" >&5  echo "configure:5589: checking for $ac_hdr" >&5
5589  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5590    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5591  else  else
5592    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5593  #line 5554 "configure"  #line 5594 "configure"
5594  #include "confdefs.h"  #include "confdefs.h"
5595  #include <$ac_hdr>  #include <$ac_hdr>
5596  EOF  EOF
5597  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5598  { (eval echo configure:5559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5599  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5600  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5601    rm -rf conftest*    rm -rf conftest*
# Line 5591  done Line 5631  done
5631  # test makes sense.  CM  # test makes sense.  CM
5632  #  #
5633  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
5634  echo "configure:5595: checking for isnormal" >&5  echo "configure:5635: checking for isnormal" >&5
5635  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5636    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
5637  else  else
5638    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5639  #line 5600 "configure"  #line 5640 "configure"
5640  #include "confdefs.h"  #include "confdefs.h"
5641  #define _GNU_SOURCE  #define _GNU_SOURCE
5642              #include <math.h>              #include <math.h>
# Line 5605  else Line 5645  else
5645                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
5646                  }                  }
5647  EOF  EOF
5648  if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5649  then  then
5650    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5651  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 5616  else Line 5656  else
5656    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5657    rm -fr conftest*    rm -fr conftest*
5658    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
5659  echo "configure:5620: checking for fpclass in ieeefp.h" >&5  echo "configure:5660: checking for fpclass in ieeefp.h" >&5
5660                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5661    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
5662  else  else
5663    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5664  #line 5625 "configure"  #line 5665 "configure"
5665  #include "confdefs.h"  #include "confdefs.h"
5666  #include <ieeefp.h>  #include <ieeefp.h>
5667                              int main() {                              int main() {
# Line 5629  else Line 5669  else
5669                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
5670                                  }                                  }
5671  EOF  EOF
5672  if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5673  then  then
5674    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5675  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 5651  fi Line 5691  fi
5691    
5692    
5693  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
5694  echo "configure:5655: checking for isfinite" >&5  echo "configure:5695: checking for isfinite" >&5
5695  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5696    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
5697  else  else
5698    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5699  #line 5660 "configure"  #line 5700 "configure"
5700  #include "confdefs.h"  #include "confdefs.h"
5701  #define _GNU_SOURCE  #define _GNU_SOURCE
5702              #include <math.h>              #include <math.h>
# Line 5665  else Line 5705  else
5705                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
5706                  }                  }
5707  EOF  EOF
5708  if { (eval echo configure:5669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5709  then  then
5710    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5711  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 5676  else Line 5716  else
5716    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5717    rm -fr conftest*    rm -fr conftest*
5718    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
5719  echo "configure:5680: checking for finite()" >&5  echo "configure:5720: checking for finite()" >&5
5720                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5721    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
5722  else  else
5723    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5724  #line 5685 "configure"  #line 5725 "configure"
5725  #include "confdefs.h"  #include "confdefs.h"
5726  #include <math.h>  #include <math.h>
5727                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 5690  else Line 5730  else
5730                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
5731                                  }                                  }
5732  EOF  EOF
5733  if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5734  then  then
5735    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5736  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 5731  fi Line 5771  fi
5771  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
5772  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5773  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
5774  echo "configure:5735: checking for sockets" >&5  echo "configure:5775: checking for sockets" >&5
5775  tcl_checkBoth=0  tcl_checkBoth=0
5776  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
5777  echo "configure:5738: checking for connect" >&5  echo "configure:5778: checking for connect" >&5
5778  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
5779    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5780  else  else
5781    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5782  #line 5743 "configure"  #line 5783 "configure"
5783  #include "confdefs.h"  #include "confdefs.h"
5784  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5785      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 5762  connect(); Line 5802  connect();
5802    
5803  ; return 0; }  ; return 0; }
5804  EOF  EOF
5805  if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5806    rm -rf conftest*    rm -rf conftest*
5807    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
5808  else  else
# Line 5784  fi Line 5824  fi
5824    
5825  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
5826      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
5827  echo "configure:5788: checking for main in -lsocket" >&5  echo "configure:5828: checking for main in -lsocket" >&5
5828  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
5829  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
5830    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5792  else Line 5832  else
5832    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5833  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5834  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5835  #line 5796 "configure"  #line 5836 "configure"
5836  #include "confdefs.h"  #include "confdefs.h"
5837    
5838  int main() {  int main() {
5839  main()  main()
5840  ; return 0; }  ; return 0; }
5841  EOF  EOF
5842  if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5843    rm -rf conftest*    rm -rf conftest*
5844    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5845  else  else
# Line 5827  if test "$tcl_checkBoth" = 1; then Line 5867  if test "$tcl_checkBoth" = 1; then
5867      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
5868      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
5869      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
5870  echo "configure:5831: checking for accept" >&5  echo "configure:5871: checking for accept" >&5
5871  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
5872    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5873  else  else
5874    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5875  #line 5836 "configure"  #line 5876 "configure"
5876  #include "confdefs.h"  #include "confdefs.h"
5877  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5878      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 5855  accept(); Line 5895  accept();
5895    
5896  ; return 0; }  ; return 0; }
5897  EOF  EOF
5898  if { (eval echo configure:5859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5899    rm -rf conftest*    rm -rf conftest*
5900    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
5901  else  else
# Line 5877  fi Line 5917  fi
5917    
5918  fi  fi
5919  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5920  echo "configure:5881: checking for gethostbyname" >&5  echo "configure:5921: checking for gethostbyname" >&5
5921  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
5922    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5923  else  else
5924    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5925  #line 5886 "configure"  #line 5926 "configure"
5926  #include "confdefs.h"  #include "confdefs.h"
5927  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5928      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 5905  gethostbyname(); Line 5945  gethostbyname();
5945    
5946  ; return 0; }  ; return 0; }
5947  EOF  EOF
5948  if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5949    rm -rf conftest*    rm -rf conftest*
5950    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
5951  else  else
# Line 5923  if eval "test \"`echo '$ac_cv_func_'geth Line 5963  if eval "test \"`echo '$ac_cv_func_'geth
5963  else  else
5964    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5965  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
5966  echo "configure:5927: checking for main in -lnsl" >&5  echo "configure:5967: checking for main in -lnsl" >&5
5967  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
5968  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
5969    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5931  else Line 5971  else
5971    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5972  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5973  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5974  #line 5935 "configure"  #line 5975 "configure"
5975  #include "confdefs.h"  #include "confdefs.h"
5976    
5977  int main() {  int main() {
5978  main()  main()
5979  ; return 0; }  ; return 0; }
5980  EOF  EOF
5981  if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5982    rm -rf conftest*    rm -rf conftest*
5983    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5984  else  else
# Line 5968  if test "$enable_readline" = "yes" ; the Line 6008  if test "$enable_readline" = "yes" ; the
6008  do  do
6009  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6010  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6011  echo "configure:5972: checking for $ac_hdr" >&5  echo "configure:6012: checking for $ac_hdr" >&5
6012  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6013    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6014  else  else
6015    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6016  #line 5977 "configure"  #line 6017 "configure"
6017  #include "confdefs.h"  #include "confdefs.h"
6018  #include <$ac_hdr>  #include <$ac_hdr>
6019  EOF  EOF
6020  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6021  { (eval echo configure:5982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6022  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6023  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6024    rm -rf conftest*    rm -rf conftest*
# Line 5999  if eval "test \"`echo '$ac_cv_header_'$a Line 6039  if eval "test \"`echo '$ac_cv_header_'$a
6039  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
6040  EOF  EOF
6041   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
6042  echo "configure:6003: checking for main in -lreadline" >&5  echo "configure:6043: checking for main in -lreadline" >&5
6043  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
6044  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
6045    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6007  else Line 6047  else
6047    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6048  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
6049  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6050  #line 6011 "configure"  #line 6051 "configure"
6051  #include "confdefs.h"  #include "confdefs.h"
6052    
6053  int main() {  int main() {
6054  main()  main()
6055  ; return 0; }  ; return 0; }
6056  EOF  EOF
6057  if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6058    rm -rf conftest*    rm -rf conftest*
6059    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6060  else  else
# Line 6051  done Line 6091  done
6091    
6092  # These tests discover differences between readline 4.1 and 4.3  # These tests discover differences between readline 4.1 and 4.3
6093          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
6094  echo "configure:6055: checking for rl_completion_matches in -lreadline" >&5  echo "configure:6095: checking for rl_completion_matches in -lreadline" >&5
6095  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
6096  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
6097    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6059  else Line 6099  else
6099    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6100  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
6101  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6102  #line 6063 "configure"  #line 6103 "configure"
6103  #include "confdefs.h"  #include "confdefs.h"
6104  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6105  /* 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 6070  int main() { Line 6110  int main() {
6110  rl_completion_matches()  rl_completion_matches()
6111  ; return 0; }  ; return 0; }
6112  EOF  EOF
6113  if { (eval echo configure:6074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6114    rm -rf conftest*    rm -rf conftest*
6115    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6116  else  else
# Line 6103  fi Line 6143  fi
6143    
6144    
6145  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
6146  echo "configure:6107: checking For network code for nsocket.c" >&5  echo "configure:6147: checking For network code for nsocket.c" >&5
6147  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6148  #line 6109 "configure"  #line 6149 "configure"
6149  #include "confdefs.h"  #include "confdefs.h"
6150    
6151  #include <sys/time.h>  #include <sys/time.h>
# Line 6132  int main() { Line 6172  int main() {
6172                    
6173  ; return 0; }  ; return 0; }
6174  EOF  EOF
6175  if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6176    rm -rf conftest*    rm -rf conftest*
6177    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6178  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 6149  rm -f conftest* Line 6189  rm -f conftest*
6189    
6190    
6191  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
6192  echo "configure:6153: checking check for listen using fcntl" >&5  echo "configure:6193: checking check for listen using fcntl" >&5
6193  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6194  #line 6155 "configure"  #line 6195 "configure"
6195  #include "confdefs.h"  #include "confdefs.h"
6196  #include <stdio.h>  #include <stdio.h>
6197  #include <fcntl.h>  #include <fcntl.h>
# Line 6164  FILE *fp=fopen("configure.in","r"); Line 6204  FILE *fp=fopen("configure.in","r");
6204    
6205  ; return 0; }  ; return 0; }
6206  EOF  EOF
6207  if { (eval echo configure:6168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6208    rm -rf conftest*    rm -rf conftest*
6209    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6210  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 6183  rm -f conftest* Line 6223  rm -f conftest*
6223    
6224    
6225  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
6226  echo "configure:6187: checking for profil" >&5  echo "configure:6227: checking for profil" >&5
6227  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
6228    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6229  else  else
6230    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6231  #line 6192 "configure"  #line 6232 "configure"
6232  #include "confdefs.h"  #include "confdefs.h"
6233  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6234      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 6211  profil(); Line 6251  profil();
6251    
6252  ; return 0; }  ; return 0; }
6253  EOF  EOF
6254  if { (eval echo configure:6215: \"$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_func_profil=yes"    eval "ac_cv_func_profil=yes"
6257  else  else
# Line 6236  fi Line 6276  fi
6276    
6277    
6278  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
6279  echo "configure:6240: checking for setenv" >&5  echo "configure:6280: checking for setenv" >&5
6280  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
6281    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6282  else  else
6283    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6284  #line 6245 "configure"  #line 6285 "configure"
6285  #include "confdefs.h"  #include "confdefs.h"
6286  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6287      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 6264  setenv(); Line 6304  setenv();
6304    
6305  ; return 0; }  ; return 0; }
6306  EOF  EOF
6307  if { (eval echo configure:6268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6308    rm -rf conftest*    rm -rf conftest*
6309    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
6310  else  else
# Line 6290  fi Line 6330  fi
6330    
6331  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
6332  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
6333  echo "configure:6294: checking for putenv" >&5  echo "configure:6334: checking for putenv" >&5
6334  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
6335    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6336  else  else
6337    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6338  #line 6299 "configure"  #line 6339 "configure"
6339  #include "confdefs.h"  #include "confdefs.h"
6340  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6341      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 6318  putenv(); Line 6358  putenv();
6358    
6359  ; return 0; }  ; return 0; }
6360  EOF  EOF
6361  if { (eval echo configure:6322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6362    rm -rf conftest*    rm -rf conftest*
6363    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
6364  else  else
# Line 6344  fi Line 6384  fi
6384  fi  fi
6385    
6386  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
6387  echo "configure:6348: checking for _cleanup" >&5  echo "configure:6388: checking for _cleanup" >&5
6388  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
6389    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6390  else  else
6391    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6392  #line 6353 "configure"  #line 6393 "configure"
6393  #include "confdefs.h"  #include "confdefs.h"
6394  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6395      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 6372  _cleanup(); Line 6412  _cleanup();
6412    
6413  ; return 0; }  ; return 0; }
6414  EOF  EOF
6415  if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6416    rm -rf conftest*    rm -rf conftest*
6417    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
6418  else  else
# Line 6398  fi Line 6438  fi
6438  gcl_ok=no  gcl_ok=no
6439    
6440  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6441  #line 6402 "configure"  #line 6442 "configure"
6442  #include "confdefs.h"  #include "confdefs.h"
6443  #include <ctype.h>  #include <ctype.h>
6444  EOF  EOF
# Line 6426  fi Line 6466  fi
6466    
6467  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
6468  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
6469  echo "configure:6430: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:6470: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
6470    
6471  case $system in  case $system in
6472         OSF*)         OSF*)
# Line 6457  esac Line 6497  esac
6497    
6498    
6499  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
6500  echo "configure:6461: checking check for SV_ONSTACK" >&5  echo "configure:6501: checking check for SV_ONSTACK" >&5
6501  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6502  #line 6463 "configure"  #line 6503 "configure"
6503  #include "confdefs.h"  #include "confdefs.h"
6504  #include <signal.h>  #include <signal.h>
6505  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 6468  int main() { Line 6508  int main() {
6508    
6509  ; return 0; }  ; return 0; }
6510  EOF  EOF
6511  if { (eval echo configure:6472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6512    rm -rf conftest*    rm -rf conftest*
6513    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6514  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 6485  fi Line 6525  fi
6525  rm -f conftest*  rm -f conftest*
6526    
6527  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
6528  echo "configure:6489: checking check for SIGSYS" >&5  echo "configure:6529: checking check for SIGSYS" >&5
6529  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6530  #line 6491 "configure"  #line 6531 "configure"
6531  #include "confdefs.h"  #include "confdefs.h"
6532  #include <signal.h>  #include <signal.h>
6533  int joe=SIGSYS;  int joe=SIGSYS;
# Line 6496  int main() { Line 6536  int main() {
6536    
6537  ; return 0; }  ; return 0; }
6538  EOF  EOF
6539  if { (eval echo configure:6500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6540    rm -rf conftest*    rm -rf conftest*
6541    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6542  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 6514  rm -f conftest* Line 6554  rm -f conftest*
6554    
6555    
6556  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
6557  echo "configure:6518: checking check for SIGEMT" >&5  echo "configure:6558: checking check for SIGEMT" >&5
6558  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6559  #line 6520 "configure"  #line 6560 "configure"
6560  #include "confdefs.h"  #include "confdefs.h"
6561  #include <signal.h>  #include <signal.h>
6562  int joe=SIGEMT;  int joe=SIGEMT;
# Line 6525  int main() { Line 6565  int main() {
6565    
6566  ; return 0; }  ; return 0; }
6567  EOF  EOF
6568  if { (eval echo configure:6529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6569    rm -rf conftest*    rm -rf conftest*
6570    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6571  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 6549  rm -f conftest* Line 6589  rm -f conftest*
6589  do  do
6590  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6591  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6592  echo "configure:6553: checking for $ac_hdr" >&5  echo "configure:6593: checking for $ac_hdr" >&5
6593  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6594    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6595  else  else
6596    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6597  #line 6558 "configure"  #line 6598 "configure"
6598  #include "confdefs.h"  #include "confdefs.h"
6599  #include <$ac_hdr>  #include <$ac_hdr>
6600  EOF  EOF
6601  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6602  { (eval echo configure:6563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6603  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6604  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6605    rm -rf conftest*    rm -rf conftest*
# Line 6589  done Line 6629  done
6629  do  do
6630  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6631  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6632  echo "configure:6593: checking for $ac_hdr" >&5  echo "configure:6633: checking for $ac_hdr" >&5
6633  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6634    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6635  else  else
6636    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6637  #line 6598 "configure"  #line 6638 "configure"
6638  #include "confdefs.h"  #include "confdefs.h"
6639  #include <$ac_hdr>  #include <$ac_hdr>
6640  EOF  EOF
6641  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6642  { (eval echo configure:6603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6643  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6644  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6645    rm -rf conftest*    rm -rf conftest*
# Line 6626  fi Line 6666  fi
6666  done  done
6667    
6668          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6669  echo "configure:6630: checking for sigcontext..." >&5  echo "configure:6670: checking for sigcontext..." >&5
6670          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
6671  #line 6632 "configure"  #line 6672 "configure"
6672  #include "confdefs.h"  #include "confdefs.h"
6673  #include <signal.h>  #include <signal.h>
6674                
# Line 6638  int main() { Line 6678  int main() {
6678                
6679  ; return 0; }  ; return 0; }
6680  EOF  EOF
6681  if { (eval echo configure:6642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6682    rm -rf conftest*    rm -rf conftest*
6683        
6684          sigcontext_works=1;          sigcontext_works=1;
# Line 6659  fi Line 6699  fi
6699  rm -f conftest*  rm -f conftest*
6700         if test "$sigcontext_works" = 0 ; then         if test "$sigcontext_works" = 0 ; then
6701         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6702  echo "configure:6663: checking for sigcontext..." >&5  echo "configure:6703: checking for sigcontext..." >&5
6703         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6704  #line 6665 "configure"  #line 6705 "configure"
6705  #include "confdefs.h"  #include "confdefs.h"
6706  #include <signal.h>  #include <signal.h>
6707               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 6677  int main() { Line 6717  int main() {
6717                    
6718  ; return 0; }  ; return 0; }
6719  EOF  EOF
6720  if { (eval echo configure:6681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6721    rm -rf conftest*    rm -rf conftest*
6722        
6723          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
# Line 6719  rm -f conftest* Line 6759  rm -f conftest*
6759  # 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.
6760  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
6761  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6762  echo "configure:6723: checking for $ac_word" >&5  echo "configure:6763: checking for $ac_word" >&5
6763  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
6764    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6765  else  else
# Line 6767  cat >> conftest.el <<EOF Line 6807  cat >> conftest.el <<EOF
6807  EOF  EOF
6808    
6809  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
6810  echo "configure:6771: checking emacs site lisp directory" >&5  echo "configure:6811: checking emacs site lisp directory" >&5
6811  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
6812          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
6813                  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 6791  cat >> conftest.el <<EOF Line 6831  cat >> conftest.el <<EOF
6831  EOF  EOF
6832    
6833  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
6834  echo "configure:6795: checking emacs default.el" >&5  echo "configure:6835: checking emacs default.el" >&5
6835  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
6836          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 `
6837  else  else
# Line 6820  cat >> conftest.el <<EOF Line 6860  cat >> conftest.el <<EOF
6860  EOF  EOF
6861    
6862  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
6863  echo "configure:6824: checking emacs info/dir" >&5  echo "configure:6864: checking emacs info/dir" >&5
6864  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
6865      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
6866  else  else
# Line 6838  echo "$ac_t""$INFO_DIR" 1>&6 Line 6878  echo "$ac_t""$INFO_DIR" 1>&6
6878    
6879    
6880  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
6881  echo "configure:6842: checking for tcl/tk" >&5  echo "configure:6882: checking for tcl/tk" >&5
6882    
6883    
6884  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 6861  EOF Line 6901  EOF
6901  # 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.
6902  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
6903  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6904  echo "configure:6865: checking for $ac_word" >&5  echo "configure:6905: checking for $ac_word" >&5
6905  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
6906    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6907  else  else
# Line 6966  if test -f ${TK_CONFIG_PREFIX}/../bin/tc Line 7006  if test -f ${TK_CONFIG_PREFIX}/../bin/tc
7006     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}"
7007  else  else
7008    echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6    echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
7009  echo "configure:6970: checking for main in -llieee" >&5  echo "configure:7010: checking for main in -llieee" >&5
7010  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
7011  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
7012    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6974  else Line 7014  else
7014    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7015  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
7016  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7017  #line 6978 "configure"  #line 7018 "configure"
7018  #include "confdefs.h"  #include "confdefs.h"
7019    
7020  int main() {  int main() {
7021  main()  main()
7022  ; return 0; }  ; return 0; }
7023  EOF  EOF
7024  if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7025    rm -rf conftest*    rm -rf conftest*
7026    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7027  else  else
# Line 7048  NOTIFY=$enable_notify Line 7088  NOTIFY=$enable_notify
7088  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
7089    
7090  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
7091  echo "configure:7052: checking alloca" >&5  echo "configure:7092: checking alloca" >&5
7092  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
7093    gcl_ok=no    gcl_ok=no
7094  else  else
7095    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7096  #line 7057 "configure"  #line 7097 "configure"
7097  #include "confdefs.h"  #include "confdefs.h"
7098  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
7099  EOF  EOF
7100  if { (eval echo configure:7061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7101  then  then
7102    :    :
7103  else  else
# Line 7080  else Line 7120  else
7120    gcl_ok=no    gcl_ok=no
7121  else  else
7122    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7123  #line 7084 "configure"  #line 7124 "configure"
7124  #include "confdefs.h"  #include "confdefs.h"
7125  #include <alloca.h>  #include <alloca.h>
7126    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
7127  EOF  EOF
7128  if { (eval echo configure:7089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7129  then  then
7130    :    :
7131  else  else
# Line 7146  if test $gcl_ok = no ; then     echo "$a Line 7186  if test $gcl_ok = no ; then     echo "$a
7186  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
7187  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
7188  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
7189  echo "configure:7150: checking Checking for buggy gcc version from redhat" >&5  echo "configure:7190: checking Checking for buggy gcc version from redhat" >&5
7190  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
7191     then     then
7192          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.176

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