4584 |
|
|
4585 |
## Don't lower heap start if C stack is below default dbegin, as we're |
## Don't lower heap start if C stack is below default dbegin, as we're |
4586 |
# likely to get more heap this way. |
# likely to get more heap this way. |
4587 |
if awk 'END {exit h && (unsigned long)d<(unsigned long)c ? 0 : 1}' h=$heap_ceiling d=$dbegin c=$cstack_address /dev/null ; then |
echo "int main() {return !($heap_ceiling && (unsigned long)$dbegin < (unsigned long)$cstack_address);}" >foo.c |
4588 |
|
$CC foo.c -o foo |
4589 |
|
if foo ; then |
4590 |
|
|
4591 |
echo $ac_n "checking "finding default linker script"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding default linker script"""... $ac_c" 1>&6 |
4592 |
echo "configure:4591: checking "finding default linker script"" >&5 |
echo "configure:4593: checking "finding default linker script"" >&5 |
4593 |
touch unixport/gcl.script |
touch unixport/gcl.script |
4594 |
echo "int main() {return 0;}" >foo.c |
echo "int main() {return 0;}" >foo.c |
4595 |
$CC -Wl,--verbose foo.c -o foo 2>&1 | \ |
$CC -Wl,--verbose foo.c -o foo 2>&1 | \ |
4598 |
if test "`cat gcl.script | wc -l`" != "0" ; then |
if test "`cat gcl.script | wc -l`" != "0" ; then |
4599 |
echo "$ac_t""got it" 1>&6 |
echo "$ac_t""got it" 1>&6 |
4600 |
echo $ac_n "checking "trying to lower heap start"""... $ac_c" 1>&6 |
echo $ac_n "checking "trying to lower heap start"""... $ac_c" 1>&6 |
4601 |
echo "configure:4600: checking "trying to lower heap start"" >&5 |
echo "configure:4602: checking "trying to lower heap start"" >&5 |
4602 |
cp gcl.script gcl.script.def |
cp gcl.script gcl.script.def |
4603 |
cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print}' | sed 's,\. = 0x10000000;,/*. = 0x10000000;*/,1' >gcl.script |
cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print}' | sed 's,\. = 0x10000000;,/*. = 0x10000000;*/,1' >gcl.script |
4604 |
if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then |
if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then |
4606 |
rm -f gcl.script gcl.script.def |
rm -f gcl.script gcl.script.def |
4607 |
else |
else |
4608 |
echo $ac_n "checking "linker script"""... $ac_c" 1>&6 |
echo $ac_n "checking "linker script"""... $ac_c" 1>&6 |
4609 |
echo "configure:4608: checking "linker script"" >&5 |
echo "configure:4610: checking "linker script"" >&5 |
4610 |
echo "int main() {return 0;}" >foo.c |
echo "int main() {return 0;}" >foo.c |
4611 |
if $CC -Wl,-T gcl.script foo.c -o foo >/dev/null 2>&1 && ./foo >/dev/null 2>&1 ; then |
if $CC -Wl,-T gcl.script foo.c -o foo >/dev/null 2>&1 && ./foo >/dev/null 2>&1 ; then |
4612 |
echo "$ac_t"""done"" 1>&6 |
echo "$ac_t"""done"" 1>&6 |
4627 |
old_LDFLAGS="$LDFLAGS" |
old_LDFLAGS="$LDFLAGS" |
4628 |
LDFLAGS="$LDFLAGS $TLDFLAGS" |
LDFLAGS="$LDFLAGS $TLDFLAGS" |
4629 |
echo $ac_n "checking "revised DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "revised DBEGIN"""... $ac_c" 1>&6 |
4630 |
echo "configure:4629: checking "revised DBEGIN"" >&5 |
echo "configure:4631: checking "revised DBEGIN"" >&5 |
4631 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4632 |
dbegin=0 |
dbegin=0 |
4633 |
else |
else |
4634 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4635 |
#line 4634 "configure" |
#line 4636 "configure" |
4636 |
#include "confdefs.h" |
#include "confdefs.h" |
4637 |
#include <stdio.h> |
#include <stdio.h> |
4638 |
#include <stdlib.h> |
#include <stdlib.h> |
4670 |
fclose(fp); |
fclose(fp); |
4671 |
return 0;} |
return 0;} |
4672 |
EOF |
EOF |
4673 |
if { (eval echo configure:4672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4674 |
then |
then |
4675 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
4676 |
else |
else |
4689 |
#define DBEGIN $dbegin |
#define DBEGIN $dbegin |
4690 |
EOF |
EOF |
4691 |
|
|
4692 |
|
rm -rf foo* |
4693 |
|
|
4694 |
echo $ac_n "checking for maxpage revision""... $ac_c" 1>&6 |
echo $ac_n "checking for maxpage revision""... $ac_c" 1>&6 |
4695 |
echo "configure:4693: checking for maxpage revision" >&5 |
echo "configure:4696: checking for maxpage revision" >&5 |
4696 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4697 |
tmp_maxpage=0 |
tmp_maxpage=0 |
4698 |
else |
else |
4699 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4700 |
#line 4698 "configure" |
#line 4701 "configure" |
4701 |
#include "confdefs.h" |
#include "confdefs.h" |
4702 |
#include <stdio.h> |
#include <stdio.h> |
4703 |
main() |
main() |
4715 |
return 0; |
return 0; |
4716 |
} |
} |
4717 |
EOF |
EOF |
4718 |
if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4719 |
then |
then |
4720 |
tmp_maxpage=`cat conftest1` |
tmp_maxpage=`cat conftest1` |
4721 |
else |
else |
4739 |
|
|
4740 |
|
|
4741 |
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 |
4742 |
echo "configure:4740: checking for C stack size floor from heap" >&5 |
echo "configure:4743: checking for C stack size floor from heap" >&5 |
4743 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4744 |
tmp_cssize=0 |
tmp_cssize=0 |
4745 |
else |
else |
4746 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4747 |
#line 4745 "configure" |
#line 4748 "configure" |
4748 |
#include "confdefs.h" |
#include "confdefs.h" |
4749 |
#include <stdio.h> |
#include <stdio.h> |
4750 |
int |
int |
4764 |
return 0; |
return 0; |
4765 |
} |
} |
4766 |
EOF |
EOF |
4767 |
if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4768 |
then |
then |
4769 |
tmp_cssize=`cat conftest1` |
tmp_cssize=`cat conftest1` |
4770 |
else |
else |
4786 |
#AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
#AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
4787 |
|
|
4788 |
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 |
4789 |
echo "configure:4787: checking for C stack size limit from fixnum table" >&5 |
echo "configure:4790: checking for C stack size limit from fixnum table" >&5 |
4790 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4791 |
tmp_cssize=0 |
tmp_cssize=0 |
4792 |
else |
else |
4793 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4794 |
#line 4792 "configure" |
#line 4795 "configure" |
4795 |
#include "confdefs.h" |
#include "confdefs.h" |
4796 |
#include <stdio.h> |
#include <stdio.h> |
4797 |
int |
int |
4814 |
return 0; |
return 0; |
4815 |
} |
} |
4816 |
EOF |
EOF |
4817 |
if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4818 |
then |
then |
4819 |
tmp_cssize=`cat conftest1` |
tmp_cssize=`cat conftest1` |
4820 |
else |
else |
4840 |
mem_top=0 |
mem_top=0 |
4841 |
mem_range=0 |
mem_range=0 |
4842 |
echo $ac_n "checking mem top""... $ac_c" 1>&6 |
echo $ac_n "checking mem top""... $ac_c" 1>&6 |
4843 |
echo "configure:4841: checking mem top" >&5 |
echo "configure:4844: checking mem top" >&5 |
4844 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4845 |
mem_top=0 |
mem_top=0 |
4846 |
else |
else |
4847 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4848 |
#line 4846 "configure" |
#line 4849 "configure" |
4849 |
#include "confdefs.h" |
#include "confdefs.h" |
4850 |
#include <stdio.h> |
#include <stdio.h> |
4851 |
int |
int |
4870 |
fclose(fp); |
fclose(fp); |
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} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4874 |
then |
then |
4875 |
mem_top=`cat conftest1` |
mem_top=`cat conftest1` |
4876 |
else |
else |
4885 |
echo "$ac_t""$mem_top" 1>&6 |
echo "$ac_t""$mem_top" 1>&6 |
4886 |
if test "$mem_top" != "0" ; then |
if test "$mem_top" != "0" ; then |
4887 |
echo $ac_n "checking finding upper mem half range""... $ac_c" 1>&6 |
echo $ac_n "checking finding upper mem half range""... $ac_c" 1>&6 |
4888 |
echo "configure:4886: checking finding upper mem half range" >&5 |
echo "configure:4889: checking finding upper mem half range" >&5 |
4889 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4890 |
mem_range=0 |
mem_range=0 |
4891 |
else |
else |
4892 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4893 |
#line 4891 "configure" |
#line 4894 "configure" |
4894 |
#include "confdefs.h" |
#include "confdefs.h" |
4895 |
#include <stdio.h> |
#include <stdio.h> |
4896 |
int |
int |
4905 |
return 0; |
return 0; |
4906 |
} |
} |
4907 |
EOF |
EOF |
4908 |
if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4909 |
then |
then |
4910 |
mem_range=`cat conftest1` |
mem_range=`cat conftest1` |
4911 |
else |
else |
4947 |
|
|
4948 |
|
|
4949 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
4950 |
echo "configure:4948: checking "sizeof long long int"" >&5 |
echo "configure:4951: checking "sizeof long long int"" >&5 |
4951 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4952 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4953 |
|
|
4954 |
else |
else |
4955 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4956 |
#line 4954 "configure" |
#line 4957 "configure" |
4957 |
#include "confdefs.h" |
#include "confdefs.h" |
4958 |
#include <stdio.h> |
#include <stdio.h> |
4959 |
main() |
main() |
4963 |
} |
} |
4964 |
|
|
4965 |
EOF |
EOF |
4966 |
if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4967 |
then |
then |
4968 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4969 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
5023 |
for ac_func in getcwd |
for ac_func in getcwd |
5024 |
do |
do |
5025 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5026 |
echo "configure:5024: checking for $ac_func" >&5 |
echo "configure:5027: checking for $ac_func" >&5 |
5027 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5028 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5029 |
else |
else |
5030 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5031 |
#line 5029 "configure" |
#line 5032 "configure" |
5032 |
#include "confdefs.h" |
#include "confdefs.h" |
5033 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5034 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
5051 |
|
|
5052 |
; return 0; } |
; return 0; } |
5053 |
EOF |
EOF |
5054 |
if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5055 |
rm -rf conftest* |
rm -rf conftest* |
5056 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
5057 |
else |
else |
5078 |
for ac_func in getwd |
for ac_func in getwd |
5079 |
do |
do |
5080 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5081 |
echo "configure:5079: checking for $ac_func" >&5 |
echo "configure:5082: checking for $ac_func" >&5 |
5082 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5083 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5084 |
else |
else |
5085 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5086 |
#line 5084 "configure" |
#line 5087 "configure" |
5087 |
#include "confdefs.h" |
#include "confdefs.h" |
5088 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5089 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
5106 |
|
|
5107 |
; return 0; } |
; return 0; } |
5108 |
EOF |
EOF |
5109 |
if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5110 |
rm -rf conftest* |
rm -rf conftest* |
5111 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
5112 |
else |
else |
5131 |
done |
done |
5132 |
|
|
5133 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
5134 |
echo "configure:5132: checking for uname" >&5 |
echo "configure:5135: checking for uname" >&5 |
5135 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
5136 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5137 |
else |
else |
5138 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5139 |
#line 5137 "configure" |
#line 5140 "configure" |
5140 |
#include "confdefs.h" |
#include "confdefs.h" |
5141 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5142 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
5159 |
|
|
5160 |
; return 0; } |
; return 0; } |
5161 |
EOF |
EOF |
5162 |
if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5163 |
rm -rf conftest* |
rm -rf conftest* |
5164 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
5165 |
else |
else |
5183 |
fi |
fi |
5184 |
|
|
5185 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
5186 |
echo "configure:5184: checking for gettimeofday" >&5 |
echo "configure:5187: checking for gettimeofday" >&5 |
5187 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
5188 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5189 |
else |
else |
5190 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5191 |
#line 5189 "configure" |
#line 5192 "configure" |
5192 |
#include "confdefs.h" |
#include "confdefs.h" |
5193 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5194 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
5211 |
|
|
5212 |
; return 0; } |
; return 0; } |
5213 |
EOF |
EOF |
5214 |
if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5215 |
rm -rf conftest* |
rm -rf conftest* |
5216 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
5217 |
else |
else |
5240 |
do |
do |
5241 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5242 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5243 |
echo "configure:5241: checking for $ac_hdr" >&5 |
echo "configure:5244: checking for $ac_hdr" >&5 |
5244 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5245 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5246 |
else |
else |
5247 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5248 |
#line 5246 "configure" |
#line 5249 "configure" |
5249 |
#include "confdefs.h" |
#include "confdefs.h" |
5250 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5251 |
EOF |
EOF |
5252 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5253 |
{ (eval echo configure:5251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5254 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5255 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5256 |
rm -rf conftest* |
rm -rf conftest* |
5282 |
do |
do |
5283 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5284 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5285 |
echo "configure:5283: checking for $ac_hdr" >&5 |
echo "configure:5286: checking for $ac_hdr" >&5 |
5286 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5287 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5288 |
else |
else |
5289 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5290 |
#line 5288 "configure" |
#line 5291 "configure" |
5291 |
#include "confdefs.h" |
#include "confdefs.h" |
5292 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5293 |
EOF |
EOF |
5294 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5295 |
{ (eval echo configure:5293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5296 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5297 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5298 |
rm -rf conftest* |
rm -rf conftest* |
5332 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5333 |
|
|
5334 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
5335 |
echo "configure:5333: checking for BSDgettimeofday" >&5 |
echo "configure:5336: checking for BSDgettimeofday" >&5 |
5336 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
5337 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5338 |
else |
else |
5339 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5340 |
#line 5338 "configure" |
#line 5341 "configure" |
5341 |
#include "confdefs.h" |
#include "confdefs.h" |
5342 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5343 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
5360 |
|
|
5361 |
; return 0; } |
; return 0; } |
5362 |
EOF |
EOF |
5363 |
if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5364 |
rm -rf conftest* |
rm -rf conftest* |
5365 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
5366 |
else |
else |
5381 |
else |
else |
5382 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
5383 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
5384 |
echo "configure:5382: checking for gettimeofday" >&5 |
echo "configure:5385: checking for gettimeofday" >&5 |
5385 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
5386 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5387 |
else |
else |
5388 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5389 |
#line 5387 "configure" |
#line 5390 "configure" |
5390 |
#include "confdefs.h" |
#include "confdefs.h" |
5391 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5392 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
5409 |
|
|
5410 |
; return 0; } |
; return 0; } |
5411 |
EOF |
EOF |
5412 |
if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5413 |
rm -rf conftest* |
rm -rf conftest* |
5414 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
5415 |
else |
else |
5436 |
|
|
5437 |
|
|
5438 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
5439 |
echo "configure:5437: checking for gettimeofday declaration" >&5 |
echo "configure:5440: checking for gettimeofday declaration" >&5 |
5440 |
|
|
5441 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5442 |
#line 5440 "configure" |
#line 5443 "configure" |
5443 |
#include "confdefs.h" |
#include "confdefs.h" |
5444 |
#include <sys/time.h> |
#include <sys/time.h> |
5445 |
EOF |
EOF |
5460 |
|
|
5461 |
|
|
5462 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5463 |
echo "configure:5461: checking for sin in -lm" >&5 |
echo "configure:5464: checking for sin in -lm" >&5 |
5464 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5465 |
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 |
5466 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5468 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5469 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
5470 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5471 |
#line 5469 "configure" |
#line 5472 "configure" |
5472 |
#include "confdefs.h" |
#include "confdefs.h" |
5473 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5474 |
/* 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 |
5479 |
sin() |
sin() |
5480 |
; return 0; } |
; return 0; } |
5481 |
EOF |
EOF |
5482 |
if { (eval echo configure:5480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5483 |
rm -rf conftest* |
rm -rf conftest* |
5484 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5485 |
else |
else |
5501 |
fi |
fi |
5502 |
|
|
5503 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
5504 |
echo "configure:5502: checking for main in -lmingwex" >&5 |
echo "configure:5505: checking for main in -lmingwex" >&5 |
5505 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
5506 |
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 |
5507 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5509 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5510 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
5511 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5512 |
#line 5510 "configure" |
#line 5513 "configure" |
5513 |
#include "confdefs.h" |
#include "confdefs.h" |
5514 |
|
|
5515 |
int main() { |
int main() { |
5516 |
main() |
main() |
5517 |
; return 0; } |
; return 0; } |
5518 |
EOF |
EOF |
5519 |
if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5520 |
rm -rf conftest* |
rm -rf conftest* |
5521 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5522 |
else |
else |
5544 |
do |
do |
5545 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5546 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5547 |
echo "configure:5545: checking for $ac_hdr" >&5 |
echo "configure:5548: checking for $ac_hdr" >&5 |
5548 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5549 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5550 |
else |
else |
5551 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5552 |
#line 5550 "configure" |
#line 5553 "configure" |
5553 |
#include "confdefs.h" |
#include "confdefs.h" |
5554 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5555 |
EOF |
EOF |
5556 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5557 |
{ (eval echo configure:5555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5558 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5559 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5560 |
rm -rf conftest* |
rm -rf conftest* |
5592 |
do |
do |
5593 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5594 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5595 |
echo "configure:5593: checking for $ac_hdr" >&5 |
echo "configure:5596: checking for $ac_hdr" >&5 |
5596 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5597 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5598 |
else |
else |
5599 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5600 |
#line 5598 "configure" |
#line 5601 "configure" |
5601 |
#include "confdefs.h" |
#include "confdefs.h" |
5602 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5603 |
EOF |
EOF |
5604 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5605 |
{ (eval echo configure:5603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5606 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5607 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5608 |
rm -rf conftest* |
rm -rf conftest* |
5639 |
do |
do |
5640 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5641 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5642 |
echo "configure:5640: checking for $ac_hdr" >&5 |
echo "configure:5643: checking for $ac_hdr" >&5 |
5643 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5644 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5645 |
else |
else |
5646 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5647 |
#line 5645 "configure" |
#line 5648 "configure" |
5648 |
#include "confdefs.h" |
#include "confdefs.h" |
5649 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5650 |
EOF |
EOF |
5651 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5652 |
{ (eval echo configure:5650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5653 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5654 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5655 |
rm -rf conftest* |
rm -rf conftest* |
5689 |
do |
do |
5690 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5691 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5692 |
echo "configure:5690: checking for $ac_hdr" >&5 |
echo "configure:5693: checking for $ac_hdr" >&5 |
5693 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5694 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5695 |
else |
else |
5696 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5697 |
#line 5695 "configure" |
#line 5698 "configure" |
5698 |
#include "confdefs.h" |
#include "confdefs.h" |
5699 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5700 |
EOF |
EOF |
5701 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5702 |
{ (eval echo configure:5700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5703 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5704 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5705 |
rm -rf conftest* |
rm -rf conftest* |
5736 |
do |
do |
5737 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5738 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5739 |
echo "configure:5737: checking for $ac_hdr" >&5 |
echo "configure:5740: checking for $ac_hdr" >&5 |
5740 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5741 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5742 |
else |
else |
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 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5747 |
EOF |
EOF |
5748 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5749 |
{ (eval echo configure:5747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5750 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5751 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5752 |
rm -rf conftest* |
rm -rf conftest* |
5783 |
do |
do |
5784 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5785 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5786 |
echo "configure:5784: checking for $ac_hdr" >&5 |
echo "configure:5787: checking for $ac_hdr" >&5 |
5787 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5788 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5789 |
else |
else |
5790 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5791 |
#line 5789 "configure" |
#line 5792 "configure" |
5792 |
#include "confdefs.h" |
#include "confdefs.h" |
5793 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5794 |
EOF |
EOF |
5795 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5796 |
{ (eval echo configure:5794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5797 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5798 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5799 |
rm -rf conftest* |
rm -rf conftest* |
5829 |
# test makes sense. CM |
# test makes sense. CM |
5830 |
# |
# |
5831 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
5832 |
echo "configure:5830: checking for isnormal" >&5 |
echo "configure:5833: checking for isnormal" >&5 |
5833 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5834 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
5835 |
else |
else |
5836 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5837 |
#line 5835 "configure" |
#line 5838 "configure" |
5838 |
#include "confdefs.h" |
#include "confdefs.h" |
5839 |
#define _GNU_SOURCE 1 |
#define _GNU_SOURCE 1 |
5840 |
#include <math.h> |
#include <math.h> |
5843 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
5844 |
} |
} |
5845 |
EOF |
EOF |
5846 |
if { (eval echo configure:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5847 |
then |
then |
5848 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5849 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
5854 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
5855 |
rm -fr conftest* |
rm -fr conftest* |
5856 |
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 |
5857 |
echo "configure:5855: checking for fpclass in ieeefp.h" >&5 |
echo "configure:5858: checking for fpclass in ieeefp.h" >&5 |
5858 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5859 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
5860 |
else |
else |
5861 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5862 |
#line 5860 "configure" |
#line 5863 "configure" |
5863 |
#include "confdefs.h" |
#include "confdefs.h" |
5864 |
#include <ieeefp.h> |
#include <ieeefp.h> |
5865 |
int main() { |
int main() { |
5867 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
5868 |
} |
} |
5869 |
EOF |
EOF |
5870 |
if { (eval echo configure:5868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5871 |
then |
then |
5872 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5873 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
5889 |
|
|
5890 |
|
|
5891 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
5892 |
echo "configure:5890: checking for isfinite" >&5 |
echo "configure:5893: checking for isfinite" >&5 |
5893 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5894 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
5895 |
else |
else |
5896 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5897 |
#line 5895 "configure" |
#line 5898 "configure" |
5898 |
#include "confdefs.h" |
#include "confdefs.h" |
5899 |
#define _GNU_SOURCE 1 |
#define _GNU_SOURCE 1 |
5900 |
#include <math.h> |
#include <math.h> |
5903 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
5904 |
} |
} |
5905 |
EOF |
EOF |
5906 |
if { (eval echo configure:5904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5907 |
then |
then |
5908 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5909 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
5914 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
5915 |
rm -fr conftest* |
rm -fr conftest* |
5916 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
5917 |
echo "configure:5915: checking for finite()" >&5 |
echo "configure:5918: checking for finite()" >&5 |
5918 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5919 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
5920 |
else |
else |
5921 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5922 |
#line 5920 "configure" |
#line 5923 "configure" |
5923 |
#include "confdefs.h" |
#include "confdefs.h" |
5924 |
#include <math.h> |
#include <math.h> |
5925 |
#include <ieeefp.h> |
#include <ieeefp.h> |
5928 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
5929 |
} |
} |
5930 |
EOF |
EOF |
5931 |
if { (eval echo configure:5929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5932 |
then |
then |
5933 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5934 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
5969 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
5970 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
5971 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
5972 |
echo "configure:5970: checking for sockets" >&5 |
echo "configure:5973: checking for sockets" >&5 |
5973 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
5974 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5975 |
echo "configure:5973: checking for connect" >&5 |
echo "configure:5976: checking for connect" >&5 |
5976 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
5977 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5978 |
else |
else |
5979 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5980 |
#line 5978 "configure" |
#line 5981 "configure" |
5981 |
#include "confdefs.h" |
#include "confdefs.h" |
5982 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5983 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
6000 |
|
|
6001 |
; return 0; } |
; return 0; } |
6002 |
EOF |
EOF |
6003 |
if { (eval echo configure:6001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6004 |
rm -rf conftest* |
rm -rf conftest* |
6005 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
6006 |
else |
else |
6022 |
|
|
6023 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
6024 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
6025 |
echo "configure:6023: checking for main in -lsocket" >&5 |
echo "configure:6026: checking for main in -lsocket" >&5 |
6026 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
6027 |
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 |
6028 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6030 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
6031 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
6032 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6033 |
#line 6031 "configure" |
#line 6034 "configure" |
6034 |
#include "confdefs.h" |
#include "confdefs.h" |
6035 |
|
|
6036 |
int main() { |
int main() { |
6037 |
main() |
main() |
6038 |
; return 0; } |
; return 0; } |
6039 |
EOF |
EOF |
6040 |
if { (eval echo configure:6038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6041 |
rm -rf conftest* |
rm -rf conftest* |
6042 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
6043 |
else |
else |
6065 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
6066 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
6067 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
6068 |
echo "configure:6066: checking for accept" >&5 |
echo "configure:6069: checking for accept" >&5 |
6069 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
6070 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6071 |
else |
else |
6072 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6073 |
#line 6071 "configure" |
#line 6074 "configure" |
6074 |
#include "confdefs.h" |
#include "confdefs.h" |
6075 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6076 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
6093 |
|
|
6094 |
; return 0; } |
; return 0; } |
6095 |
EOF |
EOF |
6096 |
if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6097 |
rm -rf conftest* |
rm -rf conftest* |
6098 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
6099 |
else |
else |
6115 |
|
|
6116 |
fi |
fi |
6117 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6118 |
echo "configure:6116: checking for gethostbyname" >&5 |
echo "configure:6119: checking for gethostbyname" >&5 |
6119 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
6120 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6121 |
else |
else |
6122 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6123 |
#line 6121 "configure" |
#line 6124 "configure" |
6124 |
#include "confdefs.h" |
#include "confdefs.h" |
6125 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6126 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
6143 |
|
|
6144 |
; return 0; } |
; return 0; } |
6145 |
EOF |
EOF |
6146 |
if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6147 |
rm -rf conftest* |
rm -rf conftest* |
6148 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
6149 |
else |
else |
6161 |
else |
else |
6162 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
6163 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
6164 |
echo "configure:6162: checking for main in -lnsl" >&5 |
echo "configure:6165: checking for main in -lnsl" >&5 |
6165 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
6166 |
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 |
6167 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6169 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
6170 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
6171 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6172 |
#line 6170 "configure" |
#line 6173 "configure" |
6173 |
#include "confdefs.h" |
#include "confdefs.h" |
6174 |
|
|
6175 |
int main() { |
int main() { |
6176 |
main() |
main() |
6177 |
; return 0; } |
; return 0; } |
6178 |
EOF |
EOF |
6179 |
if { (eval echo configure:6177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6180 |
rm -rf conftest* |
rm -rf conftest* |
6181 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
6182 |
else |
else |
6206 |
do |
do |
6207 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6208 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6209 |
echo "configure:6207: checking for $ac_hdr" >&5 |
echo "configure:6210: checking for $ac_hdr" >&5 |
6210 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6211 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6212 |
else |
else |
6213 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6214 |
#line 6212 "configure" |
#line 6215 "configure" |
6215 |
#include "confdefs.h" |
#include "confdefs.h" |
6216 |
#include <$ac_hdr> |
#include <$ac_hdr> |
6217 |
EOF |
EOF |
6218 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6219 |
{ (eval echo configure:6217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6220 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6221 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
6222 |
rm -rf conftest* |
rm -rf conftest* |
6237 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
6238 |
EOF |
EOF |
6239 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
6240 |
echo "configure:6238: checking for main in -lreadline" >&5 |
echo "configure:6241: checking for main in -lreadline" >&5 |
6241 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
6242 |
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 |
6243 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6245 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
6246 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
6247 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6248 |
#line 6246 "configure" |
#line 6249 "configure" |
6249 |
#include "confdefs.h" |
#include "confdefs.h" |
6250 |
|
|
6251 |
int main() { |
int main() { |
6252 |
main() |
main() |
6253 |
; return 0; } |
; return 0; } |
6254 |
EOF |
EOF |
6255 |
if { (eval echo configure:6253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6256 |
rm -rf conftest* |
rm -rf conftest* |
6257 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
6258 |
else |
else |
6289 |
|
|
6290 |
# These tests discover differences between readline 4.1 and 4.3 |
# These tests discover differences between readline 4.1 and 4.3 |
6291 |
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 |
6292 |
echo "configure:6290: checking for rl_completion_matches in -lreadline" >&5 |
echo "configure:6293: checking for rl_completion_matches in -lreadline" >&5 |
6293 |
ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'` |
6294 |
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 |
6295 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6297 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
6298 |
LIBS="-lreadline $LIBS" |
LIBS="-lreadline $LIBS" |
6299 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6300 |
#line 6298 "configure" |
#line 6301 "configure" |
6301 |
#include "confdefs.h" |
#include "confdefs.h" |
6302 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6303 |
/* 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 |
6308 |
rl_completion_matches() |
rl_completion_matches() |
6309 |
; return 0; } |
; return 0; } |
6310 |
EOF |
EOF |
6311 |
if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6312 |
rm -rf conftest* |
rm -rf conftest* |
6313 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
6314 |
else |
else |
6341 |
|
|
6342 |
|
|
6343 |
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 |
6344 |
echo "configure:6342: checking For network code for nsocket.c" >&5 |
echo "configure:6345: checking For network code for nsocket.c" >&5 |
6345 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6346 |
#line 6344 "configure" |
#line 6347 "configure" |
6347 |
#include "confdefs.h" |
#include "confdefs.h" |
6348 |
|
|
6349 |
#include <sys/time.h> |
#include <sys/time.h> |
6370 |
|
|
6371 |
; return 0; } |
; return 0; } |
6372 |
EOF |
EOF |
6373 |
if { (eval echo configure:6371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6374 |
rm -rf conftest* |
rm -rf conftest* |
6375 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6376 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
6387 |
|
|
6388 |
|
|
6389 |
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 |
6390 |
echo "configure:6388: checking check for listen using fcntl" >&5 |
echo "configure:6391: checking check for listen using fcntl" >&5 |
6391 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6392 |
#line 6390 "configure" |
#line 6393 "configure" |
6393 |
#include "confdefs.h" |
#include "confdefs.h" |
6394 |
#include <stdio.h> |
#include <stdio.h> |
6395 |
#include <fcntl.h> |
#include <fcntl.h> |
6402 |
|
|
6403 |
; return 0; } |
; return 0; } |
6404 |
EOF |
EOF |
6405 |
if { (eval echo configure:6403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6406 |
rm -rf conftest* |
rm -rf conftest* |
6407 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6408 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
6421 |
|
|
6422 |
|
|
6423 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
6424 |
echo "configure:6422: checking for profil" >&5 |
echo "configure:6425: checking for profil" >&5 |
6425 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
6426 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6427 |
else |
else |
6428 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6429 |
#line 6427 "configure" |
#line 6430 "configure" |
6430 |
#include "confdefs.h" |
#include "confdefs.h" |
6431 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6432 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
6449 |
|
|
6450 |
; return 0; } |
; return 0; } |
6451 |
EOF |
EOF |
6452 |
if { (eval echo configure:6450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6453 |
rm -rf conftest* |
rm -rf conftest* |
6454 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
6455 |
else |
else |
6474 |
|
|
6475 |
|
|
6476 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
6477 |
echo "configure:6475: checking for setenv" >&5 |
echo "configure:6478: checking for setenv" >&5 |
6478 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
6479 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6480 |
else |
else |
6481 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6482 |
#line 6480 "configure" |
#line 6483 "configure" |
6483 |
#include "confdefs.h" |
#include "confdefs.h" |
6484 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6485 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
6502 |
|
|
6503 |
; return 0; } |
; return 0; } |
6504 |
EOF |
EOF |
6505 |
if { (eval echo configure:6503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6506 |
rm -rf conftest* |
rm -rf conftest* |
6507 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
6508 |
else |
else |
6528 |
|
|
6529 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
6530 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
6531 |
echo "configure:6529: checking for putenv" >&5 |
echo "configure:6532: checking for putenv" >&5 |
6532 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
6533 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6534 |
else |
else |
6535 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6536 |
#line 6534 "configure" |
#line 6537 "configure" |
6537 |
#include "confdefs.h" |
#include "confdefs.h" |
6538 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6539 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
6556 |
|
|
6557 |
; return 0; } |
; return 0; } |
6558 |
EOF |
EOF |
6559 |
if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6560 |
rm -rf conftest* |
rm -rf conftest* |
6561 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
6562 |
else |
else |
6582 |
fi |
fi |
6583 |
|
|
6584 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
6585 |
echo "configure:6583: checking for _cleanup" >&5 |
echo "configure:6586: checking for _cleanup" >&5 |
6586 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
6587 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6588 |
else |
else |
6589 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6590 |
#line 6588 "configure" |
#line 6591 "configure" |
6591 |
#include "confdefs.h" |
#include "confdefs.h" |
6592 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6593 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
6610 |
|
|
6611 |
; return 0; } |
; return 0; } |
6612 |
EOF |
EOF |
6613 |
if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6614 |
rm -rf conftest* |
rm -rf conftest* |
6615 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
6616 |
else |
else |
6636 |
gcl_ok=no |
gcl_ok=no |
6637 |
|
|
6638 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6639 |
#line 6637 "configure" |
#line 6640 "configure" |
6640 |
#include "confdefs.h" |
#include "confdefs.h" |
6641 |
#include <ctype.h> |
#include <ctype.h> |
6642 |
EOF |
EOF |
6664 |
|
|
6665 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
6666 |
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 |
6667 |
echo "configure:6665: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:6668: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
6668 |
|
|
6669 |
case $system in |
case $system in |
6670 |
OSF*) |
OSF*) |
6695 |
|
|
6696 |
|
|
6697 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
6698 |
echo "configure:6696: checking check for SV_ONSTACK" >&5 |
echo "configure:6699: checking check for SV_ONSTACK" >&5 |
6699 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6700 |
#line 6698 "configure" |
#line 6701 "configure" |
6701 |
#include "confdefs.h" |
#include "confdefs.h" |
6702 |
#include <signal.h> |
#include <signal.h> |
6703 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
6706 |
|
|
6707 |
; return 0; } |
; return 0; } |
6708 |
EOF |
EOF |
6709 |
if { (eval echo configure:6707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6710 |
rm -rf conftest* |
rm -rf conftest* |
6711 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6712 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
6723 |
rm -f conftest* |
rm -f conftest* |
6724 |
|
|
6725 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
6726 |
echo "configure:6724: checking check for SIGSYS" >&5 |
echo "configure:6727: checking check for SIGSYS" >&5 |
6727 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6728 |
#line 6726 "configure" |
#line 6729 "configure" |
6729 |
#include "confdefs.h" |
#include "confdefs.h" |
6730 |
#include <signal.h> |
#include <signal.h> |
6731 |
int joe=SIGSYS; |
int joe=SIGSYS; |
6734 |
|
|
6735 |
; return 0; } |
; return 0; } |
6736 |
EOF |
EOF |
6737 |
if { (eval echo configure:6735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6738 |
rm -rf conftest* |
rm -rf conftest* |
6739 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6740 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
6752 |
|
|
6753 |
|
|
6754 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
6755 |
echo "configure:6753: checking check for SIGEMT" >&5 |
echo "configure:6756: checking check for SIGEMT" >&5 |
6756 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6757 |
#line 6755 "configure" |
#line 6758 "configure" |
6758 |
#include "confdefs.h" |
#include "confdefs.h" |
6759 |
#include <signal.h> |
#include <signal.h> |
6760 |
int joe=SIGEMT; |
int joe=SIGEMT; |
6763 |
|
|
6764 |
; return 0; } |
; return 0; } |
6765 |
EOF |
EOF |
6766 |
if { (eval echo configure:6764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6767 |
rm -rf conftest* |
rm -rf conftest* |
6768 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6769 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
6787 |
do |
do |
6788 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6789 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6790 |
echo "configure:6788: checking for $ac_hdr" >&5 |
echo "configure:6791: checking for $ac_hdr" >&5 |
6791 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6792 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6793 |
else |
else |
6794 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6795 |
#line 6793 "configure" |
#line 6796 "configure" |
6796 |
#include "confdefs.h" |
#include "confdefs.h" |
6797 |
#include <$ac_hdr> |
#include <$ac_hdr> |
6798 |
EOF |
EOF |
6799 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6800 |
{ (eval echo configure:6798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6801 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6802 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
6803 |
rm -rf conftest* |
rm -rf conftest* |
6827 |
do |
do |
6828 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6829 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6830 |
echo "configure:6828: checking for $ac_hdr" >&5 |
echo "configure:6831: checking for $ac_hdr" >&5 |
6831 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6832 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6833 |
else |
else |
6834 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6835 |
#line 6833 "configure" |
#line 6836 "configure" |
6836 |
#include "confdefs.h" |
#include "confdefs.h" |
6837 |
#include <$ac_hdr> |
#include <$ac_hdr> |
6838 |
EOF |
EOF |
6839 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6840 |
{ (eval echo configure:6838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6841 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6842 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
6843 |
rm -rf conftest* |
rm -rf conftest* |
6864 |
done |
done |
6865 |
|
|
6866 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
6867 |
echo "configure:6865: checking for sigcontext..." >&5 |
echo "configure:6868: checking for sigcontext..." >&5 |
6868 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6869 |
#line 6867 "configure" |
#line 6870 "configure" |
6870 |
#include "confdefs.h" |
#include "confdefs.h" |
6871 |
#include <signal.h> |
#include <signal.h> |
6872 |
|
|
6876 |
|
|
6877 |
; return 0; } |
; return 0; } |
6878 |
EOF |
EOF |
6879 |
if { (eval echo configure:6877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6880 |
rm -rf conftest* |
rm -rf conftest* |
6881 |
|
|
6882 |
sigcontext_works=1; |
sigcontext_works=1; |
6897 |
rm -f conftest* |
rm -f conftest* |
6898 |
if test "$sigcontext_works" = 0 ; then |
if test "$sigcontext_works" = 0 ; then |
6899 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
6900 |
echo "configure:6898: checking for sigcontext..." >&5 |
echo "configure:6901: checking for sigcontext..." >&5 |
6901 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
6902 |
#line 6900 "configure" |
#line 6903 "configure" |
6903 |
#include "confdefs.h" |
#include "confdefs.h" |
6904 |
#include <signal.h> |
#include <signal.h> |
6905 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
6915 |
|
|
6916 |
; return 0; } |
; return 0; } |
6917 |
EOF |
EOF |
6918 |
if { (eval echo configure:6916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6919 |
rm -rf conftest* |
rm -rf conftest* |
6920 |
|
|
6921 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
6957 |
# 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. |
6958 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
6959 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
6960 |
echo "configure:6958: checking for $ac_word" >&5 |
echo "configure:6961: checking for $ac_word" >&5 |
6961 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
6962 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6963 |
else |
else |
7005 |
EOF |
EOF |
7006 |
|
|
7007 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
7008 |
echo "configure:7006: checking emacs site lisp directory" >&5 |
echo "configure:7009: checking emacs site lisp directory" >&5 |
7009 |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
7010 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
7011 |
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 ` |
7029 |
EOF |
EOF |
7030 |
|
|
7031 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
7032 |
echo "configure:7030: checking emacs default.el" >&5 |
echo "configure:7033: checking emacs default.el" >&5 |
7033 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
7034 |
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 ` |
7035 |
else |
else |
7058 |
EOF |
EOF |
7059 |
|
|
7060 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
7061 |
echo "configure:7059: checking emacs info/dir" >&5 |
echo "configure:7062: checking emacs info/dir" >&5 |
7062 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
7063 |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
7064 |
else |
else |
7076 |
|
|
7077 |
|
|
7078 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
7079 |
echo "configure:7077: checking for tcl/tk" >&5 |
echo "configure:7080: checking for tcl/tk" >&5 |
7080 |
|
|
7081 |
|
|
7082 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
7099 |
# 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. |
7100 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
7101 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
7102 |
echo "configure:7100: checking for $ac_word" >&5 |
echo "configure:7103: checking for $ac_word" >&5 |
7103 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
7104 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
7105 |
else |
else |
7204 |
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}" |
7205 |
else |
else |
7206 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
7207 |
echo "configure:7205: checking for main in -llieee" >&5 |
echo "configure:7208: checking for main in -llieee" >&5 |
7208 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
7209 |
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 |
7210 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
7212 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
7213 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
7214 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
7215 |
#line 7213 "configure" |
#line 7216 "configure" |
7216 |
#include "confdefs.h" |
#include "confdefs.h" |
7217 |
|
|
7218 |
int main() { |
int main() { |
7219 |
main() |
main() |
7220 |
; return 0; } |
; return 0; } |
7221 |
EOF |
EOF |
7222 |
if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7223 |
rm -rf conftest* |
rm -rf conftest* |
7224 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
7225 |
else |
else |
7287 |
|
|
7288 |
if test "$use" != "mingw" ; then |
if test "$use" != "mingw" ; then |
7289 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
7290 |
echo "configure:7288: checking alloca" >&5 |
echo "configure:7291: checking alloca" >&5 |
7291 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
7292 |
gcl_ok=no |
gcl_ok=no |
7293 |
else |
else |
7294 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
7295 |
#line 7293 "configure" |
#line 7296 "configure" |
7296 |
#include "confdefs.h" |
#include "confdefs.h" |
7297 |
#include <stdio.h> |
#include <stdio.h> |
7298 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
7299 |
EOF |
EOF |
7300 |
if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:7301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7301 |
then |
then |
7302 |
: |
: |
7303 |
else |
else |
7320 |
gcl_ok=no |
gcl_ok=no |
7321 |
else |
else |
7322 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
7323 |
#line 7321 "configure" |
#line 7324 "configure" |
7324 |
#include "confdefs.h" |
#include "confdefs.h" |
7325 |
#include <alloca.h> |
#include <alloca.h> |
7326 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
7327 |
EOF |
EOF |
7328 |
if { (eval echo configure:7326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:7329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7329 |
then |
then |
7330 |
: |
: |
7331 |
else |
else |
7380 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
7381 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
7382 |
echo $ac_n "checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
echo $ac_n "checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
7383 |
echo "configure:7381: checking for buggy gcc version from redhat" >&5 |
echo "configure:7384: checking for buggy gcc version from redhat" >&5 |
7384 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
7385 |
then |
then |
7386 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |