12 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
13 |
# Any additions from configure.in: |
# Any additions from configure.in: |
14 |
ac_help="$ac_help |
ac_help="$ac_help |
15 |
|
--disable-bfd prevents gcl from using libbfd.a for fast object loading and symbol table lookups " |
16 |
|
ac_help="$ac_help |
17 |
--enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) " |
--enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) " |
18 |
ac_help="$ac_help |
ac_help="$ac_help |
19 |
--enable-vssize=XXXX will compile in a value stack of size XXX " |
--enable-vssize=XXXX will compile in a value stack of size XXX " |
548 |
|
|
549 |
|
|
550 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
551 |
echo "configure:550: checking system version (for dynamic loading)" >&5 |
echo "configure:552: checking system version (for dynamic loading)" >&5 |
552 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
553 |
|
|
554 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
556 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
557 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
558 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
559 |
echo "configure:558: checking for $ac_word" >&5 |
echo "configure:560: checking for $ac_word" >&5 |
560 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
561 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
562 |
else |
else |
592 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
593 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
594 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
595 |
echo "configure:594: checking for $ac_word" >&5 |
echo "configure:596: checking for $ac_word" >&5 |
596 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
597 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
598 |
else |
else |
652 |
# 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. |
653 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
654 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
655 |
echo "configure:654: checking for $ac_word" >&5 |
echo "configure:656: checking for $ac_word" >&5 |
656 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
657 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
658 |
else |
else |
682 |
# 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. |
683 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
684 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
685 |
echo "configure:684: checking for $ac_word" >&5 |
echo "configure:686: checking for $ac_word" >&5 |
686 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
687 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
688 |
else |
else |
733 |
# 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. |
734 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
735 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
736 |
echo "configure:735: checking for $ac_word" >&5 |
echo "configure:737: checking for $ac_word" >&5 |
737 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
738 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
739 |
else |
else |
765 |
fi |
fi |
766 |
|
|
767 |
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 |
768 |
echo "configure:767: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:769: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
769 |
|
|
770 |
ac_ext=c |
ac_ext=c |
771 |
# 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. |
776 |
|
|
777 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
778 |
|
|
779 |
#line 778 "configure" |
#line 780 "configure" |
780 |
#include "confdefs.h" |
#include "confdefs.h" |
781 |
|
|
782 |
main(){return(0);} |
main(){return(0);} |
783 |
EOF |
EOF |
784 |
if { (eval echo configure:783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
785 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
786 |
# 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. |
787 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
807 |
{ 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; } |
808 |
fi |
fi |
809 |
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 |
810 |
echo "configure:809: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
811 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
812 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
813 |
|
|
814 |
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 |
815 |
echo "configure:814: checking whether we are using GNU C" >&5 |
echo "configure:816: checking whether we are using GNU C" >&5 |
816 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
817 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
818 |
else |
else |
821 |
yes; |
yes; |
822 |
#endif |
#endif |
823 |
EOF |
EOF |
824 |
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 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
825 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
826 |
else |
else |
827 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
840 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
841 |
CFLAGS= |
CFLAGS= |
842 |
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 |
843 |
echo "configure:842: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:844: checking whether ${CC-cc} accepts -g" >&5 |
844 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
845 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
846 |
else |
else |
882 |
# subst GCC not only under 386-linux, but where available -- CM |
# subst GCC not only under 386-linux, but where available -- CM |
883 |
|
|
884 |
|
|
885 |
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
886 |
|
echo "configure:887: checking how to run the C preprocessor" >&5 |
887 |
|
# On Suns, sometimes $CPP names a directory. |
888 |
|
if test -n "$CPP" && test -d "$CPP"; then |
889 |
|
CPP= |
890 |
|
fi |
891 |
|
if test -z "$CPP"; then |
892 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
893 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
894 |
|
else |
895 |
|
# This must be in double quotes, not single quotes, because CPP may get |
896 |
|
# substituted into the Makefile and "${CC-cc}" will confuse make. |
897 |
|
CPP="${CC-cc} -E" |
898 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
899 |
|
# not just through cpp. |
900 |
|
cat > conftest.$ac_ext <<EOF |
901 |
|
#line 902 "configure" |
902 |
|
#include "confdefs.h" |
903 |
|
#include <assert.h> |
904 |
|
Syntax Error |
905 |
|
EOF |
906 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
907 |
|
{ (eval echo configure:908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
908 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
909 |
|
if test -z "$ac_err"; then |
910 |
|
: |
911 |
|
else |
912 |
|
echo "$ac_err" >&5 |
913 |
|
echo "configure: failed program was:" >&5 |
914 |
|
cat conftest.$ac_ext >&5 |
915 |
|
rm -rf conftest* |
916 |
|
CPP="${CC-cc} -E -traditional-cpp" |
917 |
|
cat > conftest.$ac_ext <<EOF |
918 |
|
#line 919 "configure" |
919 |
|
#include "confdefs.h" |
920 |
|
#include <assert.h> |
921 |
|
Syntax Error |
922 |
|
EOF |
923 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
924 |
|
{ (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
925 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
926 |
|
if test -z "$ac_err"; then |
927 |
|
: |
928 |
|
else |
929 |
|
echo "$ac_err" >&5 |
930 |
|
echo "configure: failed program was:" >&5 |
931 |
|
cat conftest.$ac_ext >&5 |
932 |
|
rm -rf conftest* |
933 |
|
CPP="${CC-cc} -nologo -E" |
934 |
|
cat > conftest.$ac_ext <<EOF |
935 |
|
#line 936 "configure" |
936 |
|
#include "confdefs.h" |
937 |
|
#include <assert.h> |
938 |
|
Syntax Error |
939 |
|
EOF |
940 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
941 |
|
{ (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
942 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
943 |
|
if test -z "$ac_err"; then |
944 |
|
: |
945 |
|
else |
946 |
|
echo "$ac_err" >&5 |
947 |
|
echo "configure: failed program was:" >&5 |
948 |
|
cat conftest.$ac_ext >&5 |
949 |
|
rm -rf conftest* |
950 |
|
CPP=/lib/cpp |
951 |
|
fi |
952 |
|
rm -f conftest* |
953 |
|
fi |
954 |
|
rm -f conftest* |
955 |
|
fi |
956 |
|
rm -f conftest* |
957 |
|
ac_cv_prog_CPP="$CPP" |
958 |
|
fi |
959 |
|
CPP="$ac_cv_prog_CPP" |
960 |
|
else |
961 |
|
ac_cv_prog_CPP="$CPP" |
962 |
|
fi |
963 |
|
echo "$ac_t""$CPP" 1>&6 |
964 |
|
|
965 |
|
for ac_hdr in endian.h |
966 |
|
do |
967 |
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
968 |
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
969 |
|
echo "configure:970: checking for $ac_hdr" >&5 |
970 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
971 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
972 |
|
else |
973 |
|
cat > conftest.$ac_ext <<EOF |
974 |
|
#line 975 "configure" |
975 |
|
#include "confdefs.h" |
976 |
|
#include <$ac_hdr> |
977 |
|
EOF |
978 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
979 |
|
{ (eval echo configure:980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
980 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
981 |
|
if test -z "$ac_err"; then |
982 |
|
rm -rf conftest* |
983 |
|
eval "ac_cv_header_$ac_safe=yes" |
984 |
|
else |
985 |
|
echo "$ac_err" >&5 |
986 |
|
echo "configure: failed program was:" >&5 |
987 |
|
cat conftest.$ac_ext >&5 |
988 |
|
rm -rf conftest* |
989 |
|
eval "ac_cv_header_$ac_safe=no" |
990 |
|
fi |
991 |
|
rm -f conftest* |
992 |
|
fi |
993 |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
994 |
|
echo "$ac_t""yes" 1>&6 |
995 |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
996 |
|
cat >> confdefs.h <<EOF |
997 |
|
#define $ac_tr_hdr 1 |
998 |
|
EOF |
999 |
|
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
1000 |
|
echo "configure:1001: checking "endianness"" >&5 |
1001 |
|
if test "$cross_compiling" = yes; then |
1002 |
|
echo "$ac_t""big" 1>&6 |
1003 |
|
else |
1004 |
|
cat > conftest.$ac_ext <<EOF |
1005 |
|
#line 1006 "configure" |
1006 |
|
#include "confdefs.h" |
1007 |
|
#include <endian.h> |
1008 |
|
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
1009 |
|
EOF |
1010 |
|
if { (eval echo configure:1011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1011 |
|
then |
1012 |
|
cat >> confdefs.h <<\EOF |
1013 |
|
#define LITTLE_END 1 |
1014 |
|
EOF |
1015 |
|
echo "$ac_t""little" 1>&6 |
1016 |
|
else |
1017 |
|
echo "configure: failed program was:" >&5 |
1018 |
|
cat conftest.$ac_ext >&5 |
1019 |
|
rm -fr conftest* |
1020 |
|
echo "$ac_t""big" 1>&6 |
1021 |
|
fi |
1022 |
|
rm -fr conftest* |
1023 |
|
fi |
1024 |
|
|
1025 |
|
else |
1026 |
|
echo "$ac_t""no" 1>&6 |
1027 |
|
fi |
1028 |
|
done |
1029 |
|
|
1030 |
|
|
1031 |
|
|
1032 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
1033 |
echo "configure:886: checking "finding DBEGIN"" >&5 |
echo "configure:1034: checking "finding DBEGIN"" >&5 |
1034 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1035 |
dbegin=0 |
dbegin=0 |
1036 |
else |
else |
1037 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1038 |
#line 891 "configure" |
#line 1039 "configure" |
1039 |
#include "confdefs.h" |
#include "confdefs.h" |
1040 |
#include <stdio.h> |
#include <stdio.h> |
1041 |
main() |
main() |
1047 |
return 0; |
return 0; |
1048 |
} |
} |
1049 |
EOF |
EOF |
1050 |
if { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1051 |
then |
then |
1052 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
1053 |
else |
else |
1069 |
|
|
1070 |
|
|
1071 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
1072 |
echo "configure:925: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:1073: checking "finding CSTACK_ADDRESS"" >&5 |
1073 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1074 |
cstack_address=0 |
cstack_address=0 |
1075 |
else |
else |
1076 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1077 |
#line 930 "configure" |
#line 1078 "configure" |
1078 |
#include "confdefs.h" |
#include "confdefs.h" |
1079 |
#include <stdio.h> |
#include <stdio.h> |
1080 |
main() |
main() |
1086 |
return 0; |
return 0; |
1087 |
} |
} |
1088 |
EOF |
EOF |
1089 |
if { (eval echo configure:942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1090 |
then |
then |
1091 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
1092 |
else |
else |
1108 |
|
|
1109 |
|
|
1110 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
1111 |
echo "configure:964: checking "sizeof long long int"" >&5 |
echo "configure:1112: checking "sizeof long long int"" >&5 |
1112 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1113 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1114 |
|
|
1115 |
else |
else |
1116 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1117 |
#line 970 "configure" |
#line 1118 "configure" |
1118 |
#include "confdefs.h" |
#include "confdefs.h" |
1119 |
#include <stdio.h> |
#include <stdio.h> |
1120 |
main() |
main() |
1124 |
} |
} |
1125 |
|
|
1126 |
EOF |
EOF |
1127 |
if { (eval echo configure:980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1128 |
then |
then |
1129 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1130 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
1143 |
|
|
1144 |
|
|
1145 |
|
|
1146 |
|
# bfd probe |
1147 |
|
|
1148 |
|
# Check whether --enable-bfd or --disable-bfd was given. |
1149 |
|
if test "${enable_bfd+set}" = set; then |
1150 |
|
enableval="$enable_bfd" |
1151 |
|
: |
1152 |
|
fi |
1153 |
|
|
1154 |
|
|
1155 |
|
|
1156 |
# Maximum number of pages |
# Maximum number of pages |
1241 |
for ac_func in getcwd |
for ac_func in getcwd |
1242 |
do |
do |
1243 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1244 |
echo "configure:1089: checking for $ac_func" >&5 |
echo "configure:1245: checking for $ac_func" >&5 |
1245 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1246 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1247 |
else |
else |
1248 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1249 |
#line 1094 "configure" |
#line 1250 "configure" |
1250 |
#include "confdefs.h" |
#include "confdefs.h" |
1251 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1252 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1269 |
|
|
1270 |
; return 0; } |
; return 0; } |
1271 |
EOF |
EOF |
1272 |
if { (eval echo configure:1117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1273 |
rm -rf conftest* |
rm -rf conftest* |
1274 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1275 |
else |
else |
1296 |
for ac_func in getwd |
for ac_func in getwd |
1297 |
do |
do |
1298 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1299 |
echo "configure:1144: checking for $ac_func" >&5 |
echo "configure:1300: checking for $ac_func" >&5 |
1300 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1301 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1302 |
else |
else |
1303 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1304 |
#line 1149 "configure" |
#line 1305 "configure" |
1305 |
#include "confdefs.h" |
#include "confdefs.h" |
1306 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1307 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1324 |
|
|
1325 |
; return 0; } |
; return 0; } |
1326 |
EOF |
EOF |
1327 |
if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1328 |
rm -rf conftest* |
rm -rf conftest* |
1329 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1330 |
else |
else |
1349 |
done |
done |
1350 |
|
|
1351 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
1352 |
echo "configure:1197: checking for uname" >&5 |
echo "configure:1353: checking for uname" >&5 |
1353 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
1354 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1355 |
else |
else |
1356 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1357 |
#line 1202 "configure" |
#line 1358 "configure" |
1358 |
#include "confdefs.h" |
#include "confdefs.h" |
1359 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1360 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
1377 |
|
|
1378 |
; return 0; } |
; return 0; } |
1379 |
EOF |
EOF |
1380 |
if { (eval echo configure:1225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1381 |
rm -rf conftest* |
rm -rf conftest* |
1382 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
1383 |
else |
else |
1401 |
fi |
fi |
1402 |
|
|
1403 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1404 |
echo "configure:1249: checking for gettimeofday" >&5 |
echo "configure:1405: checking for gettimeofday" >&5 |
1405 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1406 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1407 |
else |
else |
1408 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1409 |
#line 1254 "configure" |
#line 1410 "configure" |
1410 |
#include "confdefs.h" |
#include "confdefs.h" |
1411 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1412 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1429 |
|
|
1430 |
; return 0; } |
; return 0; } |
1431 |
EOF |
EOF |
1432 |
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1433 |
rm -rf conftest* |
rm -rf conftest* |
1434 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1435 |
else |
else |
1454 |
|
|
1455 |
|
|
1456 |
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
|
echo "configure:1303: checking how to run the C preprocessor" >&5 |
|
|
# On Suns, sometimes $CPP names a directory. |
|
|
if test -n "$CPP" && test -d "$CPP"; then |
|
|
CPP= |
|
|
fi |
|
|
if test -z "$CPP"; then |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
# This must be in double quotes, not single quotes, because CPP may get |
|
|
# substituted into the Makefile and "${CC-cc}" will confuse make. |
|
|
CPP="${CC-cc} -E" |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
# not just through cpp. |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1318 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <assert.h> |
|
|
Syntax Error |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:1324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
: |
|
|
else |
|
|
echo "$ac_err" >&5 |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1335 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <assert.h> |
|
|
Syntax Error |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
: |
|
|
else |
|
|
echo "$ac_err" >&5 |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
CPP="${CC-cc} -nologo -E" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1352 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <assert.h> |
|
|
Syntax Error |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:1358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
: |
|
|
else |
|
|
echo "$ac_err" >&5 |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
CPP=/lib/cpp |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
|
rm -f conftest* |
|
|
ac_cv_prog_CPP="$CPP" |
|
|
fi |
|
|
CPP="$ac_cv_prog_CPP" |
|
|
else |
|
|
ac_cv_prog_CPP="$CPP" |
|
|
fi |
|
|
echo "$ac_t""$CPP" 1>&6 |
|
|
|
|
1457 |
for ac_hdr in sys/ioctl.h |
for ac_hdr in sys/ioctl.h |
1458 |
do |
do |
1459 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1460 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1461 |
echo "configure:1386: checking for $ac_hdr" >&5 |
echo "configure:1462: checking for $ac_hdr" >&5 |
1462 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1463 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1464 |
else |
else |
1465 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1466 |
#line 1391 "configure" |
#line 1467 "configure" |
1467 |
#include "confdefs.h" |
#include "confdefs.h" |
1468 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1469 |
EOF |
EOF |
1470 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1471 |
{ (eval echo configure:1396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1472 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1473 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1474 |
rm -rf conftest* |
rm -rf conftest* |
1508 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1509 |
|
|
1510 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
1511 |
echo "configure:1436: checking for BSDgettimeofday" >&5 |
echo "configure:1512: checking for BSDgettimeofday" >&5 |
1512 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
1513 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1514 |
else |
else |
1515 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1516 |
#line 1441 "configure" |
#line 1517 "configure" |
1517 |
#include "confdefs.h" |
#include "confdefs.h" |
1518 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1519 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
1536 |
|
|
1537 |
; return 0; } |
; return 0; } |
1538 |
EOF |
EOF |
1539 |
if { (eval echo configure:1464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1540 |
rm -rf conftest* |
rm -rf conftest* |
1541 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
1542 |
else |
else |
1557 |
else |
else |
1558 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1559 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
1560 |
echo "configure:1485: checking for gettimeofday" >&5 |
echo "configure:1561: checking for gettimeofday" >&5 |
1561 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
1562 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1563 |
else |
else |
1564 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1565 |
#line 1490 "configure" |
#line 1566 "configure" |
1566 |
#include "confdefs.h" |
#include "confdefs.h" |
1567 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1568 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
1585 |
|
|
1586 |
; return 0; } |
; return 0; } |
1587 |
EOF |
EOF |
1588 |
if { (eval echo configure:1513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1589 |
rm -rf conftest* |
rm -rf conftest* |
1590 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
1591 |
else |
else |
1611 |
fi |
fi |
1612 |
|
|
1613 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
1614 |
echo "configure:1539: checking for gettimeofday declaration" >&5 |
echo "configure:1615: checking for gettimeofday declaration" >&5 |
1615 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1616 |
#line 1541 "configure" |
#line 1617 "configure" |
1617 |
#include "confdefs.h" |
#include "confdefs.h" |
1618 |
#include <sys/time.h> |
#include <sys/time.h> |
1619 |
EOF |
EOF |
1636 |
|
|
1637 |
|
|
1638 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
1639 |
echo "configure:1564: checking for sin in -lm" >&5 |
echo "configure:1640: checking for sin in -lm" >&5 |
1640 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
1641 |
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 |
1642 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1644 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1645 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
1646 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1647 |
#line 1572 "configure" |
#line 1648 "configure" |
1648 |
#include "confdefs.h" |
#include "confdefs.h" |
1649 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1650 |
/* 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 |
1655 |
sin() |
sin() |
1656 |
; return 0; } |
; return 0; } |
1657 |
EOF |
EOF |
1658 |
if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1659 |
rm -rf conftest* |
rm -rf conftest* |
1660 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1661 |
else |
else |
1677 |
fi |
fi |
1678 |
|
|
1679 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
1680 |
echo "configure:1605: checking for main in -lmingwex" >&5 |
echo "configure:1681: checking for main in -lmingwex" >&5 |
1681 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
1682 |
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 |
1683 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1685 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1686 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
1687 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1688 |
#line 1613 "configure" |
#line 1689 "configure" |
1689 |
#include "confdefs.h" |
#include "confdefs.h" |
1690 |
|
|
1691 |
int main() { |
int main() { |
1692 |
main() |
main() |
1693 |
; return 0; } |
; return 0; } |
1694 |
EOF |
EOF |
1695 |
if { (eval echo configure:1620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1696 |
rm -rf conftest* |
rm -rf conftest* |
1697 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1698 |
else |
else |
1721 |
do |
do |
1722 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1723 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1724 |
echo "configure:1649: checking for $ac_hdr" >&5 |
echo "configure:1725: checking for $ac_hdr" >&5 |
1725 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1726 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1727 |
else |
else |
1728 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1729 |
#line 1654 "configure" |
#line 1730 "configure" |
1730 |
#include "confdefs.h" |
#include "confdefs.h" |
1731 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1732 |
EOF |
EOF |
1733 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1734 |
{ (eval echo configure:1659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1735 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1736 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1737 |
rm -rf conftest* |
rm -rf conftest* |
1767 |
# test makes sense. CM |
# test makes sense. CM |
1768 |
# |
# |
1769 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
1770 |
echo "configure:1695: checking for isnormal" >&5 |
echo "configure:1771: checking for isnormal" >&5 |
1771 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1772 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
1773 |
else |
else |
1774 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1775 |
#line 1700 "configure" |
#line 1776 "configure" |
1776 |
#include "confdefs.h" |
#include "confdefs.h" |
1777 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
1778 |
#include <math.h> |
#include <math.h> |
1781 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
1782 |
} |
} |
1783 |
EOF |
EOF |
1784 |
if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1785 |
then |
then |
1786 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1787 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
1792 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
1793 |
rm -fr conftest* |
rm -fr conftest* |
1794 |
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 |
1795 |
echo "configure:1720: checking for fpclass in ieeefp.h" >&5 |
echo "configure:1796: checking for fpclass in ieeefp.h" >&5 |
1796 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1797 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
1798 |
else |
else |
1799 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1800 |
#line 1725 "configure" |
#line 1801 "configure" |
1801 |
#include "confdefs.h" |
#include "confdefs.h" |
1802 |
#include <ieeefp.h> |
#include <ieeefp.h> |
1803 |
int main() { |
int main() { |
1805 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
1806 |
} |
} |
1807 |
EOF |
EOF |
1808 |
if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1809 |
then |
then |
1810 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1811 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
1846 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
1847 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1848 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
1849 |
echo "configure:1774: checking for sockets" >&5 |
echo "configure:1850: checking for sockets" >&5 |
1850 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
1851 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
1852 |
echo "configure:1777: checking for connect" >&5 |
echo "configure:1853: checking for connect" >&5 |
1853 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
1854 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1855 |
else |
else |
1856 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1857 |
#line 1782 "configure" |
#line 1858 "configure" |
1858 |
#include "confdefs.h" |
#include "confdefs.h" |
1859 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1860 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
1877 |
|
|
1878 |
; return 0; } |
; return 0; } |
1879 |
EOF |
EOF |
1880 |
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1881 |
rm -rf conftest* |
rm -rf conftest* |
1882 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
1883 |
else |
else |
1899 |
|
|
1900 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
1901 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
1902 |
echo "configure:1827: checking for main in -lsocket" >&5 |
echo "configure:1903: checking for main in -lsocket" >&5 |
1903 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
1904 |
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 |
1905 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1907 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1908 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
1909 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1910 |
#line 1835 "configure" |
#line 1911 "configure" |
1911 |
#include "confdefs.h" |
#include "confdefs.h" |
1912 |
|
|
1913 |
int main() { |
int main() { |
1914 |
main() |
main() |
1915 |
; return 0; } |
; return 0; } |
1916 |
EOF |
EOF |
1917 |
if { (eval echo configure:1842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1918 |
rm -rf conftest* |
rm -rf conftest* |
1919 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1920 |
else |
else |
1942 |
tk_oldLibs=$LIBS |
tk_oldLibs=$LIBS |
1943 |
LIBS="$LIBS -lsocket -lnsl" |
LIBS="$LIBS -lsocket -lnsl" |
1944 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
1945 |
echo "configure:1870: checking for accept" >&5 |
echo "configure:1946: checking for accept" >&5 |
1946 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
1947 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1948 |
else |
else |
1949 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1950 |
#line 1875 "configure" |
#line 1951 "configure" |
1951 |
#include "confdefs.h" |
#include "confdefs.h" |
1952 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1953 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
1970 |
|
|
1971 |
; return 0; } |
; return 0; } |
1972 |
EOF |
EOF |
1973 |
if { (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1974 |
rm -rf conftest* |
rm -rf conftest* |
1975 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
1976 |
else |
else |
1992 |
|
|
1993 |
fi |
fi |
1994 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
1995 |
echo "configure:1920: checking for gethostbyname" >&5 |
echo "configure:1996: checking for gethostbyname" >&5 |
1996 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
1997 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1998 |
else |
else |
1999 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2000 |
#line 1925 "configure" |
#line 2001 "configure" |
2001 |
#include "confdefs.h" |
#include "confdefs.h" |
2002 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2003 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2020 |
|
|
2021 |
; return 0; } |
; return 0; } |
2022 |
EOF |
EOF |
2023 |
if { (eval echo configure:1948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2024 |
rm -rf conftest* |
rm -rf conftest* |
2025 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2026 |
else |
else |
2038 |
else |
else |
2039 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2040 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
2041 |
echo "configure:1966: checking for main in -lnsl" >&5 |
echo "configure:2042: checking for main in -lnsl" >&5 |
2042 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
2043 |
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 |
2044 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2046 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2047 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2048 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2049 |
#line 1974 "configure" |
#line 2050 "configure" |
2050 |
#include "confdefs.h" |
#include "confdefs.h" |
2051 |
|
|
2052 |
int main() { |
int main() { |
2053 |
main() |
main() |
2054 |
; return 0; } |
; return 0; } |
2055 |
EOF |
EOF |
2056 |
if { (eval echo configure:1981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2057 |
rm -rf conftest* |
rm -rf conftest* |
2058 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2059 |
else |
else |
2077 |
|
|
2078 |
|
|
2079 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
2080 |
echo "configure:2005: checking for main in -lreadline" >&5 |
echo "configure:2081: checking for main in -lreadline" >&5 |
2081 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
2082 |
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 |
2083 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2085 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2086 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
2087 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2088 |
#line 2013 "configure" |
#line 2089 "configure" |
2089 |
#include "confdefs.h" |
#include "confdefs.h" |
2090 |
|
|
2091 |
int main() { |
int main() { |
2092 |
main() |
main() |
2093 |
; return 0; } |
; return 0; } |
2094 |
EOF |
EOF |
2095 |
if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2096 |
rm -rf conftest* |
rm -rf conftest* |
2097 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2098 |
else |
else |
2119 |
fi |
fi |
2120 |
|
|
2121 |
|
|
2122 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
if test "$enable_bfd" = "yes" ; then |
2123 |
|
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2124 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2125 |
echo "configure:2049: checking for bfd.h" >&5 |
echo "configure:2126: checking for bfd.h" >&5 |
2126 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2127 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2128 |
else |
else |
2129 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2130 |
#line 2054 "configure" |
#line 2131 "configure" |
2131 |
#include "confdefs.h" |
#include "confdefs.h" |
2132 |
#include <bfd.h> |
#include <bfd.h> |
2133 |
EOF |
EOF |
2134 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2135 |
{ (eval echo configure:2059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2136 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2137 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2138 |
rm -rf conftest* |
rm -rf conftest* |
2149 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2150 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
2151 |
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 |
2152 |
echo "configure:2076: checking for bfd_init in -lbfd" >&5 |
echo "configure:2153: checking for bfd_init in -lbfd" >&5 |
2153 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
2154 |
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 |
2155 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2157 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2158 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
2159 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2160 |
#line 2084 "configure" |
#line 2161 "configure" |
2161 |
#include "confdefs.h" |
#include "confdefs.h" |
2162 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2163 |
/* 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 |
2168 |
bfd_init() |
bfd_init() |
2169 |
; return 0; } |
; return 0; } |
2170 |
EOF |
EOF |
2171 |
if { (eval echo configure:2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2172 |
rm -rf conftest* |
rm -rf conftest* |
2173 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2174 |
else |
else |
2187 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
2188 |
EOF |
EOF |
2189 |
|
|
2190 |
echo "int main() {bfd_init();xmalloc(1);return 0;}" >foo.c |
echo "int main() {bfd_init();xmalloc(1);return 0;}" >foo.c |
2191 |
MP=`$GCC -t -static -o foo foo.c -lbfd -liberty 2>&1 |tr '()' ' ' | ${AWK} '/\/libbfd/ || /\/libiberty/ {for (j=1;j<=NF;j++) {sub("\.so$",".a",$j); if ($j ~ "/libbfd") a=$j; if ($j ~ "/libiberty") b=$j;}} END {print a " " b}'` |
MP=`$GCC -t -static -o foo foo.c -lbfd -liberty 2>&1 |tr '()' ' ' | ${AWK} '/\/libbfd/ || /\/libiberty/ {for (j=1;j<=NF;j++) {sub("\.so$",".a",$j); if ($j ~ "/libbfd") a=$j; if ($j ~ "/libiberty") b=$j;}} END {print a " " b}'` |
2192 |
LIBS="$LIBS $MP" |
LIBS="$LIBS $MP" |
2193 |
|
|
2194 |
else |
else |
2195 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2196 |
fi |
fi |
2199 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
2200 |
fi |
fi |
2201 |
|
|
2202 |
|
fi |
2203 |
|
|
2204 |
|
|
2205 |
|
|
2206 |
|
|
2207 |
|
|
2208 |
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 |
2209 |
echo "configure:2132: checking For network code for nsocket.c" >&5 |
echo "configure:2210: checking For network code for nsocket.c" >&5 |
2210 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2211 |
#line 2134 "configure" |
#line 2212 "configure" |
2212 |
#include "confdefs.h" |
#include "confdefs.h" |
2213 |
|
|
2214 |
#include <sys/time.h> |
#include <sys/time.h> |
2235 |
|
|
2236 |
; return 0; } |
; return 0; } |
2237 |
EOF |
EOF |
2238 |
if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2239 |
rm -rf conftest* |
rm -rf conftest* |
2240 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2241 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
2252 |
|
|
2253 |
|
|
2254 |
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 |
2255 |
echo "configure:2178: checking check for listen using fcntl" >&5 |
echo "configure:2256: checking check for listen using fcntl" >&5 |
2256 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2257 |
#line 2180 "configure" |
#line 2258 "configure" |
2258 |
#include "confdefs.h" |
#include "confdefs.h" |
2259 |
#include <stdio.h> |
#include <stdio.h> |
2260 |
#include <fcntl.h> |
#include <fcntl.h> |
2267 |
|
|
2268 |
; return 0; } |
; return 0; } |
2269 |
EOF |
EOF |
2270 |
if { (eval echo configure:2193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2271 |
rm -rf conftest* |
rm -rf conftest* |
2272 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2273 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
2286 |
|
|
2287 |
|
|
2288 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
2289 |
echo "configure:2212: checking for profil" >&5 |
echo "configure:2290: checking for profil" >&5 |
2290 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
2291 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2292 |
else |
else |
2293 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2294 |
#line 2217 "configure" |
#line 2295 "configure" |
2295 |
#include "confdefs.h" |
#include "confdefs.h" |
2296 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2297 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
2314 |
|
|
2315 |
; return 0; } |
; return 0; } |
2316 |
EOF |
EOF |
2317 |
if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2318 |
rm -rf conftest* |
rm -rf conftest* |
2319 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
2320 |
else |
else |
2339 |
|
|
2340 |
|
|
2341 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
2342 |
echo "configure:2265: checking for setenv" >&5 |
echo "configure:2343: checking for setenv" >&5 |
2343 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
2344 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2345 |
else |
else |
2346 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2347 |
#line 2270 "configure" |
#line 2348 "configure" |
2348 |
#include "confdefs.h" |
#include "confdefs.h" |
2349 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2350 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
2367 |
|
|
2368 |
; return 0; } |
; return 0; } |
2369 |
EOF |
EOF |
2370 |
if { (eval echo configure:2293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2371 |
rm -rf conftest* |
rm -rf conftest* |
2372 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
2373 |
else |
else |
2393 |
|
|
2394 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
2395 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
2396 |
echo "configure:2319: checking for putenv" >&5 |
echo "configure:2397: checking for putenv" >&5 |
2397 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
2398 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2399 |
else |
else |
2400 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2401 |
#line 2324 "configure" |
#line 2402 "configure" |
2402 |
#include "confdefs.h" |
#include "confdefs.h" |
2403 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2404 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
2421 |
|
|
2422 |
; return 0; } |
; return 0; } |
2423 |
EOF |
EOF |
2424 |
if { (eval echo configure:2347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2425 |
rm -rf conftest* |
rm -rf conftest* |
2426 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
2427 |
else |
else |
2447 |
fi |
fi |
2448 |
|
|
2449 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
2450 |
echo "configure:2373: checking for _cleanup" >&5 |
echo "configure:2451: checking for _cleanup" >&5 |
2451 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
2452 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2453 |
else |
else |
2454 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2455 |
#line 2378 "configure" |
#line 2456 "configure" |
2456 |
#include "confdefs.h" |
#include "confdefs.h" |
2457 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2458 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
2475 |
|
|
2476 |
; return 0; } |
; return 0; } |
2477 |
EOF |
EOF |
2478 |
if { (eval echo configure:2401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2479 |
rm -rf conftest* |
rm -rf conftest* |
2480 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
2481 |
else |
else |
2501 |
gcl_ok=no |
gcl_ok=no |
2502 |
|
|
2503 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2504 |
#line 2427 "configure" |
#line 2505 "configure" |
2505 |
#include "confdefs.h" |
#include "confdefs.h" |
2506 |
#include <ctype.h> |
#include <ctype.h> |
2507 |
EOF |
EOF |
2529 |
|
|
2530 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
2531 |
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 |
2532 |
echo "configure:2455: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:2533: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
2533 |
|
|
2534 |
case $system in |
case $system in |
2535 |
OSF*) |
OSF*) |
2585 |
fi |
fi |
2586 |
|
|
2587 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
2588 |
echo "configure:2511: checking host system type" >&5 |
echo "configure:2589: checking host system type" >&5 |
2589 |
|
|
2590 |
host_alias=$host |
host_alias=$host |
2591 |
case "$host_alias" in |
case "$host_alias" in |
2758 |
|
|
2759 |
esac |
esac |
2760 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
2761 |
echo "configure:2684: checking check for SV_ONSTACK" >&5 |
echo "configure:2762: checking check for SV_ONSTACK" >&5 |
2762 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2763 |
#line 2686 "configure" |
#line 2764 "configure" |
2764 |
#include "confdefs.h" |
#include "confdefs.h" |
2765 |
#include <signal.h> |
#include <signal.h> |
2766 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
2769 |
|
|
2770 |
; return 0; } |
; return 0; } |
2771 |
EOF |
EOF |
2772 |
if { (eval echo configure:2695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2773 |
rm -rf conftest* |
rm -rf conftest* |
2774 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2775 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
2787 |
|
|
2788 |
|
|
2789 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
2790 |
echo "configure:2713: checking check for SIGSYS" >&5 |
echo "configure:2791: checking check for SIGSYS" >&5 |
2791 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2792 |
#line 2715 "configure" |
#line 2793 "configure" |
2793 |
#include "confdefs.h" |
#include "confdefs.h" |
2794 |
#include <signal.h> |
#include <signal.h> |
2795 |
int joe=SIGSYS; |
int joe=SIGSYS; |
2798 |
|
|
2799 |
; return 0; } |
; return 0; } |
2800 |
EOF |
EOF |
2801 |
if { (eval echo configure:2724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2802 |
rm -rf conftest* |
rm -rf conftest* |
2803 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2804 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
2816 |
|
|
2817 |
|
|
2818 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
2819 |
echo "configure:2742: checking check for SIGEMT" >&5 |
echo "configure:2820: checking check for SIGEMT" >&5 |
2820 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2821 |
#line 2744 "configure" |
#line 2822 "configure" |
2822 |
#include "confdefs.h" |
#include "confdefs.h" |
2823 |
#include <signal.h> |
#include <signal.h> |
2824 |
int joe=SIGEMT; |
int joe=SIGEMT; |
2827 |
|
|
2828 |
; return 0; } |
; return 0; } |
2829 |
EOF |
EOF |
2830 |
if { (eval echo configure:2753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2831 |
rm -rf conftest* |
rm -rf conftest* |
2832 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
2833 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
2851 |
do |
do |
2852 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2853 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2854 |
echo "configure:2777: checking for $ac_hdr" >&5 |
echo "configure:2855: checking for $ac_hdr" >&5 |
2855 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2856 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2857 |
else |
else |
2858 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2859 |
#line 2782 "configure" |
#line 2860 "configure" |
2860 |
#include "confdefs.h" |
#include "confdefs.h" |
2861 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2862 |
EOF |
EOF |
2863 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2864 |
{ (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2865 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2866 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2867 |
rm -rf conftest* |
rm -rf conftest* |
2891 |
do |
do |
2892 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2893 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2894 |
echo "configure:2817: checking for $ac_hdr" >&5 |
echo "configure:2895: checking for $ac_hdr" >&5 |
2895 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2896 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2897 |
else |
else |
2898 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2899 |
#line 2822 "configure" |
#line 2900 "configure" |
2900 |
#include "confdefs.h" |
#include "confdefs.h" |
2901 |
#include <$ac_hdr> |
#include <$ac_hdr> |
2902 |
EOF |
EOF |
2903 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2904 |
{ (eval echo configure:2827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2905 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2906 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
2907 |
rm -rf conftest* |
rm -rf conftest* |
2928 |
done |
done |
2929 |
|
|
2930 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2931 |
#line 2854 "configure" |
#line 2932 "configure" |
2932 |
#include "confdefs.h" |
#include "confdefs.h" |
2933 |
#include <signal.h> |
#include <signal.h> |
2934 |
long code; |
long code; |
2939 |
|
|
2940 |
; return 0; } |
; return 0; } |
2941 |
EOF |
EOF |
2942 |
if { (eval echo configure:2865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2943 |
rm -rf conftest* |
rm -rf conftest* |
2944 |
|
|
2945 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
2960 |
rm -f conftest* |
rm -f conftest* |
2961 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
2962 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2963 |
#line 2886 "configure" |
#line 2964 "configure" |
2964 |
#include "confdefs.h" |
#include "confdefs.h" |
2965 |
#include <signal.h> |
#include <signal.h> |
2966 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
2977 |
|
|
2978 |
; return 0; } |
; return 0; } |
2979 |
EOF |
EOF |
2980 |
if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2981 |
rm -rf conftest* |
rm -rf conftest* |
2982 |
|
|
2983 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
3020 |
# 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. |
3021 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
3022 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3023 |
echo "configure:2946: checking for $ac_word" >&5 |
echo "configure:3024: checking for $ac_word" >&5 |
3024 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
3025 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3026 |
else |
else |
3068 |
EOF |
EOF |
3069 |
|
|
3070 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
3071 |
echo "configure:2994: checking emacs site lisp directory" >&5 |
echo "configure:3072: checking emacs site lisp directory" >&5 |
3072 |
#EMACS_SITE_LISP=unknown |
#EMACS_SITE_LISP=unknown |
3073 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3074 |
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 ` |
3091 |
EOF |
EOF |
3092 |
|
|
3093 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
3094 |
echo "configure:3017: checking emacs default.el" >&5 |
echo "configure:3095: checking emacs default.el" >&5 |
3095 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3096 |
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 ` |
3097 |
else |
else |
3120 |
EOF |
EOF |
3121 |
|
|
3122 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
3123 |
echo "configure:3046: checking emacs info/dir" >&5 |
echo "configure:3124: checking emacs info/dir" >&5 |
3124 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
3125 |
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 ` |
3126 |
fi |
fi |
3134 |
|
|
3135 |
|
|
3136 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
3137 |
echo "configure:3060: checking for tcl/tk" >&5 |
echo "configure:3138: checking for tcl/tk" >&5 |
3138 |
|
|
3139 |
|
|
3140 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
3157 |
# 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. |
3158 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
3159 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3160 |
echo "configure:3083: checking for $ac_word" >&5 |
echo "configure:3161: checking for $ac_word" >&5 |
3161 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
3162 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3163 |
else |
else |
3257 |
fi |
fi |
3258 |
fi |
fi |
3259 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
3260 |
echo "configure:3183: checking for main in -llieee" >&5 |
echo "configure:3261: checking for main in -llieee" >&5 |
3261 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
3262 |
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 |
3263 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3265 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3266 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
3267 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3268 |
#line 3191 "configure" |
#line 3269 "configure" |
3269 |
#include "confdefs.h" |
#include "confdefs.h" |
3270 |
|
|
3271 |
int main() { |
int main() { |
3272 |
main() |
main() |
3273 |
; return 0; } |
; return 0; } |
3274 |
EOF |
EOF |
3275 |
if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3276 |
rm -rf conftest* |
rm -rf conftest* |
3277 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3278 |
else |
else |
3297 |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" ` |
3298 |
fi |
fi |
3299 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
3300 |
echo "configure:3223: checking for dlopen in -ldl" >&5 |
echo "configure:3301: checking for dlopen in -ldl" >&5 |
3301 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
3302 |
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 |
3303 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3305 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3306 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
3307 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3308 |
#line 3231 "configure" |
#line 3309 "configure" |
3309 |
#include "confdefs.h" |
#include "confdefs.h" |
3310 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3311 |
/* 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 |
3316 |
dlopen() |
dlopen() |
3317 |
; return 0; } |
; return 0; } |
3318 |
EOF |
EOF |
3319 |
if { (eval echo configure:3242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3320 |
rm -rf conftest* |
rm -rf conftest* |
3321 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3322 |
else |
else |
3398 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
3399 |
|
|
3400 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
3401 |
echo "configure:3324: checking alloca" >&5 |
echo "configure:3402: checking alloca" >&5 |
3402 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3403 |
gcl_ok=no |
gcl_ok=no |
3404 |
else |
else |
3405 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3406 |
#line 3329 "configure" |
#line 3407 "configure" |
3407 |
#include "confdefs.h" |
#include "confdefs.h" |
3408 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
3409 |
EOF |
EOF |
3410 |
if { (eval echo configure:3333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3411 |
then |
then |
3412 |
: |
: |
3413 |
else |
else |
3430 |
gcl_ok=no |
gcl_ok=no |
3431 |
else |
else |
3432 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3433 |
#line 3356 "configure" |
#line 3434 "configure" |
3434 |
#include "confdefs.h" |
#include "confdefs.h" |
3435 |
#include <alloca.h> |
#include <alloca.h> |
3436 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
3437 |
EOF |
EOF |
3438 |
if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3439 |
then |
then |
3440 |
: |
: |
3441 |
else |
else |
3498 |
MP_INLCUDE="" |
MP_INLCUDE="" |
3499 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3500 |
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 |
3501 |
echo "configure:3424: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3502: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3502 |
case "${canonical}" in |
case "${canonical}" in |
3503 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3504 |
# (cd gmp ; ./configure --target=i486) ;; |
# (cd gmp ; ./configure --target=i486) ;; |
3522 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3523 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3524 |
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 |
3525 |
echo "configure:3448: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3526: checking Checking for buggy gcc version from redhat" >&5 |
3526 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3527 |
then |
then |
3528 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
3678 |
s%@MAKEINFO@%$MAKEINFO%g |
s%@MAKEINFO@%$MAKEINFO%g |
3679 |
s%@CC@%$CC%g |
s%@CC@%$CC%g |
3680 |
s%@GCC@%$GCC%g |
s%@GCC@%$GCC%g |
|
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
|
3681 |
s%@CPP@%$CPP%g |
s%@CPP@%$CPP%g |
3682 |
|
s%@LITTLE_END@%$LITTLE_END%g |
3683 |
|
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
3684 |
s%@RL_OBJS@%$RL_OBJS%g |
s%@RL_OBJS@%$RL_OBJS%g |
3685 |
s%@RL_LIB@%$RL_LIB%g |
s%@RL_LIB@%$RL_LIB%g |
3686 |
s%@NO_PROFILE@%$NO_PROFILE%g |
s%@NO_PROFILE@%$NO_PROFILE%g |