Changeset 3037783 in git
- Timestamp:
- Nov 16, 1999, 11:52:41 AM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 5952b6d526bb76067dc7af45610780364733945c
- Parents:
- 721650e849298f036e56d58feb3f554f1bd4d84b
- Location:
- Singular
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r721650 r3037783 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 34 # Generated automatically using autoconf version 2.12 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 84 84 subdirs= 85 85 MFLAGS= MAKEFLAGS= 86 SHELL=${CONFIG_SHELL-/bin/sh}87 86 # Maximum number of lines to put in a shell here document. 88 87 ac_max_here_lines=12 … … 368 367 369 368 -version | --version | --versio | --versi | --vers) 370 echo "configure generated by autoconf version 2.1 3"369 echo "configure generated by autoconf version 2.12" 371 370 exit 0 ;; 372 371 … … 538 537 ac_cpp='$CPP $CPPFLAGS' 539 538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 540 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'539 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 541 540 cross_compiling=$ac_cv_prog_cc_cross 542 541 543 ac_exeext=544 ac_objext=o545 542 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 546 543 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 560 557 561 558 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 562 echo "configure:56 3: checking uname for singular" >&5559 echo "configure:560: checking uname for singular" >&5 563 560 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 564 561 echo $ac_n "(cached) $ac_c" 1>&6 … … 648 645 set dummy gcc; ac_word=$2 649 646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 650 echo "configure:6 51: checking for $ac_word" >&5647 echo "configure:648: checking for $ac_word" >&5 651 648 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 652 649 echo $ac_n "(cached) $ac_c" 1>&6 … … 655 652 ac_cv_prog_CC="$CC" # Let the user override the test. 656 653 else 657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 658 ac_dummy="$PATH" 659 for ac_dir in $ac_dummy; do 654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 655 for ac_dir in $PATH; do 660 656 test -z "$ac_dir" && ac_dir=. 661 657 if test -f $ac_dir/$ac_word; then … … 678 674 set dummy cc; ac_word=$2 679 675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 680 echo "configure:6 81: checking for $ac_word" >&5676 echo "configure:677: checking for $ac_word" >&5 681 677 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 682 678 echo $ac_n "(cached) $ac_c" 1>&6 … … 685 681 ac_cv_prog_CC="$CC" # Let the user override the test. 686 682 else 687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"683 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 688 684 ac_prog_rejected=no 689 ac_dummy="$PATH" 690 for ac_dir in $ac_dummy; do 685 for ac_dir in $PATH; do 691 686 test -z "$ac_dir" && ac_dir=. 692 687 if test -f $ac_dir/$ac_word; then … … 723 718 fi 724 719 725 if test -z "$CC"; then726 case "`uname -s`" in727 *win32* | *WIN32*)728 # Extract the first word of "cl", so it can be a program name with args.729 set dummy cl; ac_word=$2730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6731 echo "configure:732: checking for $ac_word" >&5732 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then733 echo $ac_n "(cached) $ac_c" 1>&6734 else735 if test -n "$CC"; then736 ac_cv_prog_CC="$CC" # Let the user override the test.737 else738 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"739 ac_dummy="$PATH"740 for ac_dir in $ac_dummy; do741 test -z "$ac_dir" && ac_dir=.742 if test -f $ac_dir/$ac_word; then743 ac_cv_prog_CC="cl"744 break745 fi746 done747 IFS="$ac_save_ifs"748 fi749 fi750 CC="$ac_cv_prog_CC"751 if test -n "$CC"; then752 echo "$ac_t""$CC" 1>&6753 else754 echo "$ac_t""no" 1>&6755 fi756 ;;757 esac758 fi759 720 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 760 721 fi 761 722 762 723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 763 echo "configure:7 64: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5724 echo "configure:725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 764 725 765 726 ac_ext=c … … 767 728 ac_cpp='$CPP $CPPFLAGS' 768 729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 769 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'730 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 770 731 cross_compiling=$ac_cv_prog_cc_cross 771 732 772 cat > conftest.$ac_ext << EOF 773 774 #line 775 "configure" 775 #include "confdefs.h" 776 733 cat > conftest.$ac_ext <<EOF 734 #line 735 "configure" 735 #include "confdefs.h" 777 736 main(){return(0);} 778 737 EOF 779 if { (eval echo configure:7 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then738 if { (eval echo configure:739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 780 739 ac_cv_prog_cc_works=yes 781 740 # If we can't run a trivial program, we are probably using a cross compiler. … … 791 750 fi 792 751 rm -fr conftest* 793 ac_ext=c794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.795 ac_cpp='$CPP $CPPFLAGS'796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'798 cross_compiling=$ac_cv_prog_cc_cross799 752 800 753 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 803 756 fi 804 757 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 805 echo "configure: 806: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5758 echo "configure:759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 806 759 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 807 760 cross_compiling=$ac_cv_prog_cc_cross 808 761 809 762 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 810 echo "configure: 811: checking whether we are using GNU C" >&5763 echo "configure:764: checking whether we are using GNU C" >&5 811 764 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 812 765 echo $ac_n "(cached) $ac_c" 1>&6 … … 817 770 #endif 818 771 EOF 819 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then772 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 820 773 ac_cv_prog_gcc=yes 821 774 else … … 828 781 if test $ac_cv_prog_gcc = yes; then 829 782 GCC=yes 830 else 831 GCC= 832 fi 833 834 ac_test_CFLAGS="${CFLAGS+set}" 835 ac_save_CFLAGS="$CFLAGS" 836 CFLAGS= 837 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 838 echo "configure:839: checking whether ${CC-cc} accepts -g" >&5 783 ac_test_CFLAGS="${CFLAGS+set}" 784 ac_save_CFLAGS="$CFLAGS" 785 CFLAGS= 786 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 787 echo "configure:788: checking whether ${CC-cc} accepts -g" >&5 839 788 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 840 789 echo $ac_n "(cached) $ac_c" 1>&6 … … 851 800 852 801 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 853 if test "$ac_test_CFLAGS" = set; then 854 CFLAGS="$ac_save_CFLAGS" 855 elif test $ac_cv_prog_cc_g = yes; then 856 if test "$GCC" = yes; then 802 if test "$ac_test_CFLAGS" = set; then 803 CFLAGS="$ac_save_CFLAGS" 804 elif test $ac_cv_prog_cc_g = yes; then 857 805 CFLAGS="-g -O2" 858 806 else 859 CFLAGS="- g"807 CFLAGS="-O2" 860 808 fi 861 809 else 862 if test "$GCC" = yes; then 863 CFLAGS="-O2" 864 else 865 CFLAGS= 866 fi 810 GCC= 811 test "${CFLAGS+set}" = set || CFLAGS="-g" 867 812 fi 868 813 869 814 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 870 echo "configure:8 71: checking how to run the C preprocessor" >&5815 echo "configure:816: checking how to run the C preprocessor" >&5 871 816 # On Suns, sometimes $CPP names a directory. 872 817 if test -n "$CPP" && test -d "$CPP"; then … … 883 828 # not just through cpp. 884 829 cat > conftest.$ac_ext <<EOF 885 #line 8 86"configure"830 #line 831 "configure" 886 831 #include "confdefs.h" 887 832 #include <assert.h> … … 889 834 EOF 890 835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 891 { (eval echo configure:8 92: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`836 { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 837 ac_err=`grep -v '^ *+' conftest.out` 893 838 if test -z "$ac_err"; then 894 839 : … … 900 845 CPP="${CC-cc} -E -traditional-cpp" 901 846 cat > conftest.$ac_ext <<EOF 902 #line 903"configure"847 #line 848 "configure" 903 848 #include "confdefs.h" 904 849 #include <assert.h> … … 906 851 EOF 907 852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 908 { (eval echo configure: 909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`853 { (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 854 ac_err=`grep -v '^ *+' conftest.out` 910 855 if test -z "$ac_err"; then 911 856 : … … 915 860 cat conftest.$ac_ext >&5 916 861 rm -rf conftest* 917 CPP="${CC-cc} -nologo -E"918 cat > conftest.$ac_ext <<EOF919 #line 920 "configure"920 #include "confdefs.h"921 #include <assert.h>922 Syntax Error923 EOF924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"925 { (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`927 if test -z "$ac_err"; then928 :929 else930 echo "$ac_err" >&5931 echo "configure: failed program was:" >&5932 cat conftest.$ac_ext >&5933 rm -rf conftest*934 862 CPP=/lib/cpp 935 863 fi … … 937 865 fi 938 866 rm -f conftest* 939 fi940 rm -f conftest*941 867 ac_cv_prog_CPP="$CPP" 942 868 fi … … 947 873 echo "$ac_t""$CPP" 1>&6 948 874 949 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl875 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 950 876 do 951 877 # Extract the first word of "$ac_prog", so it can be a program name with args. 952 878 set dummy $ac_prog; ac_word=$2 953 879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 954 echo "configure: 955: checking for $ac_word" >&5880 echo "configure:881: checking for $ac_word" >&5 955 881 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 956 882 echo $ac_n "(cached) $ac_c" 1>&6 … … 959 885 ac_cv_prog_CXX="$CXX" # Let the user override the test. 960 886 else 961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 962 ac_dummy="$PATH" 963 for ac_dir in $ac_dummy; do 887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 888 for ac_dir in $PATH; do 964 889 test -z "$ac_dir" && ac_dir=. 965 890 if test -f $ac_dir/$ac_word; then … … 984 909 985 910 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 986 echo "configure:9 87: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5911 echo "configure:912: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 987 912 988 913 ac_ext=C … … 990 915 ac_cpp='$CXXCPP $CPPFLAGS' 991 916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 992 ac_link='${CXX-g++} -o conftest ${ac_exeext}$CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'917 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 993 918 cross_compiling=$ac_cv_prog_cxx_cross 994 919 995 cat > conftest.$ac_ext << EOF 996 997 #line 998 "configure" 998 #include "confdefs.h" 999 1000 int main(){return(0);} 1001 EOF 1002 if { (eval echo configure:1003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 920 cat > conftest.$ac_ext <<EOF 921 #line 922 "configure" 922 #include "confdefs.h" 923 main(){return(0);} 924 EOF 925 if { (eval echo configure:926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1003 926 ac_cv_prog_cxx_works=yes 1004 927 # If we can't run a trivial program, we are probably using a cross compiler. … … 1018 941 ac_cpp='$CPP $CPPFLAGS' 1019 942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1020 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'943 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1021 944 cross_compiling=$ac_cv_prog_cc_cross 1022 945 … … 1026 949 fi 1027 950 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1028 echo "configure: 1029: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5951 echo "configure:952: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1029 952 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1030 953 cross_compiling=$ac_cv_prog_cxx_cross 1031 954 1032 955 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1033 echo "configure: 1034: checking whether we are using GNU C++" >&5956 echo "configure:957: checking whether we are using GNU C++" >&5 1034 957 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1035 958 echo $ac_n "(cached) $ac_c" 1>&6 … … 1040 963 #endif 1041 964 EOF 1042 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure: 1043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then965 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1043 966 ac_cv_prog_gxx=yes 1044 967 else … … 1051 974 if test $ac_cv_prog_gxx = yes; then 1052 975 GXX=yes 1053 else 1054 GXX= 1055 fi 1056 1057 ac_test_CXXFLAGS="${CXXFLAGS+set}" 1058 ac_save_CXXFLAGS="$CXXFLAGS" 1059 CXXFLAGS= 1060 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1061 echo "configure:1062: checking whether ${CXX-g++} accepts -g" >&5 976 ac_test_CXXFLAGS="${CXXFLAGS+set}" 977 ac_save_CXXFLAGS="$CXXFLAGS" 978 CXXFLAGS= 979 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 980 echo "configure:981: checking whether ${CXX-g++} accepts -g" >&5 1062 981 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1063 982 echo $ac_n "(cached) $ac_c" 1>&6 … … 1074 993 1075 994 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 1076 if test "$ac_test_CXXFLAGS" = set; then 1077 CXXFLAGS="$ac_save_CXXFLAGS" 1078 elif test $ac_cv_prog_cxx_g = yes; then 1079 if test "$GXX" = yes; then 995 if test "$ac_test_CXXFLAGS" = set; then 996 CXXFLAGS="$ac_save_CXXFLAGS" 997 elif test $ac_cv_prog_cxx_g = yes; then 1080 998 CXXFLAGS="-g -O2" 1081 999 else 1082 CXXFLAGS="- g"1000 CXXFLAGS="-O2" 1083 1001 fi 1084 1002 else 1085 if test "$GXX" = yes; then 1086 CXXFLAGS="-O2" 1087 else 1088 CXXFLAGS= 1089 fi 1003 GXX= 1004 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" 1090 1005 fi 1091 1006 1092 1007 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1093 echo "configure:10 94: checking for AIX" >&51008 echo "configure:1009: checking for AIX" >&5 1094 1009 cat > conftest.$ac_ext <<EOF 1095 #line 10 96"configure"1010 #line 1011 "configure" 1096 1011 #include "confdefs.h" 1097 1012 #ifdef _AIX … … 1123 1038 # check whether the compiler accepts -pipe 1124 1039 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1125 echo "configure:1 126: checking whether compiler accepts -pipe" >&51040 echo "configure:1041: checking whether compiler accepts -pipe" >&5 1126 1041 temp_cflags=${CFLAGS} 1127 1042 CFLAGS="${CFLAGS} -pipe" … … 1130 1045 else 1131 1046 cat > conftest.$ac_ext <<EOF 1132 #line 1 133"configure"1047 #line 1048 "configure" 1133 1048 #include "confdefs.h" 1134 1049 … … 1137 1052 ; return 0; } 1138 1053 EOF 1139 if { (eval echo configure:1 140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1054 if { (eval echo configure:1055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1140 1055 rm -rf conftest* 1141 1056 ac_cv_cxx_have_pipe=yes … … 1161 1076 # Customize CFLAGS 1162 1077 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1163 echo "configure:1 164: checking whether _AIX is defined" >&51078 echo "configure:1079: checking whether _AIX is defined" >&5 1164 1079 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1165 1080 echo $ac_n "(cached) $ac_c" 1>&6 1166 1081 else 1167 1082 cat > conftest.$ac_ext <<EOF 1168 #line 1 169"configure"1083 #line 1084 "configure" 1169 1084 #include "confdefs.h" 1170 1085 #ifdef _AIX … … 1217 1132 1218 1133 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1219 echo "configure:1 220: checking whether ${MAKE-make} sets \${MAKE}" >&51134 echo "configure:1135: checking whether ${MAKE-make} sets \${MAKE}" >&5 1220 1135 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1221 1136 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1290 1205 if test "${with_lex+set}" != set; then 1291 1206 echo $ac_n "checking for flex""... $ac_c" 1>&6 1292 echo "configure:12 93: checking for flex" >&51207 echo "configure:1208: checking for flex" >&5 1293 1208 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1294 1209 echo $ac_n "(cached) $ac_c" 1>&6 … … 1321 1236 set dummy $ac_prog; ac_word=$2 1322 1237 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1323 echo "configure:1 324: checking for $ac_word" >&51238 echo "configure:1239: checking for $ac_word" >&5 1324 1239 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1325 1240 echo $ac_n "(cached) $ac_c" 1>&6 … … 1328 1243 ac_cv_prog_LEX="$LEX" # Let the user override the test. 1329 1244 else 1330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1331 ac_dummy="$PATH" 1332 for ac_dir in $ac_dummy; do 1245 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1246 for ac_dir in $PATH; do 1333 1247 test -z "$ac_dir" && ac_dir=. 1334 1248 if test -f $ac_dir/$ac_word; then … … 1361 1275 set dummy $ac_prog; ac_word=$2 1362 1276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1363 echo "configure:1 364: checking for $ac_word" >&51277 echo "configure:1278: checking for $ac_word" >&5 1364 1278 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1365 1279 echo $ac_n "(cached) $ac_c" 1>&6 … … 1368 1282 ac_cv_prog_BISON="$BISON" # Let the user override the test. 1369 1283 else 1370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1371 ac_dummy="$PATH" 1372 for ac_dir in $ac_dummy; do 1284 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1285 for ac_dir in $PATH; do 1373 1286 test -z "$ac_dir" && ac_dir=. 1374 1287 if test -f $ac_dir/$ac_word; then … … 1396 1309 # ln -s 1397 1310 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1398 echo "configure:13 99: checking whether ln -s works" >&51311 echo "configure:1312: checking whether ln -s works" >&5 1399 1312 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1400 1313 echo $ac_n "(cached) $ac_c" 1>&6 … … 1419 1332 # lib checks 1420 1333 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1421 echo "configure:1 422: checking for atof in -lm" >&51334 echo "configure:1335: checking for atof in -lm" >&5 1422 1335 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1423 1336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1427 1340 LIBS="-lm $LIBS" 1428 1341 cat > conftest.$ac_ext <<EOF 1429 #line 1 430"configure"1342 #line 1343 "configure" 1430 1343 #include "confdefs.h" 1431 1344 /* Override any gcc2 internal prototype to avoid an error. */ … … 1438 1351 ; return 0; } 1439 1352 EOF 1440 if { (eval echo configure:1 441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1353 if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1441 1354 rm -rf conftest* 1442 1355 eval "ac_cv_lib_$ac_lib_var=yes" … … 1466 1379 1467 1380 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1468 echo "configure:1 469: checking for socket in -lbsd" >&51381 echo "configure:1382: checking for socket in -lbsd" >&5 1469 1382 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1470 1383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1474 1387 LIBS="-lbsd $LIBS" 1475 1388 cat > conftest.$ac_ext <<EOF 1476 #line 1 477"configure"1389 #line 1390 "configure" 1477 1390 #include "confdefs.h" 1478 1391 /* Override any gcc2 internal prototype to avoid an error. */ … … 1485 1398 ; return 0; } 1486 1399 EOF 1487 if { (eval echo configure:14 88: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1400 if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1488 1401 rm -rf conftest* 1489 1402 eval "ac_cv_lib_$ac_lib_var=yes" … … 1513 1426 1514 1427 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1515 echo "configure:1 516: checking for listen in -lsocket" >&51428 echo "configure:1429: checking for listen in -lsocket" >&5 1516 1429 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1517 1430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1521 1434 LIBS="-lsocket $LIBS" 1522 1435 cat > conftest.$ac_ext <<EOF 1523 #line 1 524"configure"1436 #line 1437 "configure" 1524 1437 #include "confdefs.h" 1525 1438 /* Override any gcc2 internal prototype to avoid an error. */ … … 1532 1445 ; return 0; } 1533 1446 EOF 1534 if { (eval echo configure:1 535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1447 if { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1535 1448 rm -rf conftest* 1536 1449 eval "ac_cv_lib_$ac_lib_var=yes" … … 1560 1473 1561 1474 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1562 echo "configure:1 563: checking for gethostbyname in -lnsl" >&51475 echo "configure:1476: checking for gethostbyname in -lnsl" >&5 1563 1476 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1564 1477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1568 1481 LIBS="-lnsl $LIBS" 1569 1482 cat > conftest.$ac_ext <<EOF 1570 #line 1 571"configure"1483 #line 1484 "configure" 1571 1484 #include "confdefs.h" 1572 1485 /* Override any gcc2 internal prototype to avoid an error. */ … … 1579 1492 ; return 0; } 1580 1493 EOF 1581 if { (eval echo configure:1 582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1494 if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1582 1495 rm -rf conftest* 1583 1496 eval "ac_cv_lib_$ac_lib_var=yes" … … 1607 1520 1608 1521 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1609 echo "configure:1 610: checking for index in -lucb" >&51522 echo "configure:1523: checking for index in -lucb" >&5 1610 1523 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1611 1524 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1615 1528 LIBS="-lucb $LIBS" 1616 1529 cat > conftest.$ac_ext <<EOF 1617 #line 1 618"configure"1530 #line 1531 "configure" 1618 1531 #include "confdefs.h" 1619 1532 /* Override any gcc2 internal prototype to avoid an error. */ … … 1626 1539 ; return 0; } 1627 1540 EOF 1628 if { (eval echo configure:1 629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1541 if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1629 1542 rm -rf conftest* 1630 1543 eval "ac_cv_lib_$ac_lib_var=yes" … … 1656 1569 # heder file checks 1657 1570 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1658 echo "configure:1 659: checking for ANSI C header files" >&51571 echo "configure:1572: checking for ANSI C header files" >&5 1659 1572 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1660 1573 echo $ac_n "(cached) $ac_c" 1>&6 1661 1574 else 1662 1575 cat > conftest.$ac_ext <<EOF 1663 #line 1 664"configure"1576 #line 1577 "configure" 1664 1577 #include "confdefs.h" 1665 1578 #include <stdlib.h> … … 1669 1582 EOF 1670 1583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1671 { (eval echo configure:1 672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1584 { (eval echo configure:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1585 ac_err=`grep -v '^ *+' conftest.out` 1673 1586 if test -z "$ac_err"; then 1674 1587 rm -rf conftest* … … 1686 1599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1687 1600 cat > conftest.$ac_ext <<EOF 1688 #line 16 89"configure"1601 #line 1602 "configure" 1689 1602 #include "confdefs.h" 1690 1603 #include <string.h> … … 1704 1617 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1705 1618 cat > conftest.$ac_ext <<EOF 1706 #line 1 707"configure"1619 #line 1620 "configure" 1707 1620 #include "confdefs.h" 1708 1621 #include <stdlib.h> … … 1725 1638 else 1726 1639 cat > conftest.$ac_ext <<EOF 1727 #line 1 728"configure"1640 #line 1641 "configure" 1728 1641 #include "confdefs.h" 1729 1642 #include <ctype.h> … … 1736 1649 1737 1650 EOF 1738 if { (eval echo configure:1 739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null1651 if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1739 1652 then 1740 1653 : … … 1763 1676 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1764 1677 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1765 echo "configure:1 766: checking for $ac_hdr" >&51678 echo "configure:1679: checking for $ac_hdr" >&5 1766 1679 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1767 1680 echo $ac_n "(cached) $ac_c" 1>&6 1768 1681 else 1769 1682 cat > conftest.$ac_ext <<EOF 1770 #line 1 771"configure"1683 #line 1684 "configure" 1771 1684 #include "confdefs.h" 1772 1685 #include <$ac_hdr> 1773 1686 EOF 1774 1687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1775 { (eval echo configure:1 776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1688 { (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1689 ac_err=`grep -v '^ *+' conftest.out` 1777 1690 if test -z "$ac_err"; then 1778 1691 rm -rf conftest* … … 1805 1718 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1806 1719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1807 echo "configure:1 808: checking for $ac_hdr" >&51720 echo "configure:1721: checking for $ac_hdr" >&5 1808 1721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1809 1722 echo $ac_n "(cached) $ac_c" 1>&6 1810 1723 else 1811 1724 cat > conftest.$ac_ext <<EOF 1812 #line 1 813"configure"1725 #line 1726 "configure" 1813 1726 #include "confdefs.h" 1814 1727 #include <$ac_hdr> 1815 1728 EOF 1816 1729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1817 { (eval echo configure:1 818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1730 { (eval echo configure:1731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1731 ac_err=`grep -v '^ *+' conftest.out` 1819 1732 if test -z "$ac_err"; then 1820 1733 rm -rf conftest* … … 1844 1757 # typedefs, structures 1845 1758 echo $ac_n "checking for working const""... $ac_c" 1>&6 1846 echo "configure:1 847: checking for working const" >&51759 echo "configure:1760: checking for working const" >&5 1847 1760 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1848 1761 echo $ac_n "(cached) $ac_c" 1>&6 1849 1762 else 1850 1763 cat > conftest.$ac_ext <<EOF 1851 #line 1 852"configure"1764 #line 1765 "configure" 1852 1765 #include "confdefs.h" 1853 1766 … … 1898 1811 ; return 0; } 1899 1812 EOF 1900 if { (eval echo configure:1 901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1813 if { (eval echo configure:1814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1901 1814 rm -rf conftest* 1902 1815 ac_cv_c_const=yes … … 1919 1832 1920 1833 echo $ac_n "checking for inline""... $ac_c" 1>&6 1921 echo "configure:1 922: checking for inline" >&51834 echo "configure:1835: checking for inline" >&5 1922 1835 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1923 1836 echo $ac_n "(cached) $ac_c" 1>&6 … … 1926 1839 for ac_kw in inline __inline__ __inline; do 1927 1840 cat > conftest.$ac_ext <<EOF 1928 #line 1 929"configure"1841 #line 1842 "configure" 1929 1842 #include "confdefs.h" 1930 1843 … … 1933 1846 ; return 0; } 1934 1847 EOF 1935 if { (eval echo configure:1 936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1848 if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1936 1849 rm -rf conftest* 1937 1850 ac_cv_c_inline=$ac_kw; break … … 1959 1872 1960 1873 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1961 echo "configure:1 962: checking for size_t" >&51874 echo "configure:1875: checking for size_t" >&5 1962 1875 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1963 1876 echo $ac_n "(cached) $ac_c" 1>&6 1964 1877 else 1965 1878 cat > conftest.$ac_ext <<EOF 1966 #line 1 967"configure"1879 #line 1880 "configure" 1967 1880 #include "confdefs.h" 1968 1881 #include <sys/types.h> … … 1973 1886 EOF 1974 1887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1975 egrep " (^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then1888 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1976 1889 rm -rf conftest* 1977 1890 ac_cv_type_size_t=yes … … 1992 1905 1993 1906 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1994 echo "configure:19 95: checking whether time.h and sys/time.h may both be included" >&51907 echo "configure:1908: checking whether time.h and sys/time.h may both be included" >&5 1995 1908 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1996 1909 echo $ac_n "(cached) $ac_c" 1>&6 1997 1910 else 1998 1911 cat > conftest.$ac_ext <<EOF 1999 #line 2000"configure"1912 #line 1913 "configure" 2000 1913 #include "confdefs.h" 2001 1914 #include <sys/types.h> … … 2006 1919 ; return 0; } 2007 1920 EOF 2008 if { (eval echo configure: 2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1921 if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2009 1922 rm -rf conftest* 2010 1923 ac_cv_header_time=yes … … 2027 1940 2028 1941 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2029 echo "configure: 2030: checking whether struct tm is in sys/time.h or time.h" >&51942 echo "configure:1943: checking whether struct tm is in sys/time.h or time.h" >&5 2030 1943 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2031 1944 echo $ac_n "(cached) $ac_c" 1>&6 2032 1945 else 2033 1946 cat > conftest.$ac_ext <<EOF 2034 #line 2035"configure"1947 #line 1948 "configure" 2035 1948 #include "confdefs.h" 2036 1949 #include <sys/types.h> … … 2040 1953 ; return 0; } 2041 1954 EOF 2042 if { (eval echo configure: 2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1955 if { (eval echo configure:1956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2043 1956 rm -rf conftest* 2044 1957 ac_cv_struct_tm=time.h … … 2065 1978 # for constant arguments. Useless! 2066 1979 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2067 echo "configure: 2068: checking for working alloca.h" >&51980 echo "configure:1981: checking for working alloca.h" >&5 2068 1981 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2069 1982 echo $ac_n "(cached) $ac_c" 1>&6 2070 1983 else 2071 1984 cat > conftest.$ac_ext <<EOF 2072 #line 2073"configure"1985 #line 1986 "configure" 2073 1986 #include "confdefs.h" 2074 1987 #include <alloca.h> … … 2077 1990 ; return 0; } 2078 1991 EOF 2079 if { (eval echo configure: 2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1992 if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2080 1993 rm -rf conftest* 2081 1994 ac_cv_header_alloca_h=yes … … 2098 2011 2099 2012 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2100 echo "configure:2 101: checking for alloca" >&52013 echo "configure:2014: checking for alloca" >&5 2101 2014 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2102 2015 echo $ac_n "(cached) $ac_c" 1>&6 2103 2016 else 2104 2017 cat > conftest.$ac_ext <<EOF 2105 #line 2 106"configure"2018 #line 2019 "configure" 2106 2019 #include "confdefs.h" 2107 2020 … … 2109 2022 # define alloca __builtin_alloca 2110 2023 #else 2111 # ifdef _MSC_VER 2112 # include <malloc.h> 2113 # define alloca _alloca 2024 # if HAVE_ALLOCA_H 2025 # include <alloca.h> 2114 2026 # else 2115 # if HAVE_ALLOCA_H2116 # include <alloca.h> 2027 # ifdef _AIX 2028 #pragma alloca 2117 2029 # else 2118 # ifdef _AIX 2119 #pragma alloca 2120 # else 2121 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2030 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2122 2031 char *alloca (); 2123 # endif2124 2032 # endif 2125 2033 # endif … … 2131 2039 ; return 0; } 2132 2040 EOF 2133 if { (eval echo configure:2 134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2041 if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2134 2042 rm -rf conftest* 2135 2043 ac_cv_func_alloca_works=yes … … 2156 2064 # contain a buggy version. If you still want to use their alloca, 2157 2065 # use ar to extract alloca.o from them instead of compiling alloca.c. 2158 ALLOCA=alloca. ${ac_objext}2066 ALLOCA=alloca.o 2159 2067 cat >> confdefs.h <<\EOF 2160 2068 #define C_ALLOCA 1 … … 2163 2071 2164 2072 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2165 echo "configure:2 166: checking whether alloca needs Cray hooks" >&52073 echo "configure:2074: checking whether alloca needs Cray hooks" >&5 2166 2074 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2167 2075 echo $ac_n "(cached) $ac_c" 1>&6 2168 2076 else 2169 2077 cat > conftest.$ac_ext <<EOF 2170 #line 2 171"configure"2078 #line 2079 "configure" 2171 2079 #include "confdefs.h" 2172 2080 #if defined(CRAY) && ! defined(CRAY2) … … 2193 2101 for ac_func in _getb67 GETB67 getb67; do 2194 2102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2195 echo "configure:21 96: checking for $ac_func" >&52103 echo "configure:2104: checking for $ac_func" >&5 2196 2104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2197 2105 echo $ac_n "(cached) $ac_c" 1>&6 2198 2106 else 2199 2107 cat > conftest.$ac_ext <<EOF 2200 #line 2 201"configure"2108 #line 2109 "configure" 2201 2109 #include "confdefs.h" 2202 2110 /* System header to define __stub macros and hopefully few prototypes, … … 2221 2129 ; return 0; } 2222 2130 EOF 2223 if { (eval echo configure:2 224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2131 if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2224 2132 rm -rf conftest* 2225 2133 eval "ac_cv_func_$ac_func=yes" … … 2248 2156 2249 2157 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2250 echo "configure:2 251: checking stack direction for C alloca" >&52158 echo "configure:2159: checking stack direction for C alloca" >&5 2251 2159 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2252 2160 echo $ac_n "(cached) $ac_c" 1>&6 … … 2256 2164 else 2257 2165 cat > conftest.$ac_ext <<EOF 2258 #line 2 259"configure"2166 #line 2167 "configure" 2259 2167 #include "confdefs.h" 2260 2168 find_stack_direction () … … 2275 2183 } 2276 2184 EOF 2277 if { (eval echo configure:2 278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2185 if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2278 2186 then 2279 2187 ac_cv_c_stack_direction=1 … … 2298 2206 if test $ac_cv_prog_gcc = yes; then 2299 2207 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2300 echo "configure:2 301: checking whether ${CC-cc} needs -traditional" >&52208 echo "configure:2209: checking whether ${CC-cc} needs -traditional" >&5 2301 2209 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2302 2210 echo $ac_n "(cached) $ac_c" 1>&6 … … 2304 2212 ac_pattern="Autoconf.*'x'" 2305 2213 cat > conftest.$ac_ext <<EOF 2306 #line 2 307"configure"2214 #line 2215 "configure" 2307 2215 #include "confdefs.h" 2308 2216 #include <sgtty.h> … … 2322 2230 if test $ac_cv_prog_gcc_traditional = no; then 2323 2231 cat > conftest.$ac_ext <<EOF 2324 #line 2 325"configure"2232 #line 2233 "configure" 2325 2233 #include "confdefs.h" 2326 2234 #include <termio.h> … … 2347 2255 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2348 2256 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2349 echo "configure:2 350: checking for $ac_hdr" >&52257 echo "configure:2258: checking for $ac_hdr" >&5 2350 2258 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2351 2259 echo $ac_n "(cached) $ac_c" 1>&6 2352 2260 else 2353 2261 cat > conftest.$ac_ext <<EOF 2354 #line 2 355"configure"2262 #line 2263 "configure" 2355 2263 #include "confdefs.h" 2356 2264 #include <$ac_hdr> 2357 2265 EOF 2358 2266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2359 { (eval echo configure:2 360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`2267 { (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2268 ac_err=`grep -v '^ *+' conftest.out` 2361 2269 if test -z "$ac_err"; then 2362 2270 rm -rf conftest* … … 2386 2294 do 2387 2295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2388 echo "configure:2 389: checking for $ac_func" >&52296 echo "configure:2297: checking for $ac_func" >&5 2389 2297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2390 2298 echo $ac_n "(cached) $ac_c" 1>&6 2391 2299 else 2392 2300 cat > conftest.$ac_ext <<EOF 2393 #line 23 94"configure"2301 #line 2302 "configure" 2394 2302 #include "confdefs.h" 2395 2303 /* System header to define __stub macros and hopefully few prototypes, … … 2414 2322 ; return 0; } 2415 2323 EOF 2416 if { (eval echo configure:2 417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2417 2325 rm -rf conftest* 2418 2326 eval "ac_cv_func_$ac_func=yes" … … 2439 2347 2440 2348 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2441 echo "configure:2 442: checking for working mmap" >&52349 echo "configure:2350: checking for working mmap" >&5 2442 2350 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2443 2351 echo $ac_n "(cached) $ac_c" 1>&6 … … 2447 2355 else 2448 2356 cat > conftest.$ac_ext <<EOF 2449 #line 2 450"configure"2357 #line 2358 "configure" 2450 2358 #include "confdefs.h" 2451 2359 … … 2587 2495 2588 2496 EOF 2589 if { (eval echo configure:2 590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2590 2498 then 2591 2499 ac_cv_func_mmap_fixed_mapped=yes … … 2610 2518 2611 2519 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2612 echo "configure:2 613: checking return type of signal handlers" >&52520 echo "configure:2521: checking return type of signal handlers" >&5 2613 2521 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2614 2522 echo $ac_n "(cached) $ac_c" 1>&6 2615 2523 else 2616 2524 cat > conftest.$ac_ext <<EOF 2617 #line 2 618"configure"2525 #line 2526 "configure" 2618 2526 #include "confdefs.h" 2619 2527 #include <sys/types.h> … … 2632 2540 ; return 0; } 2633 2541 EOF 2634 if { (eval echo configure:2 635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2542 if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2635 2543 rm -rf conftest* 2636 2544 ac_cv_type_signal=void … … 2651 2559 2652 2560 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2653 echo "configure:2 654: checking for vprintf" >&52561 echo "configure:2562: checking for vprintf" >&5 2654 2562 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2655 2563 echo $ac_n "(cached) $ac_c" 1>&6 2656 2564 else 2657 2565 cat > conftest.$ac_ext <<EOF 2658 #line 2 659"configure"2566 #line 2567 "configure" 2659 2567 #include "confdefs.h" 2660 2568 /* System header to define __stub macros and hopefully few prototypes, … … 2679 2587 ; return 0; } 2680 2588 EOF 2681 if { (eval echo configure:2 682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2589 if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2682 2590 rm -rf conftest* 2683 2591 eval "ac_cv_func_vprintf=yes" … … 2703 2611 if test "$ac_cv_func_vprintf" != yes; then 2704 2612 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2705 echo "configure:2 706: checking for _doprnt" >&52613 echo "configure:2614: checking for _doprnt" >&5 2706 2614 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2707 2615 echo $ac_n "(cached) $ac_c" 1>&6 2708 2616 else 2709 2617 cat > conftest.$ac_ext <<EOF 2710 #line 2 711"configure"2618 #line 2619 "configure" 2711 2619 #include "confdefs.h" 2712 2620 /* System header to define __stub macros and hopefully few prototypes, … … 2731 2639 ; return 0; } 2732 2640 EOF 2733 if { (eval echo configure:2 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2641 if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2734 2642 rm -rf conftest* 2735 2643 eval "ac_cv_func__doprnt=yes" … … 2758 2666 do 2759 2667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2760 echo "configure:2 761: checking for $ac_func" >&52668 echo "configure:2669: checking for $ac_func" >&5 2761 2669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2762 2670 echo $ac_n "(cached) $ac_c" 1>&6 2763 2671 else 2764 2672 cat > conftest.$ac_ext <<EOF 2765 #line 2 766"configure"2673 #line 2674 "configure" 2766 2674 #include "confdefs.h" 2767 2675 /* System header to define __stub macros and hopefully few prototypes, … … 2786 2694 ; return 0; } 2787 2695 EOF 2788 if { (eval echo configure:2 789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2696 if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2789 2697 rm -rf conftest* 2790 2698 eval "ac_cv_func_$ac_func=yes" … … 2814 2722 # arithmetic shifts 2815 2723 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2816 echo "configure:2 817: checking whether your machine has correct arithmetic shifts" >&52724 echo "configure:2725: checking whether your machine has correct arithmetic shifts" >&5 2817 2725 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2818 2726 echo $ac_n "(cached) $ac_c" 1>&6 … … 2827 2735 else 2828 2736 cat > conftest.$ac_ext <<EOF 2829 #line 2 830"configure"2737 #line 2738 "configure" 2830 2738 #include "confdefs.h" 2831 2739 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2832 2740 EOF 2833 if { (eval echo configure:2 834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2834 2742 then 2835 2743 ac_cv_shift=yes … … 2856 2764 # check for a peculiar constructor initialization 2857 2765 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2858 echo "configure:2 859: checking whether explicit C++ constructor calls are allowed" >&52766 echo "configure:2767: checking whether explicit C++ constructor calls are allowed" >&5 2859 2767 2860 2768 ac_ext=C … … 2862 2770 ac_cpp='$CXXCPP $CPPFLAGS' 2863 2771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2864 ac_link='${CXX-g++} -o conftest ${ac_exeext}$CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2772 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2865 2773 cross_compiling=$ac_cv_prog_cxx_cross 2866 2774 … … 2869 2777 else 2870 2778 cat > conftest.$ac_ext <<EOF 2871 #line 2 872"configure"2779 #line 2780 "configure" 2872 2780 #include "confdefs.h" 2873 2781 … … 2887 2795 ; return 0; } 2888 2796 EOF 2889 if { (eval echo configure:2 890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2797 if { (eval echo configure:2798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2890 2798 rm -rf conftest* 2891 2799 ac_cv_explicit_const=yes … … 2903 2811 ac_cpp='$CPP $CPPFLAGS' 2904 2812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2905 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2813 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2906 2814 cross_compiling=$ac_cv_prog_cc_cross 2907 2815 … … 2916 2824 # sprintf returns number of printed chars 2917 2825 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2918 echo "configure:2 919: checking whether vsprintf returns number of printed chars" >&52826 echo "configure:2827: checking whether vsprintf returns number of printed chars" >&5 2919 2827 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2920 2828 echo $ac_n "(cached) $ac_c" 1>&6 … … 2924 2832 else 2925 2833 cat > conftest.$ac_ext <<EOF 2926 #line 2 927"configure"2834 #line 2835 "configure" 2927 2835 #include "confdefs.h" 2928 2836 #include <stdio.h> 2929 2837 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2930 2838 EOF 2931 if { (eval echo configure:2 932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2839 if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2932 2840 then 2933 2841 ac_cv_returns_n_of_chars=yes … … 2955 2863 # determine ALIGN_8 2956 2864 echo $ac_n "checking size of char""... $ac_c" 1>&6 2957 echo "configure:2 958: checking size of char" >&52865 echo "configure:2866: checking size of char" >&5 2958 2866 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 2959 2867 echo $ac_n "(cached) $ac_c" 1>&6 … … 2963 2871 else 2964 2872 cat > conftest.$ac_ext <<EOF 2965 #line 2 966"configure"2873 #line 2874 "configure" 2966 2874 #include "confdefs.h" 2967 2875 #include <stdio.h> … … 2974 2882 } 2975 2883 EOF 2976 if { (eval echo configure:2 977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2884 if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2977 2885 then 2978 2886 ac_cv_sizeof_char=`cat conftestval` … … 2994 2902 2995 2903 echo $ac_n "checking size of short""... $ac_c" 1>&6 2996 echo "configure:29 97: checking size of short" >&52904 echo "configure:2905: checking size of short" >&5 2997 2905 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 2998 2906 echo $ac_n "(cached) $ac_c" 1>&6 … … 3002 2910 else 3003 2911 cat > conftest.$ac_ext <<EOF 3004 #line 3005"configure"2912 #line 2913 "configure" 3005 2913 #include "confdefs.h" 3006 2914 #include <stdio.h> … … 3013 2921 } 3014 2922 EOF 3015 if { (eval echo configure: 3016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2923 if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3016 2924 then 3017 2925 ac_cv_sizeof_short=`cat conftestval` … … 3033 2941 3034 2942 echo $ac_n "checking size of int""... $ac_c" 1>&6 3035 echo "configure: 3036: checking size of int" >&52943 echo "configure:2944: checking size of int" >&5 3036 2944 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3037 2945 echo $ac_n "(cached) $ac_c" 1>&6 … … 3041 2949 else 3042 2950 cat > conftest.$ac_ext <<EOF 3043 #line 3044"configure"2951 #line 2952 "configure" 3044 2952 #include "confdefs.h" 3045 2953 #include <stdio.h> … … 3052 2960 } 3053 2961 EOF 3054 if { (eval echo configure: 3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2962 if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3055 2963 then 3056 2964 ac_cv_sizeof_int=`cat conftestval` … … 3072 2980 3073 2981 echo $ac_n "checking size of long""... $ac_c" 1>&6 3074 echo "configure: 3075: checking size of long" >&52982 echo "configure:2983: checking size of long" >&5 3075 2983 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3076 2984 echo $ac_n "(cached) $ac_c" 1>&6 … … 3080 2988 else 3081 2989 cat > conftest.$ac_ext <<EOF 3082 #line 3083"configure"2990 #line 2991 "configure" 3083 2991 #include "confdefs.h" 3084 2992 #include <stdio.h> … … 3091 2999 } 3092 3000 EOF 3093 if { (eval echo configure:30 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3001 if { (eval echo configure:3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3094 3002 then 3095 3003 ac_cv_sizeof_long=`cat conftestval` … … 3111 3019 3112 3020 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3113 echo "configure:3 114: checking size of void*" >&53021 echo "configure:3022: checking size of void*" >&5 3114 3022 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3115 3023 echo $ac_n "(cached) $ac_c" 1>&6 … … 3119 3027 else 3120 3028 cat > conftest.$ac_ext <<EOF 3121 #line 3 122"configure"3029 #line 3030 "configure" 3122 3030 #include "confdefs.h" 3123 3031 #include <stdio.h> … … 3130 3038 } 3131 3039 EOF 3132 if { (eval echo configure:3 133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3133 3041 then 3134 3042 ac_cv_sizeof_voidp=`cat conftestval` … … 3150 3058 3151 3059 echo $ac_n "checking size of double""... $ac_c" 1>&6 3152 echo "configure:3 153: checking size of double" >&53060 echo "configure:3061: checking size of double" >&5 3153 3061 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3154 3062 echo $ac_n "(cached) $ac_c" 1>&6 … … 3158 3066 else 3159 3067 cat > conftest.$ac_ext <<EOF 3160 #line 3 161"configure"3068 #line 3069 "configure" 3161 3069 #include "confdefs.h" 3162 3070 #include <stdio.h> … … 3169 3077 } 3170 3078 EOF 3171 if { (eval echo configure:3 172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3172 3080 then 3173 3081 ac_cv_sizeof_double=`cat conftestval` … … 3189 3097 3190 3098 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3191 echo "configure:31 92: checking whether byte ordering is bigendian" >&53099 echo "configure:3100: checking whether byte ordering is bigendian" >&5 3192 3100 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3193 3101 echo $ac_n "(cached) $ac_c" 1>&6 … … 3196 3104 # See if sys/param.h defines the BYTE_ORDER macro. 3197 3105 cat > conftest.$ac_ext <<EOF 3198 #line 31 99"configure"3106 #line 3107 "configure" 3199 3107 #include "confdefs.h" 3200 3108 #include <sys/types.h> … … 3207 3115 ; return 0; } 3208 3116 EOF 3209 if { (eval echo configure:3 210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3117 if { (eval echo configure:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3210 3118 rm -rf conftest* 3211 3119 # It does; now see whether it defined to BIG_ENDIAN or not. 3212 3120 cat > conftest.$ac_ext <<EOF 3213 #line 3 214"configure"3121 #line 3122 "configure" 3214 3122 #include "confdefs.h" 3215 3123 #include <sys/types.h> … … 3222 3130 ; return 0; } 3223 3131 EOF 3224 if { (eval echo configure:3 225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3132 if { (eval echo configure:3133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3225 3133 rm -rf conftest* 3226 3134 ac_cv_c_bigendian=yes … … 3242 3150 else 3243 3151 cat > conftest.$ac_ext <<EOF 3244 #line 3 245"configure"3152 #line 3153 "configure" 3245 3153 #include "confdefs.h" 3246 3154 main () { … … 3255 3163 } 3256 3164 EOF 3257 if { (eval echo configure:3 258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3165 if { (eval echo configure:3166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3258 3166 then 3259 3167 ac_cv_c_bigendian=no … … 3292 3200 3293 3201 echo $ac_n "checking size of system page""... $ac_c" 1>&6 3294 echo "configure:32 95: checking size of system page" >&53202 echo "configure:3203: checking size of system page" >&5 3295 3203 if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then 3296 3204 echo $ac_n "(cached) $ac_c" 1>&6 … … 3300 3208 else 3301 3209 cat > conftest.$ac_ext <<EOF 3302 #line 3 303"configure"3210 #line 3211 "configure" 3303 3211 #include "confdefs.h" 3304 3212 #include <stdio.h> … … 3314 3222 } 3315 3223 EOF 3316 if { (eval echo configure:3 317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3317 3225 then 3318 3226 ac_cv_pagesize=`cat conftestval` … … 3338 3246 3339 3247 echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6 3340 echo "configure:3 341: checking for page aligned valloc" >&53248 echo "configure:3249: checking for page aligned valloc" >&5 3341 3249 if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then 3342 3250 echo $ac_n "(cached) $ac_c" 1>&6 … … 3384 3292 else 3385 3293 cat > conftest.$ac_ext <<EOF 3386 #line 3 387"configure"3294 #line 3295 "configure" 3387 3295 #include "confdefs.h" 3388 3296 … … 3391 3299 3392 3300 EOF 3393 if { (eval echo configure:33 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3301 if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3394 3302 then 3395 3303 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3408 3316 else 3409 3317 cat > conftest.$ac_ext <<EOF 3410 #line 3 411"configure"3318 #line 3319 "configure" 3411 3319 #include "confdefs.h" 3412 3320 … … 3415 3323 3416 3324 EOF 3417 if { (eval echo configure:3 418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3325 if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3418 3326 then 3419 3327 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3435 3343 else 3436 3344 cat > conftest.$ac_ext <<EOF 3437 #line 3 438"configure"3345 #line 3346 "configure" 3438 3346 #include "confdefs.h" 3439 3347 … … 3444 3352 3445 3353 EOF 3446 if { (eval echo configure:3 447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3354 if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3447 3355 then 3448 3356 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3461 3369 else 3462 3370 cat > conftest.$ac_ext <<EOF 3463 #line 3 464"configure"3371 #line 3372 "configure" 3464 3372 #include "confdefs.h" 3465 3373 … … 3470 3378 3471 3379 EOF 3472 if { (eval echo configure:3 473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3380 if { (eval echo configure:3381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3473 3381 then 3474 3382 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3605 3513 if test "${with_perl5+set}" != set; then 3606 3514 echo $ac_n "checking for perl5""... $ac_c" 1>&6 3607 echo "configure:3 608: checking for perl5" >&53515 echo "configure:3516: checking for perl5" >&5 3608 3516 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 3609 3517 echo $ac_n "(cached) $ac_c" 1>&6 … … 3642 3550 set dummy $ac_prog; ac_word=$2 3643 3551 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3644 echo "configure:3 645: checking for $ac_word" >&53552 echo "configure:3553: checking for $ac_word" >&5 3645 3553 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 3646 3554 echo $ac_n "(cached) $ac_c" 1>&6 … … 3649 3557 ac_cv_prog_PERL5="$PERL5" # Let the user override the test. 3650 3558 else 3651 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3652 ac_dummy="$PATH" 3653 for ac_dir in $ac_dummy; do 3559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3560 for ac_dir in $PATH; do 3654 3561 test -z "$ac_dir" && ac_dir=. 3655 3562 if test -f $ac_dir/$ac_word; then … … 3677 3584 3678 3585 3586 # fereadl - io routines 3587 for ac_hdr in termcap.h 3588 do 3589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3591 echo "configure:3592: checking for $ac_hdr" >&5 3592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3593 echo $ac_n "(cached) $ac_c" 1>&6 3594 else 3595 cat > conftest.$ac_ext <<EOF 3596 #line 3597 "configure" 3597 #include "confdefs.h" 3598 #include <$ac_hdr> 3599 EOF 3600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3601 { (eval echo configure:3602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3602 ac_err=`grep -v '^ *+' conftest.out` 3603 if test -z "$ac_err"; then 3604 rm -rf conftest* 3605 eval "ac_cv_header_$ac_safe=yes" 3606 else 3607 echo "$ac_err" >&5 3608 echo "configure: failed program was:" >&5 3609 cat conftest.$ac_ext >&5 3610 rm -rf conftest* 3611 eval "ac_cv_header_$ac_safe=no" 3612 fi 3613 rm -f conftest* 3614 fi 3615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3616 echo "$ac_t""yes" 1>&6 3617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3618 cat >> confdefs.h <<EOF 3619 #define $ac_tr_hdr 1 3620 EOF 3621 3622 else 3623 echo "$ac_t""no" 1>&6 3624 fi 3625 done 3626 3627 for ac_hdr in termios.h 3628 do 3629 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3630 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3631 echo "configure:3632: checking for $ac_hdr" >&5 3632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3633 echo $ac_n "(cached) $ac_c" 1>&6 3634 else 3635 cat > conftest.$ac_ext <<EOF 3636 #line 3637 "configure" 3637 #include "confdefs.h" 3638 #include <$ac_hdr> 3639 EOF 3640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3641 { (eval echo configure:3642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3642 ac_err=`grep -v '^ *+' conftest.out` 3643 if test -z "$ac_err"; then 3644 rm -rf conftest* 3645 eval "ac_cv_header_$ac_safe=yes" 3646 else 3647 echo "$ac_err" >&5 3648 echo "configure: failed program was:" >&5 3649 cat conftest.$ac_ext >&5 3650 rm -rf conftest* 3651 eval "ac_cv_header_$ac_safe=no" 3652 fi 3653 rm -f conftest* 3654 fi 3655 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3656 echo "$ac_t""yes" 1>&6 3657 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3658 cat >> confdefs.h <<EOF 3659 #define $ac_tr_hdr 1 3660 EOF 3661 3662 else 3663 echo "$ac_t""no" 1>&6 3664 fi 3665 done 3666 3667 3679 3668 # readline 3680 3669 if test "$with_readline" != no; then 3681 3670 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3682 echo "configure:36 83: checking for tgetent in -lncurses" >&53671 echo "configure:3672: checking for tgetent in -lncurses" >&5 3683 3672 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3684 3673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3688 3677 LIBS="-lncurses $LIBS" 3689 3678 cat > conftest.$ac_ext <<EOF 3690 #line 36 91"configure"3679 #line 3680 "configure" 3691 3680 #include "confdefs.h" 3692 3681 /* Override any gcc2 internal prototype to avoid an error. */ … … 3699 3688 ; return 0; } 3700 3689 EOF 3701 if { (eval echo configure:3 702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3690 if { (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3702 3691 rm -rf conftest* 3703 3692 eval "ac_cv_lib_$ac_lib_var=yes" … … 3726 3715 \ 3727 3716 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3728 echo "configure:37 29: checking for tgetent in -lcurses" >&53717 echo "configure:3718: checking for tgetent in -lcurses" >&5 3729 3718 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3730 3719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3734 3723 LIBS="-lcurses $LIBS" 3735 3724 cat > conftest.$ac_ext <<EOF 3736 #line 37 37"configure"3725 #line 3726 "configure" 3737 3726 #include "confdefs.h" 3738 3727 /* Override any gcc2 internal prototype to avoid an error. */ … … 3745 3734 ; return 0; } 3746 3735 EOF 3747 if { (eval echo configure:37 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3736 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3748 3737 rm -rf conftest* 3749 3738 eval "ac_cv_lib_$ac_lib_var=yes" … … 3772 3761 \ 3773 3762 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3774 echo "configure:37 75: checking for tgetent in -ltermcap" >&53763 echo "configure:3764: checking for tgetent in -ltermcap" >&5 3775 3764 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3776 3765 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3780 3769 LIBS="-ltermcap $LIBS" 3781 3770 cat > conftest.$ac_ext <<EOF 3782 #line 37 83"configure"3771 #line 3772 "configure" 3783 3772 #include "confdefs.h" 3784 3773 /* Override any gcc2 internal prototype to avoid an error. */ … … 3791 3780 ; return 0; } 3792 3781 EOF 3793 if { (eval echo configure:37 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3782 if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3794 3783 rm -rf conftest* 3795 3784 eval "ac_cv_lib_$ac_lib_var=yes" … … 3823 3812 3824 3813 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3825 echo "configure:38 26: checking for rl_abort in -lreadline" >&53814 echo "configure:3815: checking for rl_abort in -lreadline" >&5 3826 3815 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3827 3816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3831 3820 LIBS="-lreadline $LIBS" 3832 3821 cat > conftest.$ac_ext <<EOF 3833 #line 38 34"configure"3822 #line 3823 "configure" 3834 3823 #include "confdefs.h" 3835 3824 /* Override any gcc2 internal prototype to avoid an error. */ … … 3842 3831 ; return 0; } 3843 3832 EOF 3844 if { (eval echo configure:38 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3833 if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3845 3834 rm -rf conftest* 3846 3835 eval "ac_cv_lib_$ac_lib_var=yes" … … 3873 3862 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3874 3863 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3875 echo "configure:38 76: checking for $ac_hdr" >&53864 echo "configure:3865: checking for $ac_hdr" >&5 3876 3865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3877 3866 echo $ac_n "(cached) $ac_c" 1>&6 3878 3867 else 3879 3868 cat > conftest.$ac_ext <<EOF 3880 #line 38 81"configure"3869 #line 3870 "configure" 3881 3870 #include "confdefs.h" 3882 3871 #include <$ac_hdr> 3883 3872 EOF 3884 3873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3885 { (eval echo configure:38 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`3874 { (eval echo configure:3875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3875 ac_err=`grep -v '^ *+' conftest.out` 3887 3876 if test -z "$ac_err"; then 3888 3877 rm -rf conftest* … … 3912 3901 test "$ac_cv_header_readline_readline_h" = yes; then 3913 3902 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3914 echo "configure:39 15: checking whether readline.h is ok" >&53903 echo "configure:3904: checking whether readline.h is ok" >&5 3915 3904 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3916 3905 echo $ac_n "(cached) $ac_c" 1>&6 3917 3906 else 3918 3907 cat > conftest.$ac_ext <<EOF 3919 #line 39 20"configure"3908 #line 3909 "configure" 3920 3909 #include "confdefs.h" 3921 3910 #include<unistd.h> … … 3942 3931 ; return 0; } 3943 3932 EOF 3944 if { (eval echo configure:39 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3933 if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3945 3934 rm -rf conftest* 3946 3935 ac_cv_header_readline_readline_h_ok="yes" … … 3958 3947 #not ok -- try once more with explicitly declaring everything 3959 3948 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3960 echo "configure:39 61: checking whether or not we nevertheless can use readline" >&53949 echo "configure:3950: checking whether or not we nevertheless can use readline" >&5 3961 3950 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3962 3951 echo $ac_n "(cached) $ac_c" 1>&6 3963 3952 else 3964 3953 cat > conftest.$ac_ext <<EOF 3965 #line 39 66"configure"3954 #line 3955 "configure" 3966 3955 #include "confdefs.h" 3967 3956 #include <stdio.h> … … 3993 3982 ; return 0; } 3994 3983 EOF 3995 if { (eval echo configure:39 96: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3996 3985 rm -rf conftest* 3997 3986 ac_cv_have_readline="yes" … … 4039 4028 # gmp, smallgmp, MP, MPT, factory, libfac 4040 4029 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 4041 echo "configure:40 42: checking for mpq_init in -lgmp" >&54030 echo "configure:4031: checking for mpq_init in -lgmp" >&5 4042 4031 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 4043 4032 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4047 4036 LIBS="-lgmp $LIBS" 4048 4037 cat > conftest.$ac_ext <<EOF 4049 #line 40 50"configure"4038 #line 4039 "configure" 4050 4039 #include "confdefs.h" 4051 4040 /* Override any gcc2 internal prototype to avoid an error. */ … … 4058 4047 ; return 0; } 4059 4048 EOF 4060 if { (eval echo configure:40 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4049 if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4061 4050 rm -rf conftest* 4062 4051 eval "ac_cv_lib_$ac_lib_var=yes" … … 4089 4078 fi 4090 4079 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 4091 echo "configure:40 92: checking for mpz_init in -lsmallgmp" >&54080 echo "configure:4081: checking for mpz_init in -lsmallgmp" >&5 4092 4081 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 4093 4082 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4097 4086 LIBS="-lsmallgmp $LIBS" 4098 4087 cat > conftest.$ac_ext <<EOF 4099 #line 4 100"configure"4088 #line 4089 "configure" 4100 4089 #include "confdefs.h" 4101 4090 /* Override any gcc2 internal prototype to avoid an error. */ … … 4108 4097 ; return 0; } 4109 4098 EOF 4110 if { (eval echo configure:41 11: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4099 if { (eval echo configure:4100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4111 4100 rm -rf conftest* 4112 4101 eval "ac_cv_lib_$ac_lib_var=yes" … … 4136 4125 4137 4126 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4138 echo "configure:41 39: checking for IMP_PutGmpInt in -lMP" >&54127 echo "configure:4128: checking for IMP_PutGmpInt in -lMP" >&5 4139 4128 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4140 4129 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4144 4133 LIBS="-lMP $LIBS" 4145 4134 cat > conftest.$ac_ext <<EOF 4146 #line 41 47"configure"4135 #line 4136 "configure" 4147 4136 #include "confdefs.h" 4148 4137 /* Override any gcc2 internal prototype to avoid an error. */ … … 4155 4144 ; return 0; } 4156 4145 EOF 4157 if { (eval echo configure:41 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4146 if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4158 4147 rm -rf conftest* 4159 4148 eval "ac_cv_lib_$ac_lib_var=yes" … … 4183 4172 4184 4173 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4185 echo "configure:41 86: checking for MPT_GetTree in -lMPT" >&54174 echo "configure:4175: checking for MPT_GetTree in -lMPT" >&5 4186 4175 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4187 4176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4191 4180 LIBS="-lMPT $LIBS" 4192 4181 cat > conftest.$ac_ext <<EOF 4193 #line 41 94"configure"4182 #line 4183 "configure" 4194 4183 #include "confdefs.h" 4195 4184 /* Override any gcc2 internal prototype to avoid an error. */ … … 4202 4191 ; return 0; } 4203 4192 EOF 4204 if { (eval echo configure:4 205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4193 if { (eval echo configure:4194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4205 4194 rm -rf conftest* 4206 4195 eval "ac_cv_lib_$ac_lib_var=yes" … … 4230 4219 4231 4220 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4232 echo "configure:42 33: checking for atof in -lsingcf" >&54221 echo "configure:4222: checking for atof in -lsingcf" >&5 4233 4222 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4234 4223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4238 4227 LIBS="-lsingcf $LIBS" 4239 4228 cat > conftest.$ac_ext <<EOF 4240 #line 42 41"configure"4229 #line 4230 "configure" 4241 4230 #include "confdefs.h" 4242 4231 /* Override any gcc2 internal prototype to avoid an error. */ … … 4249 4238 ; return 0; } 4250 4239 EOF 4251 if { (eval echo configure:42 52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4240 if { (eval echo configure:4241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4252 4241 rm -rf conftest* 4253 4242 eval "ac_cv_lib_$ac_lib_var=yes" … … 4277 4266 4278 4267 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4279 echo "configure:42 80: checking for atof in -lsingfac" >&54268 echo "configure:4269: checking for atof in -lsingfac" >&5 4280 4269 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4281 4270 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4285 4274 LIBS="-lsingfac $LIBS" 4286 4275 cat > conftest.$ac_ext <<EOF 4287 #line 42 88"configure"4276 #line 4277 "configure" 4288 4277 #include "confdefs.h" 4289 4278 /* Override any gcc2 internal prototype to avoid an error. */ … … 4296 4285 ; return 0; } 4297 4286 EOF 4298 if { (eval echo configure:42 99: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4287 if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4299 4288 rm -rf conftest* 4300 4289 eval "ac_cv_lib_$ac_lib_var=yes" … … 4328 4317 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4329 4318 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4330 echo "configure:43 31: checking for $ac_hdr" >&54319 echo "configure:4320: checking for $ac_hdr" >&5 4331 4320 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4332 4321 echo $ac_n "(cached) $ac_c" 1>&6 4333 4322 else 4334 4323 cat > conftest.$ac_ext <<EOF 4335 #line 43 36"configure"4324 #line 4325 "configure" 4336 4325 #include "confdefs.h" 4337 4326 #include <$ac_hdr> 4338 4327 EOF 4339 4328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4340 { (eval echo configure:43 41: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`4329 { (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4330 ac_err=`grep -v '^ *+' conftest.out` 4342 4331 if test -z "$ac_err"; then 4343 4332 rm -rf conftest* … … 4395 4384 # evaluate results 4396 4385 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4397 echo "configure:43 98: checking which apint package to use" >&54386 echo "configure:4387: checking which apint package to use" >&5 4398 4387 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4399 4388 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4439 4428 if test "$with_dl" != no; then 4440 4429 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4441 echo "configure:44 42: checking for dlopen in -ldl" >&54430 echo "configure:4431: checking for dlopen in -ldl" >&5 4442 4431 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4443 4432 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4447 4436 LIBS="-ldl $LIBS" 4448 4437 cat > conftest.$ac_ext <<EOF 4449 #line 44 50"configure"4438 #line 4439 "configure" 4450 4439 #include "confdefs.h" 4451 4440 /* Override any gcc2 internal prototype to avoid an error. */ … … 4458 4447 ; return 0; } 4459 4448 EOF 4460 if { (eval echo configure:44 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4461 4450 rm -rf conftest* 4462 4451 eval "ac_cv_lib_$ac_lib_var=yes" … … 4496 4485 fi 4497 4486 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4498 echo "configure:44 99: checking for shl_load in -ldld" >&54487 echo "configure:4488: checking for shl_load in -ldld" >&5 4499 4488 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4500 4489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4504 4493 LIBS="-ldld $LIBS" 4505 4494 cat > conftest.$ac_ext <<EOF 4506 #line 4 507"configure"4495 #line 4496 "configure" 4507 4496 #include "confdefs.h" 4508 4497 /* Override any gcc2 internal prototype to avoid an error. */ … … 4515 4504 ; return 0; } 4516 4505 EOF 4517 if { (eval echo configure:45 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4506 if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4518 4507 rm -rf conftest* 4519 4508 eval "ac_cv_lib_$ac_lib_var=yes" … … 4555 4544 4556 4545 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4557 echo "configure:45 58: checking whether to have MP" >&54546 echo "configure:4547: checking whether to have MP" >&5 4558 4547 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4559 4548 if (test "${will_have_gmp}" = yes) && \ … … 4586 4575 4587 4576 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4588 echo "configure:45 89: checking whether to have factory" >&54577 echo "configure:4578: checking whether to have factory" >&5 4589 4578 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4590 4579 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4617 4606 4618 4607 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4619 echo "configure:46 20: checking whether to have libfac" >&54608 echo "configure:4609: checking whether to have libfac" >&5 4620 4609 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4621 4610 if (test "${will_have_factory}" = yes) && \ … … 4649 4638 4650 4639 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4651 echo "configure:46 52: checking whether to have dbm links" >&54640 echo "configure:4641: checking whether to have dbm links" >&5 4652 4641 if test "$with_dbm" != no; then 4653 4642 cat >> confdefs.h <<\EOF … … 4661 4650 4662 4651 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4663 echo "configure:46 64: checking whether to have namespaces" >&54652 echo "configure:4653: checking whether to have namespaces" >&5 4664 4653 if test "$with_namespaces" != yes; then 4665 4654 echo "$ac_t""no" 1>&6 … … 4673 4662 4674 4663 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 4675 echo "configure:46 76: checking whether to have dynamic loading" >&54664 echo "configure:4665: checking whether to have dynamic loading" >&5 4676 4665 if test "$with_dl" != yes; then 4677 4666 echo "$ac_t""no" 1>&6 … … 4686 4675 HPUX-9) 4687 4676 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4688 echo "configure:46 89: checking for shl_load in -ldld" >&54677 echo "configure:4678: checking for shl_load in -ldld" >&5 4689 4678 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4690 4679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4694 4683 LIBS="-ldld $LIBS" 4695 4684 cat > conftest.$ac_ext <<EOF 4696 #line 46 97"configure"4685 #line 4686 "configure" 4697 4686 #include "confdefs.h" 4698 4687 /* Override any gcc2 internal prototype to avoid an error. */ … … 4705 4694 ; return 0; } 4706 4695 EOF 4707 if { (eval echo configure:4 708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4696 if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4708 4697 rm -rf conftest* 4709 4698 eval "ac_cv_lib_$ac_lib_var=yes" … … 4737 4726 HPUX-10) 4738 4727 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4739 echo "configure:47 40: checking for shl_load in -ldld" >&54728 echo "configure:4729: checking for shl_load in -ldld" >&5 4740 4729 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4741 4730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4745 4734 LIBS="-ldld $LIBS" 4746 4735 cat > conftest.$ac_ext <<EOF 4747 #line 47 48"configure"4736 #line 4737 "configure" 4748 4737 #include "confdefs.h" 4749 4738 /* Override any gcc2 internal prototype to avoid an error. */ … … 4756 4745 ; return 0; } 4757 4746 EOF 4758 if { (eval echo configure:47 59: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4759 4748 rm -rf conftest* 4760 4749 eval "ac_cv_lib_$ac_lib_var=yes" … … 4795 4784 4796 4785 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 4797 echo "configure:47 98: checking whether to use mtrack" >&54786 echo "configure:4787: checking whether to use mtrack" >&5 4798 4787 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 4799 4788 echo "$ac_t""yes" 1>&6 … … 4809 4798 4810 4799 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 4811 echo "configure:48 12: checking which exponent type to use" >&54800 echo "configure:4801: checking which exponent type to use" >&5 4812 4801 if test "$with_exp_type" = "char"; then 4813 4802 echo "$ac_t""char" 1>&6 … … 4865 4854 # and sets the high bit in the cache file unless we assign to the vars. 4866 4855 (set) 2>&1 | 4867 case `(ac_space=' '; set | grep ac_space) 2>&1` in4856 case `(ac_space=' '; set) 2>&1` in 4868 4857 *ac_space=\ *) 4869 4858 # `set' does not quote correctly, so add quotes (double-quote substitution … … 4932 4921 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 4933 4922 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 4934 echo "$CONFIG_STATUS generated by autoconf version 2.1 3"4923 echo "$CONFIG_STATUS generated by autoconf version 2.12" 4935 4924 exit 0 ;; 4936 4925 -help | --help | --hel | --he | --h) … … 4951 4940 $ac_vpsub 4952 4941 $extrasub 4953 s%@SHELL@%$SHELL%g4954 4942 s%@CFLAGS@%$CFLAGS%g 4955 4943 s%@CPPFLAGS@%$CPPFLAGS%g 4956 4944 s%@CXXFLAGS@%$CXXFLAGS%g 4957 s%@FFLAGS@%$FFLAGS%g4958 4945 s%@DEFS@%$DEFS%g 4959 4946 s%@LDFLAGS@%$LDFLAGS%g -
Singular/configure.in
r721650 r3037783 560 560 dnl --enable argument was given 561 561 dnl 562 563 # fereadl - io routines 564 AC_CHECK_HEADERS(termcap.h) 565 AC_CHECK_HEADERS(termios.h) 562 566 563 567 # readline -
Singular/fereadl.c
r721650 r3037783 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: fereadl.c,v 1. 3 1999-11-15 17:19:58 obachmanExp $ */4 /* $Id: fereadl.c,v 1.4 1999-11-16 10:52:40 hannes Exp $ */ 5 5 /* 6 6 * ABSTRACT: input from ttys, simulating fgets … … 23 23 #include <pc.h> 24 24 #else 25 #ifdef HAVE_TERMCAP_H 25 26 #include <termcap.h> 27 #elif HAVE_TERMIOS_H 28 #include <termios.h> 29 #endif 30 26 31 #ifdef atarist 27 32 #include <ioctl.h> … … 30 35 #include <sgtty.h> 31 36 #include <sys/ioctl.h> 32 #else33 #include <termios.h>34 37 #endif 35 38 #endif … … 70 73 #ifndef MSDOS 71 74 #ifndef HAVE_ATEXIT 72 extern "C" int on_exit(void (*f)(int, void *), void *arg); 73 75 int on_exit(void (*f)(int, void *), void *arg); 74 76 void fe_reset_fe (int i, void *v) 75 77 #else … … 174 176 { 175 177 #ifdef MSDOS 176 extern short ospeed;178 /*extern short ospeed;*/ 177 179 #endif 178 180 fe_is_initialized=TRUE; … … 242 244 tcsetattr (STDIN_FILENO, TCSAFLUSH, &tattr); 243 245 #endif 244 ospeed=cfgetospeed(&tattr);246 /*ospeed=cfgetospeed(&tattr);*/ 245 247 #endif 246 248 } -
Singular/mod2.h.in
r721650 r3037783 5 5 * DO NOT EDIT! 6 6 * 7 * Version: $Id: mod2.h.in,v 1.7 5 1999-11-15 17:20:26 obachmanExp $7 * Version: $Id: mod2.h.in,v 1.76 1999-11-16 10:52:41 hannes Exp $ 8 8 *******************************************************************/ 9 9 #ifndef MOD2_H … … 49 49 /* Define if you have sys/times.h */ 50 50 #undef HAVE_SYS_TIMES_H 51 /* io header: */ 52 /* Define if you have termcap.h */ 53 #undef HAVE_TERMCAP_H 54 /* Define if you have termios.h */ 55 #undef HAVE_TERMIOS_H 51 56 /* Define if you have readline/history.h */ 52 57 #undef HAVE_READLINE_HISTORY_H
Note: See TracChangeset
for help on using the changeset viewer.