4391 |
#include <stdio.h> |
#include <stdio.h> |
4392 |
main() |
main() |
4393 |
{ |
{ |
4394 |
char *b ; |
void *v ; |
4395 |
FILE *fp = fopen("conftest1","w"); |
FILE *fp = fopen("conftest1","w"); |
4396 |
fprintf(fp,"%ld",((long) &b)); |
unsigned long i,j,k; |
4397 |
|
|
4398 |
|
for (i=2,k=1;i;k=i,i<<=1); |
4399 |
|
for (i=j=k;j && i<(unsigned long)&v;j>>=1,i|=j); |
4400 |
|
fprintf(fp,"%ld",i&-0x1000); |
4401 |
fclose(fp); |
fclose(fp); |
4402 |
return 0; |
return 0; |
4403 |
} |
} |
4404 |
EOF |
EOF |
4405 |
if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4406 |
then |
then |
4407 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
4408 |
else |
else |
4415 |
fi |
fi |
4416 |
|
|
4417 |
cat >> confdefs.h <<EOF |
cat >> confdefs.h <<EOF |
4418 |
#define CSTACK_ADDRESS $cstack_address \ |
#define CSTACK_ADDRESS $cstack_address |
|
|
|
4419 |
EOF |
EOF |
4420 |
|
|
4421 |
echo "$ac_t""got $cstack_address" 1>&6 |
echo "$ac_t""got $cstack_address" 1>&6 |
4422 |
|
|
4423 |
echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6 |
4424 |
echo "configure:4422: checking "finding CSTACK_ALIGNMENT"" >&5 |
echo "configure:4425: checking "finding CSTACK_ALIGNMENT"" >&5 |
4425 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4426 |
cstack_alignment=0 |
cstack_alignment=0 |
4427 |
else |
else |
4428 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4429 |
#line 4427 "configure" |
#line 4430 "configure" |
4430 |
#include "confdefs.h" |
#include "confdefs.h" |
4431 |
#include <stdio.h> |
#include <stdio.h> |
4432 |
main() |
main() |
4443 |
return 0; |
return 0; |
4444 |
} |
} |
4445 |
EOF |
EOF |
4446 |
if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4447 |
then |
then |
4448 |
cstack_alignment=`cat conftest1` |
cstack_alignment=`cat conftest1` |
4449 |
else |
else |
4463 |
echo "$ac_t""got $cstack_alignment" 1>&6 |
echo "$ac_t""got $cstack_alignment" 1>&6 |
4464 |
|
|
4465 |
echo $ac_n "checking "finding CSTACK_DIRECTION"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_DIRECTION"""... $ac_c" 1>&6 |
4466 |
echo "configure:4464: checking "finding CSTACK_DIRECTION"" >&5 |
echo "configure:4467: checking "finding CSTACK_DIRECTION"" >&5 |
4467 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4468 |
cstack_direction=0 |
cstack_direction=0 |
4469 |
else |
else |
4470 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4471 |
#line 4469 "configure" |
#line 4472 "configure" |
4472 |
#include "confdefs.h" |
#include "confdefs.h" |
4473 |
#include <stdio.h> |
#include <stdio.h> |
4474 |
void * |
void * |
4487 |
return 0; |
return 0; |
4488 |
} |
} |
4489 |
EOF |
EOF |
4490 |
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:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4491 |
then |
then |
4492 |
cstack_direction=`cat conftest1` |
cstack_direction=`cat conftest1` |
4493 |
else |
else |
4507 |
echo "$ac_t""got $cstack_direction" 1>&6 |
echo "$ac_t""got $cstack_direction" 1>&6 |
4508 |
|
|
4509 |
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 |
4510 |
echo "configure:4508: checking "for C stack size floor from heap "" >&5 |
echo "configure:4511: checking "for C stack size floor from heap "" >&5 |
4511 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4512 |
tmp_cssize=0 |
tmp_cssize=0 |
4513 |
else |
else |
4514 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4515 |
#line 4513 "configure" |
#line 4516 "configure" |
4516 |
#include "confdefs.h" |
#include "confdefs.h" |
4517 |
#include <stdio.h> |
#include <stdio.h> |
4518 |
int |
int |
4532 |
return 0; |
return 0; |
4533 |
} |
} |
4534 |
EOF |
EOF |
4535 |
if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4536 |
then |
then |
4537 |
tmp_cssize=`cat conftest1` |
tmp_cssize=`cat conftest1` |
4538 |
else |
else |
4559 |
cstack_top=0 |
cstack_top=0 |
4560 |
cstack_range=0 |
cstack_range=0 |
4561 |
echo $ac_n "checking "finding cstack top"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding cstack top"""... $ac_c" 1>&6 |
4562 |
echo "configure:4560: checking "finding cstack top"" >&5 |
echo "configure:4563: checking "finding cstack top"" >&5 |
4563 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4564 |
cstack_top=0 |
cstack_top=0 |
4565 |
else |
else |
4566 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4567 |
#line 4565 "configure" |
#line 4568 "configure" |
4568 |
#include "confdefs.h" |
#include "confdefs.h" |
4569 |
#include <stdio.h> |
#include <stdio.h> |
4570 |
int |
int |
4581 |
return 0; |
return 0; |
4582 |
} |
} |
4583 |
EOF |
EOF |
4584 |
if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4585 |
then |
then |
4586 |
cstack_top=`cat conftest1` |
cstack_top=`cat conftest1` |
4587 |
else |
else |
4596 |
echo "$ac_t""got $cstack_top" 1>&6 |
echo "$ac_t""got $cstack_top" 1>&6 |
4597 |
if test "$cstack_top" != "0" ; then |
if test "$cstack_top" != "0" ; then |
4598 |
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 |
4599 |
echo "configure:4597: checking "finding over cstack half range"" >&5 |
echo "configure:4600: checking "finding over cstack half range"" >&5 |
4600 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4601 |
cstack_range=0 |
cstack_range=0 |
4602 |
else |
else |
4603 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4604 |
#line 4602 "configure" |
#line 4605 "configure" |
4605 |
#include "confdefs.h" |
#include "confdefs.h" |
4606 |
#include <stdio.h> |
#include <stdio.h> |
4607 |
int |
int |
4616 |
return 0; |
return 0; |
4617 |
} |
} |
4618 |
EOF |
EOF |
4619 |
if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4620 |
then |
then |
4621 |
cstack_range=`cat conftest1` |
cstack_range=`cat conftest1` |
4622 |
else |
else |
4658 |
|
|
4659 |
|
|
4660 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
4661 |
echo "configure:4659: checking "sizeof long long int"" >&5 |
echo "configure:4662: checking "sizeof long long int"" >&5 |
4662 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4663 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4664 |
|
|
4665 |
else |
else |
4666 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4667 |
#line 4665 "configure" |
#line 4668 "configure" |
4668 |
#include "confdefs.h" |
#include "confdefs.h" |
4669 |
#include <stdio.h> |
#include <stdio.h> |
4670 |
main() |
main() |
4674 |
} |
} |
4675 |
|
|
4676 |
EOF |
EOF |
4677 |
if { (eval echo configure:4675: \"$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 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4680 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
4734 |
for ac_func in getcwd |
for ac_func in getcwd |
4735 |
do |
do |
4736 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4737 |
echo "configure:4735: checking for $ac_func" >&5 |
echo "configure:4738: checking for $ac_func" >&5 |
4738 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4739 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4740 |
else |
else |
4741 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4742 |
#line 4740 "configure" |
#line 4743 "configure" |
4743 |
#include "confdefs.h" |
#include "confdefs.h" |
4744 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4745 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
4762 |
|
|
4763 |
; return 0; } |
; return 0; } |
4764 |
EOF |
EOF |
4765 |
if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4766 |
rm -rf conftest* |
rm -rf conftest* |
4767 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
4768 |
else |
else |
4789 |
for ac_func in getwd |
for ac_func in getwd |
4790 |
do |
do |
4791 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4792 |
echo "configure:4790: checking for $ac_func" >&5 |
echo "configure:4793: checking for $ac_func" >&5 |
4793 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4794 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4795 |
else |
else |
4796 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4797 |
#line 4795 "configure" |
#line 4798 "configure" |
4798 |
#include "confdefs.h" |
#include "confdefs.h" |
4799 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4800 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
4817 |
|
|
4818 |
; return 0; } |
; return 0; } |
4819 |
EOF |
EOF |
4820 |
if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4821 |
rm -rf conftest* |
rm -rf conftest* |
4822 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
4823 |
else |
else |
4842 |
done |
done |
4843 |
|
|
4844 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
4845 |
echo "configure:4843: checking for uname" >&5 |
echo "configure:4846: checking for uname" >&5 |
4846 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
4847 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4848 |
else |
else |
4849 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4850 |
#line 4848 "configure" |
#line 4851 "configure" |
4851 |
#include "confdefs.h" |
#include "confdefs.h" |
4852 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4853 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
4870 |
|
|
4871 |
; return 0; } |
; return 0; } |
4872 |
EOF |
EOF |
4873 |
if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4874 |
rm -rf conftest* |
rm -rf conftest* |
4875 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
4876 |
else |
else |
4894 |
fi |
fi |
4895 |
|
|
4896 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
4897 |
echo "configure:4895: checking for gettimeofday" >&5 |
echo "configure:4898: checking for gettimeofday" >&5 |
4898 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
4899 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4900 |
else |
else |
4901 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4902 |
#line 4900 "configure" |
#line 4903 "configure" |
4903 |
#include "confdefs.h" |
#include "confdefs.h" |
4904 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4905 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
4922 |
|
|
4923 |
; return 0; } |
; return 0; } |
4924 |
EOF |
EOF |
4925 |
if { (eval echo configure:4923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4926 |
rm -rf conftest* |
rm -rf conftest* |
4927 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
4928 |
else |
else |
4951 |
do |
do |
4952 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4953 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4954 |
echo "configure:4952: checking for $ac_hdr" >&5 |
echo "configure:4955: checking for $ac_hdr" >&5 |
4955 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4956 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4957 |
else |
else |
4958 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4959 |
#line 4957 "configure" |
#line 4960 "configure" |
4960 |
#include "confdefs.h" |
#include "confdefs.h" |
4961 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4962 |
EOF |
EOF |
4963 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4964 |
{ (eval echo configure:4962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4965 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4966 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4967 |
rm -rf conftest* |
rm -rf conftest* |
4993 |
do |
do |
4994 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4995 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4996 |
echo "configure:4994: checking for $ac_hdr" >&5 |
echo "configure:4997: checking for $ac_hdr" >&5 |
4997 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4998 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4999 |
else |
else |
5000 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5001 |
#line 4999 "configure" |
#line 5002 "configure" |
5002 |
#include "confdefs.h" |
#include "confdefs.h" |
5003 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5004 |
EOF |
EOF |
5005 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5006 |
{ (eval echo configure:5004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5007 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5008 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5009 |
rm -rf conftest* |
rm -rf conftest* |
5043 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5044 |
|
|
5045 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
5046 |
echo "configure:5044: checking for BSDgettimeofday" >&5 |
echo "configure:5047: checking for BSDgettimeofday" >&5 |
5047 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
5048 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5049 |
else |
else |
5050 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5051 |
#line 5049 "configure" |
#line 5052 "configure" |
5052 |
#include "confdefs.h" |
#include "confdefs.h" |
5053 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5054 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
5071 |
|
|
5072 |
; return 0; } |
; return 0; } |
5073 |
EOF |
EOF |
5074 |
if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5075 |
rm -rf conftest* |
rm -rf conftest* |
5076 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
5077 |
else |
else |
5092 |
else |
else |
5093 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
5094 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
5095 |
echo "configure:5093: checking for gettimeofday" >&5 |
echo "configure:5096: checking for gettimeofday" >&5 |
5096 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
5097 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5098 |
else |
else |
5099 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5100 |
#line 5098 "configure" |
#line 5101 "configure" |
5101 |
#include "confdefs.h" |
#include "confdefs.h" |
5102 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5103 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
5120 |
|
|
5121 |
; return 0; } |
; return 0; } |
5122 |
EOF |
EOF |
5123 |
if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5124 |
rm -rf conftest* |
rm -rf conftest* |
5125 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
5126 |
else |
else |
5147 |
|
|
5148 |
|
|
5149 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
5150 |
echo "configure:5148: checking for gettimeofday declaration" >&5 |
echo "configure:5151: checking for gettimeofday declaration" >&5 |
5151 |
|
|
5152 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5153 |
#line 5151 "configure" |
#line 5154 "configure" |
5154 |
#include "confdefs.h" |
#include "confdefs.h" |
5155 |
#include <sys/time.h> |
#include <sys/time.h> |
5156 |
EOF |
EOF |
5171 |
|
|
5172 |
|
|
5173 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5174 |
echo "configure:5172: checking for sin in -lm" >&5 |
echo "configure:5175: checking for sin in -lm" >&5 |
5175 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5176 |
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 |
5177 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5179 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5180 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
5181 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5182 |
#line 5180 "configure" |
#line 5183 "configure" |
5183 |
#include "confdefs.h" |
#include "confdefs.h" |
5184 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5185 |
/* 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 |
5190 |
sin() |
sin() |
5191 |
; return 0; } |
; return 0; } |
5192 |
EOF |
EOF |
5193 |
if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5194 |
rm -rf conftest* |
rm -rf conftest* |
5195 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5196 |
else |
else |
5212 |
fi |
fi |
5213 |
|
|
5214 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
5215 |
echo "configure:5213: checking for main in -lmingwex" >&5 |
echo "configure:5216: checking for main in -lmingwex" >&5 |
5216 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
5217 |
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 |
5218 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5220 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5221 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
5222 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5223 |
#line 5221 "configure" |
#line 5224 "configure" |
5224 |
#include "confdefs.h" |
#include "confdefs.h" |
5225 |
|
|
5226 |
int main() { |
int main() { |
5227 |
main() |
main() |
5228 |
; return 0; } |
; return 0; } |
5229 |
EOF |
EOF |
5230 |
if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5231 |
rm -rf conftest* |
rm -rf conftest* |
5232 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5233 |
else |
else |
5255 |
do |
do |
5256 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5257 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5258 |
echo "configure:5256: checking for $ac_hdr" >&5 |
echo "configure:5259: checking for $ac_hdr" >&5 |
5259 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5260 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5261 |
else |
else |
5262 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5263 |
#line 5261 "configure" |
#line 5264 "configure" |
5264 |
#include "confdefs.h" |
#include "confdefs.h" |
5265 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5266 |
EOF |
EOF |
5267 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5268 |
{ (eval echo configure:5266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5269 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5270 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5271 |
rm -rf conftest* |
rm -rf conftest* |
5303 |
do |
do |
5304 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5305 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5306 |
echo "configure:5304: checking for $ac_hdr" >&5 |
echo "configure:5307: checking for $ac_hdr" >&5 |
5307 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5308 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5309 |
else |
else |
5310 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5311 |
#line 5309 "configure" |
#line 5312 "configure" |
5312 |
#include "confdefs.h" |
#include "confdefs.h" |
5313 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5314 |
EOF |
EOF |
5315 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5316 |
{ (eval echo configure:5314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5317 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5318 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5319 |
rm -rf conftest* |
rm -rf conftest* |
5350 |
do |
do |
5351 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5352 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5353 |
echo "configure:5351: checking for $ac_hdr" >&5 |
echo "configure:5354: checking for $ac_hdr" >&5 |
5354 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5355 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5356 |
else |
else |
5357 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5358 |
#line 5356 "configure" |
#line 5359 "configure" |
5359 |
#include "confdefs.h" |
#include "confdefs.h" |
5360 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5361 |
EOF |
EOF |
5362 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5363 |
{ (eval echo configure:5361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5364 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5365 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5366 |
rm -rf conftest* |
rm -rf conftest* |
5400 |
do |
do |
5401 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5402 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5403 |
echo "configure:5401: checking for $ac_hdr" >&5 |
echo "configure:5404: checking for $ac_hdr" >&5 |
5404 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5405 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5406 |
else |
else |
5407 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5408 |
#line 5406 "configure" |
#line 5409 "configure" |
5409 |
#include "confdefs.h" |
#include "confdefs.h" |
5410 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5411 |
EOF |
EOF |
5412 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5413 |
{ (eval echo configure:5411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5414 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5415 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5416 |
rm -rf conftest* |
rm -rf conftest* |
5447 |
do |
do |
5448 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5449 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5450 |
echo "configure:5448: checking for $ac_hdr" >&5 |
echo "configure:5451: checking for $ac_hdr" >&5 |
5451 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5452 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5453 |
else |
else |
5454 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5455 |
#line 5453 "configure" |
#line 5456 "configure" |
5456 |
#include "confdefs.h" |
#include "confdefs.h" |
5457 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5458 |
EOF |
EOF |
5459 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5460 |
{ (eval echo configure:5458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5461 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5462 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5463 |
rm -rf conftest* |
rm -rf conftest* |
5494 |
do |
do |
5495 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5496 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5497 |
echo "configure:5495: checking for $ac_hdr" >&5 |
echo "configure:5498: checking for $ac_hdr" >&5 |
5498 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5499 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5500 |
else |
else |
5501 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5502 |
#line 5500 "configure" |
#line 5503 "configure" |
5503 |
#include "confdefs.h" |
#include "confdefs.h" |
5504 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5505 |
EOF |
EOF |
5506 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5507 |
{ (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5508 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5509 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5510 |
rm -rf conftest* |
rm -rf conftest* |
5540 |
# test makes sense. CM |
# test makes sense. CM |
5541 |
# |
# |
5542 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
5543 |
echo "configure:5541: checking for isnormal" >&5 |
echo "configure:5544: checking for isnormal" >&5 |
5544 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5545 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
5546 |
else |
else |
5547 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5548 |
#line 5546 "configure" |
#line 5549 "configure" |
5549 |
#include "confdefs.h" |
#include "confdefs.h" |
5550 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
5551 |
#include <math.h> |
#include <math.h> |
5554 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
5555 |
} |
} |
5556 |
EOF |
EOF |
5557 |
if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5558 |
then |
then |
5559 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5560 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
5565 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
5566 |
rm -fr conftest* |
rm -fr conftest* |
5567 |
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 |
5568 |
echo "configure:5566: checking for fpclass in ieeefp.h" >&5 |
echo "configure:5569: checking for fpclass in ieeefp.h" >&5 |
5569 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5570 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
5571 |
else |
else |
5572 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5573 |
#line 5571 "configure" |
#line 5574 "configure" |
5574 |
#include "confdefs.h" |
#include "confdefs.h" |
5575 |
#include <ieeefp.h> |
#include <ieeefp.h> |
5576 |
int main() { |
int main() { |
5578 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
5579 |
} |
} |
5580 |
EOF |
EOF |
5581 |
if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5582 |
then |
then |
5583 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5584 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
5600 |
|
|
5601 |
|
|
5602 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
5603 |
echo "configure:5601: checking for isfinite" >&5 |
echo "configure:5604: checking for isfinite" >&5 |
5604 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5605 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
5606 |
else |
else |
5607 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5608 |
#line 5606 "configure" |
#line 5609 "configure" |
5609 |
#include "confdefs.h" |
#include "confdefs.h" |
5610 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
5611 |
#include <math.h> |
#include <math.h> |
5614 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
5615 |
} |
} |
5616 |
EOF |
EOF |
5617 |
if { (eval echo configure:5615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5618 |
then |
then |
5619 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5620 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
5625 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
5626 |
rm -fr conftest* |
rm -fr conftest* |
5627 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
5628 |
echo "configure:5626: checking for finite()" >&5 |
echo "configure:5629: checking for finite()" >&5 |
5629 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5630 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
5631 |
else |
else |
5632 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5633 |
#line 5631 "configure" |
#line 5634 "configure" |
5634 |
#include "confdefs.h" |
#include "confdefs.h" |
5635 |
#include <math.h> |
#include <math.h> |
5636 |
#include <ieeefp.h> |
#include <ieeefp.h> |
5639 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
5640 |
} |
} |
5641 |
EOF |
EOF |
5642 |
if { (eval echo configure:5640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5643 |
then |
then |
5644 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5645 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
5680 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
5681 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5682 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
5683 |
echo "configure:5681: checking for sockets" >&5 |
echo "configure:5684: checking for sockets" >&5 |
5684 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
5685 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5686 |
echo "configure:5684: checking for connect" >&5 |
echo "configure:5687: checking for connect" >&5 |
5687 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
5688 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5689 |
else |
else |
5690 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5691 |
#line 5689 "configure" |
#line 5692 "configure" |
5692 |
#include "confdefs.h" |
#include "confdefs.h" |
5693 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5694 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
5711 |
|
|
5712 |
; return 0; } |
; return 0; } |
5713 |
EOF |
EOF |
5714 |
if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5715 |
rm -rf conftest* |
rm -rf conftest* |
5716 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
5717 |
else |
else |
5733 |
|
|
5734 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
5735 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
5736 |
echo "configure:5734: checking for main in -lsocket" >&5 |
echo "configure:5737: checking for main in -lsocket" >&5 |
5737 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
5738 |
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 |
5739 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5741 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5742 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
5743 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5744 |
#line 5742 "configure" |
#line 5745 "configure" |
5745 |
#include "confdefs.h" |
#include "confdefs.h" |
5746 |
|
|
5747 |
int main() { |
int main() { |
5748 |
main() |
main() |
5749 |
; return 0; } |
; return 0; } |
5750 |
EOF |
EOF |
5751 |
if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5752 |
rm -rf conftest* |
rm -rf conftest* |
5753 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5754 |
else |
else |
5776 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
5777 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
5778 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
5779 |
echo "configure:5777: checking for accept" >&5 |
echo "configure:5780: checking for accept" >&5 |
5780 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+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 5782 "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 accept(); below. */ |
which can conflict with char accept(); below. */ |
5804 |
|
|
5805 |
; return 0; } |
; return 0; } |
5806 |
EOF |
EOF |
5807 |
if { (eval echo configure:5805: \"$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_accept=yes" |
eval "ac_cv_func_accept=yes" |
5810 |
else |
else |
5826 |
|
|
5827 |
fi |
fi |
5828 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5829 |
echo "configure:5827: checking for gethostbyname" >&5 |
echo "configure:5830: checking for gethostbyname" >&5 |
5830 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
5831 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5832 |
else |
else |
5833 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5834 |
#line 5832 "configure" |
#line 5835 "configure" |
5835 |
#include "confdefs.h" |
#include "confdefs.h" |
5836 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5837 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
5854 |
|
|
5855 |
; return 0; } |
; return 0; } |
5856 |
EOF |
EOF |
5857 |
if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5858 |
rm -rf conftest* |
rm -rf conftest* |
5859 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
5860 |
else |
else |
5872 |
else |
else |
5873 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
5874 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
5875 |
echo "configure:5873: checking for main in -lnsl" >&5 |
echo "configure:5876: checking for main in -lnsl" >&5 |
5876 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
5877 |
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 |
5878 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5880 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5881 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
5882 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5883 |
#line 5881 "configure" |
#line 5884 "configure" |
5884 |
#include "confdefs.h" |
#include "confdefs.h" |
5885 |
|
|
5886 |
int main() { |
int main() { |
5887 |
main() |
main() |
5888 |
; return 0; } |
; return 0; } |
5889 |
EOF |
EOF |
5890 |
if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5891 |
rm -rf conftest* |
rm -rf conftest* |
5892 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5893 |
else |
else |
5917 |
do |
do |
5918 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5919 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5920 |
echo "configure:5918: checking for $ac_hdr" >&5 |
echo "configure:5921: checking for $ac_hdr" >&5 |
5921 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5922 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5923 |
else |
else |
5924 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5925 |
#line 5923 "configure" |
#line 5926 "configure" |
5926 |
#include "confdefs.h" |
#include "confdefs.h" |
5927 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5928 |
EOF |
EOF |
5929 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5930 |
{ (eval echo configure:5928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5931 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5932 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5933 |
rm -rf conftest* |
rm -rf conftest* |
5948 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
5949 |
EOF |
EOF |
5950 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
5951 |
echo "configure:5949: checking for main in -lreadline" >&5 |
echo "configure:5952: checking for main in -lreadline" >&5 |
5952 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
5953 |
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 |
5954 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5956 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5957 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
5958 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5959 |
#line 5957 "configure" |
#line 5960 "configure" |
5960 |
#include "confdefs.h" |
#include "confdefs.h" |
5961 |
|
|
5962 |
int main() { |
int main() { |
5963 |
main() |
main() |
5964 |
; return 0; } |
; return 0; } |
5965 |
EOF |
EOF |
5966 |
if { (eval echo configure:5964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5967 |
rm -rf conftest* |
rm -rf conftest* |
5968 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5969 |
else |
else |
6000 |
|
|
6001 |
# These tests discover differences between readline 4.1 and 4.3 |
# These tests discover differences between readline 4.1 and 4.3 |
6002 |
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 |
6003 |
echo "configure:6001: checking for rl_completion_matches in -lreadline" >&5 |
echo "configure:6004: checking for rl_completion_matches in -lreadline" >&5 |
6004 |
ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'` |
6005 |
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 |
6006 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6008 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
6009 |
LIBS="-lreadline $LIBS" |
LIBS="-lreadline $LIBS" |
6010 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6011 |
#line 6009 "configure" |
#line 6012 "configure" |
6012 |
#include "confdefs.h" |
#include "confdefs.h" |
6013 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6014 |
/* 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 |
6019 |
rl_completion_matches() |
rl_completion_matches() |
6020 |
; return 0; } |
; return 0; } |
6021 |
EOF |
EOF |
6022 |
if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6023 |
rm -rf conftest* |
rm -rf conftest* |
6024 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
6025 |
else |
else |
6052 |
|
|
6053 |
|
|
6054 |
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 |
6055 |
echo "configure:6053: checking For network code for nsocket.c" >&5 |
echo "configure:6056: checking For network code for nsocket.c" >&5 |
6056 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6057 |
#line 6055 "configure" |
#line 6058 "configure" |
6058 |
#include "confdefs.h" |
#include "confdefs.h" |
6059 |
|
|
6060 |
#include <sys/time.h> |
#include <sys/time.h> |
6081 |
|
|
6082 |
; return 0; } |
; return 0; } |
6083 |
EOF |
EOF |
6084 |
if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6085 |
rm -rf conftest* |
rm -rf conftest* |
6086 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6087 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
6098 |
|
|
6099 |
|
|
6100 |
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 |
6101 |
echo "configure:6099: checking check for listen using fcntl" >&5 |
echo "configure:6102: checking check for listen using fcntl" >&5 |
6102 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6103 |
#line 6101 "configure" |
#line 6104 "configure" |
6104 |
#include "confdefs.h" |
#include "confdefs.h" |
6105 |
#include <stdio.h> |
#include <stdio.h> |
6106 |
#include <fcntl.h> |
#include <fcntl.h> |
6113 |
|
|
6114 |
; return 0; } |
; return 0; } |
6115 |
EOF |
EOF |
6116 |
if { (eval echo configure:6114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6117 |
rm -rf conftest* |
rm -rf conftest* |
6118 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6119 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
6132 |
|
|
6133 |
|
|
6134 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
6135 |
echo "configure:6133: checking for profil" >&5 |
echo "configure:6136: checking for profil" >&5 |
6136 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
6137 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6138 |
else |
else |
6139 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6140 |
#line 6138 "configure" |
#line 6141 "configure" |
6141 |
#include "confdefs.h" |
#include "confdefs.h" |
6142 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6143 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
6160 |
|
|
6161 |
; return 0; } |
; return 0; } |
6162 |
EOF |
EOF |
6163 |
if { (eval echo configure:6161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6164 |
rm -rf conftest* |
rm -rf conftest* |
6165 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
6166 |
else |
else |
6185 |
|
|
6186 |
|
|
6187 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
6188 |
echo "configure:6186: checking for setenv" >&5 |
echo "configure:6189: checking for setenv" >&5 |
6189 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
6190 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6191 |
else |
else |
6192 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6193 |
#line 6191 "configure" |
#line 6194 "configure" |
6194 |
#include "confdefs.h" |
#include "confdefs.h" |
6195 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6196 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
6213 |
|
|
6214 |
; return 0; } |
; return 0; } |
6215 |
EOF |
EOF |
6216 |
if { (eval echo configure:6214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6217 |
rm -rf conftest* |
rm -rf conftest* |
6218 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
6219 |
else |
else |
6239 |
|
|
6240 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
6241 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
6242 |
echo "configure:6240: checking for putenv" >&5 |
echo "configure:6243: checking for putenv" >&5 |
6243 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
6244 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6245 |
else |
else |
6246 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6247 |
#line 6245 "configure" |
#line 6248 "configure" |
6248 |
#include "confdefs.h" |
#include "confdefs.h" |
6249 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6250 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
6267 |
|
|
6268 |
; return 0; } |
; return 0; } |
6269 |
EOF |
EOF |
6270 |
if { (eval echo configure:6268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6271 |
rm -rf conftest* |
rm -rf conftest* |
6272 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
6273 |
else |
else |
6293 |
fi |
fi |
6294 |
|
|
6295 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
6296 |
echo "configure:6294: checking for _cleanup" >&5 |
echo "configure:6297: checking for _cleanup" >&5 |
6297 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
6298 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6299 |
else |
else |
6300 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6301 |
#line 6299 "configure" |
#line 6302 "configure" |
6302 |
#include "confdefs.h" |
#include "confdefs.h" |
6303 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6304 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
6321 |
|
|
6322 |
; return 0; } |
; return 0; } |
6323 |
EOF |
EOF |
6324 |
if { (eval echo configure:6322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6325 |
rm -rf conftest* |
rm -rf conftest* |
6326 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
6327 |
else |
else |
6347 |
gcl_ok=no |
gcl_ok=no |
6348 |
|
|
6349 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6350 |
#line 6348 "configure" |
#line 6351 "configure" |
6351 |
#include "confdefs.h" |
#include "confdefs.h" |
6352 |
#include <ctype.h> |
#include <ctype.h> |
6353 |
EOF |
EOF |
6375 |
|
|
6376 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
6377 |
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 |
6378 |
echo "configure:6376: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:6379: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
6379 |
|
|
6380 |
case $system in |
case $system in |
6381 |
OSF*) |
OSF*) |
6406 |
|
|
6407 |
|
|
6408 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
6409 |
echo "configure:6407: checking check for SV_ONSTACK" >&5 |
echo "configure:6410: checking check for SV_ONSTACK" >&5 |
6410 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6411 |
#line 6409 "configure" |
#line 6412 "configure" |
6412 |
#include "confdefs.h" |
#include "confdefs.h" |
6413 |
#include <signal.h> |
#include <signal.h> |
6414 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
6417 |
|
|
6418 |
; return 0; } |
; return 0; } |
6419 |
EOF |
EOF |
6420 |
if { (eval echo configure:6418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6421 |
rm -rf conftest* |
rm -rf conftest* |
6422 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6423 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
6434 |
rm -f conftest* |
rm -f conftest* |
6435 |
|
|
6436 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
6437 |
echo "configure:6435: checking check for SIGSYS" >&5 |
echo "configure:6438: checking check for SIGSYS" >&5 |
6438 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6439 |
#line 6437 "configure" |
#line 6440 "configure" |
6440 |
#include "confdefs.h" |
#include "confdefs.h" |
6441 |
#include <signal.h> |
#include <signal.h> |
6442 |
int joe=SIGSYS; |
int joe=SIGSYS; |
6445 |
|
|
6446 |
; return 0; } |
; return 0; } |
6447 |
EOF |
EOF |
6448 |
if { (eval echo configure:6446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6449 |
rm -rf conftest* |
rm -rf conftest* |
6450 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6451 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
6463 |
|
|
6464 |
|
|
6465 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
6466 |
echo "configure:6464: checking check for SIGEMT" >&5 |
echo "configure:6467: checking check for SIGEMT" >&5 |
6467 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6468 |
#line 6466 "configure" |
#line 6469 "configure" |
6469 |
#include "confdefs.h" |
#include "confdefs.h" |
6470 |
#include <signal.h> |
#include <signal.h> |
6471 |
int joe=SIGEMT; |
int joe=SIGEMT; |
6474 |
|
|
6475 |
; return 0; } |
; return 0; } |
6476 |
EOF |
EOF |
6477 |
if { (eval echo configure:6475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6478 |
rm -rf conftest* |
rm -rf conftest* |
6479 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6480 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
6498 |
do |
do |
6499 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6500 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6501 |
echo "configure:6499: checking for $ac_hdr" >&5 |
echo "configure:6502: checking for $ac_hdr" >&5 |
6502 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6503 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6504 |
else |
else |
6505 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6506 |
#line 6504 "configure" |
#line 6507 "configure" |
6507 |
#include "confdefs.h" |
#include "confdefs.h" |
6508 |
#include <$ac_hdr> |
#include <$ac_hdr> |
6509 |
EOF |
EOF |
6510 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6511 |
{ (eval echo configure:6509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6512 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6513 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
6514 |
rm -rf conftest* |
rm -rf conftest* |
6538 |
do |
do |
6539 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6540 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6541 |
echo "configure:6539: checking for $ac_hdr" >&5 |
echo "configure:6542: checking for $ac_hdr" >&5 |
6542 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6543 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6544 |
else |
else |
6545 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6546 |
#line 6544 "configure" |
#line 6547 "configure" |
6547 |
#include "confdefs.h" |
#include "confdefs.h" |
6548 |
#include <$ac_hdr> |
#include <$ac_hdr> |
6549 |
EOF |
EOF |
6550 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6551 |
{ (eval echo configure:6549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6552 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6553 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
6554 |
rm -rf conftest* |
rm -rf conftest* |
6575 |
done |
done |
6576 |
|
|
6577 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
6578 |
echo "configure:6576: checking for sigcontext..." >&5 |
echo "configure:6579: checking for sigcontext..." >&5 |
6579 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6580 |
#line 6578 "configure" |
#line 6581 "configure" |
6581 |
#include "confdefs.h" |
#include "confdefs.h" |
6582 |
#include <signal.h> |
#include <signal.h> |
6583 |
|
|
6587 |
|
|
6588 |
; return 0; } |
; return 0; } |
6589 |
EOF |
EOF |
6590 |
if { (eval echo configure:6588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6591 |
rm -rf conftest* |
rm -rf conftest* |
6592 |
|
|
6593 |
sigcontext_works=1; |
sigcontext_works=1; |
6608 |
rm -f conftest* |
rm -f conftest* |
6609 |
if test "$sigcontext_works" = 0 ; then |
if test "$sigcontext_works" = 0 ; then |
6610 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
6611 |
echo "configure:6609: checking for sigcontext..." >&5 |
echo "configure:6612: checking for sigcontext..." >&5 |
6612 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6613 |
#line 6611 "configure" |
#line 6614 "configure" |
6614 |
#include "confdefs.h" |
#include "confdefs.h" |
6615 |
#include <signal.h> |
#include <signal.h> |
6616 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
6626 |
|
|
6627 |
; return 0; } |
; return 0; } |
6628 |
EOF |
EOF |
6629 |
if { (eval echo configure:6627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6630 |
rm -rf conftest* |
rm -rf conftest* |
6631 |
|
|
6632 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6668 |
# 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. |
6669 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
6670 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
6671 |
echo "configure:6669: checking for $ac_word" >&5 |
echo "configure:6672: checking for $ac_word" >&5 |
6672 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
6673 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6674 |
else |
else |
6716 |
EOF |
EOF |
6717 |
|
|
6718 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
6719 |
echo "configure:6717: checking emacs site lisp directory" >&5 |
echo "configure:6720: checking emacs site lisp directory" >&5 |
6720 |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
6721 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
6722 |
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 ` |
6740 |
EOF |
EOF |
6741 |
|
|
6742 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
6743 |
echo "configure:6741: checking emacs default.el" >&5 |
echo "configure:6744: checking emacs default.el" >&5 |
6744 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
6745 |
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 ` |
6746 |
else |
else |
6769 |
EOF |
EOF |
6770 |
|
|
6771 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
6772 |
echo "configure:6770: checking emacs info/dir" >&5 |
echo "configure:6773: checking emacs info/dir" >&5 |
6773 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
6774 |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
6775 |
else |
else |
6787 |
|
|
6788 |
|
|
6789 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
6790 |
echo "configure:6788: checking for tcl/tk" >&5 |
echo "configure:6791: checking for tcl/tk" >&5 |
6791 |
|
|
6792 |
|
|
6793 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
6810 |
# 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. |
6811 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
6812 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
6813 |
echo "configure:6811: checking for $ac_word" >&5 |
echo "configure:6814: checking for $ac_word" >&5 |
6814 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
6815 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6816 |
else |
else |
6915 |
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}" |
6916 |
else |
else |
6917 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
6918 |
echo "configure:6916: checking for main in -llieee" >&5 |
echo "configure:6919: checking for main in -llieee" >&5 |
6919 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
6920 |
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 |
6921 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6923 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
6924 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
6925 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6926 |
#line 6924 "configure" |
#line 6927 "configure" |
6927 |
#include "confdefs.h" |
#include "confdefs.h" |
6928 |
|
|
6929 |
int main() { |
int main() { |
6930 |
main() |
main() |
6931 |
; return 0; } |
; return 0; } |
6932 |
EOF |
EOF |
6933 |
if { (eval echo configure:6931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6934 |
rm -rf conftest* |
rm -rf conftest* |
6935 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
6936 |
else |
else |
6997 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
6998 |
|
|
6999 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
7000 |
echo "configure:6998: checking alloca" >&5 |
echo "configure:7001: checking alloca" >&5 |
7001 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
7002 |
gcl_ok=no |
gcl_ok=no |
7003 |
else |
else |
7004 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
7005 |
#line 7003 "configure" |
#line 7006 "configure" |
7006 |
#include "confdefs.h" |
#include "confdefs.h" |
7007 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
7008 |
EOF |
EOF |
7009 |
if { (eval echo configure:7007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7010 |
then |
then |
7011 |
: |
: |
7012 |
else |
else |
7029 |
gcl_ok=no |
gcl_ok=no |
7030 |
else |
else |
7031 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
7032 |
#line 7030 "configure" |
#line 7033 "configure" |
7033 |
#include "confdefs.h" |
#include "confdefs.h" |
7034 |
#include <alloca.h> |
#include <alloca.h> |
7035 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
7036 |
EOF |
EOF |
7037 |
if { (eval echo configure:7035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:7038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7038 |
then |
then |
7039 |
: |
: |
7040 |
else |
else |
7095 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
7096 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
7097 |
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 |
7098 |
echo "configure:7096: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:7099: checking Checking for buggy gcc version from redhat" >&5 |
7099 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
7100 |
then |
then |
7101 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |