/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2 by camm, Sat Jan 15 19:17:17 2005 UTC revision 1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2.4.1 by camm, Fri Sep 30 02:19:18 2005 UTC
# Line 1028  case $use in Line 1028  case $use in
1028      *mingw*)      *mingw*)
1029          def_statsysbfd="no" ; def_custreloc="yes" ;;          def_statsysbfd="no" ; def_custreloc="yes" ;;
1030      powerpc-macosx)      powerpc-macosx)
1031          def_statsysbfd="no" ; def_locbfd="yes" ;;          def_statsysbfd="no" ; def_custreloc="yes" ;;
1032  esac  esac
1033    
1034  # Check whether --enable-dlopen or --disable-dlopen was given.  # Check whether --enable-dlopen or --disable-dlopen was given.
# Line 3878  fi Line 3878  fi
3878                    
3879          if test "$SBRK" != "$SBRK1" ; then          if test "$SBRK" != "$SBRK1" ; then
3880                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
3881                  echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6  #               AC_CHECK_HEADER(linux/personality.h, true,
3882  echo "configure:3883: checking for randomized brk remedy" >&5  #                          AC_MSG_ERROR(linux/personality.h not found))
3883    #               AC_TRY_RUN([#include <syscall.h>
3884    #                           #include <linux/personality.h>
3885    #                           #include <stdio.h>
3886    #                           #include <unistd.h>
3887    #                           int main(int argc,char *argv[],char *envp[]) {
3888    #                               FILE *f;
3889    #                               if (!(f=fopen("conftest1","w")))
3890    #                                       return -1;
3891    #                               fprintf(f,"%x",ADDR_NO_RANDOMIZE);
3892    #                               return 0;
3893    #                               }],
3894    #                               ADDR_NO_RANDOMIZE=`cat conftest1`,ADDR_NO_RANDOMIZE=0,ADDR_NO_RANDOMIZE=0)
3895    #               if test "$ADDR_NO_RANDOMIZE" = "0" ; then
3896    #                       AC_MSG_RESULT(cannot get ADDR_NO_RANDOMIZE constant)
3897    #                       exit 1
3898    #               fi
3899    #               AC_DEFINE_UNQUOTED(ADDR_NO_RANDOMIZE,$ADDR_NO_RANGOMIZE)
3900    #
3901    # Many boxes do not have the definition yet
3902    #
3903                    ADDR_NO_RANDOMIZE=0x40000
3904                    cat >> confdefs.h <<EOF
3905    #define ADDR_NO_RANDOMIZE $ADDR_NO_RANDOMIZE
3906    EOF
3907    
3908                    echo $ac_n "checking for ADDR_NO_RANOMIZE constant""... $ac_c" 1>&6
3909    echo "configure:3910: checking for ADDR_NO_RANOMIZE constant" >&5
3910                    echo "$ac_t""$ADDR_NO_RANDOMIZE" 1>&6
3911                    ac_safe=`echo "sys/personality.h" | sed 'y%./+-%__p_%'`
3912    echo $ac_n "checking for sys/personality.h""... $ac_c" 1>&6
3913    echo "configure:3914: checking for sys/personality.h" >&5
3914    if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3915      echo $ac_n "(cached) $ac_c" 1>&6
3916    else
3917      cat > conftest.$ac_ext <<EOF
3918    #line 3919 "configure"
3919    #include "confdefs.h"
3920    #include <sys/personality.h>
3921    EOF
3922    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3923    { (eval echo configure:3924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3924    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3925    if test -z "$ac_err"; then
3926      rm -rf conftest*
3927      eval "ac_cv_header_$ac_safe=yes"
3928    else
3929      echo "$ac_err" >&5
3930      echo "configure: failed program was:" >&5
3931      cat conftest.$ac_ext >&5
3932      rm -rf conftest*
3933      eval "ac_cv_header_$ac_safe=no"
3934    fi
3935    rm -f conftest*
3936    fi
3937    if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3938      echo "$ac_t""yes" 1>&6
3939      true
3940    else
3941      echo "$ac_t""no" 1>&6
3942    { echo "configure: error: sys/personality.h not found" 1>&2; exit 1; }
3943    fi
3944    
3945                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
3946    SBRK=0    SBRK=0
3947  else  else
3948    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3949  #line 3888 "configure"  #line 3950 "configure"
3950  #include "confdefs.h"  #include "confdefs.h"
3951  #include <syscall.h>  #include <syscall.h>
3952                              #include <linux/personality.h>                              #include <sys/personality.h>
3953                              #include <stdio.h>                              #include <stdio.h>
3954                              #include <unistd.h>                              #include <unistd.h>
3955                              int main(int argc,char * argv[]) {                              int main(int argc,char *argv[],char *envp[]) {
3956                                  FILE *f;                                  FILE *f;
3957                                  #if SIZEOF_LONG == 4                                  long pers;
3958                                  if (!syscall(SYS_personality,PER_LINUX32))                                  pers=personality(-1);
3959                                  #else                                  if (!(pers & ADDR_NO_RANDOMIZE)) {
3960                                  if (!syscall(SYS_personality,PER_LINUX))                                     personality(pers | ADDR_NO_RANDOMIZE);
3961                                  #endif                                     execve(*argv,argv,envp);
3962                                          execvp(argv[0],argv);                                  }
3963                                  if (!(f=fopen("conftest1","w")))                                  if (!(f=fopen("conftest1","w")))
3964                                          return -1;                                          return -1;
3965                                  fprintf(f,"%u",sbrk(0));                                  fprintf(f,"%u",sbrk(0));
3966                                  return 0;                                  return 0;
3967                                  }                                  }
3968  EOF  EOF
3969  if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3970  then  then
3971    SBRK=`cat conftest1`    SBRK=`cat conftest1`
3972  else  else
# Line 3924  fi Line 3986  fi
3986    SBRK1=0    SBRK1=0
3987  else  else
3988    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3989  #line 3928 "configure"  #line 3990 "configure"
3990  #include "confdefs.h"  #include "confdefs.h"
3991  #include <syscall.h>  #include <syscall.h>
3992                              #include <linux/personality.h>                              #include <sys/personality.h>
3993                              #include <stdio.h>                              #include <stdio.h>
3994                              #include <unistd.h>                              #include <unistd.h>
3995                              int main(int argc,char * argv[]) {                              int main(int argc,char * argv[],char *envp[]) {
3996                                  FILE *f;                                  FILE *f;
3997                                  #if SIZEOF_LONG == 4                                  long pers;
3998                                  if (!syscall(SYS_personality,PER_LINUX32))                                  pers=personality(-1);
3999                                  #else                                  if (!(pers & ADDR_NO_RANDOMIZE)) {
4000                                  if (!syscall(SYS_personality,PER_LINUX))                                     personality(pers | ADDR_NO_RANDOMIZE);
4001                                  #endif                                     execve(*argv,argv,envp);
4002                                          execvp(argv[0],argv);                                  }
4003                                  if (!(f=fopen("conftest1","w")))                                  if (!(f=fopen("conftest1","w")))
4004                                          return -1;                                          return -1;
4005                                  fprintf(f,"%u",sbrk(0));                                  fprintf(f,"%u",sbrk(0));
4006                                  return 0;                                  return 0;
4007                                  }                                  }
4008  EOF  EOF
4009  if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4010  then  then
4011    SBRK1=`cat conftest1`    SBRK1=`cat conftest1`
4012  else  else
# Line 3960  fi Line 4022  fi
4022                          echo "$ac_t""cannot trap sbrk" 1>&6                          echo "$ac_t""cannot trap sbrk" 1>&6
4023                          exit 1                          exit 1
4024                  fi                  fi
4025                    echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6
4026    echo "configure:4027: checking for randomized brk remedy" >&5
4027                  if test "$SBRK" = "$SBRK1" ; then                  if test "$SBRK" = "$SBRK1" ; then
4028                          echo "$ac_t""yes" 1>&6                          echo "$ac_t""yes" 1>&6
4029                          cat >> confdefs.h <<\EOF                          cat >> confdefs.h <<\EOF
# Line 3980  fi Line 4044  fi
4044  old_LDFLAGS="$LDFLAGS"  old_LDFLAGS="$LDFLAGS"
4045  LDFLAGS="$TLDFLAGS"  LDFLAGS="$TLDFLAGS"
4046  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
4047  echo "configure:3984: checking "finding DBEGIN"" >&5  echo "configure:4048: checking "finding DBEGIN"" >&5
4048  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4049    dbegin=0    dbegin=0
4050  else  else
4051    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4052  #line 3989 "configure"  #line 4053 "configure"
4053  #include "confdefs.h"  #include "confdefs.h"
4054  #include <stdio.h>  #include <stdio.h>
4055              #include <stdlib.h>              #include <stdlib.h>
4056              #ifdef NEED_NONRANDOM_SBRK              #ifdef NEED_NONRANDOM_SBRK
4057                     #include <syscall.h>                     #include <syscall.h>
4058                     #include <linux/personality.h>                     #include <sys/personality.h>
4059                     #include <unistd.h>                     #include <unistd.h>
4060             #endif             #endif
4061  int  int
# Line 4001  main(int argc,char * argv[]) Line 4065  main(int argc,char * argv[])
4065    FILE *fp;    FILE *fp;
4066    
4067  #ifdef NEED_NONRANDOM_SBRK  #ifdef NEED_NONRANDOM_SBRK
4068  #if SIZEOF_LONG == 4    pers=personality(-1);
4069  if (!syscall(SYS_personality,PER_LINUX32))    if (!(pers & ADDR_NO_RANDOMIZE)) {
4070  #else     personality(pers | ADDR_NO_RANDOMIZE);
4071  if (!syscall(SYS_personality,PER_LINUX))     execve(*argv,argv,envp);
4072      }
4073  #endif  #endif
      execvp(argv[0],argv);  
 #endif    
