585 |
test -n "$AWK" || AWK="""" |
test -n "$AWK" || AWK="""" |
586 |
|
|
587 |
|
|
588 |
|
for ac_prog in makeinfo |
589 |
|
do |
590 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
591 |
|
set dummy $ac_prog; ac_word=$2 |
592 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
593 |
|
echo "configure:594: checking for $ac_word" >&5 |
594 |
|
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
595 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
596 |
|
else |
597 |
|
if test -n "$MAKEINFO"; then |
598 |
|
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
599 |
|
else |
600 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
601 |
|
ac_dummy="$PATH" |
602 |
|
for ac_dir in $ac_dummy; do |
603 |
|
test -z "$ac_dir" && ac_dir=. |
604 |
|
if test -f $ac_dir/$ac_word; then |
605 |
|
ac_cv_prog_MAKEINFO="$ac_prog" |
606 |
|
break |
607 |
|
fi |
608 |
|
done |
609 |
|
IFS="$ac_save_ifs" |
610 |
|
fi |
611 |
|
fi |
612 |
|
MAKEINFO="$ac_cv_prog_MAKEINFO" |
613 |
|
if test -n "$MAKEINFO"; then |
614 |
|
echo "$ac_t""$MAKEINFO" 1>&6 |
615 |
|
else |
616 |
|
echo "$ac_t""no" 1>&6 |
617 |
|
fi |
618 |
|
|
619 |
|
test -n "$MAKEINFO" && break |
620 |
|
done |
621 |
|
test -n "$MAKEINFO" || MAKEINFO=""false"" |
622 |
|
|
623 |
|
|
624 |
|
|
625 |
if test -f /usr/lib/NextStep/software_version; then |
if test -f /usr/lib/NextStep/software_version; then |
626 |
system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version` |
system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version` |
627 |
else |
else |
650 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
651 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
652 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
653 |
echo "configure:617: checking for $ac_word" >&5 |
echo "configure:654: checking for $ac_word" >&5 |
654 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
655 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
656 |
else |
else |
680 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
681 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
682 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
683 |
echo "configure:647: checking for $ac_word" >&5 |
echo "configure:684: checking for $ac_word" >&5 |
684 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
685 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
686 |
else |
else |
731 |
# Extract the first word of "cl", so it can be a program name with args. |
# Extract the first word of "cl", so it can be a program name with args. |
732 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
733 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
734 |
echo "configure:698: checking for $ac_word" >&5 |
echo "configure:735: checking for $ac_word" >&5 |
735 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
736 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
737 |
else |
else |
763 |
fi |
fi |
764 |
|
|
765 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
766 |
echo "configure:730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:767: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
767 |
|
|
768 |
ac_ext=c |
ac_ext=c |
769 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
774 |
|
|
775 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
776 |
|
|
777 |
#line 741 "configure" |
#line 778 "configure" |
778 |
#include "confdefs.h" |
#include "confdefs.h" |
779 |
|
|
780 |
main(){return(0);} |
main(){return(0);} |
781 |
EOF |
EOF |
782 |
if { (eval echo configure:746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
783 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
784 |
# If we can't run a trivial program, we are probably using a cross compiler. |
# If we can't run a trivial program, we are probably using a cross compiler. |
785 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
805 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
806 |
fi |
fi |
807 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
808 |
echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:809: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
809 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
810 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
811 |
|
|
812 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
813 |
echo "configure:777: checking whether we are using GNU C" >&5 |
echo "configure:814: checking whether we are using GNU C" >&5 |
814 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
815 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
816 |
else |
else |
819 |
yes; |
yes; |
820 |
#endif |
#endif |
821 |
EOF |
EOF |
822 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
823 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
824 |
else |
else |
825 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
838 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
839 |
CFLAGS= |
CFLAGS= |
840 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
841 |
echo "configure:805: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:842: checking whether ${CC-cc} accepts -g" >&5 |
842 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
843 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
844 |
else |
else |
882 |
|
|
883 |
|
|
884 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
885 |
echo "configure:849: checking "finding DBEGIN"" >&5 |
echo "configure:886: checking "finding DBEGIN"" >&5 |
886 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
887 |
dbegin=0 |
dbegin=0 |
888 |
else |
else |
889 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
890 |
#line 854 "configure" |
#line 891 "configure" |
891 |
#include "confdefs.h" |
#include "confdefs.h" |
892 |
#include <stdio.h> |
#include <stdio.h> |
893 |
main() |
main() |
899 |
return 0; |
return 0; |
900 |
} |
} |
901 |
EOF |
EOF |
902 |
if { (eval echo configure:866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
903 |
then |
then |
904 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
905 |
else |
else |
921 |
|
|
922 |
|
|
923 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
924 |
echo "configure:888: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:925: checking "finding CSTACK_ADDRESS"" >&5 |
925 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
926 |
cstack_address=0 |
cstack_address=0 |
927 |
else |
else |
928 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
929 |
#line 893 "configure" |
#line 930 "configure" |
930 |
#include "confdefs.h" |
#include "confdefs.h" |
931 |
#include <stdio.h> |
#include <stdio.h> |
932 |
main() |
main() |
938 |
return 0; |
return 0; |
939 |
} |
} |
940 |
EOF |
EOF |
941 |
if { (eval echo configure:905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
942 |
then |
then |
943 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
944 |
else |
else |
960 |
|
|
961 |
|
|
962 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
963 |
echo "configure:927: checking "sizeof long long int"" >&5 |
echo "configure:964: checking "sizeof long long int"" >&5 |
964 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
965 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
966 |
|
|
967 |
else |
else |
968 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
969 |
#line 933 "configure" |
#line 970 "configure" |
970 |
#include "confdefs.h" |
#include "confdefs.h" |
971 |
#include <stdio.h> |
#include <stdio.h> |
972 |
main() |
main() |
976 |
} |
} |
977 |
|
|
978 |
EOF |
EOF |
979 |
if { (eval echo configure:943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
980 |
then |
then |
981 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
982 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
1085 |
for ac_func in getcwd |
for ac_func in getcwd |
1086 |
do |
do |
1087 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1088 |
echo "configure:1052: checking for $ac_func" >&5 |
echo "configure:1089: checking for $ac_func" >&5 |
1089 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1090 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1091 |
else |
else |
1092 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1093 |
#line 1057 "configure" |
#line 1094 "configure" |
1094 |
#include "confdefs.h" |
#include "confdefs.h" |
1095 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1096 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1113 |
|
|
1114 |
; return 0; } |
; return 0; } |
1115 |
EOF |
EOF |
1116 |
if { (eval echo configure:1080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1117 |
rm -rf conftest* |
rm -rf conftest* |
1118 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1119 |
else |
else |
1140 |
for ac_func in getwd |
for ac_func in getwd |
1141 |
do |
do |
1142 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1143 |
echo "configure:1107: checking for $ac_func" >&5 |
echo "configure:1144: checking for $ac_func" >&5 |
1144 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1145 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1146 |
else |
else |
1147 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1148 |
#line 1112 "configure" |
#line 1149 "configure" |
1149 |
#include "confdefs.h" |
#include "confdefs.h" |
1150 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1151 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1168 |
|
|
1169 |
; return 0; } |
; return 0; } |
1170 |
EOF |
EOF |
1171 |
if { (eval echo configure:1135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1172 |
rm -rf conftest* |
rm -rf conftest* |
1173 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1174 |
else |
else |
1193 |
done |
done |
1194 |
|
|
1195 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
1196 |
echo "configure:1160: checking for uname" >&5 |
echo "configure:1197: checking for uname" >&5 |
1197 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
1198 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1199 |
else |
else |
1200 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1201 |
#line 1165 "configure" |
#line 1202 "configure" |
1202 |
#include "confdefs.h" |
#include "confdefs.h" |
1203 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1204 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
1221 |
|
|
1222 |
; return 0; } |
; return 0; } |
1223 |
EOF |
EOF |
1224 |
if { (eval echo configure:1188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1225 |
rm -rf conftest* |
rm -rf conftest* |
1226 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
1227 |
else |
else |
1245 |
fi |
fi |
1246 |
|
|
1247 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1248 |
echo "configure:1212: checking for gettimeofday" >&5 |
echo "configure:1249: checking for gettimeofday" >&5 |
1249 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1250 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1251 |
else |
else |
1252 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1253 |
#line 1217 "configure" |
#line 1254 "configure" |
1254 |
#include "confdefs.h" |
#include "confdefs.h" |
1255 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1256 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1273 |
|
|
1274 |
; return 0; } |
; return 0; } |
1275 |
EOF |
EOF |
1276 |
if { (eval echo configure:1240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1277 |
rm -rf conftest* |
rm -rf conftest* |
1278 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1279 |
else |
else |
1299 |
|
|
1300 |
|
|
1301 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1302 |
echo "configure:1266: checking how to run the C preprocessor" >&5 |
echo "configure:1303: checking how to run the C preprocessor" >&5 |
1303 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
1304 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
1305 |
CPP= |
CPP= |
1314 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
1315 |
# not just through cpp. |
# not just through cpp. |
1316 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1317 |
#line 1281 "configure" |
#line 1318 "configure" |
1318 |
#include "confdefs.h" |
#include "confdefs.h" |
1319 |
#include <assert.h> |
#include <assert.h> |
1320 |
Syntax Error |
Syntax Error |
1321 |
EOF |
EOF |
1322 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1323 |
{ (eval echo configure:1287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1324 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1325 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1326 |
: |
: |
1331 |
rm -rf conftest* |
rm -rf conftest* |
1332 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
1333 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1334 |
#line 1298 "configure" |
#line 1335 "configure" |
1335 |
#include "confdefs.h" |
#include "confdefs.h" |
1336 |
#include <assert.h> |
#include <assert.h> |
1337 |
Syntax Error |
Syntax Error |
1338 |
EOF |
EOF |
1339 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1340 |
{ (eval echo configure:1304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1341 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1342 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1343 |
: |
: |
1348 |
rm -rf conftest* |
rm -rf conftest* |
1349 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
1350 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1351 |
#line 1315 "configure" |
#line 1352 "configure" |
1352 |
#include "confdefs.h" |
#include "confdefs.h" |
1353 |
#include <assert.h> |
#include <assert.h> |
1354 |
Syntax Error |
Syntax Error |
1355 |
EOF |
EOF |
1356 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1357 |
{ (eval echo configure:1321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1358 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1359 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1360 |
: |
: |
1382 |
do |
do |
1383 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1384 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1385 |
echo "configure:1349: checking for $ac_hdr" >&5 |
echo "configure:1386: checking for $ac_hdr" >&5 |
1386 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1387 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1388 |
else |
else |
1389 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1390 |
#line 1354 "configure" |
#line 1391 "configure" |
1391 |
#include "confdefs.h" |
#include "confdefs.h" |
1392 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1393 |
EOF |
EOF |
1394 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1395 |
{ (eval echo configure:1359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1396 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1397 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1398 |
rm -rf conftest* |
rm -rf conftest* |
1432 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1433 |
|
|
1434 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
1435 |
echo "configure:1399: checking for BSDgettimeofday" >&5 |
echo "configure:1436: checking for BSDgettimeofday" >&5 |
1436 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
1437 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1438 |
else |
else |
1439 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1440 |
#line 1404 "configure" |
#line 1441 "configure" |
1441 |
#include "confdefs.h" |
#include "confdefs.h" |
1442 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1443 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
1460 |
|
|
1461 |
; return 0; } |
; return 0; } |
1462 |
EOF |
EOF |
1463 |
if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1464 |
rm -rf conftest* |
rm -rf conftest* |
1465 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
1466 |
else |
else |
1481 |
else |
else |
1482 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1483 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1484 |
echo "configure:1448: checking for gettimeofday" >&5 |
echo "configure:1485: checking for gettimeofday" >&5 |
1485 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1486 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1487 |
else |
else |
1488 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1489 |
#line 1453 "configure" |
#line 1490 "configure" |
1490 |
#include "confdefs.h" |
#include "confdefs.h" |
1491 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1492 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1509 |
|
|
1510 |
; return 0; } |
; return 0; } |
1511 |
EOF |
EOF |
1512 |
if { (eval echo configure:1476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1513 |
rm -rf conftest* |
rm -rf conftest* |
1514 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1515 |
else |
else |
1535 |
fi |
fi |
1536 |
|
|
1537 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
1538 |
echo "configure:1502: checking for gettimeofday declaration" >&5 |
echo "configure:1539: checking for gettimeofday declaration" >&5 |
1539 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1540 |
#line 1504 "configure" |
#line 1541 "configure" |
1541 |
#include "confdefs.h" |
#include "confdefs.h" |
1542 |
#include <sys/time.h> |
#include <sys/time.h> |
1543 |
EOF |
EOF |
1560 |
|
|
1561 |
|
|
1562 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
1563 |
echo "configure:1527: checking for sin in -lm" >&5 |
echo "configure:1564: checking for sin in -lm" >&5 |
1564 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
1565 |
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 |
1566 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1568 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1569 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
1570 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1571 |
#line 1535 "configure" |
#line 1572 "configure" |
1572 |
#include "confdefs.h" |
#include "confdefs.h" |
1573 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1574 |
/* 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 |
1579 |
sin() |
sin() |
1580 |
; return 0; } |
; return 0; } |
1581 |
EOF |
EOF |
1582 |
if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1583 |
rm -rf conftest* |
rm -rf conftest* |
1584 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1585 |
else |
else |
1601 |
fi |
fi |
1602 |
|
|
1603 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
1604 |
echo "configure:1568: checking for main in -lmingwex" >&5 |
echo "configure:1605: checking for main in -lmingwex" >&5 |
1605 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
1606 |
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 |
1607 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1609 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1610 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
1611 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1612 |
#line 1576 "configure" |
#line 1613 "configure" |
1613 |
#include "confdefs.h" |
#include "confdefs.h" |
1614 |
|
|
1615 |
int main() { |
int main() { |
1616 |
main() |
main() |
1617 |
; return 0; } |
; return 0; } |
1618 |
EOF |
EOF |
1619 |
if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1620 |
rm -rf conftest* |
rm -rf conftest* |
1621 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1622 |
else |
else |
1645 |
do |
do |
1646 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1647 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1648 |
echo "configure:1612: checking for $ac_hdr" >&5 |
echo "configure:1649: checking for $ac_hdr" >&5 |
1649 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1650 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1651 |
else |
else |
1652 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1653 |
#line 1617 "configure" |
#line 1654 "configure" |
1654 |
#include "confdefs.h" |
#include "confdefs.h" |
1655 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1656 |
EOF |
EOF |
1657 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1658 |
{ (eval echo configure:1622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1659 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1660 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1661 |
rm -rf conftest* |
rm -rf conftest* |
1691 |
# test makes sense. CM |
# test makes sense. CM |
1692 |
# |
# |
1693 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
1694 |
echo "configure:1658: checking for isnormal" >&5 |
echo "configure:1695: checking for isnormal" >&5 |
1695 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1696 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
1697 |
else |
else |
1698 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1699 |
#line 1663 "configure" |
#line 1700 "configure" |
1700 |
#include "confdefs.h" |
#include "confdefs.h" |
1701 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
1702 |
#include <math.h> |
#include <math.h> |
1705 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
1706 |
} |
} |
1707 |
EOF |
EOF |
1708 |
if { (eval echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1709 |
then |
then |
1710 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1711 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
1716 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
1717 |
rm -fr conftest* |
rm -fr conftest* |
1718 |
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 |
1719 |
echo "configure:1683: checking for fpclass in ieeefp.h" >&5 |
echo "configure:1720: checking for fpclass in ieeefp.h" >&5 |
1720 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1721 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
1722 |
else |
else |
1723 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1724 |
#line 1688 "configure" |
#line 1725 "configure" |
1725 |
#include "confdefs.h" |
#include "confdefs.h" |
1726 |
#include <ieeefp.h> |
#include <ieeefp.h> |
1727 |
int main() { |
int main() { |
1729 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
1730 |
} |
} |
1731 |
EOF |
EOF |
1732 |
if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1733 |
then |
then |
1734 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1735 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
1770 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
1771 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1772 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
1773 |
echo "configure:1737: checking for sockets" >&5 |
echo "configure:1774: checking for sockets" >&5 |
1774 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
1775 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
1776 |
echo "configure:1740: checking for connect" >&5 |
echo "configure:1777: checking for connect" >&5 |
1777 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
1778 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1779 |
else |
else |
1780 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1781 |
#line 1745 "configure" |
#line 1782 "configure" |
1782 |
#include "confdefs.h" |
#include "confdefs.h" |
1783 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1784 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
1801 |
|
|
1802 |
; return 0; } |
; return 0; } |
1803 |
EOF |
EOF |
1804 |
if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1805 |
rm -rf conftest* |
rm -rf conftest* |
1806 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
1807 |
else |
else |
1823 |
|
|
1824 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
1825 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
1826 |
echo "configure:1790: checking for main in -lsocket" >&5 |
echo "configure:1827: checking for main in -lsocket" >&5 |
1827 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
1828 |
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 |
1829 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1831 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1832 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
1833 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1834 |
#line 1798 "configure" |
#line 1835 "configure" |
1835 |
#include "confdefs.h" |
#include "confdefs.h" |
1836 |
|
|
1837 |
int main() { |
int main() { |
1838 |
main() |
main() |
1839 |
; return 0; } |
; return 0; } |
1840 |
EOF |
EOF |
1841 |
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1842 |
rm -rf conftest* |
rm -rf conftest* |
1843 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1844 |
else |
else |
1866 |
tk_oldLibs=$LIBS |
tk_oldLibs=$LIBS |
1867 |
LIBS="$LIBS -lsocket -lnsl" |
LIBS="$LIBS -lsocket -lnsl" |
1868 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
1869 |
echo "configure:1833: checking for accept" >&5 |
echo "configure:1870: checking for accept" >&5 |
1870 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
1871 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1872 |
else |
else |
1873 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1874 |
#line 1838 "configure" |
#line 1875 "configure" |
1875 |
#include "confdefs.h" |
#include "confdefs.h" |
1876 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1877 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
1894 |
|
|
1895 |
; return 0; } |
; return 0; } |
1896 |
EOF |
EOF |
1897 |
if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1898 |
rm -rf conftest* |
rm -rf conftest* |
1899 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
1900 |
else |
else |
1916 |
|
|
1917 |
fi |
fi |
1918 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
1919 |
echo "configure:1883: checking for gethostbyname" >&5 |
echo "configure:1920: checking for gethostbyname" >&5 |
1920 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
1921 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1922 |
else |
else |
1923 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1924 |
#line 1888 "configure" |
#line 1925 "configure" |
1925 |
#include "confdefs.h" |
#include "confdefs.h" |
1926 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1927 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
1944 |
|
|
1945 |
; return 0; } |
; return 0; } |
1946 |
EOF |
EOF |
1947 |
if { (eval echo configure:1911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1948 |
rm -rf conftest* |
rm -rf conftest* |
1949 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
1950 |
else |
else |
1962 |
else |
else |
1963 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1964 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
1965 |
echo "configure:1929: checking for main in -lnsl" >&5 |
echo "configure:1966: checking for main in -lnsl" >&5 |
1966 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
1967 |
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 |
1968 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1970 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1971 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
1972 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1973 |
#line 1937 "configure" |
#line 1974 "configure" |
1974 |
#include "confdefs.h" |
#include "confdefs.h" |
1975 |
|
|
1976 |
int main() { |
int main() { |
1977 |
main() |
main() |
1978 |
; return 0; } |
; return 0; } |
1979 |
EOF |
EOF |
1980 |
if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1981 |
rm -rf conftest* |
rm -rf conftest* |
1982 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1983 |
else |
else |
2001 |
|
|
2002 |
|
|
2003 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
2004 |
echo "configure:1968: checking for main in -lreadline" >&5 |
echo "configure:2005: checking for main in -lreadline" >&5 |
2005 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
2006 |
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 |
2007 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2009 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2010 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
2011 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2012 |
#line 1976 "configure" |
#line 2013 "configure" |
2013 |
#include "confdefs.h" |
#include "confdefs.h" |
2014 |
|
|
2015 |
int main() { |
int main() { |
2016 |
main() |
main() |
2017 |
; return 0; } |
; return 0; } |
2018 |
EOF |
EOF |
2019 |
if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2020 |
rm -rf conftest* |
rm -rf conftest* |
2021 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2022 |
else |
else |
2048 |
|
|
2049 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2050 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2051 |
echo "configure:2015: checking for bfd.h" >&5 |
echo "configure:2052: checking for bfd.h" >&5 |
2052 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2053 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2054 |
else |
else |
2055 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2056 |
#line 2020 "configure" |
#line 2057 "configure" |
2057 |
#include "confdefs.h" |
#include "confdefs.h" |
2058 |
#include <bfd.h> |
#include <bfd.h> |
2059 |
EOF |
EOF |
2060 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2061 |
{ (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2062 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2063 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2064 |
rm -rf conftest* |
rm -rf conftest* |
2075 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2076 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2077 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
2078 |
echo "configure:2042: checking for bfd_init in -lbfd" >&5 |
echo "configure:2079: checking for bfd_init in -lbfd" >&5 |
2079 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2080 |
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 |
2081 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2083 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2084 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2085 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2086 |
#line 2050 "configure" |
#line 2087 "configure" |
2087 |
#include "confdefs.h" |
#include "confdefs.h" |
2088 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2089 |
/* 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 |
2094 |
bfd_init() |
bfd_init() |
2095 |
; return 0; } |
; return 0; } |
2096 |
EOF |
EOF |
2097 |
if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2098 |
rm -rf conftest* |
rm -rf conftest* |
2099 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2100 |
else |
else |
2131 |
|
|
2132 |
|
|
2133 |
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 |
2134 |
echo "configure:2098: checking For network code for nsocket.c" >&5 |
echo "configure:2135: checking For network code for nsocket.c" >&5 |
2135 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2136 |
#line 2100 "configure" |
#line 2137 "configure" |
2137 |
#include "confdefs.h" |
#include "confdefs.h" |
2138 |
|
|
2139 |
#include <sys/time.h> |
#include <sys/time.h> |
2160 |
|
|
2161 |
; return 0; } |
; return 0; } |
2162 |
EOF |
EOF |
2163 |
if { (eval echo configure:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2164 |
rm -rf conftest* |
rm -rf conftest* |
2165 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2166 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
2177 |
|
|
2178 |
|
|
2179 |
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 |
2180 |
echo "configure:2144: checking check for listen using fcntl" >&5 |
echo "configure:2181: checking check for listen using fcntl" >&5 |
2181 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2182 |
#line 2146 "configure" |
#line 2183 "configure" |
2183 |
#include "confdefs.h" |
#include "confdefs.h" |
2184 |
#include <stdio.h> |
#include <stdio.h> |
2185 |
#include <fcntl.h> |
#include <fcntl.h> |
2192 |
|
|
2193 |
; return 0; } |
; return 0; } |
2194 |
EOF |
EOF |
2195 |
if { (eval echo configure:2159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2196 |
rm -rf conftest* |
rm -rf conftest* |
2197 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2198 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2211 |
|
|
2212 |
|
|
2213 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2214 |
echo "configure:2178: checking for profil" >&5 |
echo "configure:2215: checking for profil" >&5 |
2215 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2216 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2217 |
else |
else |
2218 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2219 |
#line 2183 "configure" |
#line 2220 "configure" |
2220 |
#include "confdefs.h" |
#include "confdefs.h" |
2221 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2222 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2239 |
|
|
2240 |
; return 0; } |
; return 0; } |
2241 |
EOF |
EOF |
2242 |
if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2243 |
rm -rf conftest* |
rm -rf conftest* |
2244 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2245 |
else |
else |
2264 |
|
|
2265 |
|
|
2266 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2267 |
echo "configure:2231: checking for setenv" >&5 |
echo "configure:2268: checking for setenv" >&5 |
2268 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2269 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2270 |
else |
else |
2271 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2272 |
#line 2236 "configure" |
#line 2273 "configure" |
2273 |
#include "confdefs.h" |
#include "confdefs.h" |
2274 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2275 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2292 |
|
|
2293 |
; return 0; } |
; return 0; } |
2294 |
EOF |
EOF |
2295 |
if { (eval echo configure:2259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2296 |
rm -rf conftest* |
rm -rf conftest* |
2297 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2298 |
else |
else |
2318 |
|
|
2319 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2320 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2321 |
echo "configure:2285: checking for putenv" >&5 |
echo "configure:2322: checking for putenv" >&5 |
2322 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2323 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2324 |
else |
else |
2325 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2326 |
#line 2290 "configure" |
#line 2327 "configure" |
2327 |
#include "confdefs.h" |
#include "confdefs.h" |
2328 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2329 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2346 |
|
|
2347 |
; return 0; } |
; return 0; } |
2348 |
EOF |
EOF |
2349 |
if { (eval echo configure:2313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2350 |
rm -rf conftest* |
rm -rf conftest* |
2351 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2352 |
else |
else |
2372 |
fi |
fi |
2373 |
|
|
2374 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2375 |
echo "configure:2339: checking for _cleanup" >&5 |
echo "configure:2376: checking for _cleanup" >&5 |
2376 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2377 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2378 |
else |
else |
2379 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2380 |
#line 2344 "configure" |
#line 2381 "configure" |
2381 |
#include "confdefs.h" |
#include "confdefs.h" |
2382 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2383 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2400 |
|
|
2401 |
; return 0; } |
; return 0; } |
2402 |
EOF |
EOF |
2403 |
if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2404 |
rm -rf conftest* |
rm -rf conftest* |
2405 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2406 |
else |
else |
2426 |
gcl_ok=no |
gcl_ok=no |
2427 |
|
|
2428 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2429 |
#line 2393 "configure" |
#line 2430 "configure" |
2430 |
#include "confdefs.h" |
#include "confdefs.h" |
2431 |
#include <ctype.h> |
#include <ctype.h> |
2432 |
EOF |
EOF |
2454 |
|
|
2455 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2456 |
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 |
2457 |
echo "configure:2421: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2458: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2458 |
|
|
2459 |
case $system in |
case $system in |
2460 |
OSF*) |
OSF*) |
2510 |
fi |
fi |
2511 |
|
|
2512 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2513 |
echo "configure:2477: checking host system type" >&5 |
echo "configure:2514: checking host system type" >&5 |
2514 |
|
|
2515 |
host_alias=$host |
host_alias=$host |
2516 |
case "$host_alias" in |
case "$host_alias" in |
2683 |
|
|
2684 |
esac |
esac |
2685 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2686 |
echo "configure:2650: checking check for SV_ONSTACK" >&5 |
echo "configure:2687: checking check for SV_ONSTACK" >&5 |
2687 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2688 |
#line 2652 "configure" |
#line 2689 "configure" |
2689 |
#include "confdefs.h" |
#include "confdefs.h" |
2690 |
#include <signal.h> |
#include <signal.h> |
2691 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2694 |
|
|
2695 |
; return 0; } |
; return 0; } |
2696 |
EOF |
EOF |
2697 |
if { (eval echo configure:2661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2698 |
rm -rf conftest* |
rm -rf conftest* |
2699 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2700 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2712 |
|
|
2713 |
|
|
2714 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2715 |
echo "configure:2679: checking check for SIGSYS" >&5 |
echo "configure:2716: checking check for SIGSYS" >&5 |
2716 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2717 |
#line 2681 "configure" |
#line 2718 "configure" |
2718 |
#include "confdefs.h" |
#include "confdefs.h" |
2719 |
#include <signal.h> |
#include <signal.h> |
2720 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2723 |
|
|
2724 |
; return 0; } |
; return 0; } |
2725 |
EOF |
EOF |
2726 |
if { (eval echo configure:2690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2727 |
rm -rf conftest* |
rm -rf conftest* |
2728 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2729 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
2741 |
|
|
2742 |
|
|
2743 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
2744 |
echo "configure:2708: checking check for SIGEMT" >&5 |
echo "configure:2745: checking check for SIGEMT" >&5 |
2745 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2746 |
#line 2710 "configure" |
#line 2747 "configure" |
2747 |
#include "confdefs.h" |
#include "confdefs.h" |
2748 |
#include <signal.h> |
#include <signal.h> |
2749 |
int joe=SIGEMT; |
int joe=SIGEMT; |
2752 |
|
|
2753 |
; return 0; } |
; return 0; } |
2754 |
EOF |
EOF |
2755 |
if { (eval echo configure:2719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2756 |
rm -rf conftest* |
rm -rf conftest* |
2757 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2758 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
2776 |
do |
do |
2777 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2778 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2779 |
echo "configure:2743: checking for $ac_hdr" >&5 |
echo "configure:2780: checking for $ac_hdr" >&5 |
2780 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2781 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2782 |
else |
else |
2783 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2784 |
#line 2748 "configure" |
#line 2785 "configure" |
2785 |
#include "confdefs.h" |
#include "confdefs.h" |
2786 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2787 |
EOF |
EOF |
2788 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2789 |
{ (eval echo configure:2753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2790 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2791 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2792 |
rm -rf conftest* |
rm -rf conftest* |
2816 |
do |
do |
2817 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2818 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2819 |
echo "configure:2783: checking for $ac_hdr" >&5 |
echo "configure:2820: checking for $ac_hdr" >&5 |
2820 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2821 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2822 |
else |
else |
2823 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2824 |
#line 2788 "configure" |
#line 2825 "configure" |
2825 |
#include "confdefs.h" |
#include "confdefs.h" |
2826 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2827 |
EOF |
EOF |
2828 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2829 |
{ (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2830 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2831 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2832 |
rm -rf conftest* |
rm -rf conftest* |
2853 |
done |
done |
2854 |
|
|
2855 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2856 |
#line 2820 "configure" |
#line 2857 "configure" |
2857 |
#include "confdefs.h" |
#include "confdefs.h" |
2858 |
#include <signal.h> |
#include <signal.h> |
2859 |
long code; |
long code; |
2864 |
|
|
2865 |
; return 0; } |
; return 0; } |
2866 |
EOF |
EOF |
2867 |
if { (eval echo configure:2831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2868 |
rm -rf conftest* |
rm -rf conftest* |
2869 |
|
|
2870 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
2885 |
rm -f conftest* |
rm -f conftest* |
2886 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
2887 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2888 |
#line 2852 "configure" |
#line 2889 "configure" |
2889 |
#include "confdefs.h" |
#include "confdefs.h" |
2890 |
#include <signal.h> |
#include <signal.h> |
2891 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
2902 |
|
|
2903 |
; return 0; } |
; return 0; } |
2904 |
EOF |
EOF |
2905 |
if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2906 |
rm -rf conftest* |
rm -rf conftest* |
2907 |
|
|
2908 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
2945 |
# 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. |
2946 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
2947 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2948 |
echo "configure:2912: checking for $ac_word" >&5 |
echo "configure:2949: checking for $ac_word" >&5 |
2949 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
2950 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2951 |
else |
else |
2993 |
EOF |
EOF |
2994 |
|
|
2995 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
2996 |
echo "configure:2960: checking emacs site lisp directory" >&5 |
echo "configure:2997: checking emacs site lisp directory" >&5 |
2997 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
2998 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
2999 |
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 ` |
3016 |
EOF |
EOF |
3017 |
|
|
3018 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
3019 |
echo "configure:2983: checking emacs default.el" >&5 |
echo "configure:3020: checking emacs default.el" >&5 |
3020 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3021 |
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 ` |
3022 |
else |
else |
3045 |
EOF |
EOF |
3046 |
|
|
3047 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3048 |
echo "configure:3012: checking emacs info/dir" >&5 |
echo "configure:3049: checking emacs info/dir" >&5 |
3049 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3050 |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
3051 |
fi |
fi |
3059 |
|
|
3060 |
|
|
3061 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3062 |
echo "configure:3026: checking for tcl/tk" >&5 |
echo "configure:3063: checking for tcl/tk" >&5 |
3063 |
|
|
3064 |
|
|
3065 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3082 |
# 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. |
3083 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3084 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3085 |
echo "configure:3049: checking for $ac_word" >&5 |
echo "configure:3086: checking for $ac_word" >&5 |
3086 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3087 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3088 |
else |
else |
3182 |
fi |
fi |
3183 |
fi |
fi |
3184 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3185 |
echo "configure:3149: checking for main in -llieee" >&5 |
echo "configure:3186: checking for main in -llieee" >&5 |
3186 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3187 |
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 |
3188 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3190 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3191 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3192 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3193 |
#line 3157 "configure" |
#line 3194 "configure" |
3194 |
#include "confdefs.h" |
#include "confdefs.h" |
3195 |
|
|
3196 |
int main() { |
int main() { |
3197 |
main() |
main() |
3198 |
; return 0; } |
; return 0; } |
3199 |
EOF |
EOF |
3200 |
if { (eval echo configure:3164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3201 |
rm -rf conftest* |
rm -rf conftest* |
3202 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3203 |
else |
else |
3222 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3223 |
fi |
fi |
3224 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3225 |
echo "configure:3189: checking for dlopen in -ldl" >&5 |
echo "configure:3226: checking for dlopen in -ldl" >&5 |
3226 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3227 |
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 |
3228 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3230 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3231 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3232 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3233 |
#line 3197 "configure" |
#line 3234 "configure" |
3234 |
#include "confdefs.h" |
#include "confdefs.h" |
3235 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3236 |
/* 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 |
3241 |
dlopen() |
dlopen() |
3242 |
; return 0; } |
; return 0; } |
3243 |
EOF |
EOF |
3244 |
if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3245 |
rm -rf conftest* |
rm -rf conftest* |
3246 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3247 |
else |
else |
3323 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3324 |
|
|
3325 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3326 |
echo "configure:3290: checking alloca" >&5 |
echo "configure:3327: checking alloca" >&5 |
3327 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3328 |
gcl_ok=no |
gcl_ok=no |
3329 |
else |
else |
3330 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3331 |
#line 3295 "configure" |
#line 3332 "configure" |
3332 |
#include "confdefs.h" |
#include "confdefs.h" |
3333 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3334 |
EOF |
EOF |
3335 |
if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3336 |
then |
then |
3337 |
: |
: |
3338 |
else |
else |
3355 |
gcl_ok=no |
gcl_ok=no |
3356 |
else |
else |
3357 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3358 |
#line 3322 "configure" |
#line 3359 "configure" |
3359 |
#include "confdefs.h" |
#include "confdefs.h" |
3360 |
#include <alloca.h> |
#include <alloca.h> |
3361 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3362 |
EOF |
EOF |
3363 |
if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3364 |
then |
then |
3365 |
: |
: |
3366 |
else |
else |
3422 |
|
|
3423 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3424 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
3425 |
echo "configure:3389: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3426: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3426 |
case "${canonical}" in |
case "${canonical}" in |
3427 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3428 |
# (cd gmp ; ./configure --target=i486) ;; |
# (cd gmp ; ./configure --target=i486) ;; |
3444 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3445 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3446 |
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 |
3447 |
echo "configure:3411: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3448: checking Checking for buggy gcc version from redhat" >&5 |
3448 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3449 |
then |
then |
3450 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
3597 |
s%@infodir@%$infodir%g |
s%@infodir@%$infodir%g |
3598 |
s%@mandir@%$mandir%g |
s%@mandir@%$mandir%g |
3599 |
s%@AWK@%$AWK%g |
s%@AWK@%$AWK%g |
3600 |
|
s%@MAKEINFO@%$MAKEINFO%g |
3601 |
s%@CC@%$CC%g |
s%@CC@%$CC%g |
3602 |
s%@GCC@%$GCC%g |
s%@GCC@%$GCC%g |
3603 |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |