/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.177 by camm, Wed Jun 15 17:33:18 2005 UTC revision 1.178 by camm, Wed Jun 15 22:03:50 2005 UTC
# Line 4438  main() Line 4438  main()
4438    
4439    for (i=2,k=1;i;k=i,i<<=1);    for (i=2,k=1;i;k=i,i<<=1);
4440    for (i=j=k;j && i<(unsigned long)&v;j>>=1,i|=j);    for (i=j=k;j && i<(unsigned long)&v;j>>=1,i|=j);
4441    fprintf(fp,"%ld",i&-0x1000);    i&=-0x1000;
4442      fprintf(fp,"%ld",i-1);
4443    fclose(fp);    fclose(fp);
4444    return 0;    return 0;
4445  }  }
4446  EOF  EOF
4447  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:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4448  then  then
4449    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
4450  else  else
# Line 4462  EOF Line 4463  EOF
4463  echo "$ac_t""got $cstack_address" 1>&6  echo "$ac_t""got $cstack_address" 1>&6
4464    
4465  echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6
4466  echo "configure:4466: checking "finding CSTACK_ALIGNMENT"" >&5  echo "configure:4467: checking "finding CSTACK_ALIGNMENT"" >&5
4467  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4468    cstack_alignment=0    cstack_alignment=0
4469  else  else
4470    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4471  #line 4471 "configure"  #line 4472 "configure"
4472  #include "confdefs.h"  #include "confdefs.h"
4473  #include <stdio.h>  #include <stdio.h>
4474  main()  main()
# Line 4484  main() Line 4485  main()
4485    return 0;    return 0;
4486  }  }
4487  EOF  EOF
4488  if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4489  then  then
4490    cstack_alignment=`cat conftest1`    cstack_alignment=`cat conftest1`
4491  else  else
# Line 4504  EOF Line 4505  EOF
4505  echo "$ac_t""got $cstack_alignment" 1>&6  echo "$ac_t""got $cstack_alignment" 1>&6
4506    
4507  echo $ac_n "checking "finding CSTACK_DIRECTION"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_DIRECTION"""... $ac_c" 1>&6
4508  echo "configure:4508: checking "finding CSTACK_DIRECTION"" >&5  echo "configure:4509: checking "finding CSTACK_DIRECTION"" >&5
4509  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4510    cstack_direction=0    cstack_direction=0
4511  else  else
4512    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4513  #line 4513 "configure"  #line 4514 "configure"
4514  #include "confdefs.h"  #include "confdefs.h"
4515  #include <stdio.h>  #include <stdio.h>
4516  void *  void *
# Line 4528  main() Line 4529  main()
4529    return 0;    return 0;
4530  }  }
4531  EOF  EOF
4532  if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4533  then  then
4534    cstack_direction=`cat conftest1`    cstack_direction=`cat conftest1`
4535  else  else
# Line 4548  EOF Line 4549  EOF
4549  echo "$ac_t""got $cstack_direction" 1>&6  echo "$ac_t""got $cstack_direction" 1>&6
4550    
4551  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
4552  echo "configure:4552: checking "for C stack size floor from heap "" >&5  echo "configure:4553: checking "for C stack size floor from heap "" >&5
4553  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4554    tmp_cssize=0    tmp_cssize=0
4555  else  else
4556    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4557  #line 4557 "configure"  #line 4558 "configure"
4558  #include "confdefs.h"  #include "confdefs.h"
4559  #include <stdio.h>  #include <stdio.h>
4560  int  int
# Line 4573  main() Line 4574  main()
4574    return 0;    return 0;
4575  }  }
4576  EOF  EOF
4577  if { (eval echo configure:4577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4578  then  then
4579    tmp_cssize=`cat conftest1`    tmp_cssize=`cat conftest1`
4580  else  else
# Line 4598  EOF Line 4599  EOF
4599    
4600    
4601  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
4602  echo "configure:4602: checking "for C stack size limit from fixnum table "" >&5  echo "configure:4603: checking "for C stack size limit from fixnum table "" >&5
4603  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4604    tmp_cssize=0    tmp_cssize=0
4605  else  else
4606    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4607  #line 4607 "configure"  #line 4608 "configure"
4608  #include "confdefs.h"  #include "confdefs.h"
4609  #include <stdio.h>  #include <stdio.h>
4610  int  int
# Line 4625  main() Line 4626  main()
4626    return 0;    return 0;
4627  }  }
4628  EOF  EOF
4629  if { (eval echo configure:4629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4630  then  then
4631    tmp_cssize=`cat conftest1`    tmp_cssize=`cat conftest1`
4632  else  else
# Line 4651  EOF Line 4652  EOF
4652  cstack_top=0  cstack_top=0
4653  cstack_range=0  cstack_range=0
4654  echo $ac_n "checking "finding cstack top"""... $ac_c" 1>&6  echo $ac_n "checking "finding cstack top"""... $ac_c" 1>&6
4655  echo "configure:4655: checking "finding cstack top"" >&5  echo "configure:4656: checking "finding cstack top"" >&5
4656  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4657    cstack_top=0    cstack_top=0
4658  else  else
4659    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4660  #line 4660 "configure"  #line 4661 "configure"
4661  #include "confdefs.h"  #include "confdefs.h"
4662  #include <stdio.h>  #include <stdio.h>
4663  int  int
# Line 4673  main() Line 4674  main()
4674    return 0;    return 0;
4675  }  }
4676  EOF  EOF
4677  if { (eval echo configure:4677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4678  then  then
4679    cstack_top=`cat conftest1`    cstack_top=`cat conftest1`
4680  else  else
# Line 4688  fi Line 4689  fi
4689  echo "$ac_t""got $cstack_top" 1>&6  echo "$ac_t""got $cstack_top" 1>&6
4690  if test "$cstack_top" != "0" ; then  if test "$cstack_top" != "0" ; then
4691     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
4692  echo "configure:4692: checking "finding over cstack half range"" >&5  echo "configure:4693: checking "finding over cstack half range"" >&5
4693     if test "$cross_compiling" = yes; then     if test "$cross_compiling" = yes; then
4694    cstack_range=0    cstack_range=0
4695  else  else
4696    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4697  #line 4697 "configure"  #line 4698 "configure"
4698  #include "confdefs.h"  #include "confdefs.h"
4699  #include <stdio.h>  #include <stdio.h>
4700     int     int
# Line 4708  else Line 4709  else
4709       return 0;       return 0;
4710     }     }
4711  EOF  EOF
4712  if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4713  then  then
4714    cstack_range=`cat conftest1`    cstack_range=`cat conftest1`
4715  else  else
# Line 4750  fi Line 4751  fi
4751    
4752    
4753  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
4754  echo "configure:4754: checking "sizeof long long int"" >&5  echo "configure:4755: checking "sizeof long long int"" >&5
4755  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4756    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4757    
4758  else  else
4759    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4760  #line 4760 "configure"  #line 4761 "configure"
4761  #include "confdefs.h"  #include "confdefs.h"
4762  #include <stdio.h>  #include <stdio.h>
4763  main()  main()
# Line 4766  main() Line 4767  main()
4767  }  }
4768    
4769  EOF  EOF
4770  if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4771  then  then
4772    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4773  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 4826  FLISP="saved_$SYSTEM" Line 4827  FLISP="saved_$SYSTEM"
4827  for ac_func in getcwd  for ac_func in getcwd
4828  do  do
4829  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4830  echo "configure:4830: checking for $ac_func" >&5  echo "configure:4831: checking for $ac_func" >&5
4831  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4832    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4833  else  else
4834    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4835  #line 4835 "configure"  #line 4836 "configure"
4836  #include "confdefs.h"  #include "confdefs.h"
4837  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4838      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4854  $ac_func(); Line 4855  $ac_func();
4855    
4856  ; return 0; }  ; return 0; }
4857  EOF  EOF
4858  if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4859    rm -rf conftest*    rm -rf conftest*
4860    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4861  else  else
# Line 4881  done Line 4882  done
4882  for ac_func in getwd  for ac_func in getwd
4883  do  do
4884  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4885  echo "configure:4885: checking for $ac_func" >&5  echo "configure:4886: checking for $ac_func" >&5
4886  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4887    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4888  else  else
4889    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4890  #line 4890 "configure"  #line 4891 "configure"
4891  #include "confdefs.h"  #include "confdefs.h"
4892  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4893      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4909  $ac_func(); Line 4910  $ac_func();
4910    
4911  ; return 0; }  ; return 0; }
4912  EOF  EOF
4913  if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4914    rm -rf conftest*    rm -rf conftest*
4915    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4916  else  else
# Line 4934  fi Line 4935  fi
4935  done  done
4936    
4937  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
4938  echo "configure:4938: checking for uname" >&5  echo "configure:4939: checking for uname" >&5
4939  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4940    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4941  else  else
4942    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4943  #line 4943 "configure"  #line 4944 "configure"
4944  #include "confdefs.h"  #include "confdefs.h"
4945  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4946      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 4962  uname(); Line 4963  uname();
4963    
4964  ; return 0; }  ; return 0; }
4965  EOF  EOF
4966  if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4967    rm -rf conftest*    rm -rf conftest*
4968    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
4969  else  else
# Line 4986  EOF Line 4987  EOF
4987  fi  fi
4988    
4989  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4990  echo "configure:4990: checking for gettimeofday" >&5  echo "configure:4991: checking for gettimeofday" >&5
4991  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4992    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4993  else  else
4994    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4995  #line 4995 "configure"  #line 4996 "configure"
4996  #include "confdefs.h"  #include "confdefs.h"
4997  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4998      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 5014  gettimeofday(); Line 5015  gettimeofday();
5015    
5016  ; return 0; }  ; return 0; }
5017  EOF  EOF
5018  if { (eval echo configure:5018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5019    rm -rf conftest*    rm -rf conftest*
5020    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
5021  else  else
# Line 5043  for ac_hdr in sys/ioctl.h Line 5044  for ac_hdr in sys/ioctl.h
5044  do  do
5045  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5046  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5047  echo "configure:5047: checking for $ac_hdr" >&5  echo "configure:5048: checking for $ac_hdr" >&5
5048  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5049    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5050  else  else
5051    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5052  #line 5052 "configure"  #line 5053 "configure"
5053  #include "confdefs.h"  #include "confdefs.h"
5054  #include <$ac_hdr>  #include <$ac_hdr>
5055  EOF  EOF
5056  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5057  { (eval echo configure:5057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5058  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5059  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5060    rm -rf conftest*    rm -rf conftest*
# Line 5085  for ac_hdr in elf.h elf_abi.h Line 5086  for ac_hdr in elf.h elf_abi.h
5086  do  do
5087  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5088  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5089  echo "configure:5089: checking for $ac_hdr" >&5  echo "configure:5090: checking for $ac_hdr" >&5
5090  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5091    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5092  else  else
5093    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5094  #line 5094 "configure"  #line 5095 "configure"
5095  #include "confdefs.h"  #include "confdefs.h"
5096  #include <$ac_hdr>  #include <$ac_hdr>
5097  EOF  EOF
5098  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5099  { (eval echo configure:5099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5100  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5101  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5102    rm -rf conftest*    rm -rf conftest*
# Line 5135  done Line 5136  done
5136  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5137    
5138  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
5139  echo "configure:5139: checking for BSDgettimeofday" >&5  echo "configure:5140: checking for BSDgettimeofday" >&5
5140  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
5141    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5142  else  else
5143    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5144  #line 5144 "configure"  #line 5145 "configure"
5145  #include "confdefs.h"  #include "confdefs.h"
5146  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5147      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 5163  BSDgettimeofday(); Line 5164  BSDgettimeofday();
5164    
5165  ; return 0; }  ; return 0; }
5166  EOF  EOF
5167  if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5168    rm -rf conftest*    rm -rf conftest*
5169    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
5170  else  else
# Line 5184  EOF Line 5185  EOF
5185  else  else
5186    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5187  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
5188  echo "configure:5188: checking for gettimeofday" >&5  echo "configure:5189: checking for gettimeofday" >&5
5189  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
5190    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5191  else  else
5192    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5193  #line 5193 "configure"  #line 5194 "configure"
5194  #include "confdefs.h"  #include "confdefs.h"
5195  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5196      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 5212  gettimeofday(); Line 5213  gettimeofday();
5213    
5214  ; return 0; }  ; return 0; }
5215  EOF  EOF
5216  if { (eval echo configure:5216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5217    rm -rf conftest*    rm -rf conftest*
5218    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
5219  else  else
# Line 5239  fi Line 5240  fi
5240    
5241    
5242  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
5243  echo "configure:5243: checking for gettimeofday declaration" >&5  echo "configure:5244: checking for gettimeofday declaration" >&5
5244    
5245  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5246  #line 5246 "configure"  #line 5247 "configure"
5247  #include "confdefs.h"  #include "confdefs.h"
5248  #include <sys/time.h>  #include <sys/time.h>
5249  EOF  EOF
# Line 5263  rm -f conftest* Line 5264  rm -f conftest*
5264    
5265    
5266  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5267  echo "configure:5267: checking for sin in -lm" >&5  echo "configure:5268: checking for sin in -lm" >&5
5268  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | 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 5271  else Line 5272  else
5272    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5273  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
5274  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5275  #line 5275 "configure"  #line 5276 "configure"
5276  #include "confdefs.h"  #include "confdefs.h"
5277  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5278  /* 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 5282  int main() { Line 5283  int main() {
5283  sin()  sin()
5284  ; return 0; }  ; return 0; }
5285  EOF  EOF
5286  if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5287    rm -rf conftest*    rm -rf conftest*
5288    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5289  else  else
# Line 5304  true Line 5305  true
5305  fi  fi
5306    
5307  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
5308  echo "configure:5308: checking for main in -lmingwex" >&5  echo "configure:5309: checking for main in -lmingwex" >&5
5309  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
5310  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
5311    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5312  else Line 5313  else
5313    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5314  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
5315  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5316  #line 5316 "configure"  #line 5317 "configure"
5317  #include "confdefs.h"  #include "confdefs.h"
5318    
5319  int main() {  int main() {
5320  main()  main()
5321  ; return 0; }  ; return 0; }
5322  EOF  EOF
5323  if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5324    rm -rf conftest*    rm -rf conftest*
5325    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5326  else  else
# Line 5347  if test "$try_japi" = "yes" ; then Line 5348  if test "$try_japi" = "yes" ; then
5348  do  do
5349  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5350  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5351  echo "configure:5351: checking for $ac_hdr" >&5  echo "configure:5352: checking for $ac_hdr" >&5
5352  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5353    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5354  else  else
5355    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5356  #line 5356 "configure"  #line 5357 "configure"
5357  #include "confdefs.h"  #include "confdefs.h"
5358  #include <$ac_hdr>  #include <$ac_hdr>
5359  EOF  EOF
5360  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5361  { (eval echo configure:5361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5362  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5363  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5364    rm -rf conftest*    rm -rf conftest*
# Line 5395  if test "$use" = "mingw" ; then Line 5396  if test "$use" = "mingw" ; then
5396  do  do
5397  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5398  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5399  echo "configure:5399: checking for $ac_hdr" >&5  echo "configure:5400: checking for $ac_hdr" >&5
5400  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5401    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5402  else  else
5403    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5404  #line 5404 "configure"  #line 5405 "configure"
5405  #include "confdefs.h"  #include "confdefs.h"
5406  #include <$ac_hdr>  #include <$ac_hdr>
5407  EOF  EOF
5408  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5409  { (eval echo configure:5409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5410  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5411  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5412    rm -rf conftest*    rm -rf conftest*
# Line 5442  else Line 5443  else
5443  do  do
5444  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5445  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5446  echo "configure:5446: checking for $ac_hdr" >&5  echo "configure:5447: checking for $ac_hdr" >&5
5447  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5448    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5449  else  else
5450    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5451  #line 5451 "configure"  #line 5452 "configure"
5452  #include "confdefs.h"  #include "confdefs.h"
5453  #include <$ac_hdr>  #include <$ac_hdr>
5454  EOF  EOF
5455  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5456  { (eval echo configure:5456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5457  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5458  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5459    rm -rf conftest*    rm -rf conftest*
# Line 5492  for ac_hdr in math.h Line 5493  for ac_hdr in math.h
5493  do  do
5494  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5495  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5496  echo "configure:5496: checking for $ac_hdr" >&5  echo "configure:5497: checking for $ac_hdr" >&5
5497  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5498    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5499  else  else
5500    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5501  #line 5501 "configure"  #line 5502 "configure"
5502  #include "confdefs.h"  #include "confdefs.h"
5503  #include <$ac_hdr>  #include <$ac_hdr>
5504  EOF  EOF
5505  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5506  { (eval echo configure:5506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5507  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5508  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5509    rm -rf conftest*    rm -rf conftest*
# Line 5539  for ac_hdr in values.h Line 5540  for ac_hdr in values.h
5540  do  do
5541  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5542  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5543  echo "configure:5543: checking for $ac_hdr" >&5  echo "configure:5544: checking for $ac_hdr" >&5
5544  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5545    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5546  else  else
5547    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5548  #line 5548 "configure"  #line 5549 "configure"
5549  #include "confdefs.h"  #include "confdefs.h"
5550  #include <$ac_hdr>  #include <$ac_hdr>
5551  EOF  EOF
5552  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5553  { (eval echo configure:5553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5554  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5555  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5556    rm -rf conftest*    rm -rf conftest*
# Line 5586  for ac_hdr in float.h Line 5587  for ac_hdr in float.h
5587  do  do
5588  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5589  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5590  echo "configure:5590: checking for $ac_hdr" >&5  echo "configure:5591: checking for $ac_hdr" >&5
5591  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5592    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5593  else  else
5594    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5595  #line 5595 "configure"  #line 5596 "configure"
5596  #include "confdefs.h"  #include "confdefs.h"
5597  #include <$ac_hdr>  #include <$ac_hdr>
5598  EOF  EOF
5599  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5600  { (eval echo configure:5600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5601  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5602  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5603    rm -rf conftest*    rm -rf conftest*
# Line 5632  done Line 5633  done
5633  # test makes sense.  CM  # test makes sense.  CM
5634  #  #
5635  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
5636  echo "configure:5636: checking for isnormal" >&5  echo "configure:5637: checking for isnormal" >&5
5637  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5638    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
5639  else  else
5640    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5641  #line 5641 "configure"  #line 5642 "configure"
5642  #include "confdefs.h"  #include "confdefs.h"
5643  #define _GNU_SOURCE  #define _GNU_SOURCE
5644              #include <math.h>              #include <math.h>
# Line 5646  else Line 5647  else
5647                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
5648                  }                  }
5649  EOF  EOF
5650  if { (eval echo configure:5650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5651  then  then
5652    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5653  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 5657  else Line 5658  else
5658    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5659    rm -fr conftest*    rm -fr conftest*
5660    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
5661  echo "configure:5661: checking for fpclass in ieeefp.h" >&5  echo "configure:5662: checking for fpclass in ieeefp.h" >&5
5662                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5663    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
5664  else  else
5665    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5666  #line 5666 "configure"  #line 5667 "configure"
5667  #include "confdefs.h"  #include "confdefs.h"
5668  #include <ieeefp.h>  #include <ieeefp.h>
5669                              int main() {                              int main() {
# Line 5670  else Line 5671  else
5671                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
5672                                  }                                  }
5673  EOF  EOF
5674  if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5675  then  then
5676    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5677  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 5692  fi Line 5693  fi
5693    
5694    
5695  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
5696  echo "configure:5696: checking for isfinite" >&5  echo "configure:5697: checking for isfinite" >&5
5697  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5698    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
5699  else  else
5700    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5701  #line 5701 "configure"  #line 5702 "configure"
5702  #include "confdefs.h"  #include "confdefs.h"
5703  #define _GNU_SOURCE  #define _GNU_SOURCE
5704              #include <math.h>              #include <math.h>
# Line 5706  else Line 5707  else
5707                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
5708                  }                  }
5709  EOF  EOF
5710  if { (eval echo configure:5710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5711  then  then
5712    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5713  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 5717  else Line 5718  else
5718    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5719    rm -fr conftest*    rm -fr conftest*
5720    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
5721  echo "configure:5721: checking for finite()" >&5  echo "configure:5722: checking for finite()" >&5
5722                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5723    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
5724  else  else
5725    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5726  #line 5726 "configure"  #line 5727 "configure"
5727  #include "confdefs.h"  #include "confdefs.h"
5728  #include <math.h>  #include <math.h>
5729                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 5731  else Line 5732  else
5732                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
5733                                  }                                  }
5734  EOF  EOF
5735  if { (eval echo configure:5735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5736  then  then
5737    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5738  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 5772  fi Line 5773  fi
5773  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
5774  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5775  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
5776  echo "configure:5776: checking for sockets" >&5  echo "configure:5777: checking for sockets" >&5
5777  tcl_checkBoth=0  tcl_checkBoth=0
5778  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
5779  echo "configure:5779: checking for connect" >&5  echo "configure:5780: checking for connect" >&5
5780  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
5781    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5782  else  else
5783    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5784  #line 5784 "configure"  #line 5785 "configure"
5785  #include "confdefs.h"  #include "confdefs.h"
5786  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5787      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 5803  connect(); Line 5804  connect();
5804    
5805  ; return 0; }  ; return 0; }
5806  EOF  EOF
5807  if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5808    rm -rf conftest*    rm -rf conftest*
5809    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
5810  else  else
# Line 5825  fi Line 5826  fi
5826    
5827  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
5828      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
5829  echo "configure:5829: checking for main in -lsocket" >&5  echo "configure:5830: checking for main in -lsocket" >&5
5830  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
5831  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
5832    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5833  else Line 5834  else
5834    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5835  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5836  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5837  #line 5837 "configure"  #line 5838 "configure"
5838  #include "confdefs.h"  #include "confdefs.h"
5839    
5840  int main() {  int main() {
5841  main()  main()
5842  ; return 0; }  ; return 0; }
5843  EOF  EOF
5844  if { (eval echo configure:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5845    rm -rf conftest*    rm -rf conftest*
5846    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5847  else  else
# Line 5868  if test "$tcl_checkBoth" = 1; then Line 5869  if test "$tcl_checkBoth" = 1; then
5869      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
5870      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
5871      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
5872  echo "configure:5872: checking for accept" >&5  echo "configure:5873: checking for accept" >&5
5873  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
5874    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5875  else  else
5876    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5877  #line 5877 "configure"  #line 5878 "configure"
5878  #include "confdefs.h"  #include "confdefs.h"
5879  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5880      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 5896  accept(); Line 5897  accept();
5897    
5898  ; return 0; }  ; return 0; }
5899  EOF  EOF
5900  if { (eval echo configure:5900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5901    rm -rf conftest*    rm -rf conftest*
5902    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
5903  else  else
# Line 5918  fi Line 5919  fi
5919    
5920  fi  fi
5921  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5922  echo "configure:5922: checking for gethostbyname" >&5  echo "configure:5923: checking for gethostbyname" >&5
5923  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
5924    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5925  else  else
5926    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5927  #line 5927 "configure"  #line 5928 "configure"
5928  #include "confdefs.h"  #include "confdefs.h"
5929  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5930      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 5946  gethostbyname(); Line 5947  gethostbyname();
5947    
5948  ; return 0; }  ; return 0; }
5949  EOF  EOF
5950  if { (eval echo configure:5950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5951    rm -rf conftest*    rm -rf conftest*
5952    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
5953  else  else
# Line 5964  if eval "test \"`echo '$ac_cv_func_'geth Line 5965  if eval "test \"`echo '$ac_cv_func_'geth
5965  else  else
5966    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5967  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
5968  echo "configure:5968: checking for main in -lnsl" >&5  echo "configure:5969: checking for main in -lnsl" >&5
5969  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
5970  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
5971    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5972  else Line 5973  else
5973    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5974  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5975  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5976  #line 5976 "configure"  #line 5977 "configure"
5977  #include "confdefs.h"  #include "confdefs.h"
5978    
5979  int main() {  int main() {
5980  main()  main()
5981  ; return 0; }  ; return 0; }
5982  EOF  EOF
5983  if { (eval echo configure:5983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5984    rm -rf conftest*    rm -rf conftest*
5985    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5986  else  else
# Line 6009  if test "$enable_readline" = "yes" ; the Line 6010  if test "$enable_readline" = "yes" ; the
6010  do  do
6011  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6012  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6013  echo "configure:6013: checking for $ac_hdr" >&5  echo "configure:6014: checking for $ac_hdr" >&5
6014  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6015    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6016  else  else
6017    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6018  #line 6018 "configure"  #line 6019 "configure"
6019  #include "confdefs.h"  #include "confdefs.h"
6020  #include <$ac_hdr>  #include <$ac_hdr>
6021  EOF  EOF
6022  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6023  { (eval echo configure:6023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6024  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6025  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6026    rm -rf conftest*    rm -rf conftest*
# Line 6040  if eval "test \"`echo '$ac_cv_header_'$a Line 6041  if eval "test \"`echo '$ac_cv_header_'$a
6041  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
6042  EOF  EOF
6043   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
6044  echo "configure:6044: checking for main in -lreadline" >&5  echo "configure:6045: checking for main in -lreadline" >&5
6045  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
6046  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
6047    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6048  else Line 6049  else
6049    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6050  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
6051  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6052  #line 6052 "configure"  #line 6053 "configure"
6053  #include "confdefs.h"  #include "confdefs.h"
6054    
6055  int main() {  int main() {
6056  main()  main()
6057  ; return 0; }  ; return 0; }
6058  EOF  EOF
6059  if { (eval echo configure:6059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6060    rm -rf conftest*    rm -rf conftest*
6061    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6062  else  else
# Line 6092  done Line 6093  done
6093    
6094  # These tests discover differences between readline 4.1 and 4.3  # These tests discover differences between readline 4.1 and 4.3
6095          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
6096  echo "configure:6096: checking for rl_completion_matches in -lreadline" >&5  echo "configure:6097: checking for rl_completion_matches in -lreadline" >&5
6097  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
6098  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
6099    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6100  else Line 6101  else
6101    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6102  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
6103  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6104  #line 6104 "configure"  #line 6105 "configure"
6105  #include "confdefs.h"  #include "confdefs.h"
6106  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6107  /* 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 6111  int main() { Line 6112  int main() {
6112  rl_completion_matches()  rl_completion_matches()
6113  ; return 0; }  ; return 0; }
6114  EOF  EOF
6115  if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6116    rm -rf conftest*    rm -rf conftest*
6117    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6118  else  else
# Line 6144  fi Line 6145  fi
6145    
6146    
6147  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
6148  echo "configure:6148: checking For network code for nsocket.c" >&5  echo "configure:6149: checking For network code for nsocket.c" >&5
6149  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6150  #line 6150 "configure"  #line 6151 "configure"
6151  #include "confdefs.h"  #include "confdefs.h"
6152    
6153  #include <sys/time.h>  #include <sys/time.h>
# Line 6173  int main() { Line 6174  int main() {
6174                    
6175  ; return 0; }  ; return 0; }
6176  EOF  EOF
6177  if { (eval echo configure:6177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6178    rm -rf conftest*    rm -rf conftest*
6179    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6180  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 6190  rm -f conftest* Line 6191  rm -f conftest*
6191    
6192    
6193  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
6194  echo "configure:6194: checking check for listen using fcntl" >&5  echo "configure:6195: checking check for listen using fcntl" >&5
6195  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6196  #line 6196 "configure"  #line 6197 "configure"
6197  #include "confdefs.h"  #include "confdefs.h"
6198  #include <stdio.h>  #include <stdio.h>
6199  #include <fcntl.h>  #include <fcntl.h>
# Line 6205  FILE *fp=fopen("configure.in","r"); Line 6206  FILE *fp=fopen("configure.in","r");
6206    
6207  ; return 0; }  ; return 0; }
6208  EOF  EOF
6209  if { (eval echo configure:6209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6210    rm -rf conftest*    rm -rf conftest*
6211    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6212  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 6224  rm -f conftest* Line 6225  rm -f conftest*
6225    
6226    
6227  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
6228  echo "configure:6228: checking for profil" >&5  echo "configure:6229: checking for profil" >&5
6229  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
6230    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6231  else  else
6232    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6233  #line 6233 "configure"  #line 6234 "configure"
6234  #include "confdefs.h"  #include "confdefs.h"
6235  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6236      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 6252  profil(); Line 6253  profil();
6253    
6254  ; return 0; }  ; return 0; }
6255  EOF  EOF
6256  if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6257    rm -rf conftest*    rm -rf conftest*
6258    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
6259  else  else
# Line 6277  fi Line 6278  fi
6278    
6279    
6280  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
6281  echo "configure:6281: checking for setenv" >&5  echo "configure:6282: checking for setenv" >&5
6282  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
6283    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6284  else  else
6285    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6286  #line 6286 "configure"  #line 6287 "configure"
6287  #include "confdefs.h"  #include "confdefs.h"
6288  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6289      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 6305  setenv(); Line 6306  setenv();
6306    
6307  ; return 0; }  ; return 0; }
6308  EOF  EOF
6309  if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6310    rm -rf conftest*    rm -rf conftest*
6311    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
6312  else  else
# Line 6331  fi Line 6332  fi
6332    
6333  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
6334  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
6335  echo "configure:6335: checking for putenv" >&5  echo "configure:6336: checking for putenv" >&5
6336  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
6337    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6338  else  else
6339    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6340  #line 6340 "configure"  #line 6341 "configure"
6341  #include "confdefs.h"  #include "confdefs.h"
6342  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6343      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 6359  putenv(); Line 6360  putenv();
6360    
6361  ; return 0; }  ; return 0; }
6362  EOF  EOF
6363  if { (eval echo configure:6363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6364    rm -rf conftest*    rm -rf conftest*
6365    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
6366  else  else
# Line 6385  fi Line 6386  fi
6386  fi  fi
6387    
6388  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
6389  echo "configure:6389: checking for _cleanup" >&5  echo "configure:6390: checking for _cleanup" >&5
6390  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
6391    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6392  else  else
6393    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6394  #line 6394 "configure"  #line 6395 "configure"
6395  #include "confdefs.h"  #include "confdefs.h"
6396  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6397      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 6413  _cleanup(); Line 6414  _cleanup();
6414    
6415  ; return 0; }  ; return 0; }
6416  EOF  EOF
6417  if { (eval echo configure:6417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6418    rm -rf conftest*    rm -rf conftest*
6419    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
6420  else  else
# Line 6439  fi Line 6440  fi
6440  gcl_ok=no  gcl_ok=no
6441    
6442  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6443  #line 6443 "configure"  #line 6444 "configure"
6444  #include "confdefs.h"  #include "confdefs.h"
6445  #include <ctype.h>  #include <ctype.h>
6446  EOF  EOF
# Line 6467  fi Line 6468  fi
6468    
6469  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
6470  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
6471  echo "configure:6471: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:6472: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
6472    
6473  case $system in  case $system in
6474         OSF*)         OSF*)
# Line 6498  esac Line 6499  esac
6499    
6500    
6501  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
6502  echo "configure:6502: checking check for SV_ONSTACK" >&5  echo "configure:6503: checking check for SV_ONSTACK" >&5
6503  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6504  #line 6504 "configure"  #line 6505 "configure"
6505  #include "confdefs.h"  #include "confdefs.h"
6506  #include <signal.h>  #include <signal.h>
6507  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 6509  int main() { Line 6510  int main() {
6510    
6511  ; return 0; }  ; return 0; }
6512  EOF  EOF
6513  if { (eval echo configure:6513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6514    rm -rf conftest*    rm -rf conftest*
6515    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6516  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 6526  fi Line 6527  fi
6527  rm -f conftest*  rm -f conftest*
6528    
6529  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
6530  echo "configure:6530: checking check for SIGSYS" >&5  echo "configure:6531: checking check for SIGSYS" >&5
6531  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6532  #line 6532 "configure"  #line 6533 "configure"
6533  #include "confdefs.h"  #include "confdefs.h"
6534  #include <signal.h>  #include <signal.h>
6535  int joe=SIGSYS;  int joe=SIGSYS;
# Line 6537  int main() { Line 6538  int main() {
6538    
6539  ; return 0; }  ; return 0; }
6540  EOF  EOF
6541  if { (eval echo configure:6541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6542    rm -rf conftest*    rm -rf conftest*
6543    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6544  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 6555  rm -f conftest* Line 6556  rm -f conftest*
6556    
6557    
6558  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
6559  echo "configure:6559: checking check for SIGEMT" >&5  echo "configure:6560: checking check for SIGEMT" >&5
6560  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6561  #line 6561 "configure"  #line 6562 "configure"
6562  #include "confdefs.h"  #include "confdefs.h"
6563  #include <signal.h>  #include <signal.h>
6564  int joe=SIGEMT;  int joe=SIGEMT;
# Line 6566  int main() { Line 6567  int main() {
6567    
6568  ; return 0; }  ; return 0; }
6569  EOF  EOF
6570  if { (eval echo configure:6570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6571    rm -rf conftest*    rm -rf conftest*
6572    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
6573  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 6590  rm -f conftest* Line 6591  rm -f conftest*
6591  do  do
6592  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6593  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6594  echo "configure:6594: checking for $ac_hdr" >&5  echo "configure:6595: checking for $ac_hdr" >&5
6595  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6596    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6597  else  else
6598    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6599  #line 6599 "configure"  #line 6600 "configure"
6600  #include "confdefs.h"  #include "confdefs.h"
6601  #include <$ac_hdr>  #include <$ac_hdr>
6602  EOF  EOF
6603  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6604  { (eval echo configure:6604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6605  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6606  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6607    rm -rf conftest*    rm -rf conftest*
# Line 6630  done Line 6631  done
6631  do  do
6632  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6633  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6634  echo "configure:6634: checking for $ac_hdr" >&5  echo "configure:6635: checking for $ac_hdr" >&5
6635  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6636    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6637  else  else
6638    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6639  #line 6639 "configure"  #line 6640 "configure"
6640  #include "confdefs.h"  #include "confdefs.h"
6641  #include <$ac_hdr>  #include <$ac_hdr>
6642  EOF  EOF
6643  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6644  { (eval echo configure:6644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6645  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6646  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6647    rm -rf conftest*    rm -rf conftest*
# Line 6667  fi Line 6668  fi
6668  done  done
6669    
6670          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6671  echo "configure:6671: checking for sigcontext..." >&5  echo "configure:6672: checking for sigcontext..." >&5
6672          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
6673  #line 6673 "configure"  #line 6674 "configure"
6674  #include "confdefs.h"  #include "confdefs.h"
6675  #include <signal.h>  #include <signal.h>
6676                
# Line 6679  int main() { Line 6680  int main() {
6680                
6681  ; return 0; }  ; return 0; }
6682  EOF  EOF
6683  if { (eval echo configure:6683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6684    rm -rf conftest*    rm -rf conftest*
6685        
6686          sigcontext_works=1;          sigcontext_works=1;
# Line 6700  fi Line 6701  fi
6701  rm -f conftest*  rm -f conftest*
6702         if test "$sigcontext_works" = 0 ; then         if test "$sigcontext_works" = 0 ; then
6703         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6704  echo "configure:6704: checking for sigcontext..." >&5  echo "configure:6705: checking for sigcontext..." >&5
6705         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6706  #line 6706 "configure"  #line 6707 "configure"
6707  #include "confdefs.h"  #include "confdefs.h"
6708  #include <signal.h>  #include <signal.h>
6709               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 6718  int main() { Line 6719  int main() {
6719                    
6720  ; return 0; }  ; return 0; }
6721  EOF  EOF
6722  if { (eval echo configure:6722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6723    rm -rf conftest*    rm -rf conftest*
6724        
6725          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
# Line 6760  rm -f conftest* Line 6761  rm -f conftest*
6761  # 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.
6762  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
6763  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6764  echo "configure:6764: checking for $ac_word" >&5  echo "configure:6765: checking for $ac_word" >&5
6765  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
6766    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6767  else  else
# Line 6808  cat >> conftest.el <<EOF Line 6809  cat >> conftest.el <<EOF
6809  EOF  EOF
6810    
6811  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
6812  echo "configure:6812: checking emacs site lisp directory" >&5  echo "configure:6813: checking emacs site lisp directory" >&5
6813  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
6814          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
6815                  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 6832  cat >> conftest.el <<EOF Line 6833  cat >> conftest.el <<EOF
6833  EOF  EOF
6834    
6835  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
6836  echo "configure:6836: checking emacs default.el" >&5  echo "configure:6837: checking emacs default.el" >&5
6837  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
6838          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 `
6839  else  else
# Line 6861  cat >> conftest.el <<EOF Line 6862  cat >> conftest.el <<EOF
6862  EOF  EOF
6863    
6864  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
6865  echo "configure:6865: checking emacs info/dir" >&5  echo "configure:6866: checking emacs info/dir" >&5
6866  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
6867      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
6868  else  else
# Line 6879  echo "$ac_t""$INFO_DIR" 1>&6 Line 6880  echo "$ac_t""$INFO_DIR" 1>&6
6880    
6881    
6882  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
6883  echo "configure:6883: checking for tcl/tk" >&5  echo "configure:6884: checking for tcl/tk" >&5
6884    
6885    
6886  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 6902  EOF Line 6903  EOF
6903  # 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.
6904  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
6905  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6906  echo "configure:6906: checking for $ac_word" >&5  echo "configure:6907: checking for $ac_word" >&5
6907  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
6908    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6909  else  else
# Line 7007  if test -f ${TK_CONFIG_PREFIX}/../bin/tc Line 7008  if test -f ${TK_CONFIG_PREFIX}/../bin/tc
7008     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}"
7009  else  else
7010    echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6    echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
7011  echo "configure:7011: checking for main in -llieee" >&5  echo "configure:7012: checking for main in -llieee" >&5
7012  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
7013  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
7014    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7015  else Line 7016  else
7016    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
7017  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
7018  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7019  #line 7019 "configure"  #line 7020 "configure"
7020  #include "confdefs.h"  #include "confdefs.h"
7021    
7022  int main() {  int main() {
7023  main()  main()
7024  ; return 0; }  ; return 0; }
7025  EOF  EOF
7026  if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7027    rm -rf conftest*    rm -rf conftest*
7028    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
7029  else  else
# Line 7089  NOTIFY=$enable_notify Line 7090  NOTIFY=$enable_notify
7090  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
7091    
7092  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
7093  echo "configure:7093: checking alloca" >&5  echo "configure:7094: checking alloca" >&5
7094  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
7095    gcl_ok=no    gcl_ok=no
7096  else  else
7097    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7098  #line 7098 "configure"  #line 7099 "configure"
7099  #include "confdefs.h"  #include "confdefs.h"
7100  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
7101  EOF  EOF
7102  if { (eval echo configure:7102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7103  then  then
7104    :    :
7105  else  else
# Line 7121  else Line 7122  else
7122    gcl_ok=no    gcl_ok=no
7123  else  else
7124    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7125  #line 7125 "configure"  #line 7126 "configure"
7126  #include "confdefs.h"  #include "confdefs.h"
7127  #include <alloca.h>  #include <alloca.h>
7128    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
7129  EOF  EOF
7130  if { (eval echo configure:7130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7131  then  then
7132    :    :
7133  else  else
# Line 7187  if test $gcl_ok = no ; then     echo "$a Line 7188  if test $gcl_ok = no ; then     echo "$a
7188  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
7189  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
7190  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
7191  echo "configure:7191: checking Checking for buggy gcc version from redhat" >&5  echo "configure:7192: checking Checking for buggy gcc version from redhat" >&5
7192  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
7193     then     then
7194          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.177  
changed lines
  Added in v.1.178

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