4074    b = (void *) malloc(1000);    b = (void *) malloc(1000);
4075    fp = fopen("conftest1","w");    fp = fopen("conftest1","w");
4076    
# Line 4024  if (!syscall(SYS_personality,PER_LINUX)) Line 4087  if (!syscall(SYS_personality,PER_LINUX))
4087    return 0;    return 0;
4088  }  }
4089  EOF  EOF
4090  if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4091  then  then
4092    dbegin=`cat conftest1`    dbegin=`cat conftest1`
4093  else  else
# Line 4047  LDFLAGS="$old_LDFLAGS" Line 4110  LDFLAGS="$old_LDFLAGS"
4110    
4111    
4112  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
4113  echo "configure:4051: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:4114: checking "finding CSTACK_ADDRESS"" >&5
4114  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4115    cstack_address=0    cstack_address=0
4116  else  else
4117    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4118  #line 4056 "configure"  #line 4119 "configure"
4119  #include "confdefs.h"  #include "confdefs.h"
4120  #include <stdio.h>  #include <stdio.h>
4121  main()  main()
# Line 4064  main() Line 4127  main()
4127    return 0;    return 0;
4128  }  }
4129  EOF  EOF
4130  if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4131  then  then
4132    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
4133  else  else
# Line 4086  echo "$ac_t""got $cstack_address" 1>&6 Line 4149  echo "$ac_t""got $cstack_address" 1>&6
4149    
4150    
4151  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
4152  echo "configure:4090: checking "sizeof long long int"" >&5  echo "configure:4153: checking "sizeof long long int"" >&5
4153  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4154    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4155    
4156  else  else
4157    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4158  #line 4096 "configure"  #line 4159 "configure"
4159  #include "confdefs.h"  #include "confdefs.h"
4160  #include <stdio.h>  #include <stdio.h>
4161  main()  main()
# Line 4102  main() Line 4165  main()
4165  }  }
4166    
4167  EOF  EOF
4168  if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4169  then  then
4170    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4171  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 4160  FLISP="saved_$SYSTEM" Line 4223  FLISP="saved_$SYSTEM"
4223    
4224  # pagewidth  # pagewidth
4225  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
4226  echo "configure:4164: checking for pagewidth" >&5  echo "configure:4227: checking for pagewidth" >&5
4227  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4228    PAGEWIDTH=0    PAGEWIDTH=0
4229  else  else
4230    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4231  #line 4169 "configure"  #line 4232 "configure"
4232  #include "confdefs.h"  #include "confdefs.h"
4233  #include <stdio.h>  #include <stdio.h>
4234              #include <unistd.h>              #include <unistd.h>
# Line 4175  int main() {size_t i=getpagesize(),j; Line 4238  int main() {size_t i=getpagesize(),j;
4238              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
4239              return 0;}              return 0;}
4240  EOF  EOF
4241  if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4242  then  then
4243    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
4244  else  else
# Line 4202  EOF Line 4265  EOF
4265  for ac_func in getcwd  for ac_func in getcwd
4266  do  do
4267  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4268  echo "configure:4206: checking for $ac_func" >&5  echo "configure:4269: checking for $ac_func" >&5
4269  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4270    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4271  else  else
4272    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4273  #line 4211 "configure"  #line 4274 "configure"
4274  #include "confdefs.h"  #include "confdefs.h"
4275  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4276      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4230  $ac_func(); Line 4293  $ac_func();
4293    
4294  ; return 0; }  ; return 0; }
4295  EOF  EOF
4296  if { (eval echo configure:4234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4297    rm -rf conftest*    rm -rf conftest*
4298    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4299  else  else
# Line 4257  done Line 4320  done
4320  for ac_func in getwd  for ac_func in getwd
4321  do  do
4322  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4323  echo "configure:4261: checking for $ac_func" >&5  echo "configure:4324: checking for $ac_func" >&5
4324  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4325    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4326  else  else
4327    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4328  #line 4266 "configure"  #line 4329 "configure"
4329  #include "confdefs.h"  #include "confdefs.h"
4330  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4331      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4285  $ac_func(); Line 4348  $ac_func();
4348    
4349  ; return 0; }  ; return 0; }
4350  EOF  EOF
4351  if { (eval echo configure:4289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4352    rm -rf conftest*    rm -rf conftest*
4353    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4354  else  else
# Line 4310  fi Line 4373  fi
4373  done  done
4374    
4375  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
4376  echo "configure:4314: checking for uname" >&5  echo "configure:4377: checking for uname" >&5
4377  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4378    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4379  else  else
4380    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4381  #line 4319 "configure"  #line 4382 "configure"
4382  #include "confdefs.h"  #include "confdefs.h"
4383  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4384      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 4338  uname(); Line 4401  uname();
4401    
4402  ; return 0; }  ; return 0; }
4403  EOF  EOF
4404  if { (eval echo configure:4342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4405    rm -rf conftest*    rm -rf conftest*
4406    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
4407  else  else
# Line 4362  EOF Line 4425  EOF
4425  fi  fi
4426    
4427  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4428  echo "configure:4366: checking for gettimeofday" >&5  echo "configure:4429: checking for gettimeofday" >&5
4429  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4430    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4431  else  else
4432    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4433  #line 4371 "configure"  #line 4434 "configure"
4434  #include "confdefs.h"  #include "confdefs.h"
4435  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4436      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4390  gettimeofday(); Line 4453  gettimeofday();
4453    
4454  ; return 0; }  ; return 0; }
4455  EOF  EOF
4456  if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4457    rm -rf conftest*    rm -rf conftest*
4458    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
4459  else  else
# Line 4419  for ac_hdr in sys/ioctl.h Line 4482  for ac_hdr in sys/ioctl.h
4482  do  do
4483  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4484  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4485  echo "configure:4423: checking for $ac_hdr" >&5  echo "configure:4486: checking for $ac_hdr" >&5
4486  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4487    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4488  else  else
4489    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4490  #line 4428 "configure"  #line 4491 "configure"
4491  #include "confdefs.h"  #include "confdefs.h"
4492  #include <$ac_hdr>  #include <$ac_hdr>
4493  EOF  EOF
4494  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4495  { (eval echo configure:4433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4496  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4497  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4498    rm -rf conftest*    rm -rf conftest*
# Line 4461  for ac_hdr in elf.h elf_abi.h Line 4524  for ac_hdr in elf.h elf_abi.h
4524  do  do
4525  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4526  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4527  echo "configure:4465: checking for $ac_hdr" >&5  echo "configure:4528: checking for $ac_hdr" >&5
4528  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4529    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4530  else  else
4531    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4532  #line 4470 "configure"  #line 4533 "configure"
4533  #include "confdefs.h"  #include "confdefs.h"
4534  #include <$ac_hdr>  #include <$ac_hdr>
4535  EOF  EOF
4536  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4537  { (eval echo configure:4475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4538  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4539  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4540    rm -rf conftest*    rm -rf conftest*
# Line 4511  done Line 4574  done
4574  #--------------------------------------------------------------------  #--------------------------------------------------------------------
4575    
4576  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
4577  echo "configure:4515: checking for BSDgettimeofday" >&5  echo "configure:4578: checking for BSDgettimeofday" >&5
4578  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
4579    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4580  else  else
4581    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4582  #line 4520 "configure"  #line 4583 "configure"
4583  #include "confdefs.h"  #include "confdefs.h"
4584  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4585      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 4539  BSDgettimeofday(); Line 4602  BSDgettimeofday();
4602    
4603  ; return 0; }  ; return 0; }
4604  EOF  EOF
4605  if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4606    rm -rf conftest*    rm -rf conftest*
4607    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
4608  else  else
# Line 4560  EOF Line 4623  EOF
4623  else  else
4624    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4625  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4626  echo "configure:4564: checking for gettimeofday" >&5  echo "configure:4627: checking for gettimeofday" >&5
4627  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4628    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4629  else  else
4630    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4631  #line 4569 "configure"  #line 4632 "configure"
4632  #include "confdefs.h"  #include "confdefs.h"
4633  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4634      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4588  gettimeofday(); Line 4651  gettimeofday();
4651    
4652  ; return 0; }  ; return 0; }
4653  EOF  EOF
4654  if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4655    rm -rf conftest*    rm -rf conftest*
4656    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
4657  else  else
# Line 4615  fi Line 4678  fi
4678    
4679    
4680  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
4681  echo "configure:4619: checking for gettimeofday declaration" >&5  echo "configure:4682: checking for gettimeofday declaration" >&5
4682    
4683  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4684  #line 4622 "configure"  #line 4685 "configure"
4685  #include "confdefs.h"  #include "confdefs.h"
4686  #include <sys/time.h>  #include <sys/time.h>
4687  EOF  EOF
# Line 4639  rm -f conftest* Line 4702  rm -f conftest*
4702    
4703    
4704  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4705  echo "configure:4643: checking for sin in -lm" >&5  echo "configure:4706: checking for sin in -lm" >&5
4706  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4707  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
4708    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4647  else Line 4710  else
4710    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4711  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
4712  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4713  #line 4651 "configure"  #line 4714 "configure"
4714  #include "confdefs.h"  #include "confdefs.h"
4715  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4716  /* 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 4658  int main() { Line 4721  int main() {
4721  sin()  sin()
4722  ; return 0; }  ; return 0; }
4723  EOF  EOF
4724  if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4725    rm -rf conftest*    rm -rf conftest*
4726    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4727  else  else
# Line 4680  true Line 4743  true
4743  fi  fi
4744    
4745  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
4746  echo "configure:4684: checking for main in -lmingwex" >&5  echo "configure:4747: checking for main in -lmingwex" >&5
4747  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
4748  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
4749    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4688  else Line 4751  else
4751    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4752  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
4753  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4754  #line 4692 "configure"  #line 4755 "configure"
4755  #include "confdefs.h"  #include "confdefs.h"
4756    
4757  int main() {  int main() {
4758  main()  main()
4759  ; return 0; }  ; return 0; }
4760  EOF  EOF
4761  if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4762    rm -rf conftest*    rm -rf conftest*
4763    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4764  else  else
# Line 4723  if test "$try_japi" = "yes" ; then Line 4786  if test "$try_japi" = "yes" ; then
4786  do  do
4787  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4788  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4789  echo "configure:4727: checking for $ac_hdr" >&5  echo "configure:4790: checking for $ac_hdr" >&5
4790  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4791    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4792  else  else
4793    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4794  #line 4732 "configure"  #line 4795 "configure"
4795  #include "confdefs.h"  #include "confdefs.h"
4796  #include <$ac_hdr>  #include <$ac_hdr>
4797  EOF  EOF
4798  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4799  { (eval echo configure:4737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4800  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4801  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4802    rm -rf conftest*    rm -rf conftest*
# Line 4771  if test "$use" = "mingw" ; then Line 4834  if test "$use" = "mingw" ; then
4834  do  do
4835  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4836  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4837  echo "configure:4775: checking for $ac_hdr" >&5  echo "configure:4838: checking for $ac_hdr" >&5
4838  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4839    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4840  else  else
4841    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4842  #line 4780 "configure"  #line 4843 "configure"
4843  #include "confdefs.h"  #include "confdefs.h"
4844  #include <$ac_hdr>  #include <$ac_hdr>
4845  EOF  EOF
4846  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4847  { (eval echo configure:4785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4848  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4849  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4850    rm -rf conftest*    rm -rf conftest*
# Line 4818  else Line 4881  else
4881  do  do
4882  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4883  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4884  echo "configure:4822: checking for $ac_hdr" >&5  echo "configure:4885: checking for $ac_hdr" >&5
4885  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4886    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4887  else  else
4888    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4889  #line 4827 "configure"  #line 4890 "configure"
4890  #include "confdefs.h"  #include "confdefs.h"
4891  #include <$ac_hdr>  #include <$ac_hdr>
4892  EOF  EOF
4893  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4894  { (eval echo configure:4832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4895  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4896  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4897    rm -rf conftest*    rm -rf conftest*
# Line 4868  for ac_hdr in math.h Line 4931  for ac_hdr in math.h
4931  do  do
4932  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4933  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4934  echo "configure:4872: checking for $ac_hdr" >&5  echo "configure:4935: checking for $ac_hdr" >&5
4935  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4936    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4937  else  else
4938    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4939  #line 4877 "configure"  #line 4940 "configure"
4940  #include "confdefs.h"  #include "confdefs.h"
4941  #include <$ac_hdr>  #include <$ac_hdr>
4942  EOF  EOF
4943  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4944  { (eval echo configure:4882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4945  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4946  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4947    rm -rf conftest*    rm -rf conftest*
# Line 4915  for ac_hdr in values.h Line 4978  for ac_hdr in values.h
4978  do  do
4979  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4980  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4981  echo "configure:4919: checking for $ac_hdr" >&5  echo "configure:4982: checking for $ac_hdr" >&5
4982  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4983    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4984  else  else
4985    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4986  #line 4924 "configure"  #line 4987 "configure"
4987  #include "confdefs.h"  #include "confdefs.h"
4988  #include <$ac_hdr>  #include <$ac_hdr>
4989  EOF  EOF
4990  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4991  { (eval echo configure:4929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4992  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4993  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4994    rm -rf conftest*    rm -rf conftest*
# Line 4962  for ac_hdr in float.h Line 5025  for ac_hdr in float.h
5025  do  do
5026  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5027  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5028  echo "configure:4966: checking for $ac_hdr" >&5  echo "configure:5029: checking for $ac_hdr" >&5
5029  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5030    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5031  else  else
5032    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5033  #line 4971 "configure"  #line 5034 "configure"
5034  #include "confdefs.h"  #include "confdefs.h"
5035  #include <$ac_hdr>  #include <$ac_hdr>
5036  EOF  EOF
5037  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5038  { (eval echo configure:4976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5039  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5040  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5041    rm -rf conftest*    rm -rf conftest*
# Line 5008  done Line 5071  done
5071  # test makes sense.  CM  # test makes sense.  CM
5072  #  #
5073  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
5074  echo "configure:5012: checking for isnormal" >&5  echo "configure:5075: checking for isnormal" >&5
5075  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5076    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
5077  else  else
5078    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5079  #line 5017 "configure"  #line 5080 "configure"
5080  #include "confdefs.h"  #include "confdefs.h"
5081  #define _GNU_SOURCE  #define _GNU_SOURCE
5082              #include <math.h>              #include <math.h>
# Line 5022  else Line 5085  else
5085                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
5086                  }                  }
5087  EOF  EOF
5088  if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5089  then  then
5090    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5091  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 5033  else Line 5096  else
5096    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5097    rm -fr conftest*    rm -fr conftest*
5098    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
5099  echo "configure:5037: checking for fpclass in ieeefp.h" >&5  echo "configure:5100: checking for fpclass in ieeefp.h" >&5
5100                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5101    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
5102  else  else
5103    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5104  #line 5042 "configure"  #line 5105 "configure"
5105  #include "confdefs.h"  #include "confdefs.h"
5106  #include <ieeefp.h>  #include <ieeefp.h>
5107                              int main() {                              int main() {
# Line 5046  else Line 5109  else
5109                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
5110                                  }                                  }
5111  EOF  EOF
5112  if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5113  then  then
5114    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5115  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 5068  fi Line 5131  fi
5131    
5132    
5133  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
5134  echo "configure:5072: checking for isfinite" >&5  echo "configure:5135: checking for isfinite" >&5
5135  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5136    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
5137  else  else
5138    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5139  #line 5077 "configure"  #line 5140 "configure"
5140  #include "confdefs.h"  #include "confdefs.h"
5141  #define _GNU_SOURCE  #define _GNU_SOURCE
5142              #include <math.h>              #include <math.h>
# Line 5082  else Line 5145  else
5145                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
5146                  }                  }
5147  EOF  EOF
5148  if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5149  then  then
5150    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5151  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 5093  else Line 5156  else
5156    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5157    rm -fr conftest*    rm -fr conftest*
5158    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
5159  echo "configure:5097: checking for finite()" >&5  echo "configure:5160: checking for finite()" >&5
5160                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5161    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
5162  else  else
5163    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5164  #line 5102 "configure"  #line 5165 "configure"
5165  #include "confdefs.h"  #include "confdefs.h"
5166  #include <math.h>  #include <math.h>
5167                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 5107  else Line 5170  else
5170                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
5171                                  }                                  }
5172  EOF  EOF
5173  if { (eval echo configure:5111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5174  then  then
5175    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5176  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 5148  fi Line 5211  fi
5211  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
5212  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5213  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
5214  echo "configure:5152: checking for sockets" >&5  echo "configure:5215: checking for sockets" >&5
5215  tcl_checkBoth=0  tcl_checkBoth=0
5216  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
5217  echo "configure:5155: checking for connect" >&5  echo "configure:5218: checking for connect" >&5
5218  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
5219    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5220  else  else
5221    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5222  #line 5160 "configure"  #line 5223 "configure"
5223  #include "confdefs.h"  #include "confdefs.h"
5224  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5225      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 5179  connect(); Line 5242  connect();
5242    
5243  ; return 0; }  ; return 0; }
5244  EOF  EOF
5245  if { (eval echo configure:5183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5246    rm -rf conftest*    rm -rf conftest*
5247    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
5248  else  else
# Line 5201  fi Line 5264  fi
5264    
5265  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
5266      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
5267  echo "configure:5205: checking for main in -lsocket" >&5  echo "configure:5268: checking for main in -lsocket" >&5
5268  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
5269  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
5270    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5209  else Line 5272  else
5272    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5273  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5274  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5275  #line 5213 "configure"  #line 5276 "configure"
5276  #include "confdefs.h"  #include "confdefs.h"
5277    
5278  int main() {  int main() {
5279  main()  main()
5280  ; return 0; }  ; return 0; }
5281  EOF  EOF
5282  if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5283    rm -rf conftest*    rm -rf conftest*
5284    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5285  else  else
# Line 5244  if test "$tcl_checkBoth" = 1; then Line 5307  if test "$tcl_checkBoth" = 1; then
5307      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
5308      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
5309      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
5310  echo "configure:5248: checking for accept" >&5  echo "configure:5311: checking for accept" >&5
5311  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
5312    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5313  else  else
5314    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5315  #line 5253 "configure"  #line 5316 "configure"
5316  #include "confdefs.h"  #include "confdefs.h"
5317  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5318      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 5272  accept(); Line 5335  accept();
5335    
5336  ; return 0; }  ; return 0; }
5337  EOF  EOF
5338  if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5339    rm -rf conftest*    rm -rf conftest*
5340    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
5341  else  else
# Line 5294  fi Line 5357  fi
5357    
5358  fi  fi
5359  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5360  echo "configure:5298: checking for gethostbyname" >&5  echo "configure:5361: checking for gethostbyname" >&5
5361  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
5362    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5363  else  else
5364    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5365  #line 5303 "configure"  #line 5366 "configure"
5366  #include "confdefs.h"  #include "confdefs.h"
5367  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5368      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 5322  gethostbyname(); Line 5385  gethostbyname();
5385    
5386  ; return 0; }  ; return 0; }
5387  EOF  EOF
5388  if { (eval echo configure:5326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5389    rm -rf conftest*    rm -rf conftest*
5390    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
5391  else  else
# Line 5340  if eval "test \"`echo '$ac_cv_func_'geth Line 5403  if eval "test \"`echo '$ac_cv_func_'geth
5403  else  else
5404    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5405  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
5406  echo "configure:5344: checking for main in -lnsl" >&5  echo "configure:5407: checking for main in -lnsl" >&5
5407  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
5408  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
5409    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5348  else Line 5411  else
5411    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5412  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5413  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5414  #line 5352 "configure"  #line 5415 "configure"
5415  #include "confdefs.h"  #include "confdefs.h"
5416    
5417  int main() {  int main() {
5418  main()  main()
5419  ; return 0; }  ; return 0; }
5420  EOF  EOF
5421  if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5422    rm -rf conftest*    rm -rf conftest*
5423    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5424  else  else
# Line 5385  if test "$enable_readline" = "yes" ; the Line 5448  if test "$enable_readline" = "yes" ; the
5448  do  do
5449  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5450  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5451  echo "configure:5389: checking for $ac_hdr" >&5  echo "configure:5452: checking for $ac_hdr" >&5
5452  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5453    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5454  else  else
5455    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5456  #line 5394 "configure"  #line 5457 "configure"
5457  #include "confdefs.h"  #include "confdefs.h"
5458  #include <$ac_hdr>  #include <$ac_hdr>
5459  EOF  EOF
5460  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5461  { (eval echo configure:5399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5462  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5463  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5464    rm -rf conftest*    rm -rf conftest*
# Line 5416  if eval "test \"`echo '$ac_cv_header_'$a Line 5479  if eval "test \"`echo '$ac_cv_header_'$a
5479  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
5480  EOF  EOF
5481   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
5482  echo "configure:5420: checking for main in -lreadline" >&5  echo "configure:5483: checking for main in -lreadline" >&5
5483  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
5484  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
5485    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5424  else Line 5487  else
5487    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5488  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
5489  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5490  #line 5428 "configure"  #line 5491 "configure"
5491  #include "confdefs.h"  #include "confdefs.h"
5492    
5493  int main() {  int main() {
5494  main()  main()
5495  ; return 0; }  ; return 0; }
5496  EOF  EOF
5497  if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5498    rm -rf conftest*    rm -rf conftest*
5499    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5500  else  else
# Line 5468  done Line 5531  done
5531    
5532  # These tests discover differences between readline 4.1 and 4.3  # These tests discover differences between readline 4.1 and 4.3
5533          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
5534  echo "configure:5472: checking for rl_completion_matches in -lreadline" >&5  echo "configure:5535: checking for rl_completion_matches in -lreadline" >&5
5535  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
5536  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
5537    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5476  else Line 5539  else
5539    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5540  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
5541  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5542  #line 5480 "configure"  #line 5543 "configure"
5543  #include "confdefs.h"  #include "confdefs.h"
5544  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5545  /* 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 5487  int main() { Line 5550  int main() {
5550  rl_completion_matches()  rl_completion_matches()
5551  ; return 0; }  ; return 0; }
5552  EOF  EOF
5553  if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5554    rm -rf conftest*    rm -rf conftest*
5555    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5556  else  else
# Line 5520  fi Line 5583  fi
5583    
5584    
5585  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
5586  echo "configure:5524: checking For network code for nsocket.c" >&5  echo "configure:5587: checking For network code for nsocket.c" >&5
5587  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5588  #line 5526 "configure"  #line 5589 "configure"
5589  #include "confdefs.h"  #include "confdefs.h"
5590    
5591  #include <sys/time.h>  #include <sys/time.h>
# Line 5549  int main() { Line 5612  int main() {
5612                    
5613  ; return 0; }  ; return 0; }
5614  EOF  EOF
5615  if { (eval echo configure:5553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5616    rm -rf conftest*    rm -rf conftest*
5617    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5618  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 5566  rm -f conftest* Line 5629  rm -f conftest*
5629    
5630    
5631  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
5632  echo "configure:5570: checking check for listen using fcntl" >&5  echo "configure:5633: checking check for listen using fcntl" >&5
5633  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5634  #line 5572 "configure"  #line 5635 "configure"
5635  #include "confdefs.h"  #include "confdefs.h"
5636  #include <stdio.h>  #include <stdio.h>
5637  #include <fcntl.h>  #include <fcntl.h>
# Line 5581  FILE *fp=fopen("configure.in","r"); Line 5644  FILE *fp=fopen("configure.in","r");
5644    
5645  ; return 0; }  ; return 0; }
5646  EOF  EOF
5647  if { (eval echo configure:5585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5648    rm -rf conftest*    rm -rf conftest*
5649    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5650  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 5600  rm -f conftest* Line 5663  rm -f conftest*
5663    
5664    
5665  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
5666  echo "configure:5604: checking for profil" >&5  echo "configure:5667: checking for profil" >&5
5667  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
5668    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5669  else  else
5670    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5671  #line 5609 "configure"  #line 5672 "configure"
5672  #include "confdefs.h"  #include "confdefs.h"
5673  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5674      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 5628  profil(); Line 5691  profil();
5691    
5692  ; return 0; }  ; return 0; }
5693  EOF  EOF
5694  if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5695    rm -rf conftest*    rm -rf conftest*
5696    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
5697  else  else
# Line 5653  fi Line 5716  fi
5716    
5717    
5718  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
5719  echo "configure:5657: checking for setenv" >&5  echo "configure:5720: checking for setenv" >&5
5720  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
5721    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5722  else  else
5723    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5724  #line 5662 "configure"  #line 5725 "configure"
5725  #include "confdefs.h"  #include "confdefs.h"
5726  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5727      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 5681  setenv(); Line 5744  setenv();
5744    
5745  ; return 0; }  ; return 0; }
5746  EOF  EOF
5747  if { (eval echo configure:5685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5748    rm -rf conftest*    rm -rf conftest*
5749    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
5750  else  else
# Line 5707  fi Line 5770  fi
5770    
5771  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
5772  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
5773  echo "configure:5711: checking for putenv" >&5  echo "configure:5774: checking for putenv" >&5
5774  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
5775    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5776  else  else
5777    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5778  #line 5716 "configure"  #line 5779 "configure"
5779  #include "confdefs.h"  #include "confdefs.h"
5780  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5781      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 5735  putenv(); Line 5798  putenv();
5798    
5799  ; return 0; }  ; return 0; }
5800  EOF  EOF
5801  if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5802    rm -rf conftest*    rm -rf conftest*
5803    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
5804  else  else
# Line 5761  fi Line 5824  fi
5824  fi  fi
5825    
5826  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
5827  echo "configure:5765: checking for _cleanup" >&5  echo "configure:5828: checking for _cleanup" >&5
5828  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
5829    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5830  else  else
5831    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5832  #line 5770 "configure"  #line 5833 "configure"
5833  #include "confdefs.h"  #include "confdefs.h"
5834  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5835      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 5789  _cleanup(); Line 5852  _cleanup();
5852    
5853  ; return 0; }  ; return 0; }
5854  EOF  EOF
5855  if { (eval echo configure:5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5856    rm -rf conftest*    rm -rf conftest*
5857    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
5858  else  else
# Line 5815  fi Line 5878  fi
5878  gcl_ok=no  gcl_ok=no
5879    
5880  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5881  #line 5819 "configure"  #line 5882 "configure"
5882  #include "confdefs.h"  #include "confdefs.h"
5883  #include <ctype.h>  #include <ctype.h>
5884  EOF  EOF
# Line 5843  fi Line 5906  fi
5906    
5907  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
5908  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
5909  echo "configure:5847: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:5910: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
5910    
5911  case $system in  case $system in
5912         OSF*)         OSF*)
# Line 5874  esac Line 5937  esac
5937    
5938    
5939  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
5940  echo "configure:5878: checking check for SV_ONSTACK" >&5  echo "configure:5941: checking check for SV_ONSTACK" >&5
5941  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5942  #line 5880 "configure"  #line 5943 "configure"
5943  #include "confdefs.h"  #include "confdefs.h"
5944  #include <signal.h>  #include <signal.h>
5945  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 5885  int main() { Line 5948  int main() {
5948    
5949  ; return 0; }  ; return 0; }
5950  EOF  EOF
5951  if { (eval echo configure:5889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5952    rm -rf conftest*    rm -rf conftest*
5953    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5954  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 5902  fi Line 5965  fi
5965  rm -f conftest*  rm -f conftest*
5966    
5967  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
5968  echo "configure:5906: checking check for SIGSYS" >&5  echo "configure:5969: checking check for SIGSYS" >&5
5969  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5970  #line 5908 "configure"  #line 5971 "configure"
5971  #include "confdefs.h"  #include "confdefs.h"
5972  #include <signal.h>  #include <signal.h>
5973  int joe=SIGSYS;  int joe=SIGSYS;
# Line 5913  int main() { Line 5976  int main() {
5976    
5977  ; return 0; }  ; return 0; }
5978  EOF  EOF
5979  if { (eval echo configure:5917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5980    rm -rf conftest*    rm -rf conftest*
5981    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5982  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 5931  rm -f conftest* Line 5994  rm -f conftest*
5994    
5995    
5996  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
5997  echo "configure:5935: checking check for SIGEMT" >&5  echo "configure:5998: checking check for SIGEMT" >&5
5998  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5999  #line 5937 "configure"  #line 6000 "configure"
6000  #include "confdefs.h"  #include "confdefs.h"
6001  #include <signal.h>  #include <signal.h>
6002  int joe=SIGEMT;  int joe=SIGEMT;
# Line 5942  int main() { Line 6005  int main() {
6005    
6006  ; return 0; }  ; return 0; }
6007  EOF  EOF
6008  if { (eval echo configure:5946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6009    rm -rf conftest*    rm -rf conftest*
6010    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6011  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 5966  rm -f conftest* Line 6029  rm -f conftest*
6029  do  do
6030  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6031  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6032  echo "configure:5970: checking for $ac_hdr" >&5  echo "configure:6033: checking for $ac_hdr" >&5
6033  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6034    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6035  else  else
6036    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6037  #line 5975 "configure"  #line 6038 "configure"
6038  #include "confdefs.h"  #include "confdefs.h"
6039  #include <$ac_hdr>  #include <$ac_hdr>
6040  EOF  EOF
6041  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6042  { (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6043  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6044  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6045    rm -rf conftest*    rm -rf conftest*
# Line 6006  done Line 6069  done
6069  do  do
6070  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6071  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6072  echo "configure:6010: checking for $ac_hdr" >&5  echo "configure:6073: checking for $ac_hdr" >&5
6073  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6074    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6075  else  else
6076    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6077  #line 6015 "configure"  #line 6078 "configure"
6078  #include "confdefs.h"  #include "confdefs.h"
6079  #include <$ac_hdr>  #include <$ac_hdr>
6080  EOF  EOF
6081  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6082  { (eval echo configure:6020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6083  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6084  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6085    rm -rf conftest*    rm -rf conftest*
# Line 6043  fi Line 6106  fi
6106  done  done
6107    
6108          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6109  echo "configure:6047: checking for sigcontext..." >&5  echo "configure:6110: checking for sigcontext..." >&5
6110          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
6111  #line 6049 "configure"  #line 6112 "configure"
6112  #include "confdefs.h"  #include "confdefs.h"
6113  #include <signal.h>  #include <signal.h>
6114                
# Line 6055  int main() { Line 6118  int main() {
6118                
6119  ; return 0; }  ; return 0; }
6120  EOF  EOF
6121  if { (eval echo configure:6059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6122    rm -rf conftest*    rm -rf conftest*
6123        
6124          sigcontext_works=1;          sigcontext_works=1;
# Line 6076  fi Line 6139  fi
6139  rm -f conftest*  rm -f conftest*
6140         if test "$sigcontext_works" = 0 ; then         if test "$sigcontext_works" = 0 ; then
6141         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6142  echo "configure:6080: checking for sigcontext..." >&5  echo "configure:6143: checking for sigcontext..." >&5
6143         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6144  #line 6082 "configure"  #line 6145 "configure"
6145  #include "confdefs.h"  #include "confdefs.h"
6146  #include <signal.h>  #include <signal.h>
6147               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 6094  int main() { Line 6157  int main() {
6157                    
6158  ; return 0; }  ; return 0; }
6159  EOF  EOF
6160  if { (eval echo configure:6098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6161    rm -rf conftest*    rm -rf conftest*
6162        
6163          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
# Line 6136  rm -f conftest* Line 6199  rm -f conftest*
6199  # 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.
6200  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
6201  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6202  echo "configure:6140: checking for $ac_word" >&5  echo "configure:6203: checking for $ac_word" >&5
6203  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
6204    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6205  else  else
# Line 6184  cat >> conftest.el <<EOF Line 6247  cat >> conftest.el <<EOF
6247  EOF  EOF
6248    
6249  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
6250  echo "configure:6188: checking emacs site lisp directory" >&5  echo "configure:6251: checking emacs site lisp directory" >&5
6251  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
6252          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
6253                  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 6208  cat >> conftest.el <<EOF Line 6271  cat >> conftest.el <<EOF
6271  EOF  EOF
6272    
6273  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
6274  echo "configure:6212: checking emacs default.el" >&5  echo "configure:6275: checking emacs default.el" >&5
6275  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
6276          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 `
6277  else  else
# Line 6237  cat >> conftest.el <<EOF Line 6300  cat >> conftest.el <<EOF
6300  EOF  EOF
6301    
6302  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
6303  echo "configure:6241: checking emacs info/dir" >&5  echo "configure:6304: checking emacs info/dir" >&5
6304  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
6305      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
6306  else  else
# Line 6255  echo "$ac_t""$INFO_DIR" 1>&6 Line 6318  echo "$ac_t""$INFO_DIR" 1>&6
6318    
6319    
6320  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
6321  echo "configure:6259: checking for tcl/tk" >&5  echo "configure:6322: checking for tcl/tk" >&5
6322    
6323    
6324  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 6278  EOF Line 6341  EOF
6341  # 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.
6342  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
6343  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6344  echo "configure:6282: checking for $ac_word" >&5  echo "configure:6345: checking for $ac_word" >&5
6345  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
6346    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6347  else  else
# Line 6378  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 6441  if test -f ${TCL_CONFIG_PREFIX}/../inclu
6441    fi    fi
6442  fi  fi
6443  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
6444  echo "configure:6382: checking for main in -llieee" >&5  echo "configure:6445: checking for main in -llieee" >&5
6445  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
6446  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
6447    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6386  else Line 6449  else
6449    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6450  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
6451  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6452  #line 6390 "configure"  #line 6453 "configure"
6453  #include "confdefs.h"  #include "confdefs.h"
6454    
6455  int main() {  int main() {
6456  main()  main()
6457  ; return 0; }  ; return 0; }
6458  EOF  EOF
6459  if { (eval echo configure:6397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6460    rm -rf conftest*    rm -rf conftest*
6461    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6462  else  else
# Line 6458  NOTIFY=$enable_notify Line 6521  NOTIFY=$enable_notify
6521  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
6522    
6523  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
6524  echo "configure:6462: checking alloca" >&5  echo "configure:6525: checking alloca" >&5
6525  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
6526    gcl_ok=no    gcl_ok=no
6527  else  else
6528    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6529  #line 6467 "configure"  #line 6530 "configure"
6530  #include "confdefs.h"  #include "confdefs.h"
6531  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
6532  EOF  EOF
6533  if { (eval echo configure:6471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6534  then  then
6535    :    :
6536  else  else
# Line 6490  else Line 6553  else
6553    gcl_ok=no    gcl_ok=no
6554  else  else
6555    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6556  #line 6494 "configure"  #line 6557 "configure"
6557  #include "confdefs.h"  #include "confdefs.h"
6558  #include <alloca.h>  #include <alloca.h>
6559    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
6560  EOF  EOF
6561  if { (eval echo configure:6499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6562  then  then
6563    :    :
6564  else  else
# Line 6556  if test $gcl_ok = no ; then     echo "$a Line 6619  if test $gcl_ok = no ; then     echo "$a
6619  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
6620  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
6621  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
6622  echo "configure:6560: checking Checking for buggy gcc version from redhat" >&5  echo "configure:6623: checking Checking for buggy gcc version from redhat" >&5
6623  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
6624     then     then
6625          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2  
changed lines
  Added in v.1.107.4.1.2.2.2.48.2.3.2.1.4.2.4.2.4.1

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